Jump to content

Flamezzz

Members
  • Posts

    763
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Flamezzz

  1. Noted items is not an issue, you could use inventory.getItem(i -> i.getName().equals(name) && !i.isNote())
  2. "Not much is currently known about this mode, aside from the following: Deadman mode is expected to mirror Old School mode as far as map and quests are concerned." Same engine I guess so in that case it shouldn't be difficult to support this for osbot.
  3. Mhm could be, but it's working so I'll just keep it this way for now :p Thanks for this tut and your suggestion
  4. Yep. The image was displayed correctly in a post, it just didn't work in a signature.
  5. When adding the image to my sig IPB said: "Unable to retrieve signature image dimensions, please try another image." Tried a lot of things but it didn't work, so eventually I just outputted all images to a folder and now run a cron job every 10 min.
  6. Keep in mind that for a simple script you don't have to and probably shouldn't create additional classes, it will only complicate things.
  7. Edit: fixed it by generating sigs every 10 min... "Unable to retrieve signature image dimensions, please try another image." Dafuq is this? I get this when I try to put the image in my signature... Halp anyone plz? (/care about the text atm) http://www.flamezzz.nl/signature.png?user=flamezzz&script=fcluehuntereasy Dimensions = 500x150, even windows can read this so I assume the file is not corrupt in any way. signature.php <? Header('Content-type: image/png'); ..... ..... $image = @imagecreatefrompng('./cluehuntereasy.png') or die("Picture not found."); $black = imagecolorallocate($image, 0, 0, 0); $white = imagecolorallocate($image, 255, 255, 255); imagecolortransparent($image, $black); imagealphablending($image, false); imagesavealpha($image, true); ..... ..... imagettftext($image, 15, 0, 370, 58, $white, $font, $row['solved']); imagettftext($image, 15, 0, 370, 107, $white, $font, $runtime); imagettftext($image, 15, 0, 370, 153, $white, $font, $profit); imagettftext($image, 20, 0, 50, 153, $white, $font, $row['name']); imagepng($image); imagedestroy($image); mysql_close(); ?>
  8. objects.closest is the same thing as getObjects().closest so basically what you're doing now is getObjects().closest(objects.closest("Door")) Also, the return value of objects.closest can be null so you should check for that before calling interact
  9. I think cuz the Boot class launches a new process and jvm args are not passed to this process, use java -jar OSBot.jar 1024 instead
×
×
  • Create New...