From 38b8bf02b69f3841fd496f8d628bf71040c99709 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 1 Aug 2013 18:14:36 +0200 Subject: Improved packet obfuscation reliability - Fixes bugreport:7607 http://hercules.ws/board/tracker/issue-7607-changing-emblem-with-packet-obfuscation-2-unknown-packet/ - Resolved unintended disconnections caused by invalid packets when obfuscation is enabled and a fragmented packet is received. - Improved packet parsing reliability when packet obfuscation is set to optional. Special thanks to serverkid for reporting the issue and Ind for figuring out the cause and suggesting a solution. Signed-off-by: Haru --- src/map/clif.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/clif.h') diff --git a/src/map/clif.h b/src/map/clif.h index 9bb5f25e7..43b2fa1a6 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -52,7 +52,8 @@ struct skill_cd; * Enumerations **/ enum {// packet DB - MAX_PACKET_DB = 0xF00, + MIN_PACKET_DB = 0x0064, + MAX_PACKET_DB = 0x0F00, MAX_PACKET_POS = 20, }; -- cgit v1.2.3-60-g2f50