Transport Fever 2

Transport Fever 2

Auto Parallel Tracks
compatibility with Freestyle train station
hello, thanks for the great mod

I use it extensively as well as Freestyle train station https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2363493916.
But when I lay down plateforms (they are a form of rail), with parallelism enabled, I get this crash:

Error message: error: [string "D:/Steam/steamapps/workshop/content/1066780/2..."]:174: Invalid entity
stack traceback:
=[C](-1): ?
=[C](-1): getComponent
D:/Steam/steamapps/workshop/content/1066780/2138212041/res/config/game_script/ptracks.lua(174): buildParallel
D:/Steam/steamapps/workshop/content/1066780/2138212041/res/config/game_script/ptracks.lua(272): ?


File name: D:/Steam/steamapps/workshop/content/1066780/2138212041/res/config/game_script/ptracks.lua

Key: game/res/gameScript/ptracks.lua_handleEvent

Minidump: C:/Program Files (x86)/Steam/userdata/123456789/1066780/local/crash_dump/f6b83c90-4f00-4a97-8e03-ecb63e631a31.dmp

Mod: "Auto Parallel Tracks" (consider removing this mod and contacting the mod author)

In file: ..\..\src\Lib\lua\State.cpp:592

In function: void __cdecl lua::State::Call(int,int)


I do not intend using parallism with laying down plateforms (although it would be very convenient considering the way the mod operates).
It would be very nice to at least catch the exception, then preventing the game from crashing.


Other than that, I understand that it is not working when crossing road or other railway, or not enough space on the side the track is to be added.
But it ofen does not work at the first time, just like a short circuit ;). cannot figure out why.
< >
Showing 1-1 of 1 comments
GordonDry 20 Jun, 2021 @ 9:18am 
@Enzojs
I just had the same issue - sometimes you just forget to toggle the auto parallel mode off.
I suggest that the mod gets a blacklist and does not apply on certain track types.
< >
Showing 1-1 of 1 comments
Per page: 1530 50