Jump to content

[Release] Andre Safe Zones


Donnovan

Recommended Posts

maca134,

 

I'm trying to find any advice about spawn clean problems, or any other explicity problem, but can't find only obivious tips like "don't jump from 25 meters, or you will die".

 

I'm indeed searching for something like "don't jump from 10 cm, or you will die".

 

Know any documentation about it?

Link to comment
Share on other sites

  • 2 weeks later...

The main problem is the creation of many spawn's. Arma doesn't clean them up properly and it is defiantly a source of fps drops. Having each thread run a loop and then each having a waitUntil. It really isnt the way forward.

 

While triggers run each 0.5 seconds, i have a dinamic sleep, that depends on player distance and max possible velocity, to check if the player is in a safezone.

sleep ((_dist - _tRad)/_maxVel);

With max velocity set to 100 m/s (_maxVel), and if the player is 1150 meters away (_dist) from the center of a 150 meters safezone (_tRad), you know you just need to check again after (1150 - 150)/100 = 10 seconds. With triggers it would be 10/0.5 = 20 checks.

 

The dinamic sleep is why i use one spawn for each safezone to check the player presence.

Link to comment
Share on other sites

Hi, I am also getting epoch.com autoban, i have added all the items to script.txt etc including   !"otSafe = donn_notSafe;"  but sill getting the autoban.

 

Stock AH is being used on my server. When i remove the safe zone script everything works fine.

 

Hope you can help

 

Simon

Link to comment
Share on other sites

I will try to help you guys later, right now i'm working in Arma 2 and does not remember the particularities of Arma 3.

 

But for no god mode, i believe you need to change a setting about handle_damage/hd/eh in infiStar.

 

About the auto-ban, i don't have a clue. Wath Epoch version is you using, simon and omerrhamza?

Link to comment
Share on other sites

My solution:

 

Go into to a3_epoch_server_settings.pbp/securtity/ and edit security_checks.h.

 

class addEventHandler {
        checks[] = {"Fired","InventoryClosed","InventoryOpened","Killed","HandleDamage","HandleHeal","Dammaged","Hit","HitPart"};

 

delete "Fired"

 

New Line:

 

class addEventHandler {
        checks[] = {"InventoryClosed","InventoryOpened","Killed","HandleDamage","HandleHeal","Dammaged","Hit","HitPart"};

 

pack return to a3_epoch_server_settings.pbp/securtity/

 

This works for me.

Link to comment
Share on other sites

  • 1 month later...
17-07-2015 11:00:50 infiSTAR.de | 0h 15min | DaGui(76561198168303023) | BadVar#2 found godmode in donn_godmode (v0201)
17-07-2015 11:21:58 infiSTAR.de | 0h 02min | HMR_BIUU(76561198102663799) | BadVar#2 found _dsfnsjf in h7z5g4f2v7z9q6z6x490b2i: "{  if((isNil '_puid')||(isNil '_name'))exitWith  {   _log = 'No UID || NAME';   [_name,_puid,'SLOG',toArray(_log)] call v3m2T3O8J3f2R4R9q4w;   (findDisplay 46) closeDisplay 0;  };  if(_puid in ['','_ (v0206)
17-07-2015 11:29:18 infiSTAR.de | 0h 02min | HMR_BIUU(76561198102663799) | BadVar#2 found menu loaded in a1o9o7u7c0x9o7w8l5x2r2f: "{  if((isNil '_puid')||(isNil '_name'))exitWith  {   _log = 'No UID || NAME';   [_name,_puid,'SLOG',toArray(_log)] call u7O7q3x2G1J4i0i128i6U;   (findDisplay 46) closeDisplay 0;  };  if(_puid in ['', (v0206)
 
this is my ban log
I have closed the EB .....How to solve it? 
Link to comment
Share on other sites

7 "BIS_fnc_dynamictext" !="typetext2" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !", 0, 1, 6, 2, 0, 1] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" "sleep (_onScreenTime) spawn bis_fnc_dynamictext;"


7 forceRespawn
7 setFriend
7 setAmmo
7 RscDebugConsole_watch
7 enableFatigue
7 setUnitRecoilCoefficient
7 setWeaponReloadingTime
7 allMissionObjects
7 callExtension
7 showCommandingMenu
7 moveIn !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;" !="_driver moveInAny Epoch_mission_uav;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP; !="_driver moveInDriver _axeCopter;" !="_unit moveInGunner _axeCopter;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP;"
7 attachTo !="EP_light attachTo [player];" !=_bomb attachTo [_unit, [0,0,0],\"Pelvis\];" !="_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !="EPOCH_target attachTo[player];" !="_sapperSmoke attachTo [_sapper,[0,0,-0.4]];"" !="_cage attachTo [_cage2,[0,1.3,0]];"
7 enableCollisionWith
7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;"
7 setvelocity !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];"
7 assignAs !="assignAsCargo" !="_unit assignAsGunner _axeCopter;" !="_driver assignAsDriver _axeCopter;" !="axeVIP assignAsDriver vehicle axeVIP;"
7 assignAsCargo !="_x assignAsCargo axeGeneralsBoat;" !="axeVIP assignAsCargo vehicle player;" !="axeVIP assignAsCargo vehicle axeVIP;"
7 playableunits !="getDir _x, name _x];};}forEach playableUnits;};if" !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]);" !",count playableUnits ,_align,_valign"
7 allUnits !="allUnits-playableUnits;};if" !="{_x allowFleeing 0} forEach allUnits;" !="EPOCH_ESPMAP_TARGETS = allUnits + vehicles;"
7 allowDamage !="unit setvariable ["bis_fnc_objectside_side",_side];_unit allowdamage false;" !="if(!isPlayer _x)then{_x allowDamage" !="_unit allowDamage false;" !="_unit allowDamage true;" !="player allowDamage true;vehicle player allowDamage true;" !="player allowDamage false;{missionNamespace setVariable[format['EPOCH_player%1" /*DONN*/ !="(_|)don_player_veh allowDamage"
7 exec !"addons\messages\init.sqf" !"initVirtualUnit" !="execVM \"semClient.sqf\"" !="7 addWeaponCargo !="_acceptHolder addWeaponCargo [_wWeapon, 1] ;"
7 onMapSingleClick !="onMapSingleClick '';"
7 addMagazine !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" !="if !(player canAdd (_x select 0)) exitWith {};\nplayer addMagazine[_x select 0, _x select 1];"
7 addMagazineCargo !"_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]" !="_acceptHolder addMagazineCargo [_wAmmo, 1] ;"
7 addItem !="player addItem _craftItem;" !="player addItem _x;" !="_plyr addItemToVest _missionItem;" !="axeVIP addItemToVest _item;" !="_plyr addItemToVest _missionItem;"
7 addBackPack
7 removeAllWeapons !="removeAllWeapons axeGeneral;"
7 removeAllItems
7 removeAllActions
7 setViewDistance !"setViewDistance 60" !"setviewdistance 50;" !"setViewDistance 1600" !"filmGrain"
7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup RESISTANCE;" !="_grp = createGroup side _plyr;" !="_grp = createGroup side player;" !="_grp = createGroup _side;" !="_grp = createGroup (side _plyr);"
7 createVehicleCrew
7 createVehicleLocal !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal"
7 createUnit !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !=_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\];" !="axeGeneral = grpVIPGeneral createUnit ["I_officer_F", axeGeneralPos, [], 1, "CAN_COLLIDE"];"
7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !=_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !=_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\];" !="_unit = createAgent [\"Epoch_Sapper_F\", _targetPos, [], 180, \"FORM\"];" !=_sapper = createAgent ["Epoch_Sapper_F", getPos _cage2, [], 0, "FORM];"
7 createTeam
7 createDialog !="createDialog \"QuickTake\";" !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" !="createDialog \"Z_HUD_Builder\";"
7 deleteMarker !="deleteMarkerLocal format[\"SEM_MissionMarker"
7 setMarker !="Local"
7 createMarker !="createMarkerLocal [format[\"SEM_MissionMarker"
7 assignItem !="axeVIP assignItem _item;"
7 forceAddUniform
7 removeAllMPEventHandlers
7 setDamage
7 setDammage
7 displaySetEventHandler
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status"
7 addMPEventHandler
7 addEventHandler !"HandleDamage" !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\""
7 displayAddEventHandler !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !=findDisplay -1337 displayAddEventHandler ['Unload'" !"ZupaKeyUpWorking = (findDisplay 46) displayAddEventHandler ['KeyUp', '_this call ZHB_fnc_handleKey];"
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;"
7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" /*DONN*/ !="_x removeAllEventHandlers \"ContainerOpened\";"
7 removeAllMissionEventHandlers
7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';"
7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" /*DONN*/ !="player removeEventHandler [\"Fired\",donn_sz_fired]"
7 displayRemoveEventHandler !"BIS_fnc_guiMessage_status" !"(findDisplay 46) displayRemoveEventHandler ['KeyUp',ZupaKeyUpWorking];"
7 switchCamera
7 remoteControl !"fn_moduleRemoteControl.sqf"
7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," !="drawIcon3D [\"\A3\UI_F_MP_Mark\Data\Tasks\Misc\background.paa\""
7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari"
7 ctrlCreate
7 ctrlDelete
7 ctrlClassName
7 ctrlModel
7 ctrlModelDirection
7 ctrlModelSide
7 ctrlModelUp
7 ctrlSetDirection
7 ctrlSetModel
7 deleteVehicleCrew !="[\"A3\functions_f\MP\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"]"
7 loadFile
7 selectPlayer !="selectPlayer _playerObject;"
7 setGroupIconsVisible
7 setGroupIconsSelectable
7 setGroupIconParams
7 addGroupIcon
7 EPOCH_whitelist
7 EPOCH_defaultVars_SEPXVar
7 EPOCH_group_upgrade_lvl_SVar
7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];"
7 Dayz_GUI_R
7 dayz_originalPlayer
7 zZombie_Base
7 infiSTAR
7 GodMode /*DONN*/ !="donn_godMode"
7 shazbot
7 _typeofHookMonky
7 _allocMemory
7 _d3d9multipliervariable
7 _runASM
7 _addGFX_hookD3D9eventhandler
7 _BEhookBYPASSBOB
7 JJMMEE_INIT_MENU

 

 

 

 

18.07.2015 16:39:52: Overside (188.0.189.73:2304) eed1f34272ffd13a66a46bf784de9f88 - #41 "bject setDir _dir;
};
 

if (SET_MARKER) then { 
 
_marker = createMarker [format["GreenZone:%1", _name], _center];
_marker setMark"

Link to comment
Share on other sites

I am getting this #0 "don_ownerity_code" = any 2:1527 C_Offroad_01_EPOCH in setvariable.txt, I tryed to add this !="don_ownerity_code" to the first line but it didn't work. Any idea what to add? It's happens when I jumping in to a offroad and start it.

Link to comment
Share on other sites

I am getting this #0 "don_ownerity_code" = any 2:1527 C_Offroad_01_EPOCH in setvariable.txt, I tryed to add this !="don_ownerity_code" to the first line but it didn't work. Any idea what to add? It's happens when I jumping in to a offroad and start it.

 

im still having this same issue. Haven't found a fix yet other than to set that filter to 2 or 3 till a fix is found.

Link to comment
Share on other sites

I am getting this #0 "don_ownerity_code" = any 2:1527 C_Offroad_01_EPOCH in setvariable.txt, I tryed to add this !="don_ownerity_code" to the first line but it didn't work. Any idea what to add? It's happens when I jumping in to a offroad and start it.

 

Add these to your setvariable.txt filter !="don_ownerity_code" !="don_crew" 1="don_passengers" so it looks like this:

5 "" !=(Offer|Accept|BUILD_SLOT|TRADE_ACTIVE|last_targeter) !="bis_fnc_objectvar_var" !="(_|)don_player_veh setVariable" !="don_ownerity_code" !="don_crew" !="don_passengers"
Link to comment
Share on other sites

  • 2 weeks later...

Got it to work on new update and on Australia. If you wish to use it on there here is the coords you need.

 

 

There are 4 traders on this map

//Australia Safezones
donn_traders = [
	["Australia Trader City 1",[24398.3, 13971.6,0]],
	["Australia Trader City 2",[34751.5, 13431.9,0]],
	["Australia Trader City 3",[19032.7, 33974.6,0]],
	["Australia Trader City 4",[4056.35, 19435.9,0]]
	
];
Link to comment
Share on other sites

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...