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.
_object_inventory = {
private["_inventory","_previous","_key"];
if (_object isKindOf "TrapItems") then {
_inventory = [_object getVariable ["armed", false]];
} else {
_inventory = [
getWeaponCargo _object,
getMagazineCargo _object,
getBackpackCargo _object
];
};
_previous = str(_object getVariable["lastInventory",[]]);
if (str(_inventory) != _previous) then {
_object setVariable["lastInventory",_inventory];
if (_objectID == "0") then {
diag_log format["CHILD:309:%1:%2:",_uid,_inventory];
} else {
diag_log format["CHILD:303:%1:%2:",_objectID,_inventory];
};
};
};
_object_inventory = {
private["_inventory","_previous","_key"];
if (_object isKindOf "TrapItems") then {
_inventory = [["armed",_object getVariable ["armed", false]]];
} else {
_inventory = [
getWeaponCargo _object,
getMagazineCargo _object,
getBackpackCargo _object
];
};
_previous = str(_object getVariable["lastInventory",[]]);
if (str(_inventory) != _previous) then {
_object setVariable["lastInventory",_inventory];
if (_objectID == "0") then {
_key = format["CHILD:309:%1:%2:",_objectUID,_inventory];
} else {
_key = format["CHILD:303:%1:%2:",_objectID,_inventory];
};
#ifdef OBJECT_DEBUG
diag_log ("HIVE: WRITE: "+ str(_key));
#endif
_key call server_hiveWrite;
};
};
you CAN install it on a 64 bit system, i have, but it requires the 32 bit dll's of lib32stdc++6 and i seem to recall that they werent in the repository so had to install manually or backport or something ... i just recall telling myself to install 32bit linux next time to make it easier.I have a linux server up and running at the house I could easily add this too. It is 64 bit, but would just be to test it out before going live on one the solutions listed above.