From 8040f42b2e2b2ee95ef49f49d7ccf7d4eeb39201 Mon Sep 17 00:00:00 2001 From: MadCamel Date: Fri, 8 Oct 2010 07:30:52 -0400 Subject: 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. --- src/map/chrif.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/chrif.h') diff --git a/src/map/chrif.h b/src/map/chrif.h index c3ae80d..3515463 100644 --- a/src/map/chrif.h +++ b/src/map/chrif.h @@ -4,6 +4,8 @@ void chrif_setuserid (char *); void chrif_setpasswd (char *); +char *chrif_getpasswd (); + void chrif_setip (char *); void chrif_setport (int); -- cgit v1.2.3-60-g2f50