Transport Fever 2

Transport Fever 2

Zero Height Bridge
GordonDry 1 Jul, 2020 @ 7:56am
Crash - seems™ to happen with "British Girder Bridges & Viaducts"
I wanted to use the mod with one of the "British Girder Bridges & Viaducts" and used the small menu UI to scroll through the entries, as soon as I reached the "block" where all those bridge types are the game crashed.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2128272632
I also will open a discussion for this issue over there:
https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/2128272632/2569816316386948194/

This was logged just before the crash:

texture load error: file not found: res/textures/ui/bridges/bridge_up_station.tga
texture load error: file not found: res/textures/ui/bridges/bridge_up_station_hi_level.tga
texture load error: file not found: res/textures/ui/bridges/cement_es.tga
c:\build\tpf2_gog\src\lib\util\restyperep.h:149: const struct BridgeType &__cdecl ResTypeRep<struct BridgeType,int>::Get(int) const: Assertion `!m_types[iindex].name.empty()' failed.
Exception type: Lua exception

This error is usually caused by modding. Some game resources contain incorrect data.

Details:

Error message: 24

Key: game/res/gameScript/fbridge.lua_guiUpdate

Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/06c05bfc-e372-425e-9080-0eb068baeda4.dmp

In file: c:\build\tpf2_gog\src\lib\lua\state.cpp:586

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


__CRASHDB_CRASH__ struct lua::LuaException: c:\build\tpf2_gog\src\lib\lua\state.cpp:586: void __cdecl lua::State::Call(int,int): 24
Exception type: Lua exception

This error is usually caused by modding. Some game resources contain incorrect data.

Details:

Error message: 24

Key: game/res/gameScript/fbridge.lua_guiUpdate

Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/06c05bfc-e372-425e-9080-0eb068baeda4.dmp

In file: c:\build\tpf2_gog\src\lib\lua\state.cpp:586

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



Goodbye.



========================================
Shutdown at Wed Jul 1 16:33:39 2020
========================================
Last edited by GordonDry; 1 Jul, 2020 @ 8:00am
< >
Showing 1-6 of 6 comments
Kevin 19 Jul, 2020 @ 2:17am 
I had the message to remove this mod from TPF2
I am using British Girder Bridges too.
Quince99 27 Jul, 2020 @ 12:01pm 
It crashes with or without British Girder Bridges. I think the scripts need a thorough examination and rewrite to take account of the updated main game as well as possibly accommodating some of the more popular bridge mods.

EDIT: It also crashes without any other bridge mods loaded.
Last edited by Quince99; 27 Jul, 2020 @ 12:22pm
MarkFleisch 26 Jan, 2021 @ 1:16am 
Hi! How can I upload the stdout in this discussion?
MarkFleisch 2 Feb, 2021 @ 3:09pm 
It's me, once again. Sorry, I still don't know how to uplaod a file in this discussion.
But I've tried a little more. On a test map with all bridge mods I have, youur mod runs without any single problem, all is fine (ok, sometimes I needed 2 or 3 tries until a bridge was build, but that's ok).
Then I've tried again your mod on my big map, I destroyed all bridges and de-installed all bridge mods. And the game crashes again, like all times when I move the slider.
So I think, the problem is not another bridge mod, there has to be another reason.
GordonDry 5 Mar, 2021 @ 5:18pm 
I will test this out again now, after the Vulkan update.
Crossing fingers.
GordonDry 15 Apr, 2021 @ 5:28am 
Seems fixed.
< >
Showing 1-6 of 6 comments
Per page: 1530 50