Page MenuHomeFeedback Tracker

clearItemCargoGlobal and JIP
Assigned, WishlistPublic

Description

Persistence = 1
gametype = Unknown
Version = 1.11.114344

clearItemCargoGlobal works for the first player to join the server. If player goes to the lobby and back it causes inventory to have 6 x FirstAidKits in it again.

Details

Legacy ID
1969160329
Severity
None
Resolution
Open
Reproducibility
Always
Category
Multiplayer
Steps To Reproduce

version = 1.11.114344
persistence = 1
gamemode = Unknown

Either situation causes it:

Local EXEC:
_vehicle = createVehicle ["C_Offroad_01_F", position player, [], 0, "NONE"];
clearItemCargoGlobal _vehicle;

Server EXEC:
_vehicle = createVehicle ["C_Offroad_01_F", [14939.6,16491,0.00143814], [], 0, "NONE"]; clearItemCargoGlobal _vehicle;

After vehicle spawn check it's inventory and it will be empty then log to lobby and back again and the vehicle will have 6 x FirstAidKits in it.

Additional Information

Client shows the items:

INV = getItemCargo cursortarget;

INV RESULT: [["FirstAidKit"],[6]]

Server shows the inventory is empty:

Local EXEC (while looking at vehicle with free FirstAidKits as mentioned above):
VEH1 = cursortarget; publicVariableServer "VEH1"

Server EXEC
INV = getItemCargo VEH1; publicVariable "INV"

INV RESULT: [[],[]]

Event Timeline

vbawol edited Steps To Reproduce. (Show Details)Jan 19 2014, 6:08 PM
vbawol edited Additional Information. (Show Details)
vbawol set Category to Multiplayer.
vbawol set Reproducibility to Always.
vbawol set Severity to None.
vbawol set Resolution to Open.
vbawol set Legacy ID to 1969160329.May 7 2016, 5:46 PM

This needs to be assigned to japapatramtara