Re: [MOD 0.12.12+] SmartTrains 0.3.75
Posted: Mon Mar 21, 2016 12:28 pm
If you look at a train stop or a trains schedule, there is a button "ST-Settings", click it and change "Interval for signals" to 12. No need to be code-savvy 

Don't know if it's still relevant as I only just sat down on my PC and the post is already a bit older, but the save is attached, if only for future reference (assuming I can upload the ~6MB here). As the name implies, this is a save where I'd already done a reset of ST and re-added the schedules/lines.Choumiko wrote:I'd like a save, as the ones i tried take the same time, whether it's version 3.73, 3.74 or 3.75
For me its down to ~2.6 (~0.4 for 12 tick interval) on a Phenom II X6 1055TCreat wrote:Update-Time for ST is down significantly after updating to 0.3.76. Without changing the "Interval for Signals" to 12 (leaving them at 2) ST needs about 3.8ms for the update. After changing it it drops to ~0.4 on my machine.
I might "feel" this issue more strongly than other people, because the single-threaded performance of my CPU is relatively weak (AMD FX-6100 wth 6 cores, but each core is slow). So if you have an Core-i5 or similar, you're single-threaded performance will be about double (at the very least).
That's how it should work: Trains first look for the correct refuel station (e.g. Refuel LL-CCCC-LL), if it doesn't exist they go to Refuel.steinio wrote:Hello,
is it possible to just name the refuel station 'Refuel' so all trains independent from their setup could refuel there?
Otherwise anybody needs a lot of refuel stations for their setups...
L-C
L-CC
L-CCC
L-L
L-C-L
L-CC-L
L-CCC-L
LL-LL
LL-C-LL
LL-CC-LL...![]()
Greetings steinio
Yes, that's intentional, and the signal doesn't come from the buffer chests but from the base. The signal means "Depot still has stuff, no reason to bring more", so it's meant to nullify the "green" signal. The train only leaves when it's full and the depot actually needs the stuff (same or similar with all other stops in that map). That's why there's green wire running along the track, telling me a (normalized) value of how much is in the base. Thanks thoughChoumiko wrote:Btw, i noticed an issue with your circuit setup at station Iron E1, the train is full but doesn't leave. The -1 green signal from the buffer chests nullifies the +1 from the full cargo wagons
Oh ok, haven't followed the wires too closely.. But wouldn't it be basically the same if your trains only leave the unloading station/depot once they are empty or the depot has < X stuff? I guess your setup halves the time until resupply arrives at the cost of long wiresCreat wrote:Yes, that's intentional, and the signal doesn't come from the buffer chests but from the base. The signal means "Depot still has stuff, no reason to bring more", so it's meant to nullify the "green" signal. The train only leaves when it's full and the depot actually needs the stuff (same or similar with all other stops in that map). That's why there's green wire running along the track, telling me a (normalized) value of how much is in the base. Thanks though
Yes and no: but since I only have one unloading station, and I have one train per outpost, they won't ever cause congestion that may or may not block something else. They are basically parked at their own station that nobody else uses. This way I'm sure trains are only coming if they're needed and can unload so they don't clog up the depot or main line.Choumiko wrote:Oh ok, haven't followed the wires too closely.. But wouldn't it be basically the same if your trains only leave the unloading station/depot once they are empty or the depot has < X stuff? I guess your setup halves the time until resupply arrives at the cost of long wiresCreat wrote:Yes, that's intentional, and the signal doesn't come from the buffer chests but from the base. The signal means "Depot still has stuff, no reason to bring more", so it's meant to nullify the "green" signal. The train only leaves when it's full and the depot actually needs the stuff (same or similar with all other stops in that map). That's why there's green wire running along the track, telling me a (normalized) value of how much is in the base. Thanks though
Holy crap, that was it!!! Please don't hate me for being retardedChoumiko wrote:Did you set a condition for the lamp? (Green Signal > 0 should do) Only then SmartTrains knows which signal to actually check and when the Signal is valid ( Lamp is on -> train is good to go.
Haha, no worriesMainTango wrote:Holy crap, that was it!!! Please don't hate me for being retardedThanks a bunch for helping out and for sharing your wonderful work
I think i figured it out actually if you open the train GUI it actually removes the station if i just sit and watch the train without touching anything it works but if i check to see if the station is there it removes itself.dylloop wrote:Im having a little trouble with refueling I have a station named Refuel L-CCCC-L but my trains keep running out of fuel. so i followed a train with just above minimum amount and it isnt adding the station at all.
If i check the refuel box that is to the right of marked it will go to the next station add the refueling and then instantly take it away. so again it never gets refueled? any help?
It seems like a bug to me because whenever the train stops at a station it the game freezes for a second then it adds refueling to the line but once it goes to take off game freezes for a second again the never goes anywhere until i open up train GUI and see that there is no refuel and the train stopped itself. so i restart and it does the same thing.
The freezing for a second sounds a little worrying. Is it really a second?dylloop wrote:If i check the refuel box that is to the right of marked it will go to the next station add the refueling and then instantly take it away. so again it never gets refueled? any help?
It seems like a bug to me because whenever the train stops at a station it the game freezes for a second then it adds refueling to the line but once it goes to take off game freezes for a second again the never goes anywhere until i open up train GUI and see that there is no refuel and the train stopped itself. so i restart and it does the same thing.
Yes, when you close the gui of a train that is assigned to a line, it resets it's schedule, appareantly i should check if it needs refueling then also.dylloop wrote: I think i figured it out actually if you open the train GUI it actually removes the station if i just sit and watch the train without touching anything it works but if i check to see if the station is there it removes itself.