Space Engineers

Space Engineers

[Fixed] rearth's Advanced Combat Systems
Dedicated Server fix
I fiddle around with script in this mod trying to fix the issue on Dedicated server where all players would be in control when someone's on the control seat. I have absolutely no experience in ModAPI, only a bit of experience writing simple scripts for programmable blocks, I actually had to learn basics of using ModAPI to fix this so it might not be done by the book but seems to work from tests I've done so far with my friend on DS.

All I had to do was add another set of conditions that would cause UpdateBeforeSimulation return early. https://pastebin.com/5pWZcZVn
< >
Zobrazeno 14 z 4 komentářů
rearth  [vývojář] 12. čvn. 2018 v 11.36 
I just added your code, but i did not have any chance to test it on a DS jet, let me know if it works. If it does thank you a lot.
I hope this will work. The mod would be perfect in multiplayer. Becaus ist was not, i had to build versions of some ships without it. I hope i can change this back soon.
My friend and I just hopped on our server after the update and it worked as intended. Done only quick test but in the past the problem was obvious and happened every single time so we'd notice already.
Art 23. čvn. 2018 v 0.39 
The Turrets do work on dedicated, also with other Turrets from Mods, but from time to time we receive a warning in SE that this MOD is slowing down the Game.

Also the Guided Missiles seem not to work, nothing happens except of the message that the Missile has fired.
< >
Zobrazeno 14 z 4 komentářů
Na stránku: 1530 50