When I log out, then back in, alot of my Rails have disconnected from their Storage. Multiple rails connected to one storage block. Sometimes disconnects when logging out-then in, not always. Cant find the pattern
Description
Details
- Commits
- Restricted Diffusion Commit
Restricted Diffusion Commit
Restricted Diffusion Commit - Task Type
- Bug
- Affected Gamemode(s)
- Multiplayer
- Reproducible
- Yes
- Last tested (version)
- 199.625
- Category
- Control Block System: Rails/Docking
- First occurrence (version)
- 199.535a
- OS-Specific
- No
- Hardware-Specific
- No
- Video Card Vendor
- uncertain
- Username on Registry
- 5ilence
- create ship/station
- have a few rail basics on it
- link some rail basics to storage chest
- do create docking on any rail block
-> All rail + storage links should be gone
- relink them, and do create docking again
- links are still fine
-QA Testing-
Partially fixed.
The first time you dock something to a newly loaded structure, it will have its rail + storage links removed.
After relinking though, I'm unable to reproduce it again by docking to it. This false positive only happens once then I imagine?
Adjust steps to reproduce.
java.lang.Exception: WARNING: Irregular block connected to rail speed: (29, 66, 27)[Storage]o[FRONT][active][50hp][BLOCK]; Removing Connection at org.schema.game.common.controller.elements.rail.speed.RailSpeedCollectionManager.checkAllConnections(RailSpeedCollectionManager.java:97) at org.schema.game.common.controller.elements.rail.speed.RailSpeedElementManager.getRailSpeedForTrack(RailSpeedElementManager.java:53) at org.schema.game.common.controller.rails.RailController.handleRailAutoMovementDecision(RailController.java:1195) at org.schema.game.common.controller.rails.RailController.update(RailController.java:890) at org.schema.game.common.controller.SegmentController.updateLocal(SegmentController.java:2765) at org.schema.game.common.controller.SendableSegmentController.updateLocal(SendableSegmentController.java:404) at org.schema.game.common.controller.EditableSendableSegmentController.updateLocal(EditableSendableSegmentController.java:1093) at org.schema.game.common.controller.Ship.updateLocal(Ship.java:493) at org.schema.game.server.controller.GameServerController.update(GameServerController.java:1366) at org.schema.schine.network.server.ServerController.run(ServerController.java:275) at java.lang.Thread.run(Thread.java:745)
Related Objects
Event Timeline
-Feedback-
Sounds like you're experiencing some form of T2323? In your steps to reproduce you do not mention logic to switch rail connections but I cannot reproduce it with those steps.
Thanks for having a look lancake - Id previously thought it was that issue, so I tested it myself (the first time it happened was on a fleet miner carrier), but I couldnt reproduce it like that either.
It really does seem to happen intermittently, but more often than not. When there are multiple Rails linked to one Store,, Ive found that one will be left connected when the others fall off. Not sure if this is a clue.
Just logged back into the multiplayer server and all Rails have lost their links to all Stores on my station, and on all ships docked to my station. So contrary to what I previously witnessed, its not a couple of Rails, its all of them
Thank you for the extra information! It seems if a rail is also being used, it will cause some sort of false positive with invalid links and removes them. Not immediately though but after a restart or unloading/loading the client, they should definitely be gone.
Could also be related to T2323 since both issues are overlapping a bit.
Putting in queue.
The false positive causing it
java.lang.Exception: WARNING: Irregular block connected to rail speed: (21, 17, 10)[Storage]o[FRONT][active][50hp][BLOCK]; Removing Connection at org.schema.game.common.controller.elements.rail.speed.RailSpeedCollectionManager.checkAllConnections(RailSpeedCollectionManager.java:97) at org.schema.game.common.controller.elements.rail.speed.RailSpeedElementManager.getRailSpeedForTrack(RailSpeedElementManager.java:53) at org.schema.game.common.controller.rails.RailController.handleRailAutoMovementDecision(RailController.java:1196) at org.schema.game.common.controller.rails.RailController.update(RailController.java:890) at org.schema.game.common.controller.SegmentController.updateLocal(SegmentController.java:2732) at org.schema.game.common.controller.SendableSegmentController.updateLocal(SendableSegmentController.java:403) at org.schema.game.common.controller.EditableSendableSegmentController.updateLocal(EditableSendableSegmentController.java:1168) at org.schema.game.common.controller.Ship.updateLocal(Ship.java:493) at org.schema.game.server.controller.GameServerController.update(GameServerController.java:1366) at org.schema.schine.network.server.ServerController.run(ServerController.java:275) at java.lang.Thread.run(Thread.java:745)
Awesome lancake, glad you could find the cause here! Note: I incorrectly explained the 'steps to reproduce' in the origainal task, line 4 should read 'C the Rail, and V the storage'. Always get that mixed up haha
-QA Testing-
Partially fixed.
The first time you dock something to a newly loaded structure, it will have its rail + storage links removed.
After relinking though, I'm unable to reproduce it again by docking to it. This false positive only happens once then I imagine?
Adjust steps to reproduce.
java.lang.Exception: WARNING: Irregular block connected to rail speed: (29, 66, 27)[Storage]o[FRONT][active][50hp][BLOCK]; Removing Connection at org.schema.game.common.controller.elements.rail.speed.RailSpeedCollectionManager.checkAllConnections(RailSpeedCollectionManager.java:97) at org.schema.game.common.controller.elements.rail.speed.RailSpeedElementManager.getRailSpeedForTrack(RailSpeedElementManager.java:53) at org.schema.game.common.controller.rails.RailController.handleRailAutoMovementDecision(RailController.java:1195) at org.schema.game.common.controller.rails.RailController.update(RailController.java:890) at org.schema.game.common.controller.SegmentController.updateLocal(SegmentController.java:2765) at org.schema.game.common.controller.SendableSegmentController.updateLocal(SendableSegmentController.java:404) at org.schema.game.common.controller.EditableSendableSegmentController.updateLocal(EditableSendableSegmentController.java:1093) at org.schema.game.common.controller.Ship.updateLocal(Ship.java:493) at org.schema.game.server.controller.GameServerController.update(GameServerController.java:1366) at org.schema.schine.network.server.ServerController.run(ServerController.java:275) at java.lang.Thread.run(Thread.java:745)