DI Transportation Trains just randomly get stuck
When using the DI Locomotives the trains will periodically just get stuck.
This seems to happen if a train gets signal stopped at an incline, decline, or if it stops incorrectly when trying to dock (either too far forward or too far back)
This can only be fixed manually and requires me to move the train either forward or backward along the track a little.
(This doesn't happen with the vanilla locomotives)
(This is also separate to the path signal bug which at least doesn't halt the system)
17 Replies
@Darkplate
here is an example where it looks like it stopped around 2m ahead of the station to dock and now it won't pathfind to fix itself and its just stuck indefinitely
we have confirmed this was caused on slow computers and dedicated servers where there is not enough power to calculate the stop and the train go past the signal into a block that another train is in and crashes the vanilla scheduler. place that map on a fast PC and the same issue dissapears. This is solved only by a faster PC. Sorry
This has been confirmed this is not a bug because it is repeatable only on low end computers/servers
never thought I'd hear a r7 5800x is a slow pc but ig it is what it is
thank you for the information
trains are more CPU and RAM then GPU
That's certainly a decent CPU https://www.cpubenchmark.net/cpu.php?cpu=AMD+Ryzen+7+5800X&id=3869
We have confirmed when train does not stop at signs it is on a slow PC with lack of CPU or Ram or on certin dedicated servers that they limit the ram to it and that causes it to lag. We moved the same map to a normal pc not limited and the train over the signal does not happen. you may have to place extra signals after the station so it can room to bounce out then roll back. This is a vanilla signals and train system. Only model, speed and breaks was adjusted. Those trains can stop on a dime do to the high breaking they have to counter the speed. As I said this is repeatable and if you do not believe me. you can send me the map and mod loaded and i will show it will work fine on my pc every time. My CPU never hits over 30% nor does my ram and never had issues.
My PC Specs: AMD Ryzen 9 7950X 16-Core Processor 4.50 GHz, 96GB DDR5 RAM, 4GB SSD with a 8GB+ Throughput, and an AMD Radeon RX 7900 XTX 24GB and this runs with no issues and no bounce back on train stopping.
ok so why
good code shouldn't run into this
it is vanilla code
only variables changed not code
code is Coffee Stains Studios
ah, I think I see
only mesh was changed, speed, automated max, and break adjustments was done
I only work with vanilla and tweak as needed
Possibly something to report to CSS then, if this technically could also happen in vanilla
I avoid all C++ code breakage on major updates that way
that is why their trains do not go up to those speeds
on fast PC that can keep up they are not an issue. I only got report on a small amount of slower computers running high everything that could not keep up, or dedicated server that was limited to a max Ram. I have also seen one that was a glass world that was lagging already that caused it. When we placed that same map on a top of the line PC they mostly all stopped except for that glass one
This is one reason my trains starts off slow so the signals will not crash. When signals crash all trains stops even the vanilla ones
you can move any one train slightly forward then place back in auto and they all start
this is where the scheduler cannot keep up with the trains
I do have a WIP i could never release that can travel the map in 3 sec but it would crash the scheduler after about 16 min of running
Since vanilla ones will only travel max at half speed automated, the vanilla ones would never hit that issue.
I cannot crank up the brakes more for slow PC or the train will no longer move.
BTW r7 5800x is a AM4 Socket using DDR4. There is a huge difference to a DDR5 motherboard
You can have the top of the line PCIe 4 Video card on that machine but it will only run at maybe 4GB/s on a PCIe 3.x bus speeds due to motherboard bottlenecking
I guess you should state that your mods can only be played on high-end PCs
If you have ray tracing on as well for the dynamic lighting will also effect the gameplay
if the train if stopping after the train signs and pulling back then yes
a dedicated server can also do that to a high end pc because the train motion is based on host PC
I seen some mid range for it to work as well
i seen it work on low end but you have to adjust graphics and the amount of objects it has to calculate round you
you want to avoid like mega factories or placing where there is lots of glass because that will cause game lag and train calculations are not a satisfactory priority on CPU calculations
I have no control nor do i want to control how other create their factories or video quality they want to play at. For the majority using the trains, they work with no issues. You can watch them in the VChat all the time cause they are showing them off to me with the build.
your always welcome to join and watch
yea my pc is:
r7 5800x
3070 ti
32gb 3600mt/s cl16 ddr4 ram
2tb sabrent rocket 4+
and I already finished 1.0 on vanilla using a spread out base and wanted to try a modded mega base but even after placing down only the train stations I was only getting ~50fps with 25% cpu usage so it is very much just a (in my opinion) poorly optimized game when I compare it to heavily modded minecraft or factorio. I decided to just put it on hiatus until css optimizes or we get optimization mods or I upgrade my pc
the modding will all change once CSS adds modding API for direct modifications. It will allow us to do so much more
if they add it