FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.76k stars 406 forks source link

In a network game, Bots clean up a stack of items marked as untouchable. #14429

Open Regalis11 opened 2 months ago

Regalis11 commented 2 months ago

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14427

Originally posted by **pavel4win** August 12, 2024 ### Disclaimers - [X] I have searched the issue tracker to check if the issue has already been reported. - [ ] My issue happened while using mods. ### What happened? If you mark a stack of items as untouchable by the bots. And then throw this stack on the floor. And then give to any bot the order to clean up the boat. Bot will clean up the stack of items in the closet. If you mark a stack of items as untouchable by the bots. And then you split the stack and throw the items on the floor one by one. Then the bots will not clean up the items. Is this a bug or a feature? ### Reproduction steps I tested this with many different items. For example, stack of saline, iron, fruit. 1. Start multiplayer game with bots. 2. mark any stack of items as untouchable by the bots. 3. Then throw this stack on the floor. 4. And give to any bot the order to clean up the boat. 5. Bot will clean up the stack of items in the closet. But: If you mark a stack of items as untouchable by the bots. And then you split the stack and throw the items on the floor one by one. Then the bots will not clean up the items. It is important that the items do not fall in one place, you need to take a step after each drop. Otherwise, it will clean up all or almost all the items. ### Bug prevalence Happens every time I play ### Single player or multiplayer? Multiplayer hosted using a dedicated server ### - _No response_ ### Version v1.5.9.1 (Summer Update Hotfix 2) ### - _No response_ ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_
Regalis11 commented 2 months ago

Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/5f1c21051216acee042ea5d09bec740da1c3d1fb