Installation ------------ The supplied 'hcminus.dll' and your 'SoF.exe' have to be patched. Follow these steps: 1) Put the following files in a directory: SoF.exe hcminus.dll patch.exe run-patch.bat 2) Edit run-patch.bat (right-click, edit). Replace 'rcon_password' by a new 13-character name that will replace the 'rcon_password' cvar name. Example: before: patch.exe rcon_password after (don't use the name as shown in this example): patch.exe MyNewCvarName Note: If you had already changed your 'rcon_password' cvar name in SoF.exe, you *must* use that same name now. 3) Run run-patch.bat. Normally this will only show 'Ready' and no 'Note' or 'Error' messages. Messages like this are ok: Note: SoF.exe rcon_password already patched Note: hcminus.dll rcon_password already patched Note: SoF.exe already patched to use hcminus.dll Ready Error messages like this are bad: Error: File 'SoF.exe' could not be opened 4) Put the patched 'hcminus.dll' and 'SoF.exe' on the server and restart SOF. You don't have to reboot the entire PC. If you also play SoF with the same SoF install, you may have to move the hcminus.dll to your windows\system directory. New cvars --------- Cvar: hc_mode Description: Enable/disable Haxorcist Value: 0: Haxorcist disabled All RCON requests by the Haxorcist server are blocked 1: Haxorcist enabled, normal mode Nothing is blocked 2: Haxorcist enabled, players without client allowed (default) RCON kick requests for players without client are blocked Example: set hc_mode 2 Cvar: hc_maxfps Description: Maximum FPS allowed Players with higher FPS will be kicked after about 30 seconds Value: 0: Off 1+: Maximum FPS Example: set hc_maxfps 150 Cvar: hc_exclude_ports Description: Don't treat rcon requests from these ports as Haxorcist requests This is only required if you play SOF on the same PC, or if you run the SOF-logger on the same PC Value: A comma separated list of ports (empty by default) Example: set hc_exclude_ports "28901,28764" Cvar: hc_debug_packet_log Description: For debugging All packets that are sent and received are logged to file One file per socket is created every second After a minute the oldest logfiles will be overwritten This will produce 120 logfiles and might cause lag Use only for debugging or if you want to find out how someone crashes your server Value: 0: Don't log (default) 1: Log Example: set hc_debug_packet_log 1 New commands ------------ Command: hcplayers Description: This will produce a list of players The HC column indicates if the player is running with the Haxorcist client All players can execute this command, without having to know the rcon password Example: rcon hcplayers Command: hcrequire [fps] Description: Players with matching ip are required to use Haxorcist If FPS is specified, they are only required to use Haxorcist if FPS is higher If multiple ip specifications match, the last match will be used Example: hcrequire 0.0.0.0/0 120 // Any ip, if FPS >= 120 hcrequire 1.2.3.4/32 // 1.2.3.4, FPS does not matter Command: hcrequire_list Description: List all entries that were added with hcrequire Example: hcrequire_list Command: cvar_add_text Description: Add text to a cvar value (maximum lenght allowed is 4096) Example: cvar_add_text welcome_mess "Add this text" Command: cvar_add_newline Description: Add a newline character to a cvar value Example: cvar_add_newline welcome_mess Command: rename_rcon_password Description: Change the name of the 'rcon_password' cvar to something else No need to use this if you are running SoF with Haxorcist Example: rename_rcon_password MyNewCvarName Command: uptime Description: Shows server and haxorcist uptime Example: uptime Example to put in your dedicated.cfg ------------------------------------ // Set Haxorcist mode to 2, noobs allowed set hc_mode 2 // Set maximum FPS // Haxorcist already limits to 150, but players without Haxorcist can use // higher FPS without this set hc_maxfps 150 // You can have 10 lines max // Keep the total lenght below 256 characters set welcome_mess "Welcome to the BlaBla clan SOF server" cvar_add_newline welcome_mess cvar_add_newline welcome_mess cvar_add_text welcome_mess "Here are two lines that are here just to show that a" cvar_add_newline welcome_mess cvar_add_text welcome_mess "lot of text can be in the server welcome message" cvar_add_newline welcome_mess cvar_add_newline welcome_mess cvar_add_text welcome_mess "Get the Haxorcist here:" cvar_add_newline welcome_mess cvar_add_text welcome_mess "http://www.haxorcist.com" cvar_add_newline welcome_mess cvar_add_newline welcome_mess cvar_add_text welcome_mess "Get your color name here:" cvar_add_newline welcome_mess cvar_add_text welcome_mess "http://www.elitefx.com" // Change map to make sure the new welcome message will be shown map dm/nycdm1 Example output for hcplayers ---------------------------- ]rcon hcplayers 192.168.1.133:28920: print Haxorcist players (hc_mode = 2; hc_maxfps = 130; hcminus 0.008) Slot HC FPS Ping Frag Name ---- --- ---- ---- ---- -------------------------------- 0 YES 110 10 0 Joan Mullins 1 NO 30 50 4 bennyboy 2 NO 19 87 6 Imbecil sk. 3 NO 29 123 12 IrOnFist_13 4 NO 25 94 5 love parade }CZ 5 NO 29 78 32 ogri 6 YES 60 69 15 ///MãÇHÏNÊ 7 NO 28 105 10 Moose 8 NO 30 177 11 pittbul PL