Transport Fever 2

Transport Fever 2

Better Finance Overview
GordonDry 2. juni 2023 kl. 6:09
Could you implement the taxes from "Progressive Income Tax" mod?
As that mod just uses the "other" category, your mod could perhaps dig into that mod's code - if possible - and recognize the tax amount and put it into its own category.
You could ask the dev of that mod if a global variable could be used to make it easier.
Sidst redigeret af GordonDry; 2. juni 2023 kl. 6:09
< >
Viser 1-11 af 11 kommentarer
GordonDry 2. juni 2023 kl. 6:13 
progressive_income_tax_1\res\config\game_script\income_tax.lua
Line 35:
if tax.total > 0 then journal_util.bookEntry(-tax.total, Type.OTHER, Carrier.OTHER, Construction.OTHER, Maintenance.OTHER) end
bezousek  [udvikler] 2. juni 2023 kl. 23:48 
I will check this mod and see what I can do.

From the code you shared it looks like its the same category as the landscaping, so it might be tricky.

Alternatively I can implement income tax on my own, but let me first study their mod :-)
GordonDry 3. juni 2023 kl. 4:01 
Yesterday I tried your mod but it gave me a weird crash. As I was working on other stuff as well I scrapped it for the time being - but imho it does not like to coexist with one of those or all those other mods, namely:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2802501762
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2805165537

perhaps even those could be a trigger for the crash, but not likely:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2909025414
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1977538184

As I got a heavily modded game I prefer that you try to reproduce with those kind of mods, as a quick view into the stdout.txt - which does not exist anymore - did not show a hint what could be the triggger, just a based c++ error. No .lua script file was mentioned at all.
bezousek  [udvikler] 5. juni 2023 kl. 6:50 
Interesting. I will check the mods.
bezousek  [udvikler] 5. juni 2023 kl. 7:42 
Hm I tried all the mentioned mods with my save game where I have additional cca 200mods and it works fine.
bezousek  [udvikler] 5. juni 2023 kl. 14:36 
I redesigned the code to avoid global variables, can you please try it again. It should not be in conflict anymore.
GordonDry 5. juni 2023 kl. 15:15 
I will test tomorrow, I just ended my session.
GordonDry 6. juni 2023 kl. 8:40 
Loading my modded game with this mod at the last position I get a fatal error.
urban_games/train_fever/src/Game/Game.cpp:324: void __cdecl CGame::StartGameSim(void): Assertion `m_data->gameStates[1]->ScriptSave() == m_data->gameStates[0]->ScriptSave()' failed. Exception during init GC Called Destroying failback ui done End of redirect Buffer to StdOutBuffer Restoring as we are still responsible for stdout End of redirect Buffer to StdOutBuffer: done Exception type: Fatal error Details: Assertion Failure: Assertion `m_data->gameStates[1]->ScriptSave() == m_data->gameStates[0]->ScriptSave()' failed. Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/62457368-2397-4a72-9b67-3225bb7f5ce0.dmp In file: urban_games/train_fever/src/Game/Game.cpp:324 In function: void __cdecl CGame::StartGameSim(void) __CRASHDB_CRASH__ struct AssertException: urban_games/train_fever/src/Game/Game.cpp:324: void __cdecl CGame::StartGameSim(void): Assertion `m_data->gameStates[1]->ScriptSave() == m_data->gameStates[0]->ScriptSave()' failed. Exception type: Fatal error Details: Assertion Failure: Assertion `m_data->gameStates[1]->ScriptSave() == m_data->gameStates[0]->ScriptSave()' failed. Minidump: C:/Users/Admin/AppData/Roaming/Transport Fever 2/crash_dump/62457368-2397-4a72-9b67-3225bb7f5ce0.dmp In file: urban_games/train_fever/src/Game/Game.cpp:324 In function: void __cdecl CGame::StartGameSim(void) Goodbye. ======================================== Shutdown at Tue Jun 6 17:34:54 2023 ========================================
The complete stdout.txt:
https://www.dropbox.com/s/cmqc4fkr7x7r8aq/crash%20dump%2023060601.7z?dl=1
bezousek  [udvikler] 7. juni 2023 kl. 7:58 
Can you share a save game?

If you create new game just with my mod, does it work?

Thanks for cooperation.
bezousek  [udvikler] 7. juni 2023 kl. 9:55 
I updated the UI ids, might help as well
GordonDry 12. juli 2023 kl. 10:25 
So, the v1.3 fixed that issue for me as well, but I have to remove the mod whatsoever as the numbers don't make any sense when the time progress is halted for a long time.
I played over 100 hours on a map with the same date. Yes, I did. And the information derived from this mod doesn't help me in any way.
Sidst redigeret af GordonDry; 7. apr. 2024 kl. 7:03
< >
Viser 1-11 af 11 kommentarer
Per side: 1530 50