Is anything printing in the command prompt for your server run thing?
|
So I find my objectClick method and find case 2213 (bank booth)
It goes like this:
That opens the bank menu. What I can't figure out is what method is called when I switch an item's position in my bank, because that is what is causing the bank to close everytime. It's rather annoying and I'd love to figure out how to fix it if; if anyone could help that would be great.Code:case 2213: if (!hasPin() || pinCorrect()) { sendFrame248(5292, 5063); CurrentFrame = -1; resetItems(5064); } else { showInterface(7424); } break;
Is anything printing in the command prompt for your server run thing?
I know what you mean because this happens when I use two items on each other that aren't set to do anything .. very helpful in certain situations.
To answer you, no, nothing prints. It just switches the items like I want, then closes the bank window as if I had just clicked "close" at the top right.
Fixed it.
For anyone who wants to know what was wrong .. it was in my resetWithWalk method.
My objectClick method sets currentFrame to -1 when bank is opened, and so this made the bank close everytime resetWithWalk was called (had to call it to fix a dupe a while back)Code:if (currentFrame != 5292) { RemoveAllWindows(); currentFrame = -1 }
So I just changed the != 5292 to != -1 and it won't close the bank when I switch a banked item's position now.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |