From df0a324108cd8b6ee7ac984700efed80044ed7c3 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 3 Sep 2013 05:42:43 +0200 Subject: Fixed several packet errors with pre-renewal clients from 2006-2008 Thanks to Beret for reporting the issues, Ind for his great help with research, suggestions and the necessary tools to fix this. Signed-off-by: Haru --- src/common/mmo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index a297d94d9..17a01ff95 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -64,6 +64,7 @@ // Comment the following line to disable sc_data saving. [Skotlex] #define ENABLE_SC_SAVING +#if PACKETVER >= 20070227 // Comment the following like to disable server-side hot-key saving support. [Skotlex] // Note that newer clients no longer save hotkeys in the registry! #define HOTKEY_SAVING @@ -74,10 +75,11 @@ #elif PACKETVER < 20090617 // (36 = 9 skills x 4 bars) (0x07d9,254) #define MAX_HOTKEYS 36 -#else +#else // >= 20090617 // (38 = 9 skills x 4 bars & 2 Quickslots)(0x07d9,268) #define MAX_HOTKEYS 38 -#endif +#endif // 20090603 +#endif // 20070227 #define MAX_INVENTORY 100 //Max number of characters per account. Note that changing this setting alone is not enough if the client is not hexed to support more characters as well. -- cgit v1.2.3-60-g2f50