Re: Issue 1626 in corsix-th: Error when editing a room and the machine is in use

0 views
Skip to first unread message

cors...@googlecode.com

unread,
May 11, 2013, 3:22:55 PM5/11/13
to corsix-t...@googlegroups.com
Updates:
Summary: Error when editing a room and the machine is in use
Cc: edvin.li...@gmail.com Grim...@gmail.com

Comment #5 on issue 1626 by mark.l1...@hotmail.co.uk: Error when editing a
room and the machine is in use
http://code.google.com/p/corsix-th/issues/detail?id=1626

With save fff the first error I got was to do with current_momentum which
should not be possible if the save is from 0.21 should it?
The second error
scanner_room.lua:138: attempt to index field '?' (a nil value)
stack traceback:
C:\Program Files\CorsixTH\Lua\rooms\scanner_room.lua:138: in
function 'makeHumanoidLeave
would suggest that you were trying to edit the room whilst the patient was
on the scanner.
Would that be right? I had a go at editing the room whilst the scanner was
in use and I got a different error (this could be due to when the editing
is being done)
For me the patient got off the scanner, got dressed (I then cancelled the
edit) and the patient left the room, came back in got undressed and then
tried to leave again which is when I got the attached error.
The third error
hospital.lua:631: attempt to index field '?' (a nil value)
stack traceback:
...ktop\corsixth\Research Bug\CorsixTH\Lua\hospital.lua:631: in
function 'checkFacilities'
does not happen often and I have in the past told Grimdoc about this one,
which is near to impossible to replicate, so thank you for giving us a save
where it can be now. Grimdoc - see issue 1155 and issue 702 (all we need
to do now is fix this)

Attachments:
gamelog.txt 6.4 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

cors...@googlecode.com

unread,
May 13, 2013, 2:55:47 PM5/13/13
to corsix-t...@googlegroups.com

Comment #6 on issue 1626 by mark.l1...@hotmail.co.uk: Error when editing a
I have checked other rooms where there is a screen and there seem to be
different approaches to what happens when we want to make patients leave
the room. In my tests the same problem occurs if you edit the room
(Scanner, Gen Diag or Cardio) whilst the patient is stripped/on the machine
they will attempt to leave the room stripped.
Scanner: Edit the room whilst the stripped patient is on the scanner and
the patient gets dressed, leaves,(at this point cancel the edit) he then
re-enters, gets undressed again and then tries to leave.
Gen Diag: Edit the room when the patient gets undressed (just as he pops
his trousers on the screen seems to be about right) and he will attempt to
leave undressed.
Cardio: pretty much the same as the scanner, I managed it once but it is
harder to replicate.

I have only checked this against the autosave in this issue, but it would
explain the stripped patient leaving a room error we sometimes get. I
don't think that anyone has ever said they were trying to edit the room
when the error happens.
Reply all
Reply to author
Forward
0 new messages