From 05af69b6dcdc5fddac4da8ebfdd2ff9036e41c90 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 22 Aug 2018 01:26:00 +0300 Subject: Add support for build for SAK clients. Add configure flag --enable-packetver-sak Add defines for SAK into mmo.h Add messages list for SAK clients. --- src/common/mmo.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/mmo.h b/src/common/mmo.h index 7e0d915eb..7f9e7b13d 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -81,7 +81,14 @@ #undef ENABLE_PACKETVER_ZERO #endif // DISABLE_PACKETVER_ZERO -#if !defined(PACKETVER_RE) && !defined(PACKETVER_ZERO) +//Uncomment the following line if your client is sakexe +//#define ENABLE_PACKETVER_SAK +#ifdef ENABLE_PACKETVER_SAK + #define PACKETVER_SAK + #undef ENABLE_PACKETVER_SAK +#endif // DISABLE_PACKETVER_SAK + +#if !defined(PACKETVER_RE) && !defined(PACKETVER_ZERO) && !defined(PACKETVER_SAK) #define PACKETVER_MAIN_NUM PACKETVER #else #define PACKETVER_MAIN_NUM 0 @@ -96,6 +103,11 @@ #else #define PACKETVER_ZERO_NUM 0 #endif +#ifdef PACKETVER_SAK + #define PACKETVER_SAK_NUM PACKETVER +#else + #define PACKETVER_SAK_NUM 0 +#endif // Client support for experimental RagexeRE UI present in 2012-04-10 and 2012-04-18 #if defined(PACKETVER_RE) && ( PACKETVER == 20120410 || PACKETVER == 20120418 ) -- cgit v1.2.3-60-g2f50