summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-10 17:52:47 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-10 17:52:47 +0000
commit1c11e79cc022fe4b4606f316aa4745ea5524ed87 (patch)
treeb1cd82254592717cfb82a006c1b8e1268c411d32
parentded99f09f476929b836bf76297624d88ed072bef (diff)
downloadhercules-1c11e79cc022fe4b4606f316aa4745ea5524ed87.tar.gz
hercules-1c11e79cc022fe4b4606f316aa4745ea5524ed87.tar.bz2
hercules-1c11e79cc022fe4b4606f316aa4745ea5524ed87.tar.xz
hercules-1c11e79cc022fe4b4606f316aa4745ea5524ed87.zip
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14791 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--db/packet_db.txt8
-rw-r--r--src/char/char.c6
-rw-r--r--src/char_sql/char.c6
-rw-r--r--src/common/mmo.h1
5 files changed, 20 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index f4aaf32ca..49a6760e7 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -1,6 +1,8 @@
Date Added
2011/04/10
+ * Added support for clients 2010-11-23aRagexeRE+ and 2011-01-11aRagexeRE+. [Ai4rei]
+ - Servers that used packet db version 'default' until now need to be updated to use version '25'.
* Fixed switching between musical weapons would cancel ongoing dance skills (bugreport:4756, since r3538). [Ai4rei]
* Fixed @changegm not updating guild window interface after changing the guild leader (bugreport:408, since r2622, related r3185). [Ai4rei]
2011/04/09
diff --git a/db/packet_db.txt b/db/packet_db.txt
index a3f91ee78..1c4956f11 100644
--- a/db/packet_db.txt
+++ b/db/packet_db.txt
@@ -1586,5 +1586,11 @@ packet_ver: 25
0x0842,6,recall2,2
0x0843,6,remove2,2
+//2010-11-23aRagexeRE
+packet_ver: 26
+0x035f,5,walktoxy,2
+0x0360,6,ticksend,2
+0x0368,6,getcharnamerequest,2
+
//Add new packets here
-//packet_ver: 26
+//packet_ver: 27
diff --git a/src/char/char.c b/src/char/char.c
index b499faf96..237e04638 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1772,7 +1772,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;
@@ -1836,6 +1836,10 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
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;
}
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 36de40bf5..517ebed10 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -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;
@@ -1614,6 +1614,10 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p)
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;
}
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 39a5717ab..857d42581 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -39,6 +39,7 @@
// 20100721 - 2010-07-21aRagexeRE+ - 0x6b, 0x6d
// 20100727 - 2010-07-27aRagexeRE+ - 0x6b, 0x6d
// 20100803 - 2010-08-03aRagexeRE+ - 0x6b, 0x6d, 0x827, 0x828, 0x829, 0x82a, 0x82b, 0x82c, 0x842, 0x843
+// 20110111 - 2011-01-11aRagexeRE+ - 0x6b, 0x6d
#ifndef PACKETVER
#define PACKETVER 20081126