-
Notifications
You must be signed in to change notification settings - Fork 0
Description
This affects any situation in multiplayer where a ship (NPC or player) is already spawned out of 'sight' of your client (who is outside of the range within the same system or outside the system outright). The client will not reflect the status of the cruise engine of the ship properly once it comes into range and its information is sent to the client, rendering it as inactive continuously, until the cruise engine is (interrupted and) started up (again).
This might be the exact same issue that affects the shield status of a target as well. Unless something such as damage being dealt to the shield creates an update packet to the client, the ship upon coming into 'view' of the client will show full shields as long as a shield bar exists (i.e. a shield generator is equipped) regardless whether it is fully charged or not. This is very easily noticible/reproducible if the shield has 0 or close-to-0 regeneration rate, by shooting the shield and then re-entering space (via dock or F1), which returns the shield from your client's perspective to full capacity until it takes damage again and it abruptly updates to its proper value.
According to a comment from Aingar, the shield status does get sent to the client in the packet that sends the ship info, however it may fail to get applied to the shield by the client as the equipment of the ship (including shield generators and engines) is not initialized when it tries. If this is true, then I would suspect that the cruise engine state is affected by the same issue.
Reproduction steps:
- Have 2 clients (player 1, 2) connected to the same server.
- Have player 1 and player 2 meet in the same area of space.
- Have player 1 engage cruise engines and keep them engaged (and fly circles to stay near player 2, preferably).
- Have player 2 use F1 or a nearby docking ring/station to leave space and re-enter it.
- Player 2 will observe player 1 flying at cruise speeds without the cruise engine visual and sound effects.