Thread: [HELP] Shop error!

Results 1 to 4 of 4
  1. #1 [HELP] Shop error ... 
    Registered Member
    Join Date
    Apr 2009
    Posts
    34
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    When i try to trade my npc i get this error and disconnect

    java.lang.ArrayIndexOutOfBoundsException: -45
    at client.parseIncomingPackets(client.java:19391)
    at client.packetProcess(client.java:18155)
    at client.packetSending(client.java:18108)
    at PlayerHandler.process(PlayerHandler.java:153)
    at server.main(server.java:51)
    pimpscape Server [fatal] - exception
    I also got this error from my compiler.
    client.java:18250: code too large
    public void parseIncomingPackets() {
    ^
    Note: stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlinteprecation for details.
    1 error
    Finished!
    Im using silabgarza source .

    Does anyone know how to fix this?

    Thanks.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Rock_Gyo's Avatar
    Join Date
    Oct 2009
    Posts
    505
    Thanks given
    27
    Thanks received
    35
    Rep Power
    104
    I also got this error from my compiler.
    Code:
    client.java:18250: code too large
    public void parseIncomingPackets() {
    ^
    Note: stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlinteprecation for details.
    1 error
    Finished!
    look at java line 18250 pressing alt + g and search line 18250
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2009
    Posts
    34
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Dont see anything wrong.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2009
    Posts
    34
    Thanks given
    0
    Thanks received
    3
    Rep Power
    1
    Quote Originally Posted by Rock_Gyo View Post
    I also got this error from my compiler.
    Code:
    client.java:18250: code too large
    public void parseIncomingPackets() {
    ^
    Note: stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlinteprecation for details.
    1 error
    Finished!
    look at java line 18250 pressing alt + g and search line 18250
    I dont see anything wrong at that line

    Maybe u guys can see anything wrong.

    Code:
        public void parseIncomingPackets() {
            int i;
            int junk;
            int junk2;
            int junk3;
    
            switch (packetType) {
            case 0:
                break; // idle packet - keeps on reseting timeOutCounter
    
            case 202: // idle logout packet - ignore for now
                break;
    
            case 210: // loads new area
    
                break;
    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

Tags for this Thread

View Tag Cloud

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