Jump to content

Search the Community

Showing results for tags 'esc'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Anti-Duping by F507DMT This Anti-Duping system block duping with: Losing connection, drop loot, Esc, exit yes and Esc + G, losing connection, drop loot, exit yes. Works perfectly! Instructions: in description.ext onPauseScript = "scripts\DupingFix.sqf"; in DupingFix.sqf private ["_escMenu","_lastTimesScanned","_currTimesScanned"]; disableSerialization; sleep 1; call dayz_forcesave; _escMenu = findDisplay 49; _lastTimesScanned = player getVariable ["ClearToLeave",0]; AD_AntiDupePlayer = player; publicVariable "AD_AntiDupePlayer"; sleep 5; _currTimesScanned = player getVariable ["ClearToLeave",0]; if (_currTimesScanned - _lastTimesScanned < 1) then { titleText ["<Anti-dupe>: Connection to the server is not found!", "PLAIN DOWN", 3]; systemchat "<Anti-dupe>: Connection to the server is not found!"; _escMenu closedisplay 0; }; in AH bottom: 'AD_AntiDupePlayer' addPublicVariableEventHandler { [] spawn { waitUntil {!isNull AD_AntiDupePlayer}; _plyr = AD_AntiDupePlayer; _amnt = _plyr getVariable ['ClearToLeave',0]; _plyr setVariable ['ClearToLeave',_amnt+1,true]; }; }; in compiles.sqf change this: dayz_spaceInterrupt = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\dayz_spaceInterrupt.sqf"; to: dayz_spaceInterrupt = compile preprocessFileLineNumbers "scripts\dayz_spaceInterrupt.sqf"; in dayz_spaceInterrupt.sqf add(_nill = execvm "scripts\esc.sqf";): //Esc if (_dikCode == 0x01) then { _nill = execvm "scripts\esc.sqf"; DZE_cancelBuilding = true; call dayz_EjectPlayer; }; in scripts\esc.sqf // F507DMT for "_x" from 3 to 1 step -1 do { (findDisplay 106) closeDisplay 1; uiSleep 1; if (isNil "EscBlock") then { systemchat "<Anti-dupe>: Gear is locked for 5 seconds."; EscBlock = true; }; }; EscBlock = nil; add in publicvariable.txt, in line 2, last: !="AD_AntiDupePlayer" -- If you use endMission "SOME", like in nosidechat.sqf, chenge to: _nil = execVM "scripts\player_kick.sqf"; in player_kick.sqf: kickme = true; add buttom in scripts.txt: 5 "kickme" When u have no connection BE can`t kick you. Dupe - fix. --
×
×
  • Create New...