View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-05-2015 , 06:16   Re: Opinion about this ideeas
Reply With Quote #7

No, this is not what I mean. A person asked me if he can work with the functions responsible for rcon auth, adding failed rcons, banning for rcon hacking and so on. This is possible and quite easy by hooking functions with okapi/orpheu/rage. I though that if a person needed it there may be more. For example:

When someone try to send a rcon command SV_Rcon function is called. This function calls SV_Rcon_Validate in order to validate the password that the player used to auth. From here, SV_CheckRconFailure checks if you wrote the wrong password enough times(configured by cvar) to be considered a rcon hacking attemp and tell this to main function, if not another failed attemp is added with SV_AddFailedRcon. If SV_CheckRconFailure return 0, then this request is valid and the command will be executed by SV_Rcon. He wanted to be able to alter this functions in a way.
__________________

Last edited by HamletEagle; 07-05-2015 at 06:29.
HamletEagle is offline