Thread: My bank closes when I move an item's position

Results 1 to 4 of 4
  1. #1 My bank closes when I move an item's position 
    Member
    Join Date
    Nov 2008
    Posts
    103
    Thanks given
    5
    Thanks received
    0
    Rep Power
    0
    So I find my objectClick method and find case 2213 (bank booth)

    It goes like this:

    Code:
    case 2213:
    						if (!hasPin() || pinCorrect())
    						{
    							sendFrame248(5292, 5063);
    							CurrentFrame = -1;
    							resetItems(5064);
    						} else
    						{
    							showInterface(7424);
    						}
    					break;
    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.
    Quote Originally Posted by jimmy2 View Post
    I downlodd a sorucxe nd how i run it. i went in the file and write rungame. i delllete the complier and run.bat bcuz no need it. maybe i need to delte some files to make woork? pls halp me
    Reply With Quote  
     

  2. #2  
    Austin_
    Guest
    Is anything printing in the command prompt for your server run thing?
    Reply With Quote  
     

  3. #3  
    Member
    Join Date
    Nov 2008
    Posts
    103
    Thanks given
    5
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Invictus View Post
    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.
    Quote Originally Posted by jimmy2 View Post
    I downlodd a sorucxe nd how i run it. i went in the file and write rungame. i delllete the complier and run.bat bcuz no need it. maybe i need to delte some files to make woork? pls halp me
    Reply With Quote  
     

  4. #4  
    Member
    Join Date
    Nov 2008
    Posts
    103
    Thanks given
    5
    Thanks received
    0
    Rep Power
    0
    Fixed it.

    For anyone who wants to know what was wrong .. it was in my resetWithWalk method.


    Code:
    if (currentFrame != 5292) {
        RemoveAllWindows();
        currentFrame = -1
    }
    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)

    So I just changed the != 5292 to != -1 and it won't close the bank when I switch a banked item's position now.
    Quote Originally Posted by jimmy2 View Post
    I downlodd a sorucxe nd how i run it. i went in the file and write rungame. i delllete the complier and run.bat bcuz no need it. maybe i need to delte some files to make woork? pls halp me
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •