Jump to content

Flamezzz

Members
  • Posts

    763
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Flamezzz

  1. Got 25m, my skype is in my sig if you're interested in buying
  2. As far as I know it's done in a different thread, when a random event can activate the script is paused, once it's finished it is resumed. You don't have to worry about any of this. IDEA can't really decompile the random executor so I don't know that much about the internals.
  3. You can just use log("....") Can you post your imports?
  4. if(dialogues.isPendingContinuation() || dialogues.clickContinue()) return random(...);
  5. Making teleport tabs using a host. Low req on skills but it does require some starting cash. Generally speaking methods with good gp/h either require starting cash, high level skills or both.
  6. I think you only have to delete OSBot/Local/settings
  7. java -jar osbot.jar 1337
  8. Oh well it really should work. If you post some of your code I can take a look at it.
  9. Ye you could do that. I remember this was discussed somewhere and there might be a better solution.
  10. The correct action is actually Smelt 10 <col=ff9040>Steel
  11. I think this would help http://osbot.org/forum/topic/80839-isanimating/ try to put the two things together
  12. It's similar to http://osbot.org/forum/topic/79422-cook-all-option/
  13. You could listen for game messages. I think getAnimation() != -1 is exactly what isAnimating() does
  14. You don't have to relaunch the client. Configure an artifact (or w/e it's called in your IDE) in the script folder and your IDE will replace it after each compilation. So all you have to do is refresh and restart the script. I think it's possible to just catch any exception in onStart and print its message. try { .... } catch(Exception e) { if(e.getMessage() != null) log(e.getMessage()); }
  15. doorHandler.handleNextObstacle(position) or doorHandler.handleNextObstacle(entity) Where position is the position you want to walk to. Make sure the object type of the door = 0, you can use the entity debugger to do this.
  16. Well you don't create a GrandExchange instance yourself, it's already there. import org.osbot.rs07.api.GrandExchange; .... grandExchange.buyItems(GrandExchange.Box.BOX_1);
  17. mouse.click(inventory.getMouseDestination(slot)) something like this
  18. Flamezzz

    Hotkeys

    Nice There's also logout (in 1226) and to check if esc is enabled to close widgets you can AND 1224 with 0x80000000
  19. No I'm quite sure it does, I've implemented it like this in a script :p
  20. Mkay lets start with what you have now. npcs.closest("Cow").interact("Attack"); If there is no cow this will throw a NullPointerException. So what you want to do is NPC cow = ... if(cow != null) cow.interact.... But you're not checking if this particular cow is already under attack, dead or even reachable at all. And what if you're already attacking a cow? I suggest you first write that part of the script, attacking a cow and waiting while in combat, then add looting and finally banking. For banking, use bank.open() and never use a while loop like that. If your current state is banking, you could check the distance to the closest "Stairs". If you want to bank and there is a stairs then "Climb-up" if myPosition().getZ() < 2 else bank.open()
  21. I could do this, but not for $2 and most certainly not in java :p It would be helpful to post an example captcha (if it doesn't reveal too much about the project) since there are libraries to solve the easy ones but others are somewhat more complex... even for a human.
  22. You match the rectangle color with the numbers in that specific color, the first number is the parent widget ID, second is child widget ID etc. You would then use widgets.get(parentID, childID) to access it.
  23. As far as I know it's tolerated, so it is allowed and certainly not illegal. I'm available for scripts or any other programming projects, my skype is in my sig.
×
×
  • Create New...