From 0a4feb1f7d662faeefd1072d39530c2f610a3a1a Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 20 Jul 2007 03:38:47 +0000 Subject: * 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 --- src/map/clif.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/map/clif.h') 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; -- cgit v1.2.3-60-g2f50