iFear
New Member
Hi,
I've made an AI Base, where people can find ammoboxes with loot in it.
This works fine for Epoch, but in 1.8.4.1 these ammoboxes are getting deleted with every server-restart.
RPT shows this:
I spawn this boxes with an sqf-file (like map additions),
it looks like this:
So.... I've seen (in RPT) that all these ammoboxes are banned.
Is there a way to bring them back on the server?
As I said, with Epoch there's no problem (this worked for more then a year for my server) but in 1.8.4.1 the boxes are getting deleted.
I've found this fix (http://www.dayzpatriots.com/adding-weapon-ammo-crates-1-7-7-1-t97.html) but the code in it is not up-to-date anymore
I've made an AI Base, where people can find ammoboxes with loot in it.
This works fine for Epoch, but in 1.8.4.1 these ammoboxes are getting deleted with every server-restart.
RPT shows this:
Code:
Cannot create entity with abstract type TKVehicleBox_EP1 (scope = private?)
I spawn this boxes with an sqf-file (like map additions),
it looks like this:
Code:
_vehicle_101 = objNull;
if (true) then
{
_this = createVehicle ["TKVehicleBox_EP1", [8108.1665, 13562.08, 0.00021362305], [], 0, "CAN_COLLIDE"];
_vehicle_101 = _this;
_this setDir -48.665634;
//Clear Cargo
clearweaponcargoGlobal _this;
clearmagazinecargoGlobal _this;
// ------------------------------------------------------
//Add Cargo
//WEAPONS
_this addWeaponCargoGlobal ["SVD_CAMO_DZ",2];
_this addWeaponCargoGlobal ["DMR_DZ",2];
_this addWeaponCargoGlobal ["M4A1_AIM_SD_camo",2];
_this addWeaponCargoGlobal ["bizon_silenced",2];
_this addWeaponCargoGlobal ["M16A4_ACG",2];
_this addWeaponCargoGlobal ["M4A1_HWS_GL_camo",2];
_this addWeaponCargoGlobal ["M240_DZ",2];
//AMMO and ITEMS
_this addmagazineCargoGlobal ["10Rnd_762x54_SVD ",10];
_this addmagazineCargoGlobal ["20Rnd_762x51_DMR",10];
_this addmagazineCargoGlobal ["30Rnd_556x45_Stanag",20];
_this addmagazineCargoGlobal ["64Rnd_9x19_SD_Bizon",10];
_this addmagazineCargoGlobal ["100Rnd_762x51_M240",10];
_this addmagazineCargoGlobal ["Tranquiliser_Bolt",10];
_this addmagazineCargoGlobal ["Crossbow_EX_Bolt",10];
_this addmagazineCargoGlobal ["Skin_Camo1_DZ",5];
_this addmagazineCargoGlobal ["PipeBomb",5];
_this addmagazineCargoGlobal ["FoodCandyMintception",5];
_this addmagazineCargoGlobal ["ItemSodaMtngreen",5];
//TOOLS
_this addWeaponCargoGlobal ["Binocular_Vector",2];
_this addWeaponCargoGlobal ["NVGoggles",2];
_this addWeaponCargoGlobal ["ItemGPS",2];
_this addWeaponCargoGlobal ["ItemFlashlightRed",2];
//BACKPACK
_this addbackpackCargoGlobal ["DZ_Backpack_EP1",2];
// ------------------------------------------------------
_this setPos [8108.1665, 13562.08, 6.1035156e-005];
_this setVariable ["permaLoot",true];
};
So.... I've seen (in RPT) that all these ammoboxes are banned.
Is there a way to bring them back on the server?
As I said, with Epoch there's no problem (this worked for more then a year for my server) but in 1.8.4.1 the boxes are getting deleted.
I've found this fix (http://www.dayzpatriots.com/adding-weapon-ammo-crates-1-7-7-1-t97.html) but the code in it is not up-to-date anymore