teerace: check if all 10 necessary server settings are within the map
SushiTee opened this issue · 0 comments
SushiTee commented
This is for cheat prevention!
This check should only be done if the scoreing is set to "web". It should check if the following commands are within the map (values after the command are the values which should be set if one command is missing):
sv_regen 0
sv_strip 1
sv_inifinite_ammo 0
sv_no_items 1
sv_teleport 0
sv_teleport_grenade 0
sv_teleport_vel_reset 1
sv_delete_grenades_after_death 1
sv_rocket_jump_damage 1
sv_pickup_respawn 0
If one setting is missing it should print a warning to debug log and set the value so it is least likely that the time get better for it. The values after the command should be set if the command is missing in the map as I already pointed out.