Install Steam						
					
				
				
									login
											 | 
						language
						
																																					简体中文 (Simplified Chinese)
																													繁體中文 (Traditional Chinese)
																													日本語 (Japanese)
																													한국어 (Korean)
																													ไทย (Thai)
																													Български (Bulgarian)
																													Čeština (Czech)
																													Dansk (Danish)
																													Deutsch (German)
																																							Español - España (Spanish - Spain)
																													Español - Latinoamérica (Spanish - Latin America)
																													Ελληνικά (Greek)
																													Français (French)
																													Italiano (Italian)
																													Bahasa Indonesia (Indonesian)
																													Magyar (Hungarian)
																													Nederlands (Dutch)
																													Norsk (Norwegian)
																													Polski (Polish)
																													Português (Portuguese - Portugal)
																													Português - Brasil (Portuguese - Brazil)
																													Română (Romanian)
																													Русский (Russian)
																													Suomi (Finnish)
																													Svenska (Swedish)
																													Türkçe (Turkish)
																													Tiếng Việt (Vietnamese)
																													Українська (Ukrainian)
																									Report a translation problem
							
						
											

						
						





anyway all old rail mods should work perfectly without the adapter.
"...
Details:
Error message: error: [string "C:/Program Files (x86)/Steam/steamapps/worksh..."]:712: attempt to index global 'commonapi' (a nil value)
stack traceback:
=[C](-1): __index
C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1947635847/res/construction/station/rail/modular_station/modular_station.con(712): ?
@res/config/base_config.lua(41): ?
File name: C:/Program Files (x86)/Steam/steamapps/workshop/content/1066780/1947635847/res/construction/station/rail/modular_station/modular_station.con
Key: game/config/ConstructWithModules
Minidump: C:/Program Files (x86)/Steam/userdata/909604929/1066780/local/crash_dump/55320111-7eda-422c-be78-0a337aa21dce.dmp
Mod: "CommonAPI2 - Modular rail station adapter" (*1947635847, 1) (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)"
Some other station mod replaces trainstationutil.script with an older version.
Please test the adapter on a new map without other station mods, then it should still work
Exception type: Lua exception
This error is usually caused by modding. Some game resources contain incorrect data.
Details:
Error message: error: [string "res/construction/station/rail/modular_station..."]:9: attempt to call field 'findOrMakeNewEdgeListNum' (a nil value)
stack traceback:
=[C](-1): findOrMakeNewEdgeListNum
res/construction/station/rail/modular_station/trackmodule.script(9): tab
@res/config/base_config.lua(88): ?
File name: D:/steam/steamapps/workshop/content/1066780/1947635847/res/construction/station/rail/modular_station/modular_station.con
Key: game/config/ConstructWithModules
Minidump: C:/Program Files (x86)/Steam/userdata/1032230213/1066780/local/crash_dump/8bd9053c-60b8-42d0-8dba-7bf4d634cecc.dmp
Mod: "CommonAPI2 - Modular rail station adapter" (consider removing this mod and contacting the mod author)
In file: c:\build\tpf2_steam\src\lib\lua\state.cpp:586
In function: void __cdecl lua::State::Call(int,int)
"
add mod track error
stack traceback:
=[C](-1): __index
__CRASHDB_CRASH__ struct lua::LuaException: c:\build\tpf2_steam\src\lib\lua\state.cpp:586: void __cdecl lua::State::Call(int,int): error: [string "D:/steam/steamapps/workshop/content/1066780/1..."]:618: attempt to index global 'commonapi' (a nil value)
stack traceback:
=[C](-1): __index
crash when electrified tools are used at stations
stack traceback:
...066780/1947572332/res/scripts/commonapi2\uiparameter.lua:455: in function <...066780/1947572332/res/scripts/commonapi2\uiparameter.lua:443>
(...tail calls...)
[string "C:/Program Files (x86)/Steam/steamapps/worksh..."]:72: in function 'makeParams'
[string "C:/Program Files (x86)/Steam/steamapps/worksh..."]:102: in function <[string "C:/Program Files (x86)/Steam/steamapps/worksh..."]:86>