JustBullet Posted January 28, 2016 Report Share Posted January 28, 2016 BLOCK ESC MENU BY JUSTBULLET ver. 1.0.3 This Anti-Duping system block duping with: 1. inventory ->> 30 sec. timer ->> ESC = you can not go out 30 seconds. 2. inventory ->> 30 sec. timer ->> ((Low FPS ->> ESC) || (ESC --> Low FPS)) = locks the screen and you can not go out 30 seconds. If the FPS will be more, removes the lock screen. Instructions: add in dayz_spaceInterrupt.sqf: /* Anti-Duping by JustBullet */ if (_dikCode in actionKeys "Gear") then { _nill = execvm "scripts\escmenu_atniduping.sqf"; }; above: // Disable ESC after death if (_dikCode == 0x01 && r_player_dead) then { _handled = true; }; in escmenu_atniduping.sqf: ///////////////////////////////////////////////////// //////////////* Author by JustBullet */////////////// ///////////* BLOCK ESC MENU ver. 1.0.3 *///////////// ///////////////////////////////////////////////////// if (isNil "JustBlock") then { private ["_timer","_fps"]; JustBlock = true; disableSerialization; waituntil{!isnull (finddisplay 46)}; _timer = 30; _trigger = false; while {_timer > 0} do { _timer = _timer - 0.1; if !(isnull (finddisplay 49)) then { findDisplay 106 closeDisplay 1; finddisplay 49 closeDisplay 2; _fps = round(diag_fps); switch true do { case (!(_trigger) && (_fps <= 4)): {_trigger = true; disableUserInput true;}; case ((_trigger) && (_fps > 4)): {endLoadingScreen; _trigger = false; disableUserInput false;}; }; if (_trigger) then {startLoadingScreen ["Anti-dupe: Very low FPS, you are blocked...", "DayZ_loadingScreen"];} else {systemchat format["Anti-Dupe: You are can't exit of game 1% sec. after access at inventory.", round(_timer)];}; }; uiSleep 0.1; }; if (_trigger) then {endLoadingScreen; disableUserInput false;}; JustBlock = nil; }; P.S. I can`t make the description because i am do not know English well enough. If you do not difficult to help me with this. **************************************************** Linux and Airwaves Man 2 Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 6, 2016 Report Share Posted February 6, 2016 Is this any different from this? Link to comment Share on other sites More sharing options...
JustBullet Posted February 17, 2016 Author Report Share Posted February 17, 2016 one goal, different principles Link to comment Share on other sites More sharing options...
harcosgoogle Posted April 27, 2017 Report Share Posted April 27, 2017 Worked 1.0.6.1 epoch? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now