Transport Fever 2

Transport Fever 2

RTPC+: Bridges over Rivers
59 Comments
hirofumi_sa 11 May, 2023 @ 11:51pm 
When I used this mod, it crashed and when I looked it up, this mod was the cause.

[RESOURCE ERROR] Referenced model not found: 'asset/railing_banS.mdl' in 'SHBR S 2+2.lua (key: name)'
[RESOURCE ERROR] Referenced material not found: 'street/country_new_medium_paving2.mtl' in 'SHBR S 2+2.lua (key: streetPaving)'
[RESOURCE ERROR] Referenced material not found: 'street/default_arrows2.mtl' in 'SHBR S 2+2.lua (key: streetArrow)'
[RESOURCE ERROR] Referenced material not found: 'street/new_large_median2.mtl' in 'SHBR S 2+2.lua (key: streetStripeMedian)'
[RESOURCE ERROR] Referenced material not found: 'street/country_new_medium_paving2.mtl' in 'SHBR S R 2+2.lua (key: streetPaving)'
[RESOURCE ERROR] Referenced material not found: 'street/default_arrows2.mtl' in 'SHBR S R 2+2.lua (key: streetArrow)'
[RESOURCE ERROR] Referenced material not found: 'street/new_large_median2.mtl' in 'SHBR S R 2+2.lua (key: streetStripeMedian)'
QQxiaoshui-2  [author] 24 May, 2020 @ 8:31pm 
@Myoten Thank you for your reply. It's a common problem during the creation of a bridge mod but I don't understand why it not happen to all the players. I'll try to figure it out though I don't have high hopes... Thx again!
Myoten 24 May, 2020 @ 12:31pm 
Thanks for your reply, I understand that it is not easy to fix a problem that you don't have. I verified installation files and tried reinstalling the mod, which didn't help. Pre-building a vanilla bridge then selecting one of the moded bridge causes a crash wtih error message for bridgeutil.lua getMaxSize function, which returns "?" value causing crash. Trying to put down a road from the mod assets causes instant crash with no error message. It may be the road / road size that cause the bug? I don't know if I can help any further. Thanks for your patience and your dedication!
QQxiaoshui-2  [author] 22 May, 2020 @ 8:56pm 
@Myoten I‘m so sorry for that but since I can use it sucessfully in a new map without other mod I really don't know what's happened...
Myoten 22 May, 2020 @ 11:17am 
I tried running a new map with only this mod active and I still get the crash + lua error message.
Canadian_67 6 May, 2020 @ 7:03pm 
oh my so sorry lol i only have 74 hours in the game thank you
QQxiaoshui-2  [author] 6 May, 2020 @ 7:03pm 
I've wrote such codes for them "yearFrom = 0, yearTo = 0," so I suppose they should appear at first or u just enable "all available from 1850" and try again...
QQxiaoshui-2  [author] 6 May, 2020 @ 7:01pm 
@ACanadianRailfan check your waypoint menu plz. Cables and pillars of cable-stayed bridges are waypoints so u can plop them everywhere u want on your bridges.
Canadian_67 6 May, 2020 @ 4:03pm 
1 more question, when do i unlock the first suspension bridge? just wondering
Canadian_67 5 May, 2020 @ 8:23pm 
aww ok, ill just have to ignore the other chinese roads
QQxiaoshui-2  [author] 5 May, 2020 @ 7:46pm 
@ACanadianRailfan Yep.
Canadian_67 5 May, 2020 @ 2:07pm 
question, i only want to use this mod for suspension bridges without the chinese touch, so do i have to enable the chinese road pack if i want to use this mod?
QQxiaoshui-2  [author] 26 Apr, 2020 @ 6:20am 
@ylij174 Some bugs ware found. I've just fixed them
ylij174 26 Apr, 2020 @ 6:16am 
QQxiaoshui-2 where did the mod go from shanghai metro? was today ....
Norbert Noscope 24 Apr, 2020 @ 9:56am 
works absolutely fine Thanks!!!!!
Cruiser270 24 Apr, 2020 @ 9:00am 
It would certainly be a nice sight if trains could also use this bridge.
토마토 재배기 24 Apr, 2020 @ 4:36am 
Another amazing mod!!! Thank you so much!!! :tinder:
QQxiaoshui-2  [author] 24 Apr, 2020 @ 4:05am 
@joschiblue yeah I'll try it thx
joschiblue 24 Apr, 2020 @ 3:27am 
I looked at your files. You use capital letters in your various files. If I am correct, TPF2 uses only lower case letters. In addition, the separation between the letters is incorrect.
They should look like this:
shbr_b.lua, hulanblue.mtl, bridgemp.mdl, railing_sider.mdl, hulanblue.tga and so far.
You know, what i mean?
QQxiaoshui-2  [author] 24 Apr, 2020 @ 2:45am 
@Whited and @joschiblue Thx! The reason why it sometimes may still cause crash when the required mod is enabled haven't been figured out at present. Any information may be important so thank you again.
QQxiaoshui-2  [author] 24 Apr, 2020 @ 2:40am 
@Klotzfisch Till now most of my volunteers told me nothing happened so we guess this may caused by conflict between mods. Those who have to face this crash cannot tell me what will cause the crash but I'll keep working on it and try to fix this problem.
joschiblue 24 Apr, 2020 @ 2:38am 
Get the same crash info like Klotzfisch.
Whited 24 Apr, 2020 @ 2:38am 
Can't launch a map:

Configuration error:
Key : type
invalid material error type: NONE
Klotzfisch 24 Apr, 2020 @ 2:28am 
Still crashes with LUA message when selecting bridge:

error: error: res/scripts/bridgeutil.lua:11: attempt to index field '?' (a nil value)
stack traceback:
[C](-1): __index
res/scripts/bridgeutil.lua(11): getMaxSize
res/scripts/bridgeutil.lua(98): ?
res/scripts/bridgeutil.lua(238): ?

And crashes without message or log entry when selecting road.
Floyd 24 Apr, 2020 @ 12:42am 
Thanks for fixing, this looks very nice.
QQxiaoshui-2  [author] 23 Apr, 2020 @ 10:09pm 
@AV Excuse me but although at the beginning this mod was independent, to save more hard-drive capacity, avoid overwriting of files with the same name, increase game loading speed and make it easier to manage and update finally it became what u've seen right now.
AV 23 Apr, 2020 @ 9:55pm 
make these pylons standalone please. without required other mods.
AV 23 Apr, 2020 @ 9:46pm 
мне вот например не нужен контент из другого мода, но пилоны не плохо было бы иметь. но поскольку в этом моде кроме пилонов есть еще контент, требующий другой мод, то я просто не буду пользоваться этим модом, потому что высока вероятность случайно нажать на дорогу или мост из другого мода, вызвав тем самым вылет игры.
AV 23 Apr, 2020 @ 9:46pm 
зачем вообще было включать в мод дороги и мосты, которые фактически находятся в другом моде, и делать зависимость от другого мода??? при том, что суть данного мода заключается в (вейпоинтах) пилонах подвесных мостов, которые работают и без другого мода. не лучше ли было оставить в этом моде одни только пилоны?
印象空间 23 Apr, 2020 @ 9:34pm 
期待楼主越来越多的好作品
QQxiaoshui-2  [author] 23 Apr, 2020 @ 9:31pm 
@qkzn Ah finally good news comes. Thx for telling me that this mod can be used on a new map now...All my savegames(with hundreds of mods I use or without any other mod) works well with it so I cannot find out the reason why it can cause crash...
QQxiaoshui-2  [author] 23 Apr, 2020 @ 9:28pm 
So till now there's some people who can use this mod normally, while others will crash their game with or without error messages. I'm not sure what may cause such 3 situations at the same time???
qkzn 23 Apr, 2020 @ 9:26pm 
I'm sure it can be running on new map, but not really sure for others save games, maybe is other's mod cause this problem, hope you can find out. good work by the way :)
QQxiaoshui-2  [author] 23 Apr, 2020 @ 9:22pm 
@qkzn Ok I'll get some volunteers to test it...Thank u for telling me that and I'm sorry for the crash.
qkzn 23 Apr, 2020 @ 9:19pm 
thers's no any error messages about crash, The game just shut down when it finish the loading. :(
QQxiaoshui-2  [author] 23 Apr, 2020 @ 9:10pm 
@qkzn I‘ve just tested again and it didin't crash as long as I enable the required mod before this one. Try it and I hope this can help u or plz tell me if there's any error messages.
qkzn 23 Apr, 2020 @ 8:16pm 
crash
QQxiaoshui-2  [author] 23 Apr, 2020 @ 8:04pm 
I'm terribly sorry!!! I just forgot to add a required mod last night...
tganim 23 Apr, 2020 @ 7:32pm 
Not for me
盛装出席 23 Apr, 2020 @ 6:02pm 
小水牛逼
pjhhq 23 Apr, 2020 @ 5:23pm 
小水牛逼,you are fuckingly real.
abe.sapperstein 23 Apr, 2020 @ 3:48pm 
It even crashed my car.
Supreme Guardian 23 Apr, 2020 @ 1:21pm 
I think the game crashed, and I didn't even download it...
Floyd 23 Apr, 2020 @ 12:06pm 
it crash the game!
ernie.bilko15 23 Apr, 2020 @ 11:47am 
it crashes the game!
francesco.longo.k 23 Apr, 2020 @ 11:20am 
it crash the game!
FL0R1AN 23 Apr, 2020 @ 11:04am 
it crashes with lua error pop-up. extract from stdout.txt:

error: error: res/scripts/bridgeutil.lua:11: attempt to index field '?' (a nil value)
stack traceback:
[C](-1): __index
res/scripts/bridgeutil.lua(11): getMaxSize
res/scripts/bridgeutil.lua(98): ?
res/scripts/bridgeutil.lua(238): ?
djneckbreaker 23 Apr, 2020 @ 10:21am 
i get a syntax error @ lua
AV 23 Apr, 2020 @ 10:11am 
does not work. just crashes without error message when try to choose street. and crashes with lua error when try to choose bridge.
reissverschlussverfahren 23 Apr, 2020 @ 10:07am 
game crashes when i want to place the street