Jump to content

[Mirror Mode v2.62.171] Banking Bug (placeholders)


ProjectPact

Recommended Posts

Version: OSBot 2.5.10 (Mirror Mode v2.62.171)

 

Description of bug: Whenever performing the banking check "getBank().getAmount("ITEM_NAME")", the bot recognizes a placeholder as a value of 1. So when you have run out of a certain item, but have a placeholder enabled, the bot thinks that there is still one of that item left. 

 

How to reproduce: Set your bank to recognize placeholders by locking it. Then simply make sure you have 0 of that item you want to test left, only having it's placeholder visible. Then simply run a test.

 

Example:

if (getBank().contains("ITEM_NAME")){
  if (getBank().getAmount("ITEM_NAME") > 0) 
	log("Amount: " + getBank().getAmount("ITEM_NAME"));
}

 

Operating System: 

c43f04f6cabfd107ec23e7e10aa363f5.png

Edited by ProjectPact
  • Like 1
Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 2 weeks later...

@ProjectPact it recognizes placeholders as 1 item. You can make it work by just changing the 0 in your code to a 1. It shouldn't make a difference if you miss 1 item in your script. 

But yes the scrolling thing messes up most of the bank functions, as well as world hopper in mirror mode.

Edited by cooldoruk60
Link to comment
Share on other sites

2 hours ago, cooldoruk60 said:

@ProjectPact it recognizes placeholders as 1 item. You can make it work by just changing the 0 in your code to a 1. It shouldn't make a difference if you miss 1 item in your script. 

But yes the scrolling thing messes up most of the bank functions, as well as world hopper in mirror mode.

Already been done months ago brotha 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 8 months later...
  • Recently Browsing   0 members

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