summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-20 03:38:47 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-20 03:38:47 +0000
commit0a4feb1f7d662faeefd1072d39530c2f610a3a1a (patch)
treeb2a82245d6672ca1261efc076caf052bc62f726c /src/map/clif.h
parent0f4b1a36a2552e62227ee1350e8034a8f122c028 (diff)
downloadhercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.tar.gz
hercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.tar.bz2
hercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.tar.xz
hercules-0a4feb1f7d662faeefd1072d39530c2f610a3a1a.zip
* Corrected packet_db.txt. See topic:158382 for details. As a side-effect, the latest packet version is now 22 instead of 21.
* Added a charserver config option for the character renaming flag, along with a detailed comment on what it's supposed to be. This eliminates all that "change PACKETVER to 8 and recompile" mess. * Moved PACKETVER back to clif.h, cleaned the related code a bit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10888 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index b91b8d9a7..159c1546a 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -6,9 +6,15 @@
#include "map.h"
+// server->client protocol version
+// v7 - 2005-04-11aSakexe+ - 0x229, 0x22a, 0x22b, 0x22c
+#ifndef PACKETVER
+ #define PACKETVER 7
+#endif
+
// packet DB
#define MAX_PACKET_DB 0x300
-#define MAX_PACKET_VER 21
+#define MAX_PACKET_VER 22
struct packet_db_t {
short len;