#pragma semicolon 1 #define PLUGIN_AUTHOR "null138" #define PLUGIN_VERSION "3.00" #include #pragma newdecls required public Plugin myinfo = { name = "RPT Exploit Fixer", author = PLUGIN_AUTHOR, description = "Fixes latest RPT server exploit on linux", version = PLUGIN_VERSION, url = "https://steamcommunity.com/id/null138/" } public void OnPluginStart() { Address aRptServerEnabl = GameConfGetAddress(LoadGameConfigFile("rptfixaddrs.css"), "aRptServerEnabl_ptr"); Address aRptClientEnabl = GameConfGetAddress(LoadGameConfigFile("rptfixaddrs.css"), "aRptClientEnabl_ptr"); if (aRptServerEnabl) StoreToAddress(aRptServerEnabl, 0x0, NumberType_Int8); if (aRptClientEnabl) StoreToAddress(aRptClientEnabl, 0x0, NumberType_Int8); }