Jump to content

can't detect lobster pot in mirror mode


Durky

Recommended Posts

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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