Quote:
Originally Posted by iNFiNiTeX
I don't understand why you would use IP for LAN. LAN IP's are not static and are easily shared. Usernames on the otherhand are much more unique in a small LAN setting, and will never be shared.
Code:
GetClientRankAuthString(client, String:auth[], maxlength)
{
GetClientAuthString(client, auth, maxlength);
if (StrEqual(auth, "STEAM_ID_LAN", false))
GetClientIP(client, auth, maxlength);
}
Is this the only code which forces the plugin to use IP tracking if sv_lan 1 is set? In which case, would changing "GetClientIP" to "GetClientName" force it to use nameid instead?
|
That's the spot and yes, changing those values would do the trick.
The names can be troublesome and for that reason I would not use it. In a small LAN setting it should not be hard to configure static IPs, or set the DHCP IP lease time so long that it does not change during the LAN event.
__________________