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.

Local Script not starting

Featured Replies

Hey folks, working on my first OSBot script by translating one of my poopbot scripts... Finally ironed out all the errors, but now when I run the script in OSBot, nothing happens, doesn't start the script. I read on the forums that it might have to do with where I declare my variables, so I moved them all up to the top, but still not working.

Please check out my pastebin here: https://pastebin.com/PmmApEB7   and let me know what I can do to fix it! Thanks

5 hours ago, Beefsteak said:

Hey folks, working on my first OSBot script by translating one of my poopbot scripts... Finally ironed out all the errors, but now when I run the script in OSBot, nothing happens, doesn't start the script. I read on the forums that it might have to do with where I declare my variables, so I moved them all up to the top, but still not working.

Please check out my pastebin here: https://pastebin.com/PmmApEB7   and let me know what I can do to fix it! Thanks

Don't do this globally, most likely the cause for it not starting

GroundItem loot = groundItems.closest("Bones");
	Area near = myPlayer().getArea(3);
	Object pool = objects.closest("Pool of Refreshment");
	Object ditch = objects.closest("Wilderness Ditch");
  • Author

I've tried a few diff things with those declarations but still wont start. How/where would you write it? Thanks for the response.

1 hour ago, Gunman said:

Don't do this globally, most likely the cause for it not starting

GroundItem loot = groundItems.closest("Bones");
	Area near = myPlayer().getArea(3);
	Object pool = objects.closest("Pool of Refreshment");
	Object ditch = objects.closest("Wilderness Ditch");

 

2 hours ago, Beefsteak said:

I've tried a few diff things with those declarations but still wont start. How/where would you write it? Thanks for the response.

 

Doesn't even look like you use them, might of missed it, but I would just remove them

  • Author
16 hours ago, Gunman said:

Doesn't even look like you use them, might of missed it, but I would just remove them

Tried removing all the variables and still not starting. Any other ideas? Thanks

8 hours ago, Beefsteak said:

Tried removing all the variables and still not starting. Any other ideas? Thanks

Start commenting out blocks of code until it starts, then once it starts leave the last block of code commented out and start uncommenting the other blocks of code step by step and see if there's any other code causing issues

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.