Transport Fever 2
Town tuning
lollus  [ผู้พัฒนา] 27 ส.ค. 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
แก้ไขล่าสุดโดย lollus; 28 มี.ค. 2023 @ 7: 49am
< >
กำลังแสดง 1-12 จาก 12 ความเห็น
lollus  [ผู้พัฒนา] 27 ส.ค. 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.
แก้ไขล่าสุดโดย lollus; 27 ส.ค. 2022 @ 2: 06pm
lollus  [ผู้พัฒนา] 27 ส.ค. 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  [ผู้พัฒนา] 28 ส.ค. 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.
แก้ไขล่าสุดโดย lollus; 28 ส.ค. 2022 @ 5: 01pm
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.
and mainly that its incompatible with yeols senseles industries.
lollus  [ผู้พัฒนา] 22 ธ.ค. 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.
แก้ไขล่าสุดโดย lollus; 22 ธ.ค. 2022 @ 3: 17am
โพสต์ดั้งเดิมโดย 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)
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  [ผู้พัฒนา] 3 มิ.ย. 2023 @ 10: 46am 
Thanks, I might fix it one day.
แก้ไขล่าสุดโดย lollus; 6 มิ.ย. 2023 @ 8: 04am
lollus  [ผู้พัฒนา] 6 มิ.ย. 2023 @ 11: 33am 
I published a fix.
lollus  [ผู้พัฒนา] 25 ก.ค. 2023 @ 3: 34pm 
@Benjamin: have you found what it was?
โพสต์ดั้งเดิมโดย 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 ! 💪
< >
กำลังแสดง 1-12 จาก 12 ความเห็น
ต่อหน้า: 1530 50