Page MenuHomeFeedback Tracker

Custom ammoboxes are clientside
Closed, ResolvedPublic

Description

When a script is put in to change the contents of an ammobox, they don't appear for other players other than the host. {F23513}

Details

Legacy ID
698204691
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Put in two playable units and an ammobox.
On the ammobox initialization type gear = [this] execVM "ammobox.sqf";
Put the ammobox.sqf file (below) into documents associated with the mission.
Get a friend and see if he sees the modified contents.

Event Timeline

Joker303 edited Steps To Reproduce. (Show Details)Mar 20 2014, 4:24 AM
Joker303 edited Additional Information. (Show Details)
Joker303 set Category to Scripting.
Joker303 set Reproducibility to Always.
Joker303 set Severity to None.
Joker303 set Resolution to Fixed.
Joker303 set Legacy ID to 698204691.May 7 2016, 6:13 PM
Joker303 added a subscriber: Joker303.

It's worth noting that I think, though not sure, it started happening after the update with the new tank. It worked fine before that.

sms added a subscriber: sms.May 7 2016, 6:13 PM
sms added a comment.Jun 25 2014, 7:00 PM

Change all *Cargo commands to *CargoGlobal.

See sms's comment. There are cargo related scripting commands which should work globally. They should be used in this case. Could you please change it in your script and let us know, if it is working as intended after this fix? Thanks!

DarkDruid, thanks for the response, I did figure out that it was cargoGlobal a couple months back. It works fine now, but it was quite the change after all those years.

Thanks for the feedback! Marking as resolved.

MadDogX added a subscriber: MadDogX.May 7 2016, 6:13 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.