Quote:
Originally Posted by Nerus
Hi, I attached new fixed version working correct with SM 1.7.3.
Changes: deprecated GetClientAuthString to GetClientAuthId.
|
Code:
//if (!GetClientAuthString(client, player_authid, sizeof(player_authid)))
if(GetClientAuthId(client, AuthId_Steam3, player_authid, sizeof(player_authid)))
It looks like you negated the check here, so everyone's auth string in the log will be "UNKNOWN" (or whatever is in the uninitialized buffer on failure). Also, to match the game's own logging on every game, it should be AuthId_Engine instead of AuthId_Steam3.
There are 10 other instances to change as well, not just that one. If it wasn't throwing warnings, it's because stock functions are only compiled in if used, else the compiler ignores them.