Need help with new host ( HFB )

bajaboy1972

Well-Known Member
Ok i recently switched from DAYZ.ST to HFB as a server host. On DAYZ.ST i ran a custom mission with numerous scripts all working fine. The same scripts dont work on HFB. Is this common ? The biggest issue im having is posted below. Its using an ammo box to hold supplies that are spawned into the box using an sqf file. ON DAYZ.ST the boxes are full.On HFB they are empty.

Example : Ammo box on map and calls for supplies by adminsupplies.sqf
Code:
_vehicle_279 = objNull;
if (true) then
{
  _this = createVehicle ["AmmoBoxBig", [37.822857, 6158.2783, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_279 = _this;
  _this setDir 43.610134;
  _this setVehicleInit "null0 = this execVM ""adminsupplies.sqf"";
  _this setPos [37.822857, 6158.2783, 3.0517578e-005];
};

adminsupplies.sqf has following

Code:
while {alive _this} do
{
clearweaponcargo _this;
clearmagazinecargo _this;
 
//BIS WEAPONS//
_this addWeaponCargo ["ItemMap",10];
_this addWeaponCargo ["ItemCompass",10];
_this addWeaponCargo ["ItemGps",10];
_this addWeaponCargo ["NVGoggles",10];
_this addWeaponCargo ["Binocular_Vector",10];
_this addWeaponCargo ["ItemWatch",10];
_this addWeaponCargo ["ItemMatchbox",10];
_this addWeaponCargo ["ItemToolbox",10];
_this addWeaponCargo ["ItemFlashlightRed",10];
_this addWeaponCargo ["ItemFlashlight",10];
_this addWeaponCargo ["Binocular",10];
_this addBackpackCargo ["CZ_VestPouch_EP1",10];
_this addBackpackCargo ["DZ_Patrol_Pack_EP1",10];
_this addBackpackCargo ["DZ_Assault_Pack_EP1",10];
_this addBackpackCargo ["DZ_CivilBackpack_EP1",10];
_this addBackpackCargo ["DZ_ALICE_Pack_EP1",10];
_this addBackpackCargo ["DZ_Backpack_EP1",10];
_this addWeaponCargo ["ItemKnife",10];
_this addWeaponCargo ["ItemHatchet",10];
_this addWeaponCargo ["ItemEtool",10];
_this addWeaponCargo ["ItemCrowbar",10];
_this addWeaponCargo ["ItemMachete",10];
 
//BIS AMMO//
_this addMagazineCargo ["FoodSteakRaw",10];
_this addMagazineCargo ["FoodSteakCooked",10];
_this addMagazineCargo ["FoodCanFrankBeans",10];
_this addMagazineCargo ["FoodCanUnlabeled",10];
_this addMagazineCargo ["FoodMRE",10];
_this addMagazineCargo ["FoodCanBakedBeans",10];
_this addMagazineCargo ["FoodCanPasta",10];
_this addMagazineCargo ["ItemSodaPepsi",10];
_this addMagazineCargo ["ItemWaterBottle",10];
_this addMagazineCargo ["ItemSodaCoke",10];
_this addMagazineCargo ["ItemSodaMdew",10];
_this addMagazineCargo ["ItemAntibiotic",10];
_this addMagazineCargo ["ItemBandage",10];
_this addMagazineCargo ["ItemPainkiller",10];
_this addMagazineCargo ["ItemHeatPack",10];
_this addMagazineCargo ["ItemBloodbag",10];
_this addMagazineCargo ["ItemMorphine",10];
_this addMagazineCargo ["ItemEpinephrine",10];
_this addMagazineCargo ["Skin_Survivor2_DZ",10];
_this addMagazineCargo ["Skin_Sniper1_DZ",10];
_this addMagazineCargo ["Skin_Camo1_DZ",10];
_this addMagazineCargo ["Skin_Soldier1_DZ",10];
_this addMagazineCargo ["FoodmuttonRaw",10];
_this addMagazineCargo ["FoodbeefRaw",10];
_this addMagazineCargo ["FoodchickenRaw",10];
_this addMagazineCargo ["FoodBaconRaw",10];
_this addMagazineCargo ["FoodRabbitRaw",10];
_this addMagazineCargo ["FoodmuttonCooked",10];
_this addMagazineCargo ["FoodchickenCooked",10];
_this addMagazineCargo ["FoodBaconCooked",10];
_this addMagazineCargo ["FoodRabbitCooked",10];
_this addMagazineCargo ["HandRoadFlare",10];
_this addMagazineCargo ["HandChemGreen",10];
_this addMagazineCargo ["ItemTent",10];
_this addMagazineCargo ["TrapBear",10];
_this addMagazineCargo ["ItemTankTrap",10];
_this addMagazineCargo ["ItemWire",10];
_this addMagazineCargo ["HandChemBlue",10];
_this addMagazineCargo ["HandChemRed",10];
_this addMagazineCargo ["PartWoodPile",10];
_this addMagazineCargo ["HandChemGreen",10];
_this addMagazineCargo ["PartWheel",10];
_this addMagazineCargo ["PartFueltank",10];
_this addMagazineCargo ["PartGlass",10];
_this addMagazineCargo ["PartEngine",10];
_this addMagazineCargo ["PartGeneric",10];
_this addMagazineCargo ["PartVRotor",10];
_this addMagazineCargo ["ItemJerrycan",10];
sleep 1800;
};

This works on DAYZ.ST and the ammo box has all items listed above but on HFB its empty....any ideas ?
 
Back
Top