Jump to content

Lordsthan

Members
  • Posts

    76
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Lordsthan

  1. Implying you are 80 Ranged and you are using mithril darts and overloads, you can tweak your boss choices based on this list:
  2. Why are you using Barrows Gloves with Void?
  3. You can try: array items if the bank is open: loop through items if the bank contains items[x] and inventory does not: withdraw item[x] else continue/stop else if the bank is not open and my player is near the bank: open bank else go to the bank
  4. Here: https://web.archive.org/web/20151029095223/http://osbot.org/api/org/osbot/rs07/utility/ConditionalSleep.html
  5. No, it will sleep until your condition returns true or the timeout is reached. You can check more about it here: https://webcache.googleusercontent.com/search?q=cache:http://osbot.org/api/org/osbot/rs07/utility/ConditionalSleep.html
  6. Try getWidgets().get(465,24,10).interact(); or getWidgets().get(465,24,10).interact("-5%");
  7. Values from .getRotation() when walking into a new tile: North: 1024 Northeast: 1280 East: 1536 Southeast: 1792 South: 0 Southwest: 256 West: 512 Northwest: 768 When interacting with a NPC/Entity, subtract 1 from these values (Ex: North: 1024 if walking; 1023 if interacting).
  8. Why did you removed Position from Debug Settings?
  9. Thanks for everyone, I managed to fix my script using widgets.
  10. Hey, today I started making my first script and got a bug called NullPointerException when I try to use store.interact or store.buy from OSBot API. Here's a part of my code: if(store.isOpen()){ status = "Buying"; sleep(random(300,700)); store.interact(8, "Buy 5"); //... } What I would like to do in-game: and here is the error: [ERROR][Bot #1][09/10 10:31:22 PM]: Error in script executor! java.lang.NullPointerException at org.osbot.rs07.api.Store.interact(xi:364) at main.onLoop(main.java:82) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ni:26) at java.lang.Thread.run(Unknown Source) So how could I fix that?
×
×
  • Create New...