Inkko
Valued Member!
So you run this using a init in the server function?
I just threw it in the server pbo and put at the bottom of server_functions.sqf
Code:
[] execVM "\z\addons\dayz_server\Carepackage\CP_Config.sqf";
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
So you run this using a init in the server function?
[] execVM "\z\addons\dayz_server\Carepackage\CP_Config.sqf";
deletevehicle _remove
deletevehicle _remove;
Don't have that in my drop box files I linked, I know I did in an older version so you may have gotten the wrong one again, here is the current one that I didn't have any issues with and I'll see if I can edit previous posts to have the same link.You have an error, missing a ; in the clean up.
Change
Line 13
toCode:deletevehicle _remove
Code:deletevehicle _remove;
The crate is spawning at ground level unfortunately there is no parachute whatsoever and the crate is just instantly on the ground.
You talking about the 5m teleport it makes to the ground? that can be fixed easily I just made the height check a lil high just to make sure nothing messed up.It works pretty damn good. Its definitely functional and can go on the main server. Now depending on if you're a perfectionist or not I'd say that it you could make the carepackage landing a bit more "elegant." When the parachute deletes and the crate falls to the ground the last few feet are a bit rough. I'm always willing to test this further for you if you keep going with it!
waituntil {((getpos _crate) select 2) < 5};
waituntil {((getpos _crate) select 2) < 1};
Then a marker with no crate means the crate is being cleaned up by server perhaps?The crate will start the timer only after a player has gotten close to it, the marker should disappear once someone is close to it instantly.
DZMSProtectObj = {
private ["_object","_objectID"];
_object = _this select 0;
_objectID = str(round(random 999999));
_object setVariable ["ObjectID", _objectID, true];
_object setVariable ["ObjectUID", _objectID, true];
if (_object isKindOf "ReammoBox") then {
// PermaLoot on top of ObjID because that "arma logic"
_object setVariable ["permaLoot",true];
};
if (DZMSEpoch) then {
PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor, _object];
} else {
dayz_serverObjectMonitor set [count dayz_serverObjectMonitor, _object];
};
if (!((typeOf _object) in ["USVehicleBox","USLaunchersBox","AmmoBoxSmall_556","AmmoBoxSmall_762","USOrdnanceBox","USBasicWeaponsBox","USBasicAmmunitionBox","RULaunchersBox"]) || DZMSSceneryDespawnLoot) then {
_object setVariable["DZMSCleanup",true];
};
true
};
If there is a marker and no crate then something happened that caused the crate to despawn. I can also implement the object protect from DZMS.Then a marker with no crate means the crate is being cleaned up by server perhaps?
No idea at all about that, I did update the files again with a new test version that has the DZMS protect and changed around a few things.I'm thinking its something in infistar preventing me from removing gear from the crate but I Can't imagine what and other players seem to be able to do it no problem.
I can access the inventory but not remove or add anything to it. Any ideas?