Transport Fever 2

Transport Fever 2

Town tuning
lollus  [developer] 27 Aug, 2022 @ 7:38am
Bug reports
Report bugs here. Let me know your operating system, the game build, the mod build (check out "minorVersion" in mod.lua), the mod parameters (they are in the game start screens, before you actually launch a game)
Describe what happens vs what you expect and how to reproduce it.
stdout.txt helps, too. It is at https://www.transportfever2.com/wiki/doku.php?id=gamemanual:gamefilelocations
Last edited by lollus; 28 Mar, 2023 @ 7:49am
< >
Showing 1-12 of 12 comments
lollus  [developer] 27 Aug, 2022 @ 8:19am 
This is weird. Try this:
1) deactivate other mods that may interfere, particularly those that overwrite townbuildingutil.
2) deactivate other mods that make their own town buildings. To locate them, search your mod folder for "TOWN_BUILDING" with Visual Studio Code. It's a free download and very useful for many things.
3) deactivate mods that make their own goods (eg mail or waste)

If it still fails, go ahead.
4) go to the mod and locate the file res/scripts/lollo_town_tuning/logger.lua. Then change the first line
local _isExtendedLogActive = false
into
local _isExtendedLogActive = true
and save.
5) restart the game and do what you did before (what is it?).

Does it still crash? If so, send out the new stdout.txt, which will contain more information.
Last edited by lollus; 27 Aug, 2022 @ 2:06pm
lollus  [developer] 27 Aug, 2022 @ 2:07pm 
I have just published an update to prevent common user errors, I have also made a small change that might fix your issue (no more upgradeFn).
lollus  [developer] 28 Aug, 2022 @ 5:00pm 
Thanks. I doubt I can do much here, the game looks for something and cannot find it. Reactivating that mod may help, who knows. This game should really fail more gracefully.
Last edited by lollus; 28 Aug, 2022 @ 5:01pm
Canadian_67 21 Dec, 2022 @ 8:40pm 
Hello, i have a wierd case.
ive used this mod with advanced town builder for a long time now, no issues. just now it is incompatible with every other town related mod. why? is this a new update that has changed its code? i use the latest version of the game.
Canadian_67 21 Dec, 2022 @ 8:42pm 
and mainly that its incompatible with yeols senseles industries.
lollus  [developer] 22 Dec, 2022 @ 3:16am 
Some new-ish features could be incompatible with other mods, which screw around with townBuildingUtil. If you set the building era switches to default, the problem should not happen:
AI can build older buildings in new eras NO
Era B start year DEFAULT
Era C start year DEFAULT
When you save the game, it will remember those values.
I don't know yeol's mod, so I cannot tell if these switches will solve your problem; I don't think you need the advanced town builder once you have the town tuning, so try removing it.
Last edited by lollus; 22 Dec, 2022 @ 3:17am
Canadian_67 27 Dec, 2022 @ 10:23am 
Originally posted by lollus:
Some new-ish features could be incompatible with other mods, which screw around with townBuildingUtil. If you set the building era switches to default, the problem should not happen:
AI can build older buildings in new eras NO
Era B start year DEFAULT
Era C start year DEFAULT
When you save the game, it will remember those values.
I don't know yeol's mod, so I cannot tell if these switches will solve your problem; I don't think you need the advanced town builder once you have the town tuning, so try removing it.
Alright, thank you! i will try. (sorry for late response, steam didnt send a notification)
Seb1001 3 Jun, 2023 @ 8:32am 
Hi, @lollus, I have actually been building own mod which utilises some elements of yours (invited you to friends to talk about this). As part of that I found the following problem with your mod:
1. Run a game with just the Town Tuning mod on
2. Select a town and view the tuning tab in the town window
3. Without exiting that town window, select another town
4. The town window is updated to show the newly selected town but does not have the tuning tab
5. If you subsequently try to exit TPF game (exit to Windows or to main interface), the game will crash

I don't know lua and am not really a modder but this looks like some interface ID issues due to the additional tuning tab introduced by the mod.
lollus  [developer] 3 Jun, 2023 @ 10:46am 
Thanks, I might fix it one day.
Last edited by lollus; 6 Jun, 2023 @ 8:04am
lollus  [developer] 6 Jun, 2023 @ 11:33am 
I published a fix.
lollus  [developer] 25 Jul, 2023 @ 3:34pm 
@Benjamin: have you found what it was?
Benjamin Crewz 25 Jul, 2023 @ 4:33pm 
Originally posted by lollus:
@Benjamin: have you found what it was?
Hey there,
I deleted my previous message, the issue was from the map (from the workshop). Even the sandbox mod by the game devs crashed the game on that map. So I conclued that was not comming from your mod but the map itself :D
On other maps (generated by the game and downloaded on the Steam Workshop), your mod still runs totally fine.
Thanks for the feedback. :D

Keep up the good work ! 💪
< >
Showing 1-12 of 12 comments
Per page: 1530 50