update for 0.4.16

master
rnd1 2017-08-02 08:18:10 +02:00
parent 3249ad7051
commit f01d731ed7
4 changed files with 8 additions and 8 deletions

10
README
View File

@ -17,7 +17,11 @@
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
-------------------------------------------------------------------------
features:
INSTALLATION:
If you have 'security' enabled in minetest (secure.enable_security = true)
then you need to add in your minetest.conf: secure.trusted_mods = anticheat
FEATURES:
0. what it does:
- succesffuly detect noclip/fly. Its just a matter of time when someone noclipping/flying is detected.
@ -26,8 +30,8 @@ features:
1. moderators can:
-see full reports with coordinates of location as cheats occur
-use /cstats to see latest detected cheater
-use /cdebug to see even suspected cheats to be verified later
-use /crep to see latest detected cheater
-use /crep 1 to see detailed stats
-use /watch NAME to spectate suspect/detected cheater, /unwatch to return to normal
managing moderators:

Binary file not shown.

Binary file not shown.

View File

@ -17,7 +17,7 @@
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
-------------------------------------------------------------------------
local cheat = {};
local version = "10/27/2016";
local version = "08/02/2017";
anticheatsettings = {};
dofile(minetest.get_modpath("anticheat").."/settings.lua")
@ -87,16 +87,12 @@ local punish_cheat = function(name)
end
-- check position more closely
-- uncomment when obfuscating:
--dofile(minetest.get_modpath("anticheat").."/anticheat_source.lua")
local ie = minetest.request_insecure_environment() or _G;
local anticheat_routines = ie.loadfile(minetest.get_modpath("anticheat").."/anticheat_routines.bin")
--local anticheat_routines = loadfile(minetest.get_modpath("anticheat").."/anticheat_routines.bin")
check_noclip, check_fly, check_player = anticheat_routines(minetest,cheat,CHECK_AGAIN,punish_cheat);