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.

Picking up items.

Featured Replies

EDIT: Looking back I see I posted this in the wrong section, if someone would be so kind to tell how to move/delete a post that would be wicked.

 

 

So in my spare time I'm working on a cowkilling script.

 

244ef266c4.png

 

Now this works up to the part that it attacks a cow. After a kill or when the player is not currently under attack i'd like it to pick up cowhides. Now am I curious as to where my code falters and does not pick up the cowhides either not looted by others or gained from a kill.

 

Cheers,

Chazler

Edited by Chazler

In your getState():

If inventory is full -> BANK
Else If not under attack and cowhide exists -> LOOT
Else -> KILL

Would fix it smile.png

 

 

 

 

Edited by Botre

Looks like in your getState, the code is never getting past going into the kill case (cause your inventory is rarely full), remember code is run in the order it appears so it cannot get past the kill case (the code you have for looting looks completely correct so just play with the case definitions a bit.

 

 

Edited by Apaec

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.