View Single Post
cssBOT
Senior Member
Join Date: Apr 2009
Old 06-28-2013 , 08:51   Re: [ANY] Anti Rate Hack
Reply With Quote #24

I tested in CS:S and it doesn't block changes to "rate" however, considering valve patched the engine to block rapid changes of the other cvars to block various rate change exploits i'm guessing changing "rate" rapidly provides no advantage to a player. I'm sure they wouldn't have overlooked the obvious.

Looking at ithe code this script only blocks the cvars we've mentioned:

Code:
public OnClientPostAdminCheck(client) {
#if defined DEBUG
    PrintToChatAll("OnClientPostAdminCheck; client: %d", client);
#endif
    if(IsFakeClient(client))
        return;
    
    trValues[client] = CreateTrie();
    new String:buff[255];
    GetClientInfo(client, "rate", buff, sizeof(buff));
    SetTrieString(trValues[client], "rate", buff);
    GetClientInfo(client, "cl_cmdrate", buff, sizeof(buff));
    SetTrieString(trValues[client], "cl_cmdrate", buff);
    GetClientInfo(client, "cl_updaterate", buff, sizeof(buff));
    SetTrieString(trValues[client], "cl_updaterate", buff);
    SetTrieValue(trValues[client], "_changecount", 0);
}

Last edited by cssBOT; 06-28-2013 at 08:52.
cssBOT is offline