Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two patients in a loop of loo use, keep on re-entering the Toilet room #555

Open
TheCycoONE opened this issue Dec 24, 2014 · 12 comments

Comments

Projects
None yet
5 participants
@TheCycoONE
Copy link
Member

commented Dec 24, 2014

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 ")?
0.21 What operating system / compile settings are you using? Windows 8 Pro 64 bit
What level was this on (e.g. "Demo level", "Full game level 12")?
Full Game level Attach a saved game file (preferably an autosave from before the error) if you have one and it is relevant. Please provide any additional information

Attachment: config.txt gamelog.txt thomas01.sav

Original issue: http://code.google.com/p/corsix-th/issues/detail?id=1623

@TheCycoONE

This comment has been minimized.

Copy link
Member Author

commented Dec 24, 2014

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)

@TheCycoONE

This comment has been minimized.

Copy link
Member Author

commented Dec 24, 2014

From maartenp...@hotmail.nl on May 08, 2013 03:35:09

The gamelog is from the errors using version 0.20 (see gamelog.txt.)

Summary: Patients always returning to toilets (was: attempt to index local 'hosp' )

@TheCycoONE

This comment has been minimized.

Copy link
Member Author

commented Dec 24, 2014

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)
Status: Queued
Cc: edvin.li...@gmail.com

@Glimmer-Man

This comment has been minimized.

Copy link

commented Jan 19, 2015

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...

Version: 0.40

@MarkL1961

This comment has been minimized.

Copy link
Contributor

commented Jan 19, 2015

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.
Peeing outside is a possibility i.e. on the way and don't quite make it...
Agree with what you say about amount of patients overall, the only times I have seen this problem is with an overcrowded hospital, otherwise I don't see this problem. You also get lots of other errors though when the hospital is overcrowded, so perhaps there is a connection there.

@wolfy1339

This comment has been minimized.

Copy link
Contributor

commented Jan 21, 2015

I haven't been able to reproduce this myself lately.

@MarkL1961

This comment has been minimized.

Copy link
Contributor

commented Jan 21, 2015

Perhaps sdl2 is more stable!
Have you had large numbers of patients, as that seemed to be related?

@wolfy1339

This comment has been minimized.

Copy link
Contributor

commented Jan 22, 2015

Haven't tested on SDL2 (I haven't been able to compile) only 0.40 but on a different save.
Does anyone have a copy of the save or know how to get it?

@MarkL1961

This comment has been minimized.

Copy link
Contributor

commented Jan 23, 2015

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?

@Lego3

This comment has been minimized.

Copy link
Contributor

commented Jan 24, 2015

Ok, let's have it open for a while longer. I would just like to close the google code project to avoid people reading outdated things there.

@wolfy1339

This comment has been minimized.

Copy link
Contributor

commented Jan 24, 2015

I have downloaded all the attachments onto my server,
thomas01.sav: http://vps3.wolfy1339.tk/~wolfy1339/CorsixTH/issue555/thomas01.sav
gamelog.txt: http://vps3.wolfy1339.tk/~wolfy1339/CorsixTH/issue555/gamelog.txt
config.txt: http://vps3.wolfy1339.tk/~wolfy1339/CorsixTH/issue555/config.txt

I can do the same for the other issues too, if needed.

@Glimmer-Man

This comment has been minimized.

Copy link

commented Feb 7, 2015

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).

Fact 1)
It's happenig only when there is a long queue.

Fact 2)
Patient with toilet paper above his head when he's entering toilet room will not do that. So It must be connected with peeing on the floor.

I hope that my clue it The One. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.