* Added support for clients 2010-11-23aRagexeRE+ and 2011-01-11aRagexeRE+.

- Servers that used packet db version 'default' until now need to be updated to use version '25'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14791 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ai4rei
2011-04-10 17:52:47 +00:00
parent b3ec545cee
commit 0641ed4d05
5 changed files with 20 additions and 3 deletions

View File

@@ -1550,7 +1550,7 @@ int count_users(void)
// Writes char data to the buffer in the format used by the client.
// Used in packets 0x6b (chars info) and 0x6d (new char info)
// Returns the size
#define MAX_CHAR_BUF 132 //Max size (for WFIFOHEAD calls)
#define MAX_CHAR_BUF 136 //Max size (for WFIFOHEAD calls)
int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
{
unsigned short offset = 0;
@@ -1613,6 +1613,10 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
#if PACKETVER >= 20100803
WBUFL(buf,124) = TOL(p->delete_date);
offset += 4;
#endif
#if PACKETVER >= 20110111
WBUFL(buf,128) = 0; // robe sprite id
offset += 4;
#endif
return 106+offset;
}