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.

Mirror Client 1.08 getInventory()

Featured Replies

Sample code: 

	if(!getInventory().contains(itemEquip)){
				log("Ran out of " + itemEquip + ". Stopping script!");
				stop();
			}

I'll have a full inventory of "itemEquip", yet it thinks I don't have any in my script and will just log me out. 

 

I'm using the mirror client on a Mac. (Already checked for misspelling in my code)

 

 

EDIT: this doesn't mess up on injection though...

Edited by ProjectPact

  • Developer

Sample code: 

	if(!getInventory().contains(itemEquip)){
				log("Ran out of " + itemEquip + ". Stopping script!");
				stop();
			}

I'll have a full inventory of "itemEquip", yet it thinks I don't have any in my script and will just log me out. 

 

I'm using the mirror client on a Mac. (Already checked for misspelling in my code)

 

 

EDIT: this doesn't mess up on injection though...

 

You are simply attaching to an already logged in/used client... please read instructions more carefully

 

  • Developer

You are simply attaching to an already logged in/used client... please read instructions more carefully

 

 

The Item container of bank mess up sometimes, happends rarely though (Not sure about inventory container, didn't had issue with that)

 

I got regular bug reports of my script saying the bank has run out of pure essence, even though the bank is open en the pure essence is visible in the bank.

I debugged it and indeed the item container did not contain pure essence at that point.

 

It can be fixed if you reopen the bank.

Might something to look into smile.png

 

Hope this post helped you a bit QwPha8E.png

 

Khaleesi

Edited by Khaleesi

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.