Barotrauma
Item IO Framework
Показані результати 11–20 із 23
< 1  2  3 >
Оновлено: 12 квіт. 2023 о 20:27

Read server message even if it happens earlier than current message. Hopefully this can solve the multiplayer errors.

Оновлено: 10 квіт. 2023 о 8:26

Refactored much code. May have fixed the a bug in server not updating item count to clients when an update is already pending. If more reports of desync issues occur, will try to add a timer for puting back lasting items for sync.

Оновлено: 4 квіт. 2023 о 21:34

Fix harpoon guns' ammo no line attached and cannot be picked by removing that hack of setting parent container to null to signal remove item not to spawn when adding items into stacked storage. (Likely there's also a hack in vanilla?). State now stored in storage item component.

Оновлено: 3 квіт. 2023 о 8:35

Remove verbose debug logging.

Оновлено: 3 квіт. 2023 о 7:27

Fixed issue where swaping items OUT of IO box only checks for target container's allowswapping thus actually swaps items in (patched TrySwapping to check both). Reworked part of network code, client should now show correct count after update. There may still be bugs, feedback welcome.

Оновлено: 26 берез. 2023 о 23:29

Fix icon location being wrong in metal crates, etc.

Оновлено: 25 берез. 2023 о 8:15

Fix desync issues when multiplayer. Also gives signal both when spawning and despawning items in both server, client and single player.

Оновлено: 25 берез. 2023 о 6:06

Improved remove item logic (less network updates and entity spawning and despawning). Allow hiding sprite and count in dependent mods.

Saves now also stores the current item, condition and quality (though ignored in logic). Saving these may help to improve logic in the future.

Sub editor now also shows item contained and other info. Do not edit, as they will always be overwritten.

Оновлено: 22 берез. 2023 о 10:01

Fix server error and client crash while unloading level (RemoveItem is also called when game ends).
Better compatibility with old Item Box mod.
Take into account of itemcontainer's specific stacksize needs (subcontainers supported).

Оновлено: 22 берез. 2023 о 6:44

Previous update introduced wrong line of code that broke this mod on server side. Now updated.