Space Engineers

Space Engineers

[Fixed] rearth's Advanced Combat Systems
Rodzyn 11. juni 2018 kl. 10:17
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
< >
Viser 1-4 af 4 kommentarer
rearth  [udvikler] 12. juni 2018 kl. 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.
JoeSheridan 12. juni 2018 kl. 11:47 
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.
Rodzyn 12. juni 2018 kl. 14:31 
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. juni 2018 kl. 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.
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50