summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-10-08 07:30:52 -0400
committerMadCamel <madcamel@gmail.com>2010-10-08 07:30:52 -0400
commit8040f42b2e2b2ee95ef49f49d7ccf7d4eeb39201 (patch)
tree58d12d7da9583fe75f6b1284f9881df7f28be58a /src/map/battle.h
parent2239ad20a1420686bd58349ae4e364ecbc30d871 (diff)
downloadtmwa-8040f42b2e2b2ee95ef49f49d7ccf7d4eeb39201.tar.gz
tmwa-8040f42b2e2b2ee95ef49f49d7ccf7d4eeb39201.tar.bz2
tmwa-8040f42b2e2b2ee95ef49f49d7ccf7d4eeb39201.tar.xz
tmwa-8040f42b2e2b2ee95ef49f49d7ccf7d4eeb39201.zip
Added IP address reply packet 0x20C (len 10)
This is sent along with char name replies to GMs able to recieve hack notices. Unfortunately,it locks up clients that do not support this packet. Must coordinate to get this added to TMW 0.5 release and mana. Until then, code is commented out in clif.c(grep for MD5_ip) Packet structure: 0x20C (len 2) AccountID of character name was requested for (len 4) IP address of requested char in network byte order (len 4) Config option in battle_athena.conf: gm_mask_ips (boolean) - When set to 1(default) GMs will only see a hashed/masked IP address.
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index b155109..44016a5 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -344,8 +344,9 @@ extern struct Battle_Config
int packet_spam_flood;
int packet_spam_kick;
- int drop_pickup_safety_zone; // [Fate] Max. distance to an object dropped by a kill by self in which dropsteal protection works
+ int mask_ip_gms;
+ int drop_pickup_safety_zone; // [Fate] Max. distance to an object dropped by a kill by self in which dropsteal protection works
int itemheal_regeneration_factor; // [Fate] itemheal speed factor
} battle_config;