Page MenuHomeSchine - Phabricator

Starmade | rail entities clip through each other and get stuck
Closed, FinishedPublic

Description

Rail Dockers on a Rail Basic don't identify the location on the rail they are on if it has more than 6 dockers on a single rail Though No collision is detected and they merge into one, as shown in the pictures (This was tested also on the Stable Release) I know it was never mean't to hold more than 1 or so on a single rail but Heck aren't we supposed to kill any bugs?

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.199.223
Category
Control Block System: Rails/Docking
First occurrence (version)
0.19556
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

Make a long 1 long 2 wide in a loop with at least 20 or more,
Create multiple ships with only ship core and Rail Docker and Dock them all to the Rail you made earlier, leaving only 1 space left in the loop,
After a few seconds ship cores will merge into each other, And will sometimes go the opposite direction of the rail it's on.

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

astra.destiny changed Category from none/unspecified to Control Block System: Rails/Docking.
astra.destiny edited Serverconfig (server.cfg). (Show Details)
astra.destiny edited Clientconfig (settings.cfg). (Show Details)
astra.destiny changed Reproducible from uncertain to Yes.
astra.destiny edited Steps to reproduce. (Show Details)
astra.destiny added a subscriber: astra.destiny.
astra.destiny created this task.
Restricted Application added a project: Issue Navigation. · View Herald TranscriptFeb 16 2016, 12:24 AM
lancake claimed this task.

-Validated-

It's intended for multiple entities to go on the same rail, otherwise the game would not allow you to do it.
What you have is usually caused immediately after loading a sector, we used to have that but it appeared fixed (was tested for 13 ship cores going in a small circle).

lancake shifted this object from the S1 Public space to the S3 Starmade space.Feb 20 2016, 6:51 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake set Task Type to Bug.
lancake set First occurrence (version) to 0.19556.
lancake set OS-Specific to No.
lancake set Hardware-Specific to No.
lancake set Video Card Vendor to uncertain.
lancake set Affected Gamemode(s) to Single and Multi.
lancake set Last tested (version) to 0.19556.
lancake renamed this task from Docked Entity's Fail on Rail Movement to rail entities clip through each other and get stuck.
lancake triaged this task as Low priority.
AndyP added a subscriber: AndyP.Mar 5 2016, 9:46 PM

I am pretty sure this is related to "late sync".
If physics go to a certain stress level from one entity, the causing entities get the physics disabled. (To prevent overloading the cpu of the server and have a too bug negative effect on the other players.)

Also rails get update cycles.
So if y rail is 1 block before the corner, and for a physics lag, the block went into the corner and a bit to the other direction already, it will go diagonal to the new position to allow the client to get back in sync and not just become lagging behind.

Anyway, on this amount ot stress they will get points to run into each other, and with 20 that tight packed docks 19 of them are permanently in collision and returning to last, as target is occupied, if the return to last even got occupied just in the moment they tried to advance it will for sure turn into a time consuming collision.
I am not sure, if we just need a "retry delay" after a collision thats high enough to prevent players from running stuff into each other. (Usually you would use 1 thing on a rail or do a proper segmented track flow control. To avoid collisions.

lancake changed the task status from Open to Resolved.Sep 20 2016, 2:13 PM

Was fixed a while ago. You can still have it play "catch up" when you alt tab or your client is having issues. But it never gets stuck, the server keeps moving and stopping them correctly.

Restricted Application edited projects, added Starmade, Quality Assurance; removed Issue Navigation. · View Herald TranscriptSep 20 2016, 2:13 PM
lancake changed Last tested (version) from 0.19556 to 0.199.223.Sep 20 2016, 2:14 PM
lancake moved this task from Backlog / Unclassed to Confirmed fix on the Quality Assurance board.

-QA testing-

Fix confirmed.

lancake moved this task from Unclassed to Archived on the Starmade board.Sep 20 2016, 2:14 PM
lancake closed this task as Closed.
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptSep 20 2016, 2:14 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
Restricted Application added a project: CBS: Rails. · View Herald TranscriptMar 10 2017, 6:17 PM