Here are my changes: 1. packet_db.txt Before
packet_db_ver: default
packet_keys_use: default
After
packet_db_ver: 54
packet_keys_use: 0x45B945B9,0x45B945B9,0x45B945B9
2. mmo.h Before
#ifndef PACKETVER
#define PACKETVER 20130807
After
#ifndef PACKETVER
#define PACKETVER 20151029
3. char_clif.c Before
//----------------------------------------
// Tell client how many pages, kRO sends 17 (Yommy)
//----------------------------------------
void chclif_charlist_notify( int fd, struct char_session_data* sd ){
// This is needed on RE clients from october 2015 onwards
// If you want to use one replace false by true here
#if false && PACKETVER >= 20151001
WFIFOHEAD(fd, 10);
WFIFOW(fd, 0) = 0x9a0;
// pages to req / send them all in 1 until mmo_chars_fromsql can split them up
WFIFOL(fd, 2) = (sd->char_slots>3)?sd->char_slots/3:1; //int TotalCnt (nb page to load)
WFIFOL(fd, 6) = sd->char_slots;
WFIFOSET(fd,10);
#else
WFIFOHEAD(fd, 6);
WFIFOW(fd, 0) = 0x9a0;
// pages to req / send them all in 1 until mmo_chars_fromsql can split them up
WFIFOL(fd, 2) = (sd->char_slots>3)?sd->char_slots/3:1; //int TotalCnt (nb page to load)
WFIFOSET(fd,6);
#endif
}
After
//----------------------------------------
// Tell client how many pages, kRO sends 17 (Yommy)
//----------------------------------------
void chclif_charlist_notify( int fd, struct char_session_data* sd ){
// This is needed on RE clients from october 2015 onwards
// If you want to use one replace false by true here
//#if false && PACKETVER >= 20151001
// WFIFOHEAD(fd, 10);
// WFIFOW(fd, 0) = 0x9a0;
// pages to req / send them all in 1 until mmo_chars_fromsql can split them up
// WFIFOL(fd, 2) = (sd->char_slots>3)?sd->char_slots/3:1; //int TotalCnt (nb page to load)
// WFIFOL(fd, 6) = sd->char_slots;
// WFIFOSET(fd,10);
//#else
WFIFOHEAD(fd, 6);
WFIFOW(fd, 0) = 0x9a0;
// pages to req / send them all in 1 until mmo_chars_fromsql can split them up
WFIFOL(fd, 2) = (sd->char_slots>3)?sd->char_slots/3:1; //int TotalCnt (nb page to load)
WFIFOSET(fd,6);
//#endif
}
Error still remains.