Experienced Elementalist
- Joined
- May 12, 2014
- Messages
- 260
- Reaction score
- 61
select character have bug with protocol CHS, don't see any things or some show error.
this video for error
Fixed by me, thank to LTP TEAM
and now you must change some things :
in protocol.h file
typedef struct
{
PBMSG_HEAD h; // C1:F3:00
BYTE subcode; // 3
BYTE MaxClass; // 4
BYTE MoveCnt; // 5
BYTE Count; // 6
} PMSG_CHARLISTCOUNT, *LPPMSG_CHARLISTCOUNT;
//----------------------------------------------------------------------------
// [0xF3][0x00] ij¸¯ÅÍ Á¤º¸(À§ ÇÁ·ÎÅäÄÝ Ä«¿îÅÍ ¸¸Å ¹Ýº¹µÊ)
//----------------------------------------------------------------------------
typedef struct
{
BYTE Index; // 0
char Name[10]; // 1
WORD Level; // C
BYTE CtlCode; // E
BYTE CharSet[18]; // F
BYTE btGuildStatus; // 21
} PMSG_CHARLIST, * LPPMSG_CHARLIST;
and in Sprodef.h file
typedef struct
{
PWMSG_HEAD h;
short Number; // 4
BYTE Count; // 6
int DbNumber; // 8
BYTE Magumsa; // C
char AccountId[11]; // D
BYTE MoveCnt; // 18
} SDHP_CHARLISTCOUNT, *LPSDHP_CHARLISTCOUNT;
typedef struct
{
BYTE Index; // 0
char Name[10]; // 1
WORD Level; // C
BYTE Class; // E
BYTE CtlCode; // F
BYTE dbInventory[48]; // 10
BYTE DbVersion; // 40
BYTE btGuildStatus; // 41
} SDHP_CHARLIST, * LPSDHP_CHARLIST;
in DSProtocol.cpp file
go to void JGPGetCharList(BYTE *lpRecv)
you must remove that
/*#ifdef ADD_CHARACTER_SLOT_SYSTEM_20090520
gObj[aIndex].m_btCharacterSlotCount = lpCount->CharacterSlotCount;
pCLCount.CharacterSlotCount = lpCount->CharacterSlotCount;
if( lpCount->Count > lpCount->CharacterSlotCount )
{
pCLCount.Count = lpCount->CharacterSlotCount;
}
#endif */// ADD_CHARACTER_SLOT_SYSTEM_20090520
thank to all
How can I solve this in MuEmu?