View Single Post
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-07-2014 , 11:49   Re: weird error !and server shuts down
Reply With Quote #9

Quote:
Originally Posted by Mordekay View Post
I have seen this.
The code otherwise looks that it supports non-steam
Code:
	g_tIgnoredAuthID = TrieCreate( )
	TrieSetCell( g_tIgnoredAuthID, "VALVE_ID_LAN", 1 )
	TrieSetCell( g_tIgnoredAuthID, "VALVE_ID_PENDING", 1 )
	TrieSetCell( g_tIgnoredAuthID, "STEAM_ID_LAN", 1 )
	TrieSetCell( g_tIgnoredAuthID, "STEAM_ID_PENDING", 1 )
	TrieSetCell( g_tIgnoredAuthID, "BOT", 1 )
	TrieSetCell( g_tIgnoredAuthID, "HLTV", 1 )
At least the SQL version seems to save the data per nick, not by STEAM_ID.
Code says otherwise:
Code:
if( TrieKeyExists( g_tIgnoredAuthID, g_szAuthID[ id ] ) )
	{
		SetUserIgnored( id )
		return
	}
and
Code:
if( CheckUserIgnored( id ) )
		{
			ClientPrintColor( id, "!g%s!n Only for Steam accounts", PREFIX )
			return PLUGIN_HANDLED_MAIN
		}
WildCard65 is offline