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.

Adding custom random event solver?

Featured Replies

For example, I want to add Pickaxe Head random solver for mining. How can I do this?

 

I wrote PickaxeHead class extends RandomSolver.

BUT: what RandomEvent to specify within its constructor?

I already have RandomEvent.OTHER used for other random solver. Adding 2 solvers with same RandomEvent.OTHER type seems be broken. Any ideas?

 

Thanks,

darkxor.

I'll look into this as your right it most likely is broken. It's just a small bug we didn't notice, we'll fix it.

You could do something like:

 

if(pickaxeHead.isVisible()){

 

//walk to it and pick it up

 

}

 

Something along those lines where it runs a check everytime you go through to see if the head is visible, and if it is, then you go and pick it up.  This would be a kind of quick-fix until the Devs are able to update the client

 

If you lose pick head you always stuck with a stick. You could walk look to see if your wear the stick or have stick in inventory. Since there like 7 different heads bronze iron steel....etc.

Pre loop make sure you have inv space.

Regular Loop, pick up and attach the head.

Post loop pick up any item you dropped. Re-equipe if it was wielding it before.

No need to write it as a random solver, just every time you initiate your onLoop check if you're wearing a pickaxe handle / check the loaded area for the designated pickaxe head.

 

I guess you could write it as a random solver but it just seems like extra effort. If you really need something asyncronous just drop a check in your onPaint, lol.

 

If you really need something asyncronous just drop a check in your onPaint, lol.

 

For the love of god, no

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

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.