Jump to content

Mirror Client 1.08 getInventory()


ProjectPact
 Share

Recommended Posts

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
  • Like 1
Link to comment
Share on other sites

  • 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

 

Link to comment
Share on other sites

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
  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...