Jump 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.

OSBot 2.4.103 - More WebWalking and GrandExchange

Featured Replies

I've decided to start cleaning up Web Walking because it was becoming a bit unmanageable with all the devs having a hand in it. The biggest problem was having half-written code which was being used as placers. Anything that was deprecated or removed was not functional at all. Additionally I've added some new methods to give scripters really great control of web walking through PathPreferenceProfile, notably the ignoreItems method.

 

Crappy Example:
Scripter doesn't want to bring you through Karamja as a shortcut over a concern of the volcano exploding. Scripter sets to ignore 995 (coins) meaning that if there are coins in your inventory, they will be "ignored" in the path calculation. The web walker will say "oh wow this dude is broke, we can't bring him through Karamja" and find an alternate route. 

 

Also I added a sellItem method.

 

Changelog:

-Removed Anti-Dragon shield requirement for traversing Brimhaven Dungeon
-All skill checks are based on Dynamic level
-Added PathPreferenceProfile setAllowObstacles(boolean)
-Added PathPreferenceProfile setAllowTeleports(boolean)
-Added PathPreferenceProfile ignoreItems(int... ids)
-Streamlined a lot of the bloated methods, cleaned up back-end
-Improved GrandExchange buyItem
-Added GrandExchange sellItem
-Deprecated PathPreferenceProfile avoidAllItemLinks
-Deprecated PathPreferenceProfile addItemLinksToAvoid
-Deprecated PathPreferenceProfile ignoreAllQuestLinks
-Deprecated PathPreferenceProfile addQuestLinksToAvoid
-Deprecated PathPreferenceProfile addSkillLinksToAvoid
 
 
Happy Botting.
 

First (Fu @@Mio) , nice update ^_^

Edited by Jamez

Added GE sell item. 

After spending 30mins writing a function......

GGWP

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

 

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.