Project Hospital
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Mouse_Nightshirt
resident
Posts : 10
Reputation : 0
Join date : 2018-11-03

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty [MODDING] Patients now getting repeatedly "stuck" waiting

Wed Mar 25, 2020 8:48 pm
Crossposted from the Steam forums at request.

In the last day, my game is grinding to a halt - frequently, patients get stuck waiting for clinic, and the doctor due to see them stays on idle. It's happening across multiple specialties, and even trying to send the patient home (on occasion) is doing nothing. This has only reared its head recently.

Eventually, when that patient decides they've had enough waiting and leave of their own accord, doctors start seeing patients again.

It's purely waiting for clinics - it's not happening anywhere else.

It can be worked around by sending the patient to another specialty's clinic. They will then see that doctor, but the first examination will need to be manually selected. There on in, there is no issue.

Of note, this savegame is heavily modded therefore I understand if it is not something you'll be able to help with. Mods included are:
-Gynaecology
-Community Resource Pack
-Otorhinolaryngology
-Oncology
-More occupations mod
-Realistic collapses and disease incidence
-More names
-Bedside examinations
-Objects: waiting room
-Fire protection

So, in this example of the issue, the doctor (Susan Griffin) is sitting idle, waiting for any one of three patients (Alex Lee, William Booth and Benjamin Robinson). Trying to change the doctor of any of the patients is unsuccessful, it immediately reverts back to Susan Griffin, and she continues to sit idle. This continues until I either send the patient to another specialty, or they get bored and leave the hospital. Firing the doctor does not solve the issue.

[MODDING] Patients now getting repeatedly "stuck" waiting  20200310
[MODDING] Patients now getting repeatedly "stuck" waiting  20200311

I enclose the bits needed. Of note, I wonder if the following line in debug point to an issue?
Code:
Reported exception in stack: Lopital.BehaviorPatient.SetupCollapseProcedure Lopital.BehaviorPatient.UpdateStateWaitingSitting

Thanks for any help you can offer.
Attachments
[MODDING] Patients now getting repeatedly "stuck" waiting  Attachment
BUG REPORT.zip Hospital savefileYou don't have permission to download attachments.(2.7 Mb) Downloaded 2 times
[MODDING] Patients now getting repeatedly "stuck" waiting  Attachment
output_log.zip LogfileYou don't have permission to download attachments.(11 Kb) Downloaded 3 times
jan.oxymoron
jan.oxymoron
developer
Posts : 2309
Reputation : 336
Join date : 2018-03-23

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty Re: [MODDING] Patients now getting repeatedly "stuck" waiting

Thu Mar 26, 2020 9:56 am
Hi, thanks for the message and letting us know about the issue - unfortunately you're right, this seems to be related to mods, so let me at least give you the info I'm able to dig out from the save:

The error/exception will be the problem here, the patient whose turn it is in the waiting room is trying to collapse, errors out and blocks the rest. One of the mods you're using is changing the collapses directly, so it might be worth contacting the author of the mod with the save to check the following. On your side you can try to send the patient home, but I'm not sure if and how soon this will happen again.

Patient Rosie Duffin, trying to collapse on SYM_WOUND_INFECTION - there could be a problem in the way the symptom is set to cause other collapses and possibly a missing "CollapseProcedureRef" somewhere in the chain. Maybe other mod is changing it and not adding the same parameters?

Edit: the patient has a diagnosis from Otorhinolaryngology, so maybe these two aren't 100% compatible.

I'll try to get the game to handle this a bit more gracefully in the meantime, although I have to attempt it pretty blindly. Smile
avatar
Mouse_Nightshirt
resident
Posts : 10
Reputation : 0
Join date : 2018-11-03

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty Re: [MODDING] Patients now getting repeatedly "stuck" waiting

Sat Mar 28, 2020 8:15 pm
Thanks for getting back to me! I'll forward this on to the mod makers involved.
James
James
fellow
Posts : 82
Reputation : 6
Join date : 2019-11-10
Location : Malaysia, Kuala Lumpur

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty Re: [MODDING] Patients now getting repeatedly "stuck" waiting

Mon Mar 30, 2020 9:29 am
Hi, jan, as you said Rosie Duffin is trying to collapse on a wound infection. I have found it. It was meant to make the symptom lead to a more severe issue they have to deal with, maybe you can make a code for symptoms lead to more serious symptoms?
jan.oxymoron
jan.oxymoron
developer
Posts : 2309
Reputation : 336
Join date : 2018-03-23

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty Re: [MODDING] Patients now getting repeatedly "stuck" waiting

Mon Mar 30, 2020 9:55 am
James Buckham wrote:Hi, jan, as you said Rosie Duffin is trying to collapse on a wound infection. I have found it. It was meant to make the symptom lead to a more severe issue they have to deal with, maybe you can make a code for symptoms lead to more serious symptoms?

Hi James - yes, that's exactly how it works. Smile

You can either specify a collapse procedure (so the symptom itself causes the collapse) or set it to lead to another collapse symptom.

<CollapseSymptomRef>SYM_HEART_FAILURE</CollapseSymptomRef>

or

<CollapseProcedureRef>CONTROL_PROCEDURE_COLLAPSE_MEDIUM</CollapseProcedureRef>

If none of the symptoms in this chain have a collapse procedure set, it will cause this issue and possibly leave the patient stuck. We'll be adding a code workaround in the next patch to resolve this if it happens.

I'd suggest have a look also at the "realistic collapses" mod in the meantime, maybe some of the symptoms are modified there in a way that's not compatible.
KEEGUNATOR
KEEGUNATOR
resident
Posts : 27
Reputation : 0
Join date : 2020-02-19
Location : California, USA

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty Re: [MODDING] Patients now getting repeatedly "stuck" waiting

Mon Apr 06, 2020 6:31 pm
Yes, the problem due to the patient being unable to collapse most likely comes from the realistic collapses mod.

The mod works okay on its own, but when its a heavily modified save game like yours with different departments and such, it can cause things like this to happen. As far as I know, a pretty good amount of patients freezing and not collapsing like their supposed to when diagnosed with a disease coming from a modded department is due to the realistic collapses mod. . I don't have much idea on exactly how the mod works, but as far as I know it attempts to make collapses "realistic" and it works fine for diseases already in game without mods. When it comes to custom/modded departments, though, that is where the issue comes from due to the collapses associated with the custom/modded departments are not compatible. Note that I am not a modder and I am only saying this from past experience.

Hoped I helped you out! Smile
avatar
MedJet
specialist
Posts : 209
Reputation : 2
Join date : 2018-11-21

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty Re: [MODDING] Patients now getting repeatedly "stuck" waiting

Wed Apr 22, 2020 11:05 am
the insanity with ridiculous collapsing has to end. I get that some symptoms and diagnoses trigger, yet, in this game, it's wildly out-of-balance.
Sponsored content

[MODDING] Patients now getting repeatedly "stuck" waiting  Empty Re: [MODDING] Patients now getting repeatedly "stuck" waiting

Back to top
Permissions in this forum:
You cannot reply to topics in this forum