summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-08-22 02:25:02 +0300
committerAndrei Karas <akaras@inbox.ru>2018-08-25 00:37:55 +0300
commit552424e9e74b446aded6dfd732a9c7de15371290 (patch)
tree18df904147f43a0d4f2f4b087de00032fed256e2 /src/common/mmo.h
parent88081dd414142d1dc2e1029b943fb4a87789dc32 (diff)
downloadhercules-552424e9e74b446aded6dfd732a9c7de15371290.tar.gz
hercules-552424e9e74b446aded6dfd732a9c7de15371290.tar.bz2
hercules-552424e9e74b446aded6dfd732a9c7de15371290.tar.xz
hercules-552424e9e74b446aded6dfd732a9c7de15371290.zip
Show packet version and type at server startup.
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 3f0d4dea4..d6946cecc 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -97,26 +97,31 @@
#if !defined(PACKETVER_RE) && !defined(PACKETVER_ZERO) && !defined(PACKETVER_SAK) && !defined(PACKETVER_AD)
#define PACKETVER_MAIN_NUM PACKETVER
+ #define PACKETTYPE "main"
#else
#define PACKETVER_MAIN_NUM 0
#endif
#ifdef PACKETVER_RE
#define PACKETVER_RE_NUM PACKETVER
+ #define PACKETTYPE "RE"
#else
#define PACKETVER_RE_NUM 0
#endif
#ifdef PACKETVER_ZERO
#define PACKETVER_ZERO_NUM PACKETVER
+ #define PACKETTYPE "zero"
#else
#define PACKETVER_ZERO_NUM 0
#endif
#ifdef PACKETVER_SAK
#define PACKETVER_SAK_NUM PACKETVER
+ #define PACKETTYPE "sak"
#else
#define PACKETVER_SAK_NUM 0
#endif
#ifdef PACKETVER_AD
#define PACKETVER_AD_NUM PACKETVER
+ #define PACKETTYPE "ad"
#else
#define PACKETVER_AD_NUM 0
#endif