seb
-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by seb
-
-
This is my cleanup file code ive changed, ( the ZR is our custom bike script )
anything else in here is part of the mission system, does it look right?
if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (vehicle _x getVariable [""ZR"",0] != 1) && (isPlayer _x) && !(typeOf vehicle _x) in DZE_safeVehicle) && (typeOf vehicle _x) != ""Parachute"") && (vehicle _x getVariable [""Mission"",0] && (vehicle _x getVariable [""DZAI"",0] != 1) && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n
-
Hey guys, My vehicles are disapearing about 20 seconds after you enter, i tried to fix it with suggestions earlier down the post, but its still not working..
any help?
-
Hmm i seem to be getting this in the error logs, and some missions do not spawn AI,
I get the crates to spawn tho...
10:22:22 Error Zero divisor 10:22:22 File z\addons\dayz_server\missions\add_unit_server.sqf, line 116 10:22:22 "AIUNIT: Last Waypoint [O 1-1-D,4] at [3301.44,10849.7,40]" 10:23:09 "TIME SYNC: Local Time set to [2013,12,27,13,23]" 10:24:24 "DZAI Monitor :: Server Uptime - 0 d 0 hr 11 min 24 sec. Active AI Units - 0." 10:24:24 "DZAI Monitor :: Static Spawns - 0 active static triggers. 0 groups queued for respawn." 10:24:25 "AIUNIT: Spawn initiated: Centre:[3853.04,7764.09] | Radius in m:80 | Waypoint number:6 | WeaponLevel:1" 10:24:25 "AIUNIT: Creating Ins_Soldier_1 by <NULL-object> at [3854.04,7765.09,0]. Result:O 1-1-E:1 | Loadout:["AK_47_M","30Rnd_762x39_AK47"] / Num:0" 10:24:25 Error in expression <loadout select 2; _aiammo2 = _ailoadout select 3; _aiunit addweapon _aiwep1; _ai> 10:24:25 Error position: <select 3; _aiunit addweapon _aiwep1; _ai> 10:24:25 Error Zero divisor 10:24:25 File z\addons\dayz_server\missions\add_unit_server.sqf, line 116 10:24:25 "AIUNIT: Creating Ins_Soldier_1 by <NULL-object> at [3855.04,7766.09,0]. Result:O 1-1-E:2 | Loadout:["BAF_L85A2_RIS_SUSAT","30Rnd_556x45_Stanag"] / Num:0" 10:24:25 Error in expression <loadout select 2; _aiammo2 = _ailoadout select 3; _aiunit addweapon _aiwep1; _ai> 10:24:25 Error position: <select 3; _aiunit addweapon _aiwep1; _ai> 10:24:25 Error Zero divisor 10:24:25 File z\addons\dayz_server\missions\add_unit_server.sqf, line 116 10:24:25 "AIUNIT: Creating Ins_Soldier_1 by <NULL-object> at [3856.04,7767.09,0]. Result:O 1-1-E:3 | Loadout:["M4A1_HWS_GL_SD_Camo","30Rnd_556x45_StanagSD"] / Num:3" 10:24:25 Error in expression <loadout select 2; _aiammo2 = _ailoadout select 3; _aiunit addweapon _aiwep1; _ai> 10:24:25 Error position: <select 3; _aiunit addweapon _aiwep1; _ai> 10:24:25 Error Zero divisor 10:24:25 File z\addons\dayz_server\missions\add_unit_server.sqf, line 116 10:24:25 "AIUNIT: Creating Ins_Soldier_1 by <NULL-object> at [3857.04,7768.09,0]. Result:O 1-1-E:4 | Loadout:["AK_107_pso","30Rnd_545x39_AK"] / Num:4" 10:24:25 Error in expression <loadout select 2; _aiammo2 = _ailoadout select 3; _aiunit addweapon _aiwep1; _ai> 10:24:25 Error position: <select 3; _aiunit addweapon _aiwep1; _ai>
-
Hey guys, is there a limit on how many items you can add into one map?
Ive got quite a large base with modular items also ( cinderwalls) etc... and in the map editor its spawning everything fine, but once i put it up on my test server, it only spawns half of the modular items,
any ideas?
-
Hi Guys,
How would one go by changing the value of fog.. ive had a search around and all the suggestions seem to be old, and none actually work
Can anyone point me in the right direction?? thanks :)
-
-
hmm i seem to be gettin this error after updating to 1.0.3
_loot = _loot_lists call BIS_fnc_sele> 5:20:16 Error position: <]; _loot = _loot_lists call BIS_fnc_sele> 5:20:16 Error Missing ; 5:20:16 File z\addons\dayz_server\modules\Supplyitems.sqf, line 44 5:20:16 Error in expression <andage","ItemBandage","ItemMorphine"] ]
^^ it floods the RPT log file with this about 100 times a second
this is my supplyitems.sqf i hope im not missing anything.....??
it only started doing it since update to 1.0.3
private ["_spawnChance", "_spawnMarker", "_spawnRadius", "_markerRadius", "_item", "_debug", "_start_time", "_loot", "_loot_amount", "_loot_box", "_wait_time", "_spawnRoll", "_position", "_event_marker", "_loot_pos", "_debug_marker","_loot_box", "_hint"]; _spawnChance = 0.40; // Percentage chance of event happening _markerRadius = 350; // Radius the loot can spawn and used for the marker _debug = false; // Puts a marker exactly were the loot spawns _loot_box = "SpecialWeaponsBox"; _loot_lists = [ [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE"] ], ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Camo1_DZ","Skin_CZ_Soldier_Sniper_EP1_DZ","Skin_CZ_Special_Forces_GL_DES_EP1_DZ","Skin_Drake_Light_DZ","Skin_FR_OHara_DZ","Skin_FR_Rodriguez_DZ","Skin_Graves_Light_DZ","Skin_Sniper1_DZ","Skin_Soldier1_DZ","Skin_Soldier_Bodyguard_AA12_PMC_DZ"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Functionary1_EP1_DZ","Skin_Pilot_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker2_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Functionary1_EP1_DZ","Skin_Priest_DZ"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan"] ] ]; _loot = _loot_lists call BIS_fnc_selectRandom; _loot_amount = 75; _wait_time = 900; // Dont mess with theses unless u know what yours doing _start_time = time; _spawnRadius = 5000; _spawnMarker = 'center'; if (isNil "EPOCH_EVENT_RUNNING") then { EPOCH_EVENT_RUNNING = false; }; // Check for another event running if (EPOCH_EVENT_RUNNING) exitWith { diag_log("Event already running"); }; // Random chance of event happening _spawnRoll = random 1; if (_spawnRoll > _spawnChance and !_debug) exitWith {}; // Random location _position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos; diag_log(format["Spawning loot event at %1", _position]); _event_marker = createMarker [ format ["loot_event_marker_%1", _start_time], _position]; _event_marker setMarkerShape "ELLIPSE"; _event_marker setMarkerColor "ColorBlue"; _event_marker setMarkerAlpha 0.5; _event_marker setMarkerSize [(_markerRadius + 50), (_markerRadius + 50)]; _loot_pos = [_position,0,(_markerRadius - 100),10,0,2000,0] call BIS_fnc_findSafePos; if (_debug) then { _debug_marker = createMarker [ format ["loot_event_debug_marker_%1", _start_time], _loot_pos]; _debug_marker setMarkerShape "ICON"; _debug_marker setMarkerType "mil_dot"; _debug_marker setMarkerColor "ColorBlue"; _debug_marker setMarkerAlpha 1; }; diag_log(format["Creating ammo box at %1", _loot_pos]); // Create ammo box _loot_box = createVehicle [_loot_box,_loot_pos,[], 0, "NONE"]; clearMagazineCargoGlobal _loot_box; clearWeaponCargoGlobal _loot_box; // Cut the grass around the loot position _clutter = createVehicle ["ClutterCutter_small_2_EP1", _loot_pos, [], 0, "CAN_COLLIDE"]; _clutter setPos _loot_pos; // cut the grass end // Add loot { _loot_box addWeaponCargoGlobal [_x,1]; } forEach (_loot select 0); { _loot_box addMagazineCargoGlobal [_x,1]; } forEach (_loot select 1); // Send message to users [nil,nil,rTitleText,"UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!", "PLAIN",10] call RE; diag_log(format["Loot event setup, waiting for %1 seconds", _wait_time]); // Wait sleep _wait_time; // Clean up EPOCH_EVENT_RUNNING = false; deleteVehicle _loot_box; deleteMarker _event_marker; if (_debug) then { deleteMarker _debug_marker; };
-
never mind, fixed it, found solution here :)
-
Hi Guys... upon update to 1.0.3 i have this error in my RPT log,
Im using Dayz Mission System located here
5:08:03 Error position: <_safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error Undefined variable in expression: _safety 5:08:03 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error position: <_safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error Undefined variable in expression: _safety 5:08:03 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error position: <_safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error Undefined variable in expression: _safety 5:08:03 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error position: <_safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error Undefined variable in expression: _safety 5:08:03 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error position: <_safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error Undefined variable in expression: _safety 5:08:03 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error position: <_safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error Undefined variable in expression: _safety 5:08:03 Error in expression < ["Mission",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error position: <_safety) && (typeOf vehicle _x) != "Para> 5:08:03 Error Undefined variable in expression: _safety
it doesn't seem to affect the missions as such, but flooding my log....
was working fine on 1.0.2.5 with no errors... any help would be appreciated
P.s Anyone know of a similar working AI mission script to use?
thanks in advance for all the help
-
hmm i seem to be gettin this error after updating to 1.0.3
_loot = _loot_lists call BIS_fnc_sele> 5:20:16 Error position: <]; _loot = _loot_lists call BIS_fnc_sele> 5:20:16 Error Missing ; 5:20:16 File z\addons\dayz_server\modules\Supplyitems.sqf, line 44 5:20:16 Error in expression <andage","ItemBandage","ItemMorphine"] ]
this is my supplyitems.sqf i hope im not missing anything.....??
private ["_spawnChance", "_spawnMarker", "_spawnRadius", "_markerRadius", "_item", "_debug", "_start_time", "_loot", "_loot_amount", "_loot_box", "_wait_time", "_spawnRoll", "_position", "_event_marker", "_loot_pos", "_debug_marker","_loot_box", "_hint"]; _spawnChance = 0.40; // Percentage chance of event happening _markerRadius = 350; // Radius the loot can spawn and used for the marker _debug = false; // Puts a marker exactly were the loot spawns _loot_box = "SpecialWeaponsBox"; _loot_lists = [ [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE"] ], ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","ItemSodaRbull","ItemSodaR4z0r","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked","FoodbaconCooked","FoodchickenCooked"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemSodaRbull"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Camo1_DZ","Skin_CZ_Soldier_Sniper_EP1_DZ","Skin_CZ_Special_Forces_GL_DES_EP1_DZ","Skin_Drake_Light_DZ","Skin_FR_OHara_DZ","Skin_FR_Rodriguez_DZ","Skin_Graves_Light_DZ","Skin_Sniper1_DZ","Skin_Soldier1_DZ","Skin_Soldier_Bodyguard_AA12_PMC_DZ"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Functionary1_EP1_DZ","Skin_Pilot_EP1_DZ","Skin_Priest_DZ","Skin_Rocker1_DZ","Skin_Rocker2_DZ","Skin_RU_Policeman_DZ","Skin_Pilot_EP1_DZ","Skin_Functionary1_EP1_DZ","Skin_Priest_DZ"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan"] ], [ ["M9SD"], ["15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaCoke","ItemSodaCoke","ItemSodaCoke","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","ItemSodaPepsi","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanBakedBeans","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanPasta","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodCanSardines","FoodMRE","FoodMRE","FoodMRE","FoodMRE","FoodMRE","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemBandage","ItemBloodbag","ItemEpinephrine","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan","ItemTent","ItemJerrycan"] ] ]; _loot = _loot_lists call BIS_fnc_selectRandom; _loot_amount = 75; _wait_time = 900; // Dont mess with theses unless u know what yours doing _start_time = time; _spawnRadius = 5000; _spawnMarker = 'center'; if (isNil "EPOCH_EVENT_RUNNING") then { EPOCH_EVENT_RUNNING = false; }; // Check for another event running if (EPOCH_EVENT_RUNNING) exitWith { diag_log("Event already running"); }; // Random chance of event happening _spawnRoll = random 1; if (_spawnRoll > _spawnChance and !_debug) exitWith {}; // Random location _position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos; diag_log(format["Spawning loot event at %1", _position]); _event_marker = createMarker [ format ["loot_event_marker_%1", _start_time], _position]; _event_marker setMarkerShape "ELLIPSE"; _event_marker setMarkerColor "ColorBlue"; _event_marker setMarkerAlpha 0.5; _event_marker setMarkerSize [(_markerRadius + 50), (_markerRadius + 50)]; _loot_pos = [_position,0,(_markerRadius - 100),10,0,2000,0] call BIS_fnc_findSafePos; if (_debug) then { _debug_marker = createMarker [ format ["loot_event_debug_marker_%1", _start_time], _loot_pos]; _debug_marker setMarkerShape "ICON"; _debug_marker setMarkerType "mil_dot"; _debug_marker setMarkerColor "ColorBlue"; _debug_marker setMarkerAlpha 1; }; diag_log(format["Creating ammo box at %1", _loot_pos]); // Create ammo box _loot_box = createVehicle [_loot_box,_loot_pos,[], 0, "NONE"]; clearMagazineCargoGlobal _loot_box; clearWeaponCargoGlobal _loot_box; // Cut the grass around the loot position _clutter = createVehicle ["ClutterCutter_small_2_EP1", _loot_pos, [], 0, "CAN_COLLIDE"]; _clutter setPos _loot_pos; // cut the grass end // Add loot { _loot_box addWeaponCargoGlobal [_x,1]; } forEach (_loot select 0); { _loot_box addMagazineCargoGlobal [_x,1]; } forEach (_loot select 1); // Send message to users [nil,nil,rTitleText,"UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!", "PLAIN",10] call RE; diag_log(format["Loot event setup, waiting for %1 seconds", _wait_time]); // Wait sleep _wait_time; // Clean up EPOCH_EVENT_RUNNING = false; deleteVehicle _loot_box; deleteMarker _event_marker; if (_debug) then { deleteMarker _debug_marker; };
-
got it to work axe :) when i was trying to pack the pbo it wouldn't pack all the files so it wouldn't load the server... so i changed pbo programs
It works fine now, but 1 problem with players online is only showing, correct players online for admins ( using infistar antihack ) all normal players see is 1 player online no matter what
-
Posted Yesterday, 02:18 PM
I don't know what you did to my script but you put at least 3 errors in the file so the game cannot load it this way..?? :P
The one I am using now looks like this, but it includes a misson indicator so if you don't run the epoch mission remove the line with "customMission ":
this is the default code currently working for the infiSTAR debug
under /dayz_server/init/AH.sqf
hintSilent parseText format ["" <t size='1' font='Bitstream' align='Center' >[%1]</t><br/> <img size='4.75' image='%4'/><br/> <t size='1' font='Bitstream' align='left' color='#CC0000'>Blood: </t><t size='1' font='Bitstream' align='right'>%2</t><br/> <t size='1' font='Bitstream' align='left' color='#0066CC'>Humanity: </t><t size='1' font='Bitstream' align='right'>%3</t><br/> <br/> <t size='1' font='Bitstream' align='left' color='#FFBF00'>Zombie Kills: </t><t size='1' font='Bitstream' align='right'>%9</t><br/> <t size='1' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='1' font='Bitstream' align='right'>%10</t><br/> <t size='1' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='1' font='Bitstream' align='right'>%11</t><br/> <br/> <t size='1' font='Bitstream' align='left' color='#FFBF00'>UPTIME: </t><t size='1' font='Bitstream' align='right'>%5h %6min</t><br/> <t size='1' font='Bitstream' align='left' color='#FFBF00'>FPS: </t><t size='1' font='Bitstream' align='right'>%8</t><br/> <t size='1' font='Bitstream' align='Center' color='#CC0000'>%7</t> "", _txt, (r_player_blood), round (player getVariable['humanity', 0]), _pic, _hours, _minutes2, _BottomDebug, (round diag_fps), (player getVariable['zombieKills', 0]), (player getVariable['humanKills', 0]), (player getVariable['banditKills', 0]) ];
has this just after it
sleep 1; }; }; [] spawn fnc_debugX0; }; };
replaced it with
hintSilent parseText format [" <t size='1.4' font='Bitstream' align='center' color='#DDDDDD'>zR DayZ Epoch</t><br/> <t size='1.15' font='Bitstream' align='center' color='#DDDDDD'>%9 Players Online</t><br/><br/> <t size='1.20' font='Bitstream' color='#5882FA'>Survived %10 Days</t><br/><br/> <t size='1.15' font='Bitstream' align='left'>Zombies Killed: </t><t size='1.15' font='Bitstream' align='right'>%2</t><br/> <t size='1.15' font='Bitstream' align='left'>Headshots: </t><t size='1.15' font='Bitstream' align='right'>%3</t><br/> <t size='1.15' font='Bitstream' align='left'>Murders: </t><t size='1.15' font='Bitstream' align='right'>%4</t><br/> <t size='1.15' font='Bitstream' align='left'>Bandits Killed: </t><t size='1.15' font='Bitstream' align='right'>%7</t><br/><br/> <t size='1.15' font='Bitstream' align='left'>Humanity: </t><t size='1.15' font='Bitstream' align='right'>%5</t><br/> <t size='1.15' font='Bitstream' align='left' color='#C70000'>Blood: </t><t size='1.15' font='Bitstream' align='right' color='#C70000'>%8</t><br/> <t size='1' font='Bitstream' align='center' color='#16DB57'>Restart in %10 minutes</t><br/><br/> <t size='1' font='Bitstream' align='center' color='#DDDDDD'>www.zrclan.com</t><br/> <t size='1' font='Bitstream' align='center' color='#DDDDDD'>ts3.zrclan.com</t><br/>", (name player), (player getVariable['zombieKills', 0]), (player getVariable['headShots', 0]), (player getVariable['humanKills', 0]), (player getVariable['banditKills', 0]), (player getVariable['humanity', 0]), (dayz_Survived), (r_player_blood), (count playableUnits), (120-(round(serverTime/60))) ];
I get black screen, after waiting for authentication on my test server and will not start to load the DB
Hmm sorry for the noobness, but i cant seem to get this to work what so ever,
Can i give you my AH.sqf file and maybe have a look?
Is there something else im missing? in another file perhaps?
-
Thanks Axe I will try this when I get home, although I did try changing 1 line at a time to see if it would connect... like the player count, but it didn't,
I am editing the file in my dayz server pbo in init folder file called ah.sqf ( where the antihack debug menu is )
-
Hey guys, Im trying to add this in my antihack debug menu, but all im getting is waiting for autentication and black screen apon connection... doesnt try to load the database...
replacing with Axe cops debug, just trying to get it to connect before i edit values...
hintSilent parseText format ["" <t size='1.4' font='Bitstream' align='center' color='#DDDDDD'>BRS DayZ Epoch</t><br/> <t size='1.15' font='Bitstream' align='center' color='#DDDDDD'>%9 Players Online</t><br/><br/> <t size='1.25' font='Bitstream' color='#5882FA'>%1</t><br/><br/> <t size='1.20' font='Bitstream' color='#5882FA'>Survived %7 Days</t><br/><br/> <t size='1.15' font='Bitstream' align='left'>Zombies Killed: </t><t size='1.15' font='Bitstream' align='right'>%2</t><br/> <t size='1.15' font='Bitstream' align='left'>Headshots: </t><t size='1.15' font='Bitstream' align='right'>%3</t><br/> <t size='1.15' font='Bitstream' align='left'>Murders: </t><t size='1.15' font='Bitstream' align='right'>%4</t><br/> <t size='1.15' font='Bitstream' align='left'>Bandits Killed: </t><t size='1.15' font='Bitstream' align='right'>%5</t><br/><br/> <t size='1.15' font='Bitstream' align='left'>Humanity: </t><t size='1.15' font='Bitstream' align='right'>%6</t><br/> <t size='1.15' font='Bitstream' align='left' color='#C70000'>Blood: </t><t size='1.15' font='Bitstream' align='right' color='#C70000'>%8</t><br/><br/> <t size='1' font='Bitstream' align='center' color='#16DB57'>Restart in %10 minutes</t><br/><br/> <t size='1' font='Bitstream' align='center' color='#DDDDDD'>brsquad.enjin.com</t><br/> <t size='1' font='Bitstream' align='center' color='#DDDDDD'>TS 46.20.46.243:14713</t><br/>"", (name player), (player getVariable['zombieKills', 0]), (player getVariable['headShots', 0]), (player getVariable['humanKills', 0]), (player getVariable['banditKills', 0]), (player getVariable['humanity', 0]), (dayz_Survived), (r_player_blood), (count playableUnits), (120-(round(serverTime/60))) ]; sleep 1; }; };
[TUTORIAL] Custom Starting Loadout and Admin/Mod/Donator Loadouts (w/ UIDs)
in Scripting
Posted
Guys,
Ive been using this method for custom donator loadouts etc.. but ive noticed once we peak server ( 50 players or so ) and start to hit a little bit of lag, the kits will seem to miss spawning some times, its just a random hit or miss,
Ive tested them on test server with a few players with kits and its no issue,
has anyone else experienced this and solved the issue?
im just assuming its due to lag, dedi box is coming soon so hopefully that will fix that issue..