Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Two patients in a loop of loo use, keep on re-entering the Toilet room #555
From wolfy1...@gmail.com on May 07, 2013 17:33:54
What steps will reproduce the problem? 1.i am not sure how to reproduce this problem. 2. 3. What is the expected output? What do you see instead? A patient that just used the toilets returns even though he does not need to.
What version of CorsixTH are you using (e.g. "Beta 2", "SVN r123 ")?
Attachment: config.txt gamelog.txt thomas01.sav
Original issue: http://code.google.com/p/corsix-th/issues/detail?id=1623
From mark.l1...@hotmail.co.uk on May 08, 2013 03:00:08
Noticed that there are a couple of "attempt to index local 'hosp'", which I though 0.21 was supposed to have fixed.
Was this a new game or an old save?
Summary: attempt to index local 'hosp' (was: Patients always returning to toilets)
From mark.l1...@hotmail.co.uk on May 08, 2013 07:49:37
It looks like that there have been other errors with the save as one patient is stuck going home.
One of the patients has no history, this suggests he has not past reception yet.
They both appear to be locked into using the loo and are about to die, this is similar to the error when Dr's get stuck in a loop of not going for a break and the patient starts to die whilst waiting. Only similar in that the dealt with bit has not happened correctly so they can move on.
So, does this mean they have no next action to do?
Given the age of the save, it is not connected to the recent change in loo use - which I am glad about.
Perhaps Edvin will have some ideas, so I'll queue this - he is not really available now until June.
Summary: Two patients in a loop of loo use, keep on re-entering the Toilet room (was: Patients always returning to toilets)
My clue: this will happen when there are more patients trying to get on toilet then number of toilets in the room.
Next clue: ...maybe it's connected with pateints which will pee outside while they are in toilet queue.
I've made my own game change, so I'm playing with random number of spawn patients (1, 1500). So there are moments, when I have 1000 - 1300 patients in hospital, and moments when almost nobody is there.
And this issue happens only when big crowd is everyvere...
That should be free toilets that limits who can enter the room, we changed it from the number of loos a couple of years ago.
The original link above was meant to work, but @Lego3 ticked something on googlecode that now means you cannot access it. I noticed the same applies to other links we have in the suggestions wiki etc.
I don't think this was intended, so I wonder if it is worth removing that for the time being Edvin?
I have downloaded all the attachments onto my server,
I can do the same for the other issues too, if needed.
New final (I hope) clue:
Example: 5 patients arrive to toilet and they makes queue outside of door. If the first one pee on floor, it's OK, nothing happen. But if second one (or other after) pee on the floor, it makes him try to find another toilet room. And that's the source of problem because he will spend rest of his life finding toilet room (if I will not kick him out from hospital).
I hope that my clue it The One. :-)