Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Lewis

$100.00 Donor
  • Joined

  • Last visited

Everything posted by Lewis

  1. worst ways interact with the widgets
  2. now get an error with web walking [ERROR][Bot #1][12/14 03:50:08 PM]: Error executing event : org.osbot.rs07.event.WebWalkEvent@7c327aa java.lang.NullPointerException at org.osbot.rs07.event.WebWalkEvent.execute(ql:271) at org.osbot.rs07.event.EventExecutor$2.run(wh:269) at org.osbot.rs07.event.EventExecutor.execute(wh:120) at org.osbot.rs07.script.MethodProvider.execute(bo:580) at org.osbot.rs07.api.Walking.webWalk(fj:184) at script.onLoop(script.java:311) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(mm:90) at java.lang.Thread.run(Unknown Source) [INFO][Bot #1][12/14 03:50:08 PM]: Walking to shop [ERROR][Bot #1][12/14 03:50:08 PM]: Error on event onStart()! java.lang.NullPointerException at org.osbot.AB.getItems(bh:117) at org.osbot.UB.iiIiIiiiIIIi(ce:24) at org.osbot.ec.iiIiIiiiIIIi(e:48) at org.osbot.lPT7.iiIiIiiiIIIi(wn:1154) at org.osbot.rb.iiIiIiiiIIIi(wf:671) at org.osbot.rb.iiIiIiiiIIIi(wf:9) at org.osbot.W.iiIiIiiiIIIi(k:182) at org.osbot.rs07.event.WebWalkEvent.prefetchRequirements(ql:60) at org.osbot.rs07.event.WebWalkEvent.onStart(ql:260) at org.osbot.rs07.event.EventExecutor$2.run(wh:237) at org.osbot.rs07.event.EventExecutor.execute(wh:120) at org.osbot.rs07.script.MethodProvider.execute(bo:580) at org.osbot.rs07.api.Walking.webWalk(fj:184) at script.onLoop(script.java:311) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(mm:90) at java.lang.Thread.run(Unknown Source) im using this code to call webwalking: getWalking().webWalk(SHOP); or walking.webWalk(SHOP); both get the same errors
  3. Looking to add account switching to my script. Would like it to switch after example when timeRan is between 3 hour and 4 hours But i cant seem to figure out how to get it to call when its at a random time between the two, instead of being called as soon as timeRan is = 3:00:01 compared to 3:27:51 for example (random time between the two)
  4. how do you use it? i tried: if (getInventory().getAmount("Coins") <= 1000 && inventory.getAmount("Coins") >= 0 && !GE.contains(myPlayer())) return State.WALKGE; and it was still doing it
  5. Tried it and it still does it ive even added: if (!getTabs().getOpen().equals(Tab.INVENTORY)) { getTabs().open(Tab.INVENTORY); } in my ge walker case It seems to be when world hopping lags slightly, causing it not to reopen inventory (even though i have open in in walking case too)
  6. i know it was being falsely called already. I'm looking for a solution to the problem. So no, he hasnt answered the question yet. Please refrain from any unrelated posts
  7. yeah i tried the conditional sleep after hopping, then open inv like in example code yet it still does it
  8. Still having an issue with my case being called even though inventory contains over 1k coins after world hopping if (getInventory().getAmount("Coins") <= 1000 && !GE.contains(myPlayer())) return State.WALKGE; is the case being called after it world hops my world hop code: else if (store.getAmount(ITEM) == 0 && store.getAmount(ITEM) < 215) { if (store.isOpen()) { store.close(); } worlds.hopToP2PWorld(); new ConditionalSleep(20000) { @[member=Override] public boolean condition() throws InterruptedException { return widgets.isVisible(548, 62); } }.sleep(); getTabs().open(Tab.INVENTORY); } note*: The conditional sleep widget is, the loading text you get when world hopping / hoping for a ghetto fix (where current world would be)
  9. Lewis replied to Apaec's topic in Combat & Slayer
    trial please
  10. cant get it to work still tried waiting on widgets, login status' if inventory is open or not all dont work (it is calling open inventory before it has finished loading into the new world) and i would rather avoid a static sleep to avoid lag educed errors
  11. on my conditional sleep like so?: worlds.hopToP2PWorld(); log("hopping to new world"); new ConditionalSleep(10000) { @[member=Override] public boolean condition() throws InterruptedException { return getInventory().getEmptySlotCount() != -1; } }.sleep(); log("open inv"); getTabs().open(Tab.INVENTORY);
  12. i tried a conditional sleep on getLoginStateValue() it still gives the error.
  13. im not having an error with it hopping, i have an error after it hops, i.e im at the shop with 100k in inv, it buys items until X remaining (lets say i have 80k remaining) then it will hop. i have another muling state for if inventory has under 20k gp so, after it buys from the shops, world hops it runs to my muling area even though it has 80k in inventory still
  14. i declare the buy case by: if shop area contains my player && inventory contains > 1000 coins case BUY: NPC shop = npcs.closest(npc); if (!getTabs().getOpen().equals(Tab.INVENTORY)) { getTabs().open(Tab.INVENTORY); } if (shop != null && !store.isOpen()) { shop.interact("Trade"); new ConditionalSleep(10000) { @[member=Override] public boolean condition() throws InterruptedException { return store.isOpen(); } }.sleep(); } else if (store.getAmount(ITEM) > 0) { store.buy(ITEM, 10); } else if (store.getAmount(ITEM) > 15) { store.buy(ITEM, 10); } else if (store.getAmount(ITEM) == 0 && store.getAmount(ITEM) < 15) { if (store.isOpen()) { store.close(); } worlds.hopToP2PWorld(); sleep(random(700, 1000)); }
  15. my script basically does: if shop contains X && inventory contains X coins { do w.e } else world hop But when i world hop, it loads into the new world with the worlds tab open, causing the inventory counter to glitch out and return it doesnt contain X coins ive tried contitional sleeps for getLoginStateValue() != 20; then open the inv tab, although it does nothing also. worlds.hopToP2PWorld(); new ConditionalSleep(10000) { @[member=Override] public boolean condition() throws InterruptedException { return getClient().getLoginStateValue() != 20; } }.sleep(); getTabs().open(Tab.INVENTORY); } i also tried adding this to the top of the buy case: if (!getTabs().getOpen().equals(Tab.INVENTORY)) { getTabs().open(Tab.INVENTORY); } which still does nothing
  16. hopefully i can get my login info so i can add some scripts soon lol
  17. long lastHop = System.currentTimeMillis(); if(lastHop >= (pastTime + 30*60000) { //multiply by 60000 to get mins doSomething(); } like this? is what i can find, but its after a set amount of time rather than random between two ints
  18. basically looking to world hop a random amount of time (similar to sleep(random(300, 500)) ) just need help on being able to intitate the world hop i.e if time has been between 30 mins - 1 hour since last world hop { do stuff }
  19. When it comes to fraudulent activity its best to get the facts. Last thing anyone wants is to order pizza threw you, get their order delivered. A week later you get police knocking on your door for fraud. Don't get me wrong, if it works ill probably buy some myself aha
  20. yeah it may work, but no doubt your doing some sort of fraud. When it gets reported by whatever food company, theyll go for us(the buyer)
  21. sounds too good to be true. What sort of fraud are you doing xD
  22. so, we pay you 500k per £1 of food, you order it to say our address/pick up, we go there and pay for the order? or you have a method to get it for free

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.