[HELP v1.48] stucked while updating spmo packet

Results 1 to 4 of 4
  1. #1
    Enthusiast CoreNetwork is offline
    MemberRank
    Mar 2014 Join Date
    29Posts

    [HELP v1.48] stucked while updating spmo packet

    78 01 // header
    2A D9 CB 00 //chr id
    50 //level 80
    0A 00 //Length of Name
    41 62 69 72 31 4B 69 6E 67 31 //name
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 //18 bytes
    FE 00 //Guild Data 254 bytes

    i stucked on the 18 bytes part..
    someone can explain for me what get inside this part and why ?

    the other part of the packet..
    Code:
    00 00 00 00 30 00 00ת 00 00 00 00 00 00 00 00 00 00 00 00 00 80 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 A7 73 08 00 00 00 00 00 00 00 00 00 01 A7 73 08 00 00 00 00 00 00 00 00 00 00 00 01 A7 73 08 00 00 00 00 00 00 00 00 00 00 00 01 A7 73 08 00 00 00 00 00 00 00 00 00 01 A7 73 08 00 01 3F 29 C7 19 00 00 00 00 00 00 00 00 00 00 01 A7 73 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 A7 73 08 00 00 00 83 05 00 00 00 00 25 4E 00 00 83 05 00 00 00 34 76 00 00 01 C6 4A 0F 00 02 8A 71 0F 00 05 1F 0F 10 00 09 BE D1 10 00 0A 0B A5 14 //end of guild data
    00 //byte wirte(0);
    0B 89 76 16 00 0C 48 F8 10 00 0D BA FB 10 00 0F 58 FB 10 00 10 E1 F9 10 00 11 AE 1F 11 00 31 A2 6E 11 00 32 BE 46 11 00 33 34 94 11 00 35 48 5C 19 00 37 20 E2 11 00 FF 05 82 DE 0F 00 09 14 D1 10 00 FF FF 37 FA 19 00 89 76 16 00 0B A5 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7E 00 1C 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 41 62 69 72 31 4B 69 6E 67 31 7E 04 00 00 03 00 00 00 5A 00 00 00 67 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 01 00 00 00 FF FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00
    i havn't finished yet to analyze the whole packet because i stucked on the 18 bytes part..
    Last edited by CoreNetwork; 21-04-14 at 05:09 PM.


  2. #2
    <3 Dynamik is offline
    MemberRank
    Feb 2011 Join Date
    TorontoLocation
    532Posts

    Re: [HELP v1.48] stucked while updating spmo packet

    First 8 bytes would be related to guilds. You are not in a guild, so eight zero bytes are written. So this condition occurs:

    Code:
    if (chr.getGuildId() <= 0) 
    {
                mplew.writeZeroBytes(8);
     }
    And then after the else statement, a byte is written regardless if you are in a guild or not:

    Code:
            mplew.write(0);

  3. #3
    Enthusiast CoreNetwork is offline
    MemberRank
    Mar 2014 Join Date
    29Posts

    Re: [HELP v1.48] stucked while updating spmo packet

    But I am in guild

  4. #4
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: [HELP v1.48] stucked while updating spmo packet

    Quote Originally Posted by Dynamik View Post
    First 8 bytes would be related to guilds. You are not in a guild, so eight zero bytes are written. So this condition occurs:

    Code:
    if (chr.getGuildId() <= 0) 
    {
                mplew.writeZeroBytes(8);
     }
    And then after the else statement, a byte is written regardless if you are in a guild or not:

    Code:
            mplew.write(0);
    This is not entirely correct to assume that. The 2 bytes of that 8 zero bytes are the guild's name. Then, we are left with 6 bytes, which are the logo's background id, the logo's background color, the logo's id and the logo's color.



Advertisement