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.

Pandemic's Scripting Series: Part II - Path Walking and Simple Banking [UPDATED FOR OSBOT 2]

Featured Replies

  • Author

Omitting braces with only one line inside the statement is ok... but explain why you do that, otherwise people looking at the tutorial will be confused. Sometimes you did it with more than one line, though.

I promise you that the walking method in the api does not recurse itself until the destination is reached, therefore you are able to easily fix it by doing what I stated above.

Lastly, if this is a tutorial, make sure the code is presentable and functional with no logic errors or syntax errors. The entire point of a tutorial is to teach people how to code correctly.

Nested and unnested ifs and loops are basic java knowledge and I told them they should know java before using these tutorials.

Have you ever used the API's walk method? I assure you it's far from OK, it'll click the same position 3 or 4 times before it recognizes it's done.

The code is quite presentable and works just fine, there are no errors at all.

  • 2 weeks later...

i got red swiggly line under mine_area, can u help?

did you define mine_area? 

if so did you define it as MINE_AREA then call it as mine_area?

Awesome Guide man! Watch tons of tutorials ,but this Guide is better then every single video.

Just finished my first easy script :P

Could you show how to implement anti-ban and a GUI in your next Tutorial? :o

  • 3 weeks later...

I just compiled and tested this script but my cursor just moves around inside the bank and doesn't deposit anything. Is it supposed to client.getInventory.depositAll?

The way client.getBank.DepositAll looks to me like its trying to deposit my bank into my bank lol.

Edit: Nvm getInventoyr doesn't have a deposit all argument so I played around and used this and it works

client.getInventory().interactWithName("Magic logs", "Deposit-All");

Edited by fishdrown

Great guide! Thank you, I've been having problems with the walk method in the api until i read this tongue.png thanks for the explanation on path making!

Edited by csharpstyle

Thanks, great guide! Now im asking, where could i find info on how to interact with object...like how to write that bot needs to open doors for example?  xD  

  • Author

Thanks, great guide! Now im asking, where could i find info on how to interact with object...like how to write that bot needs to open doors for example?  xD  

 

Thanks!

 

You can use something just like we used on the rocks or bank, then use door.interact("Open");

 

:)

Create an account or sign in to comment

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.