harcosgoogle Posted May 12, 2017 Report Share Posted May 12, 2017 Hi! Anti dupe? 1.0.6.1 exists? I've tried a lot and neither is good, // F507DMT It's almost good DieTanx 1 Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted May 14, 2017 Author Report Share Posted May 14, 2017 Thanks help @Corpulio_Hun How to install: Download file: https://drive.google.com/file/d/0B4UOmZbujgeNLTFId1hZdDZtS3NmZGhKSHRHb0xUNUJGWWtV/view?usp=sharing Extract 2 file youcustomfolder - dupe.sqf and dupingfix.sqf Find file: youmission\description.ext Find: onPauseScript = "" And look like that: onPauseScript = "youcustomfolder\dupingfix.sqf"; Example: My description.ext: "scripts\dupingfix.sqf"; Example: extracted 2 file place: scripts/ dupingfix.sqf and dupe.sqf DieTanx 1 Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted May 15, 2017 Author Report Share Posted May 15, 2017 How can it be added that it can not be left on a vehicle? So do not leave the vehicle @juandayz Maybe you know Link to comment Share on other sites More sharing options...
0 juandayz Posted May 15, 2017 Report Share Posted May 15, 2017 2 hours ago, harcosgoogle said: How can it be added that it can not be left on a vehicle? So do not leave the vehicle @juandayz Maybe you know blockescmenu.sqf (paste into mpmissions/yourinstance/) Spoiler if (isNil "JustBlock") then { private["_timer", "_fps"]; JustBlock = true; disableSerialization; waituntil { !isnull(finddisplay 46) }; _timer = 15; _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["Your FPS is low - wait to disconnect", "DayZ_loadingScreen"]; } else { format["ESC menu is blocked for another %1 seconds due to gear being opened.", round(_timer)] call dayz_rollingMessages; }; }; uiSleep 0.1; }; if (_trigger) then { endLoadingScreen; disableUserInput false; }; JustBlock = nil; }; now open your description.ext find this line: onPauseScript = ""; replacer by onPauseScript = "blockescmenu.sqf"; Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted May 15, 2017 Author Report Share Posted May 15, 2017 Mine looks like this onPauseScript = "sajat\dupingfix.sqf"; And look like that? onPauseScript = "sajat\dupingfix.sqf";"sajat\blockescmenu.sqf"; @juandayz Link to comment Share on other sites More sharing options...
0 juandayz Posted May 15, 2017 Report Share Posted May 15, 2017 wait i forgot add the vehicle restriction hjahah Link to comment Share on other sites More sharing options...
0 juandayz Posted May 15, 2017 Report Share Posted May 15, 2017 now @harcosgoogle replace your dupingfix.sqf with this code. yoo keep one single file Spoiler private ["_escMenu","_typf","_mxBckpcks","_vehicle","_inVehicle"]; disableSerialization; waitUntil {!isNull findDisplay 49}; _escMenu = findDisplay 49; { _typf = typeOf cursortarget; _mxBckpcks = getNumber (configFile >> "CfgVehicles" >> _typf >> "transportmaxbackpacks"); if (!(isNull _x) && (canbuild) && !(_x == player || typeOf _x in ["WeaponHolder","DebugBoxPlayer_DZ"]) && (_mxBckpcks > 0)) exitWith { titleText ["<Anti-Dupe>: You cannot log out near a storage unit!", "PLAIN DOWN", 3]; systemchat "<Anti-Dupe>: You cannot log out near a storage unit!"; _escMenu closedisplay 0; }; } foreach (nearestObjects [player, ["All"], 10]); _vehicle = vehicle player; _inVehicle = (_vehicle != player); if (_inVehicle) exitWith { systemchat "<Anti-Dupe>: You cannot log out in vehicles!"; _escMenu closedisplay 0; }; and in description.ext do not touch anything just leave the call as you have right now onPauseScript = "sajat\dupingfix.sqf"; harcosgoogle 1 Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted May 15, 2017 Author Report Share Posted May 15, 2017 Thanks,worked! :) juandayz 1 Link to comment Share on other sites More sharing options...
0 DieTanx Posted May 17, 2017 Report Share Posted May 17, 2017 On 5/14/2017 at 5:31 AM, harcosgoogle said: Thanks help @Corpulio_Hun How to install: Download file: https://drive.google.com/file/d/0B4UOmZbujgeNLTFId1hZdDZtS3NmZGhKSHRHb0xUNUJGWWtV/view?usp=sharing Extract 2 file youcustomfolder - dupe.sqf and dupingfix.sqf Find file: youmission\description.ext Find: onPauseScript = "" And look like that: onPauseScript = "youcustomfolder\dupingfix.sqf"; Example: My description.ext: "scripts\dupingfix.sqf"; Example: extracted 2 file place: scripts/ dupingfix.sqf and dupe.sqf Where are we loading dupe.sqf from? Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted May 18, 2017 Author Report Share Posted May 18, 2017 @DieTanx There will be enough file - dupingfix.sqf dupe.sqf not tested. private ["_escMenu","_typf","_mxBckpcks","_vehicle","_inVehicle"]; disableSerialization; waitUntil {!isNull findDisplay 49}; _escMenu = findDisplay 49; { _typf = typeOf cursortarget; _mxBckpcks = getNumber (configFile >> "CfgVehicles" >> _typf >> "transportmaxbackpacks"); if (!(isNull _x) && (canbuild) && !(_x == player || typeOf _x in ["WeaponHolder","DebugBoxPlayer_DZ"]) && (_mxBckpcks > 0)) exitWith { titleText ["<Anti-Dupe>: You cannot log out near a storage unit!", "PLAIN DOWN", 3]; systemchat "<Anti-Dupe>: You cannot log out near a storage unit!"; _escMenu closedisplay 0; }; } foreach (nearestObjects [player, ["All"], 10]); _vehicle = vehicle player; _inVehicle = (_vehicle != player); if (_inVehicle) exitWith { systemchat "<Anti-Dupe>: You cannot log out in vehicles!"; _escMenu closedisplay 0; }; DieTanx 1 Link to comment Share on other sites More sharing options...
0 DieTanx Posted May 18, 2017 Report Share Posted May 18, 2017 1 hour ago, harcosgoogle said: @DieTanx There will be enough file - dupingfix.sqf dupe.sqf not tested. private ["_escMenu","_typf","_mxBckpcks","_vehicle","_inVehicle"]; disableSerialization; waitUntil {!isNull findDisplay 49}; _escMenu = findDisplay 49; { _typf = typeOf cursortarget; _mxBckpcks = getNumber (configFile >> "CfgVehicles" >> _typf >> "transportmaxbackpacks"); if (!(isNull _x) && (canbuild) && !(_x == player || typeOf _x in ["WeaponHolder","DebugBoxPlayer_DZ"]) && (_mxBckpcks > 0)) exitWith { titleText ["<Anti-Dupe>: You cannot log out near a storage unit!", "PLAIN DOWN", 3]; systemchat "<Anti-Dupe>: You cannot log out near a storage unit!"; _escMenu closedisplay 0; }; } foreach (nearestObjects [player, ["All"], 10]); _vehicle = vehicle player; _inVehicle = (_vehicle != player); if (_inVehicle) exitWith { systemchat "<Anti-Dupe>: You cannot log out in vehicles!"; _escMenu closedisplay 0; }; Thank you Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted May 31, 2017 Author Report Share Posted May 31, 2017 @juandayz How to add dead zombie? New dupe mode Thanks Link to comment Share on other sites More sharing options...
0 juandayz Posted May 31, 2017 Report Share Posted May 31, 2017 Just now, harcosgoogle said: @juandayz How to add dead zombie? New dupe mode Thanks dead zombie what mate? what dead zombies do? Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted May 31, 2017 Author Report Share Posted May 31, 2017 @juandayz "You cannot log out near a storage unit!" Worked all storage , Except for zombies. Link to comment Share on other sites More sharing options...
0 juandayz Posted May 31, 2017 Report Share Posted May 31, 2017 mmm the cannot log out near zeds comes by default with epoch.. you will see the code in your player_onpause.sqf disableSerialization; _zedCheck = ((count (player nearEntities ["zZombie_Base",10]) > 0) && !_isPZombie); if (_zedCheck) then { _btnAbort ctrlEnable false; _btnAbort ctrlSetText format["%1 (in 10)", _btnAbortText]; [localize "str_abort_zedsclose",1] call dayz_rollingMessages; }; Link to comment Share on other sites More sharing options...
0 juandayz Posted May 31, 2017 Report Share Posted May 31, 2017 @harcosgoogle private ["_escMenu","_typf","_mxBckpcks","_vehicle","_inVehicle","_zedCheck"]; disableSerialization; waitUntil {!isNull findDisplay 49}; _escMenu = findDisplay 49; { _typf = typeOf cursortarget; _mxBckpcks = getNumber (configFile >> "CfgVehicles" >> _typf >> "transportmaxbackpacks"); if (!(isNull _x) && (canbuild) && !(_x == player || typeOf _x in ["WeaponHolder","DebugBoxPlayer_DZ"]) && (_mxBckpcks > 0)) exitWith { titleText ["<Anti-Dupe>: You cannot log out near a storage unit!", "PLAIN DOWN", 3]; systemchat "<Anti-Dupe>: You cannot log out near a storage unit!"; _escMenu closedisplay 0; }; } foreach (nearestObjects [player, ["All"], 10]); _vehicle = vehicle player; _inVehicle = (_vehicle != player); if (_inVehicle) exitWith { systemchat "<Anti-Dupe>: You cannot log out in vehicles!"; _escMenu closedisplay 0; }; _zedCheck = ((count (player nearEntities ["zZombie_Base",10]) > 0)); if (_zedCheck) then { _escMenu closedisplay 0; systemchat "<Anti-Dupe>: You cannot log out while nearest zeds around you!"; }; harcosgoogle 1 Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted June 2, 2017 Author Report Share Posted June 2, 2017 Not worked @juandayz zombie Link to comment Share on other sites More sharing options...
0 juandayz Posted June 2, 2017 Report Share Posted June 2, 2017 Just now, harcosgoogle said: Not worked @juandayz zombie oh yes sory.. my bad change: if (_zedCheck) then { _escMenu closedisplay 0; systemchat "<Anti-Dupe>: You cannot log out while nearest zeds around you!"; }; by: if (_zedCheck)exitWith { _escMenu closedisplay 0; systemchat "<Anti-Dupe>: You cannot log out while nearest zeds around you!"; }; harcosgoogle 1 Link to comment Share on other sites More sharing options...
0 harcosgoogle Posted June 3, 2017 Author Report Share Posted June 3, 2017 Thanks,worked Link to comment Share on other sites More sharing options...
Question
harcosgoogle
Hi!
Anti dupe? 1.0.6.1 exists?
I've tried a lot and neither is good,
// F507DMT
It's almost good
Link to comment
Share on other sites
18 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now