- Veletycimedic
- Posts : 2
Reputation : 0
Join date : 2022-09-12
[MODDED] Finance and statistics wiped at midnight
Mon Sep 12, 2022 5:15 pm
On my last games, I noticed that the finance tab "breaks" after a few days.
After the day flips at midnight, if I go back to "yesterday," all the totals are zeroed out. Income and expenses per department on each line still appear as normal, but the sum line at the bottom of the page and the line that computes other expenses (such as construction) and income (such as insurance bonuses from completing objectives) are set to 0.
The statistics tab also deletes all the information on treated/misdiagnosed/dead patients for "yesterday."
I started a new game after a clean reinstall. The only mod I'm using is an empty scenario mod with no other mod dependencies (Vesputac Hospital [Empty]) that literally just provides the exterior of a hospital as a scenario file. The bug triggered as soon as Day 2 rolled into Day 3.
Note that I have made some edits to .XML files, such as increasing the number of active insurance companies, reducing the price of character creation, allowing Protective Dressing to be performed at ER, etc. but nothing that should touch the finance tab. Besides, Day 2 was being computed properly, without bugs, until the day flipped at midnight. Then the consolidated statistics for Day 2 were erased.
Could you please look into this? I'm not terribly bothered by the finance tab bug because I can just compute the revenue, expenses, and profit manually. But deleting the record of treated patients messes with the "NO_PATIENTS_SENT_AWAY_OR_WENT_AWAY_DAYS" check for insurance company objectives.
Thank you.
After the day flips at midnight, if I go back to "yesterday," all the totals are zeroed out. Income and expenses per department on each line still appear as normal, but the sum line at the bottom of the page and the line that computes other expenses (such as construction) and income (such as insurance bonuses from completing objectives) are set to 0.
The statistics tab also deletes all the information on treated/misdiagnosed/dead patients for "yesterday."
I started a new game after a clean reinstall. The only mod I'm using is an empty scenario mod with no other mod dependencies (Vesputac Hospital [Empty]) that literally just provides the exterior of a hospital as a scenario file. The bug triggered as soon as Day 2 rolled into Day 3.
Note that I have made some edits to .XML files, such as increasing the number of active insurance companies, reducing the price of character creation, allowing Protective Dressing to be performed at ER, etc. but nothing that should touch the finance tab. Besides, Day 2 was being computed properly, without bugs, until the day flipped at midnight. Then the consolidated statistics for Day 2 were erased.
Could you please look into this? I'm not terribly bothered by the finance tab bug because I can just compute the revenue, expenses, and profit manually. But deleting the record of treated patients messes with the "NO_PATIENTS_SENT_AWAY_OR_WENT_AWAY_DAYS" check for insurance company objectives.
Thank you.
- Attachments
- jan.oxymorondeveloper
- Posts : 2309
Reputation : 336
Join date : 2018-03-23
Re: [MODDED] Finance and statistics wiped at midnight
Tue Sep 13, 2022 2:50 pm
Hi, after running the game with all your local changes, I finally have an explanation: your changes to the perks xml file break the game every time (every midnight) it tries to generate a patient with the 'pirate' perk that you removed. There are somewhat complex rules in the game code for how often each perk appears and which combinations are allowed, so just removing it from the data won't unfortunately have any effect apart from breaking the game every now and then.
- Veletycimedic
- Posts : 2
Reputation : 0
Join date : 2022-09-12
Re: [MODDED] Finance and statistics wiped at midnight
Tue Sep 13, 2022 6:02 pm
Damn, I had completely forgot about that one. I feel so silly for taking your time with this. I'm sorry, and thank you very much!
- [RESOLVED NOT A BUG?] Blood is not wiped away
- [NEED MORE INFO]Patients dissappear (vanish) at midnight
- [RESOLVED] Daily statistics not working properly (misdiagnosed / dead patients missing)
- [RESOLVED] Event completes at midnight, patients disappear and staff freeze
- [MODDED NEED MORE INFO] NPC's are glitching
Permissions in this forum:
You cannot reply to topics in this forum