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.67k stars 395 forks source link

Different aiming points for projectiles and turrets in multiplayer mode #14111

Closed Regalis11 closed 3 weeks ago

Regalis11 commented 3 weeks ago

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

Originally posted by **jcx1991911** June 7, 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? I built a multi-turret focus system with the new distance_out pin and it works fine in single player like this: https://github.com/FakeFishGames/Barotrauma/assets/116519004/82eb9f04-4442-469b-8a16-135e19c644fe but in multiplayer, it look like this: https://github.com/FakeFishGames/Barotrauma/assets/116519004/d55c6d62-5a64-419f-bb54-9f719e573663 You can clearly see that the left turret's shots are clearly off its angle Here's my test sub: [Sea Scorpion M3.zip](https://github.com/user-attachments/files/15741773/Sea.Scorpion.M3.zip) ### Reproduction steps 1 host a multiplayer game 2 use the sub I upload 3 mount the coligun and shoot ### Bug prevalence Happens every time I play ### Single player or multiplayer? Multiplayer hosted from the in-game menu (= using a listen server) ### - _No response_ ### Version v1.5.4.0 (unstable) ### - _No response_ ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_
Regalis11 commented 3 weeks ago

Addressed in https://github.com/FakeFishGames/Barotrauma-development/commit/e7091bd10993cdadcd371813db512cd7499fd58d by reverting the addition of the distance_out pin.