preister / Celts_Altis_Life

Celts Clan Arma 3 Altis Life RPG Multiplayer mission
6 stars 5 forks source link

Fix up all the edge cases in inventory and item handling #59

Closed preister closed 9 years ago

preister commented 9 years ago

Like guns disappearing when they shouldn't, backpack storage weight being screwed up after getting revived etc.

preister commented 9 years ago

Rolled all the other issues into this one here, all of this stuff is being worked on in the ItemSaveLoadRework branch.

preister commented 9 years ago

Currently Issues in the ItemSaveLoadRework branch:

Oh and this:

Error in expression <;
};
};
};

if(_value > 0) then {[false,_var,_value] call life_fnc_handleInv;};
>
  Error position: <_var,_value] call life_fnc_handleInv;};
>
  Error Undefined variable in expression: _var
File mpmissions\__CUR_MP.Altis\core\functions\fn_dropItems.sqf, line 124

Error in expression <rSimulated"],5];

[_containers] spawn {
sleep life_gun_despawn_delay;
{deleteVeh>
  Error position: <sleep life_gun_despawn_delay;
{deleteVeh>
  Error sleep: Type code, expected Number
File mpmissions\__CUR_MP.Altis\core\medical\fn_respawned.sqf, line 39
preister commented 9 years ago

Questions:

Duubz commented 9 years ago

yeah y items should drop on the floor so they can be picked up and they should despawn after a few minutes I guess to stop the server getting cluttered with stuff.

preister commented 9 years ago

ToDo Fixing:

ToDo yItemDropping:

preister commented 9 years ago

I think I want to move this yItem dropping and other "new" features into a special branch for an entire item configuration rework similar to the resource config and in preparation for the advanced resource system we have been taking about, @CeltS-Dubbz261 what do you think?

PS. I've just merged the .8 branch into the ItemSaveLoadRework and starting testing now.

preister commented 9 years ago

OK this branch is ready for another round of revive testing, everything else seems to work so far.

preister commented 9 years ago

This has is actually already done (finally ;) ) and the branch with the fixes has been merged - no complains yet.