Page MenuHomeFeedback Tracker

clearItemCargoGlobal is not global and functions exactly like clearItemCargo
Closed, ResolvedPublic

Description

clearItemCargoGlobal functions exactly like clearItemCargo, it only clears items locally and not throughout all clients and all future JIP clients. It doesn't matter if vehicle is local or not, if it was called on server or not, items are still cleared only on the machine where command was executed, it looks like it functions exactly like clearItemCargo.

Repro mission is attached {F19184} {F19185}

Details

Legacy ID
2362637975
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Start clearItemCargoGlobal_repro.Stratis in multiplayer
  2. Have another player join
  3. Host sees Offroad empty, client sees 6 medkits inside Offroad
Additional Information

You can swtich isServer to !isServer in Offroad init and the situation will be the same but clients will see it empty, while host will see 6 medkits inside the offroad.

Event Timeline

SaMatra edited Steps To Reproduce. (Show Details)Apr 29 2013, 7:29 PM
SaMatra edited Additional Information. (Show Details)
SaMatra set Category to Scripting.
SaMatra set Reproducibility to Always.
SaMatra set Severity to None.
SaMatra set Resolution to Fixed.
SaMatra set Legacy ID to 2362637975.May 7 2016, 1:54 PM

Issue is still not fixed, it is impossible to properly clear items from containers in MP game as of now.

Uploaded UPDATED_clearItemCargoGlobal_repro.Stratis.rar which contants repro mission with updated classnames.

Resolved according to reporter.

Mass closing resolved issues not updated since November.