- master_awesomeintern
- Posts : 7
Reputation : 0
Join date : 2021-08-26
[MODDING] Blood Test jams patients
Thu Aug 26, 2021 3:00 am
Hi,
I have all the DLCs and following Mods installed:
More Occupations, More Names, Bedside Examinations, Realistic Collapses and Disease Incidence.
I suspect that this is a mod related problem (Bedside Examinations), but since steam workshop doesn't have screenshot upload function, I'll use this post as a reference. I'll also be posting in the mod developer's bug report thread.
As the screenshot shows, under available examinations there is "Blood test". But this option shouldn't be available because it's a procedure after blood draw. I found a similar bug discussed in (Ok so I'm a new member and I'm not allowed to post external links. steamcommunity[..]app/868360/discussions/0/2995417278816834776/) but that issue is claimed to be fixed already. Same as the bug discussed in this steam thread, my bug will also cause the patient to wait needlessly outside the lab forever.
As I said, I will be posting under the developer's bug thread too, but the developer hasn't updated his mods for 1 year so I'm not hoping to get a fix any time soon. Maybe as game dev you can tell me what is the wrong reference in the .xml files and what the correct one should be. Then, I can just do a quick find+replace on my own and it should be fixed.
Tell me if you need the save file and where I can find it.
Thanks
I have all the DLCs and following Mods installed:
More Occupations, More Names, Bedside Examinations, Realistic Collapses and Disease Incidence.
I suspect that this is a mod related problem (Bedside Examinations), but since steam workshop doesn't have screenshot upload function, I'll use this post as a reference. I'll also be posting in the mod developer's bug report thread.
As the screenshot shows, under available examinations there is "Blood test". But this option shouldn't be available because it's a procedure after blood draw. I found a similar bug discussed in (Ok so I'm a new member and I'm not allowed to post external links. steamcommunity[..]app/868360/discussions/0/2995417278816834776/) but that issue is claimed to be fixed already. Same as the bug discussed in this steam thread, my bug will also cause the patient to wait needlessly outside the lab forever.
As I said, I will be posting under the developer's bug thread too, but the developer hasn't updated his mods for 1 year so I'm not hoping to get a fix any time soon. Maybe as game dev you can tell me what is the wrong reference in the .xml files and what the correct one should be. Then, I can just do a quick find+replace on my own and it should be fixed.
Tell me if you need the save file and where I can find it.
Thanks
- master_awesomeintern
- Posts : 7
Reputation : 0
Join date : 2021-08-26
Re: [MODDING] Blood Test jams patients
Thu Aug 26, 2021 3:10 am
OK one more thing. This bug doesn't happen for every disease. I don't know which one triggers it, but it happens from time to time.
- jan.oxymorondeveloper
- Posts : 2309
Reputation : 336
Join date : 2018-03-23
Re: [MODDING] Blood Test jams patients
Thu Aug 26, 2021 10:24 am
Hi, let me try to point you in the right direction if you want to look at the XML files:
The correct examination should be EXM_BLOOD_TEST_SAMPLING in this case, the testing part you're seeing will be EXM_BLOOD_TEST_TESTING.
The issue is most likely in one of the xml files with diagnoses, there's probably the wrong examination put on the list of <Examinations>.
Btw, if you still have a save with the patient in the screenshot, feel free to use the inspector in the ingame debug tools to check the diagnosis and symptoms: https://projecthospital.forumotion.com/t3274-running-the-game-with-debug-tools
The correct examination should be EXM_BLOOD_TEST_SAMPLING in this case, the testing part you're seeing will be EXM_BLOOD_TEST_TESTING.
The issue is most likely in one of the xml files with diagnoses, there's probably the wrong examination put on the list of <Examinations>.
Btw, if you still have a save with the patient in the screenshot, feel free to use the inspector in the ingame debug tools to check the diagnosis and symptoms: https://projecthospital.forumotion.com/t3274-running-the-game-with-debug-tools
master_awesome likes this post
- master_awesomeintern
- Posts : 7
Reputation : 0
Join date : 2021-08-26
Re: [MODDING] Blood Test jams patients
Thu Aug 26, 2021 2:33 pm
- master_awesomeintern
- Posts : 7
Reputation : 0
Join date : 2021-08-26
Re: [MODDING] Blood Test jams patients
Thu Aug 26, 2021 3:01 pm
OK, so I found another section probably related. The in game debug shows the disease is DIA_AOM and in another file DIA_AOM is descripted as
I think the EXM_BLOOD_TEST_TESTING string is causing the problem here since none other disease mentions this string at all. But it does have EXM_BLOOD_TEST_SAMPLING writing before it, so I'm not sure if this would cause any harm.
I think the EXM_BLOOD_TEST_TESTING string is causing the problem here since none other disease mentions this string at all. But it does have EXM_BLOOD_TEST_SAMPLING writing before it, so I'm not sure if this would cause any harm.
- jan.oxymorondeveloper
- Posts : 2309
Reputation : 336
Join date : 2018-03-23
Re: [MODDING] Blood Test jams patients
Thu Aug 26, 2021 3:58 pm
Hi, nice catch, I think the extra EXM_BLOOD_TEST_TESTING in the DIA_AOM will be the issue, feel free to remove it and see if it helps.
Btw, the first two screenshots from your previous post just show how the two stages of the examination are configured and connected, these should be fine. If these are from a file from one of the mods, they probably only change which rooms the examinations can be done in or something like that.
Btw, the first two screenshots from your previous post just show how the two stages of the examination are configured and connected, these should be fine. If these are from a file from one of the mods, they probably only change which rooms the examinations can be done in or something like that.
- master_awesomeintern
- Posts : 7
Reputation : 0
Join date : 2021-08-26
Re: [MODDING] Blood Test jams patients
Thu Aug 26, 2021 7:18 pm
Hi, I confirm that after removing the problematic code from DIA_AOM, "blood test" option disappeared in the game. I think this issue is fixed. If this change causes other issues, I'll update this thread.
For anyone who might come here having the same issue, the XML in question is located under <steam workshop>\868360\1875275285\Database and the file name is ModDiagnosesOrthoRCDI.xml
The troublesome code is at line 1100.
For anyone who might come here having the same issue, the XML in question is located under <steam workshop>\868360\1875275285\Database and the file name is ModDiagnosesOrthoRCDI.xml
The troublesome code is at line 1100.
Permissions in this forum:
You cannot reply to topics in this forum