Thread: Packet Sizes?

Results 1 to 4 of 4
  1. #1 Packet Sizes? 
    Registered Member Clx3's Avatar
    Join Date
    Jan 2010
    Posts
    440
    Thanks given
    79
    Thanks received
    15
    Rep Power
    15
    Everytime i teleport or do somekinda movement action my client gives this error:

    Code:
    Error: Error packet size mismatch in getplayer pos:14 psize:18
    Can anyone help me to fix it heres something useful to help you:

    Client PacketSizes:
    Code:
        public static final int[] packetSizes = {
            0, 0, 0, 0, 6, 0, 0, 0, 4, 0, 
            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
            0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 
            0, 0, 0, 0, -2, 4, 3, 0, 0, 0, 
            0, 0, 0, 0, 5, 0, 0, 6, 0, 0, 
            9, 0, 0, -2, 0, 0, 0, 0, 0, 0, 
            -2, 1, 0, 0, 2, -2, 0, 0, 0, 0, 
            6, 3, 2, 4, 2, 4, 0, 0, 0, 4, 
            0, -2, 0, 0, 7, 2, 0, 6, 0, 0, 
            0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 
            0, 2, 0, 0, -1, 4, 1, 0, 0, 0, 
            1, 0, 0, 0, 2, 0, 0, 15, 0, 0, 
            0, 4, 4, 0, 0, 0, -2, 0, 0, 0, 
            0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 
            0, 0, 2, 0, 0, 0, 0, 14, 0, 0, 
            0, 4, 0, 0, 0, 0, 3, 0, 0, 0, 
            4, 0, 0, 0, 2, 0, 6, 0, 0, 0, 
            0, 3, 0, 0, 5, 0, 10, 6, 0, 0, 
            0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 
            0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 
            4, 0, 0, 0, 0, 0, 3, 0, 2, 0, 
            0, 0, 0, 0, -2, 7, 0, 0, 2, 0, 
            0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 
            8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
            2, -2, 0, 0, 0, 0, 6, 0, 4, 3, 
            0, 0, 0, -1, 6, 0, 0
        };
    Server PacketSizes:
    Code:
        public final int packetSizes[] =
        {
    		0, 0, 0, 1, -1, 0, 0, 0, 0, 0, //0
    		0, 0, 0, 0, 8, 0, 6, 2, 2, 0,  //10
    		0, 2, 0, 6, 0, 12, 0, 0, 0, 0, //20
    		0, 0, 0, 0, 0, 8, 4, 0, 0, 2,  //30
    		2, 6, 0, 6, 0, -1, 0, 0, 0, 0, //40
    		0, 0, 0, 12, 0, 0, 0, 8, 8, 0, //50
    		8/*4*/, 8, 0, 0, 0, 0, 0, 0, 0, 0,  //60
    		6, 0, 2, 2, 8, 6, 0, -1, 0, 6, //70
    		0, 0, 0, 0, 0, 1, 4, 6, 0, 0,  //80
    		0, 0, 0, 0, 0, 3, 0, 0, -1, 0, //90
    		0, 13, 0, -1, 0, 0, 0, 0, 0, 0,//100
    		0, 0, 0, 0, 0, 0, 0, 6, 0, 0,  //110
    		1, 0, 6, 0, 0, 0, -1, 0, 2, 6, //120
    		0, 4, 6, 8, 0, 6, 0, 0, 0, 2,  //130
    		0, 0, 0, 0, 0, 6, 0, 0, 0, 0,  //140
    		0, 0, 1, 2, 0, 2, 6, 0, 0, 0,  //150
    		0, 0, 0, 0, -1, -1, 0, 0, 0, 0,//160
    		0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  //170
    		0, 8, 0, 3, 0, 2, 0, 0, 8, 1,  //180
    		0, 0, 12, 0, 0, 0, 0, 0, 0, 0, //190
    		2, 0, 0, 0, 0, 0, 0, 0, 4, 0,  //200
    		4, 0, 0, 0, 7, 8, 0, 0, 10, 0, //210
    		0, 0, 0, 0, 0, 0, -1, 0, 6, 0, //220
    		1, 0, 0, 0, 6, 0, 6, 8, 1, 0,  //230
    		0, 4, 0, 0, 0, 0, -1, 0, -1, 4,//240
    		0, 0, 6, 6, -1, 0, 0            //250
        };
    Help please
    Reply With Quote  
     

  2. #2  
    Member Packet Sizes? Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    should be -1 since it varies depending on the amount of players online.

    Attached imageAttached image
    Reply With Quote  
     

  3. #3  
    Registered Member Clx3's Avatar
    Join Date
    Jan 2010
    Posts
    440
    Thanks given
    79
    Thanks received
    15
    Rep Power
    15
    Quote Originally Posted by Luke132 View Post
    should be -1 since it varies depending on the amount of players online.
    Wich one from the list should be -1...
    Reply With Quote  
     

  4. #4  
    Member Packet Sizes? Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    Quote Originally Posted by OneInch View Post
    Wich one from the list should be -1...
    The one for the packet id you're using..it starts at 0 and ends at 256..get counting.

    Attached imageAttached image
    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
  •