Are you playing on a Mac? If so, can you try changing line 245 (SmartTrains 0.3.81) to!Ice-Man! wrote:Same error here, but in line 250...NearlyDutch wrote:Code: Select all
Error in SmartTrains: __SmartTrains__/Train.lua:240:conversion of data to type "j" failed
Tried to load yout demosave, even there. Latest version factorio, latest version mod.
Code: Select all
 output.parameters[1]={signal={type = "virtual", name = "signal-cargowagons"}, count = 0, index = 1}Let me know if it works then, because if it does that's a Factorio bug that i'll have to report






 I guess for most Factorio players a double headed train is merely a train that can go in both directions in automated mode, no matter how many locomotices it has. So in your case you'd have to go with the option to only have a station called Refuel (which should make all trains go there). I'm gonna redo it, to account for that, TBH at the moment even a train which looks like CC-LL-CC would look for a LL-CCCC (or L-CCCC-L) station, as i'm simply counting the locomotives and don't care about order. Added as an issue, so i don't forget.
 I guess for most Factorio players a double headed train is merely a train that can go in both directions in automated mode, no matter how many locomotices it has. So in your case you'd have to go with the option to only have a station called Refuel (which should make all trains go there). I'm gonna redo it, to account for that, TBH at the moment even a train which looks like CC-LL-CC would look for a LL-CCCC (or L-CCCC-L) station, as i'm simply counting the locomotives and don't care about order. Added as an issue, so i don't forget.

 .
.