bf87006bc369f11678932c616d1a4e39f75a185f
The clients delay applying the received remote state of an inventory they just put an item inside, because otherwise the inventory may revert to an old state if items are moved in rapid succession. I think the problem was that the delay was not applied to the inventory the item is _taken from_, so it was possible that the clients applied an old delayed state even though an item had just been moved out of the inventory. Another problem was that the server didn't create an event for the inventory the item was removed from, so if there were any wrong items in a client-side inventory, they would just be dropped instead of being moved back to the correct inventory.
Barotrauma
Copyright © Undertow Games 2017-2018
Before downloading the source code, please read the EULA.
Links:
Official Website: www.undertowgames.com/barotrauma
Forums: http://undertowgames.com/forum/
Wiki: http://barotrauma.gamepedia.com/Barotrauma_Wiki
Prerequisities:
Windows
- Visual Studio with C# 6.0 support (VS 2015 or later recommended)
Linux
- Mono 5.4
- MonoDevelop 6
- Note: See http://community.monogame.net/t/installing-monogame-3-6-on-linux/8811 to get this version of MonoDevelop if your distro's package distribution suite is outdated.
Description
Languages
C#
63.2%
C
26.8%
C++
5.9%
Shell
1.1%
Makefile
0.8%
Other
1.9%