Thread: Banking Disconnection

Results 1 to 7 of 7
  1. #1 Banking Disconnection 
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    Well Ive been having problems ever since i added 35 Bank slots.

    Basically i deleted the
    Code:
    case 214:
    			// change item places
    			somejunk = inStream.readUnsignedWordA(); // junk
    			inStream.readSignedByteC();
    			int itemFrom = inStream.readUnsignedWordA(); // slot1
    			int itemTo = inStream.readUnsignedWord();// slot2
    
    			// println_debug(somejunk+" moveitems: From:"+itemFrom+"
    			// To:"+itemTo);
    			moveItems(itemFrom, itemTo, somejunk);
    
    			break;
    and the moveItems Void,
    Code:
    public void moveItems(int from, int to, int moveWindow) {
    		if (moveWindow == 3724) {
    			int tempI;
    			int tempN;
    
    			tempI = playerItems[from];
    			tempN = playerItemsN[from];
    
    			playerItems[from] = playerItems[to];
    			playerItemsN[from] = playerItemsN[to];
    			playerItems[to] = tempI;
    			playerItemsN[to] = tempN;
    		}
    
    		if ((moveWindow == 34453) && (from >= 0) && (to >= 0)
    				&& (from < playerBankSize) && (to < playerBankSize)) {
    			int tempI;
    			int tempN;
    
    			tempI = bankItems[from];
    			tempN = bankItemsN[from];
    
    			bankItems[from] = bankItems[to];
    			bankItemsN[from] = bankItemsN[to];
    			bankItems[to] = tempI;
    			bankItemsN[to] = tempN;
    		}
    
    		if (moveWindow == 34453) {
    			resetBank();
    		} else if (moveWindow == 18579) {
    			resetItems(5064);
    		} else if (moveWindow == 3724) {
    			resetItems(3214);
    		}
    	}
    and now my problem is this;
    http://tinypic.com/player.php?v=30sevph&s=3



    Notes: If i keep the Void and the Packet i get exceptions s:
    Please help ASAP. Will rep.
    Reply With Quote  
     

  2. #2  
    Lighten
    Guest
    Code:
    int itemTo = (inStream.readUnsignedWordA() - 128);// slot2
    your itemto was inncorrect.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    o.O Ill try that, thanks.

    That didn't fix anything. The exception still persists and i still can not bank more then 20 items.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    Bump C'mon Lmao.
    Reply With Quote  
     

  5. #5  
    Member Banking Disconnection Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    What is the clientside error output?

    Attached imageAttached image
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    NO client side error, i have changed the
    public int[] playerItems = new int[35];
    public int[] playerItemsN = new int[35];

    Idk. Galkon any help?
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    Bumpcastle
    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
  •