summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-11 10:57:57 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-11 10:57:57 +0000
commit689ff4485443705d31f896d057e2cc6701f7b612 (patch)
tree2f3fbe798046690cb0b2ffdf35602904ab9fed5c /src/map/battle.c
parent39d93057ef2dc8b08f9036e7bfb845ce2b5e0074 (diff)
downloadhercules-689ff4485443705d31f896d057e2cc6701f7b612.tar.gz
hercules-689ff4485443705d31f896d057e2cc6701f7b612.tar.bz2
hercules-689ff4485443705d31f896d057e2cc6701f7b612.tar.xz
hercules-689ff4485443705d31f896d057e2cc6701f7b612.zip
* Added support for 2005-01-10Sakexe
* Updated packet functions for 2004-11-08 and 2004-12-06 * REMOVED support for clients before packet version 10 * Added a check to prevent crashing when trying to log in with 2005-01-10aSakexe in servers that don't support it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@951 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index b442405b3..3cff73a18 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5570,7 +5570,7 @@ void battle_set_defaults() {
battle_config.ban_spoof_namer = 5; // added by [Yor] (default: 5 minutes)
battle_config.hack_info_GM_level = 60; // added by [Yor] (default: 60, GM level)
battle_config.any_warp_GM_min_level = 20; // added by [Yor]
- battle_config.packet_ver_flag = 511; // added by [Yor]
+ battle_config.packet_ver_flag = 127; // added by [Yor]
battle_config.min_hair_style = 0;
battle_config.max_hair_style = 20;
battle_config.min_hair_color = 0;
@@ -5708,8 +5708,8 @@ void battle_validate_conf() {
battle_config.any_warp_GM_min_level = 100;
// at least 1 client must be accepted
- if ((battle_config.packet_ver_flag & 511) == 0) // added by [Yor]
- battle_config.packet_ver_flag = 511; // accept all clients
+ if ((battle_config.packet_ver_flag & 127) == 0) // added by [Yor]
+ battle_config.packet_ver_flag = 127; // accept all clients
if (battle_config.night_darkness_level > 10) // Celest
battle_config.night_darkness_level = 10;