Looking for PMSG_CHARMAPJOINRESULT struct for s2

Results 1 to 5 of 5
  1. #1
    Proficient Member Razzor is offline
    MemberRank
    Dec 2012 Join Date
    PolandLocation
    156Posts

    Looking for PMSG_CHARMAPJOINRESULT struct for s2

    Hi. Looking for struct PMSG_CHARMAPJOINRESULT for s2. My sniffed pacet is size 60, don't fit to 0.65 and s4 decomp struct
    Code:
    C3 3C F3 03 E0 D5 02 00 98 7B 22 0B A0 62 47 0B 92 0B AA 00 12 00 0F 00 E2 00 42 01 42 01 D0 03 D0 03 6D 0B 6D 0B 2D 00 5A 00 <-- till here fit
    rest unknown
     18 00 9D EA 01 00 02 00 D0 84 3E 00 00 7D 00 00 3E 00


  2. #2
    Enthusiast brunohkbx is offline
    MemberRank
    Mar 2014 Join Date
    mov ebx,1Location
    30Posts

    Re: Looking for PMSG_CHARMAPJOINRESULT struct for s2

    Code:
    struct PMSG_CHARMAPJOINRESULT
    {
        PBMSG_HEAD h;    // C3:F3:03
        BYTE subcode;    // 3
        BYTE MapX;    // 4
        BYTE MapY;    // 5
        BYTE MapNumber;    // 6
        BYTE Dir;    // 7
        DWORD Exp;    // 8
        DWORD NextExp;    // C
        WORD LevelUpPoint;    // 10
        WORD Str;    // 12
        WORD Dex;    // 14
        WORD Vit;    // 16
        WORD Energy;    // 18
        WORD Life;    // 1A
        WORD MaxLife;    // 1C
        WORD Mana;    // 1E
        WORD MaxMana;    // 20
        WORD wShield;    // 22
        WORD wMaxShield;    // 24
        WORD BP;    // 26
        WORD MaxBP;    // 28
        int Money;    // 2C
        BYTE PkLevel;    // 30
        BYTE CtlCode;    // 31
        short AddPoint;    // 32
        short MaxAddPoint;    // 34
        WORD Leadership;    // 36
        WORD wMinusPoint;    // 38
        WORD wMaxMinusPoint;    // 3A
    };

  3. #3
    Proficient Member Razzor is offline
    MemberRank
    Dec 2012 Join Date
    PolandLocation
    156Posts

    Re: Looking for PMSG_CHARMAPJOINRESULT struct for s2

    thx, but this is 58 size missing 2 bytes:/

    int32 from 18 00 9D EA not give me current money

  4. #4
    Retired NanoGuy is offline
    MemberRank
    Jul 2012 Join Date
    IsraelLocation
    286Posts

    Re: Looking for PMSG_CHARMAPJOINRESULT struct for s2

    you can just make padding or debug

  5. #5
    Enthusiast willerson is offline
    MemberRank
    Aug 2008 Join Date
    48Posts

    Re: Looking for PMSG_CHARMAPJOINRESULT struct for s2

    Season 4 JPN struct

    Code:
    struct PMSG_CHARMAPJOINRESULT
    {
    	PBMSG_HEAD h;	// C3:F3:03
    	BYTE subcode;	// 3
    	BYTE MapX;	// 4
    	BYTE MapY;	// 5
    	BYTE MapNumber;	// 6
    	BYTE Dir;	// 7
    
    	BYTE ExpHHH; //
    	BYTE ExpHHL; //
    	BYTE ExpHLH; //
    	BYTE ExpHLL; //
    	BYTE ExpLHH; //
    	BYTE ExpLHL; //
    	BYTE ExpLLH; //
    	BYTE ExpLLL; //
    
    	BYTE NextExpHHH; //
    	BYTE NextExpHHL; //
    	BYTE NextExpHLH; //
    	BYTE NextExpHLL; //
    	BYTE NextExpLHH; //
    	BYTE NextExpLHL; //
    	BYTE NextExpLLH; //
    	BYTE NextExpLLL; //
    
    	WORD LevelUpPoint;	// 10
    	WORD Str;	// 12
    	WORD Dex;	// 14
    	WORD Vit;	// 16
    	WORD Energy;	// 18
    	WORD Life;	// 1A
    	WORD MaxLife;	// 1C
    	WORD Mana;	// 1E
    	WORD MaxMana;	// 20
    	WORD wShield;	// 22
    	WORD wMaxShield;	// 24
    	WORD BP;	// 26
    	WORD MaxBP;	// 28
    	int Money;	// 2C
    	BYTE PkLevel;	// 30
    	BYTE CtlCode;	// 31
    	short AddPoint;	// 32
    	short MaxAddPoint;	// 34
    	WORD Leadership;	// 36
    	WORD wMinusPoint;	// 38
    	WORD wMaxMinusPoint;	// 3A
    };
    and if some packet is lacking, maybe its memory align with #pragma pack, so, make some test or debug like NanoGuy said.

    []'s



Advertisement