summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-08-01 18:14:36 +0200
committerHaru <haru@dotalux.com>2013-08-01 18:57:31 +0200
commit38b8bf02b69f3841fd496f8d628bf71040c99709 (patch)
tree4be62808f7696dbd706688f14be2994da09cdbe6 /src/map/clif.h
parent94502b74233035b07c8c73a1f991a17b7bf22c55 (diff)
downloadhercules-38b8bf02b69f3841fd496f8d628bf71040c99709.tar.gz
hercules-38b8bf02b69f3841fd496f8d628bf71040c99709.tar.bz2
hercules-38b8bf02b69f3841fd496f8d628bf71040c99709.tar.xz
hercules-38b8bf02b69f3841fd496f8d628bf71040c99709.zip
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 <haru@dotalux.com>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h3
1 files changed, 2 insertions, 1 deletions
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,
};