On Sun, 2006-05-21 at 13:57 +1200, Andrew Forsberg wrote: [...] > > I've changed my mind about publishing the source code on the hlds_linux > list -- but will email it to anyone who is interested.
And changed it again after a few offlist emails. Here it is, fwiw. You may want to change the log messages to something else more obscure if your ban list is public. I doubt these cheats will be popular long enough for that to be an issue, and preferred my punters knew they'd be banned in advance. Cheers /* Ecstatic Cheat Hack Detector written by Anthrax, 2006 Plugin distributed without warranties or guarantee. Plugin developed to detect client cvars in hl1 mods set by certain types of cheat for cs 1.6 and czero. It may work with other mods. **Additions to plugin made by Anders** # Added support for AMXBANS # Fixed bans to take place almost immediately # Added support for 2 more known detectable hacks. */ #include <amxmodx> #include <amxmisc> public plugin_init(){ register_plugin("Ecstatic Check","2.0","Anthrax") } public client_putinserver(id){ new infoField[32] new infoField2[32] new infoField3[32] get_user_info(id,"EcstaticCheat",infoField,32) get_user_info(id,"TeKilla",infoField2,32) get_user_info(id,"MicCheat",infoField3,32) if((equal(infoField,"Hack_User"))||(equal(infoField2,"Hack_User"))||(equal(infoField3,"Hack_User"))){ new name[32] new auth[32] get_user_name(id,name,31) get_user_authid(id,auth,31) if (equal(infoField,"Hack_User")){ server_cmd("amx_ban %d %s %s",0,auth,"Ecstatic Cheat") log_amx("Player %s %s was Banned for Ecstatic Cheat",name,auth) } if (equal(infoField2,"Hack_User")) { server_cmd("amx_ban %d %s %s",0,auth,"TeKilla Cheat") log_amx("Player %s %s was Banned for TeKilla Cheat",name,auth) } if (equal(infoField3,"Hack_User")) { server_cmd("amx_ban %d %s %s",0,auth,"Mic Cheat") log_amx("Player %s %s was Banned for Mic Cheat",name,auth) } server_exec() } } _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux