22 Apr 14, 03:31PM
(21 Apr 14, 04:32PM)PhaNtom Wrote:(21 Apr 14, 03:27PM)Ronald_Reagan Wrote: Client displays any address ending with 0 as a .x iirc.
Actually if i remember correctly it doesn't check for the IP ending with .0, rather it checks to see if the player is admin or not. By removing the condition it does however just show the first 3 octets of the IP with the .0
No, how else would RK mod his servers to show the full IP to everyone?
Relevant client code:
[SELECT ALL] Code:
if(ip[3] != 0 || player1->clientrole==CR_ADMIN)
// full IP
else // censored IP