Page MenuHomeFeedback Tracker

SetUnitloadout Item data not transferred to server during disconnect event handler
New, NormalPublic

Description

Items in Uniform, Vest and Backpack are not transferred to server during disconnect in multiplayer, all other items appear to be transferred correctly.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

SetUnitLoadout of player. (executed on the client)

Disconnect from Dedicated Server

Reconnect and check loadout of dead body. nothing will be in Uniform, Vest or Backpack.

Additional Information

Please close this.

Event Timeline

Note: Anything you add in by inventory pickup appears to be retained (ie stuff in your uniform, vest and backpack that you have picked up or loaded in separately from setunitloadout command)

Just tested this on dedicated. Everything is kept in the inventory of the dead body. Are you testing this on dev or stable? Could you provide repro mission?

Stable. I will try and get a simple mission together showing the issue.

So to be clear.

InitPlayerlocal.sqf. player setunitloadout "something"

disconnect, player body falls to ground, data of players old body is sent to server

disconnect entirely from server

reconnect in same or different slot, initplayerlocal.sqf will load same loadout.

Go to body, no items in Uniform, vest, backpack.

I will also make a video if i find the time and put it on youtube.

Could you try this on DEV? It might be already fixed, you would be just wasting your time with stable.

rgr will try today.

Ok, I can verifiy this has been fixed in the current DEV build. Please close this ticket. Thnx for your help KK, should of checked this first before posting. I got the Game Tool DEV thing working now so i can switch between both easily now.

ozdeadmeat edited Additional Information. (Show Details)Jan 2 2018, 11:26 PM