Transport Fever 2

Transport Fever 2

Advanced Statistics
 此主题已被置顶,因此可能具有重要性
VacuumTube  [开发者] 2021 年 4 月 11 日 下午 10:57
Bug/Crash Reports
Here you can post any crash messages.
Please be specific on when and how the error occures.

If you see a ingame error window, eventually a screenshot is sufficient.
In general, sending the stdout txt[www.transportfever2.com] file is better.

This mod also contains a Log Level, changeable in the Mod Settings. The default is 1, for crash reproducing please use 2.
https://raw.githubusercontent.com/Vacuum-Tube/Advanced_Statistics_1/main/pictures/loglevel2.png
最后由 VacuumTube 编辑于; 2021 年 7 月 2 日 上午 3:40
< >
正在显示第 16 - 30 条,共 75 条留言
VacuumTube  [开发者] 2021 年 4 月 14 日 上午 3:43 
@TortuousRobin97
Can you send me a new stdout?

One way to find the culprit is to deactivate half of the mods (no track/street mods, this wouldn't load the game at least) and see if works. If it doesn't deactivate 3/4... if it does try half of the deactivated mods. And so on. I know this is very laborious, but since the game is giving me no error message, it's the only way to find the problem.
VacuumTube  [开发者] 2021 年 4 月 14 日 上午 3:44 
@lawsonspupil
What was the problem/culprit?
TortuousRobin97 2021 年 4 月 14 日 上午 7:41 
@VacuumTube
I reloaded the mod into my save (975 Mods). I found that the game loaded with me ignoring the error message pop-up but didn't show the mod in-game. Link is from that crash load.
https://drive.google.com/file/d/1S4pcSFaIdiePxUz9yKE5Rp5v3RHMvKKg/view?usp=sharing
VacuumTube  [开发者] 2021 年 4 月 14 日 上午 9:52 
Just to be sure you should remove old CommonApi versions (a working version is on transportfever.net)

Ok we know a bit more. It's causing an "An error just occurred" while processing data of type "station". You can temporarily try: "\res\scripts\advanced_statistics\datalist.lua" and commenting out (--) "station".

For finding the problem you can load the game with/without different of your station mods.

Otherwise I could try sending your dmp to UG, maybe they can find something.
donmiwi 2021 年 4 月 15 日 下午 12:16 
引用自 lawsonspupil
*Deletes this bug report*

Upon further investigation, I have found the actual culprit, you are now safe, have a good evening...

How I hate messages like this.... if you found the culprit, wtf you don't tell the community and the developer WHAT was the culprit ???
VacuumTube  [开发者] 2021 年 4 月 18 日 上午 2:52 
Could anyone with errors try the following:
Load a new game with the exactly same mods of a map, where it is crashing.
If you didn't know, CommonAPI2 provides a modlist import/export tool, which is useful for large amounts of mods (in the same order).
(So, I could exclude a mod conflict.)

Alternative: Send me the savegame, where errors occure. Eventually I can reproduce the error then.
Anthoam 2021 年 6 月 17 日 下午 12:40 
Hi!

I was using you mod without any problem but I deactivated it for a day or two (sorry xD).
When I reactivated it in my save I have an error after loading the save :

===== Advanced Statistics - Error Handler Location: Script Message: ...1512/res/scripts/advanced_statistics/script/listutil.lua:31: Field nil: 3 stack traceback: ...80/2454731512/res/scripts/advanced_statistics/script.lua:171: in function <...80/2454731512/res/scripts/advanced_statistics/script.lua:169> [C]: in function 'assert' ...1512/res/scripts/advanced_statistics/script/listutil.lua:31: in function 'add' ...1512/res/scripts/advanced_statistics/script/listutil.lua:226: in function 'count' ...res/scripts/advanced_statistics/script/data/crossing.lua:21: in function 'getInfo' ...80/2454731512/res/scripts/advanced_statistics/script.lua:154: in function <...80/2454731512/res/scripts/advanced_statistics/script.lua:145> [C]: in function 'xpcall' ...80/2454731512/res/scripts/advanced_statistics/script.lua:127: in function 'update' [string "J:/SteamLibrary/steamapps/workshop/content/10..."]:15: in function <[string "J:/SteamLibrary/steamapps/workshop/content/10..."]:13> ===== Advanced Statistics - Please submit this message to the mod author Advanced_Statistics: Error while Calc all data Advanced_Statistics: State: table: 000001E6B4D82960 {

Not sure what is the cause. I'm playing the beta and I had to delete CommonAPI2 because of it's incompatibility with the update.
VacuumTube  [开发者] 2021 年 6 月 17 日 下午 1:55 
Oh this seems to be because of the renewed crossing behavior (obviosly a new state type). Will be fixed
Anthoam 2021 年 6 月 17 日 下午 2:18 
I'm looking forward for the update! Thanks for the answer
VacuumTube  [开发者] 2021 年 6 月 21 日 上午 5:28 
It's updated
Anthoam 2021 年 6 月 21 日 下午 4:36 
Thanks for your work and the update ;)
A Guy Called Pi 2021 年 7 月 3 日 下午 7:36 
whatever "Waiting for state.init" means, apparently it's completely frozen the simulation. weird how the game is playable but the world is not responding at all.
VacuumTube  [开发者] 2021 年 7 月 4 日 上午 12:48 
Seems like simulation thread crashed.
Please send me stdout (with Log Level 2), there must be an error before.
VacuumTube  [开发者] 2021 年 9 月 17 日 上午 9:18 
Hello there, good news.

I could reproduce 2 of 3 known errors with the help of some users. First of all, all those 3 yet known errors are "An error just occured", so they can't be catched with my error handler and make it very hard for me to find out what's going on. They have also in common that it's not a "regular" mod incompatibility. They are obviosly bugs in the game itself, which occur only under specific/seldom circumstances. I contacted Urban Games already in May/June but sadly no answer until now.

Bug1 - aborted and failback but not crashed on calc finances (I believe MrQuicko had that). Implemented workaround.

Bug2 - crashed on calc station (game gui still exists but frozen simulation). This can be caused by unusual stations. For example BW-Assets[www.transportfever.net] creates stations with actually "ASSET_DEFAULT" con. Calling a interface function on them leads to crash. You can recognize that those stations have no name (""). This is also used for the current workaround. So DON'T rename!

If you still experience crashes, please regard OP.
最后由 VacuumTube 编辑于; 2021 年 9 月 17 日 下午 1:00
ec#2718 on Discord 2021 年 9 月 29 日 下午 2:55 
I'm getting a reliable crash-to-desktop on macOS, the instant a new map loads, with *only* this mod installed.

stdout and .dmp in this .zip archive: https://i.ell.io/HmwtOB
< >
正在显示第 16 - 30 条,共 75 条留言
每页显示数: 1530 50