Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Custom Player Stats v1.4B121


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
muukis
Veteran Member
Join Date: Apr 2009
Old 01-29-2010 , 03:33   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #11

Quote:
Originally Posted by iNFiNiTeX View Post
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.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.

Last edited by muukis; 01-29-2010 at 03:41.
muukis is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode