Newbie Spellweaver
- Joined
- May 16, 2017
- Messages
- 36
- Reaction score
- 2
Same here...
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!i am knew this already since 0.60. for what i know, this is not fixable with SQF-scripting. i can't find a way to get the index of inventory item to place it back to the row and column where it was before.same problem too. Each time player go online, system will reorder the items in the player's backpack. This should be the one that caused the random loss of items.
* files updated
i assume i found a workaround about the item problem:
- bigger items are now loaded first into players inventory and smallest last.
_cX = 4835;
_cY = 10090;
_cZ = 55;
_arrayLoot =
[
["Ssh68Helmet","EN5C_M65Jacket_Khaki","Medical_BandageDressing","Medical_BandageDressing","Medical_BandageDressing","JungleBoots_Beige","WorkingGloves_Beige","EN5C_TTSKOPants","FirefighterAxe","Compass","EN5C_SmershVestBackpack","M4A1","EN5C_ACOGOptic","M_STANAG_30Rnd_Coupled","M_STANAG_30Rnd_Coupled","M_STANAG_30Rnd_Coupled","M_STANAG_30Rnd_Coupled","M_STANAG_30Rnd_Coupled","AugSteyr","VSS","EN5C_MountainBag_Blue","Medical_Morphine","Medical_Morphine","M_Glock_15Rnd","M_Glock_15Rnd","M_Glock_15Rnd","M_Glock_15Rnd","M_Glock_15Rnd","Glock19","Att_Suppressor_Pistol","Att_Suppressor_Pistol","Att_Suppressor_Pistol","Att_Suppressor_Pistol","Att_Suppressor_Pistol","Ammo_9mm","Ammo_9mm","Ammo_9mm","Ammo_9mm","Ammo_9mm","Drink_Canteen","Drink_Canteen","Drink_Canteen","Food_CanPeaches","Food_CanPeaches","Food_CanPeaches","Tool_CanOpener","Tool_WeaponCleaningKit"],
["MP5K"],
["AKM"],
["SVD"]
];
_fnc_spawn_in = {
_lootIn = _this select 0;
_spawnEventIn = _this select 1;
{
_spawnIn = _spawnEventIn createInCargo _x;
_cfgSpawns = configFile >> "CfgVehicles";
_config = _cfgSpawns >> typeOf _spawnIn;
_max = 0;
_max = (getNumber (_config >> "stackedMax"));
if (_max > 0) then
{
_spawnIn setQuantity _max;
};
_classRes = _config >> "Resources";
if (isClass _classRes) then
{
_arreyRes = (getArray (_config >> "tooltipResources"));
{
_spawnIn setVariable [_x, (getNumber (_config >>"Resources" >>_x))];
} forEach _arreyRes;
};
_baseAtta = getArray (configFile >> "cfgWeapons" >> (typeOf _spawnIn) >> "baseAttachments");
{
_itemAtt = _spawnIn createWeaponAttachment _x;
} forEach _baseAtta;
if (_x == "Part_CanisterGasoline") then
{
_spawnIn setVariable ["liquidType", "gasoline"];
};
} forEach _lootIn;
};
_ii =0;
diag_log format ["_ii: %1 , count: %2",_ii,(count _arrayLoot)];
{
_spawnEvent = createVehicle ["TentLarge_Pitched", [(_cX+2.5*_ii),(_cY+4.833*_ii)], [], 0, "CAN_COLLIDE"];
_spawnEvent setDir 208;
_loot = _x;
diag_log format ["_ii: %1 , %2, %3",_ii,_spawnEvent,_loot];
[_loot,_spawnEvent] call _fnc_spawn_in;
_ii = _ii + 1;
} forEach _arrayLoot;
search errors in mpmission folder and fix, next delete all files in storage folder or delete full storage folder and start again server
Why mission loading 2 times ?
search errors in mpmission folder and fix, next delete all files in storage folder or delete full storage folder and start again server
All rechecked, deleted, still starts 2 times :$:
we wait youI did
Same problemwe wait you
Same problem
You must be registered to see links
you full delete storage folder?
when it is will be work normal, check all files serverYes ...