Jump to content

can't detect lobster pot in mirror mode


Recommended Posts

Posted (edited)

Figured it out.... Mirror mode can't detect it, As soon as I injected it fixed the problem.

 

 

if (!getInventory().contains(fish.getFishingItem())) {
				log("inventory missing "+fish.getFishingItem());
				setState(State.WALK_TO_BANK);
			}

[INFO][Bot #1][01/18 06:55:04 PM]: inventory missing Lobster pot
[INFO][Bot #1][01/18 07:02:22 PM]: inventory missing lobster pot

 

I've tried all sorts of variations and it just wont detect the lobster pot, I've ran my script for in total aprox 5 hrs, doing flying fishing, and netting shrimps, but for some reason, it will not detect the lobster pot.

Even when i switch to directly checking for the itemID 301 it still wont detect the lobsterPot...

Tried a suggestion of putting it in my banking method and trying. same thing.

if (getInventory().contains(fish.getFishingItem())) {
				if (fish.getBait() != "none" && getInventory().contains(fish.getBait()))
					setState(State.WALK_TO_FISHING_AREA);
				else {
					setState(State.WALK_TO_FISHING_AREA);
				}
			}
else {
				log("Banking can't find "+fish.getFishingItem());
			}

[INFO][Bot #1][01/18 07:32:36 PM]: Banking can't find Lobster pot

Edited by Durky

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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