godarklight / DarkMultiPlayer

DarkMultiPlayer - A multiplayer mod for Kerbal Space Program
MIT License
280 stars 120 forks source link

Active vessel jumping and having thrust killed #424

Open 81ninja opened 7 years ago

81ninja commented 7 years ago

Description

When the game is running slowly (due to vessels with too many parts, lights, visual mods, potato PC etc), the active vessel will repeatedly have its thrusters killed and jump a bit (sometimes a lot) in its orbit. Specially noticeable when trying to dock (makes it anything from annoying to impossible).

Under the hood

TimeSyncer.StepClock() makes the vessel.GoOnRails when the game can't keep up with DMP's default mininum rate of 0.3x and the sync error amounts to 5000ms.

Possible solution(s)

a) Allow subspaces to run at rates slower than 0.3x b) Unlock slow players from subspaces and resync at a later time when the player isn't controlling a vessel