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

Crash: CorsixTH\Lua\humanoid_actions\walk.lua:304: Humanoid (Surgeon) #1249

Open
KeeperSt opened this issue Sep 19, 2017 · 4 comments
Open

Comments

@KeeperSt
Copy link

KeeperSt commented Sep 19, 2017

Describe the issue

Welcome to CorsixTH v0.60!


This window will display useful information if an error occurs.


Checking for CorsixTH updates...
You are running the latest version of CorsixTH.
An error has occurred!
Almost anything can be the cause, but the detailed information below can help the developers find the source of the error.
Running: The timer handler.
A stack trace is included below, and the handler has been disconnected.
...hivos de programa\CorsixTH\Lua\humanoid_actions\walk.lua:304: Humanoid (Surgeon) without door animations trying to walk through door (from operating_theatre to corridor)
stack traceback:
[C]: in function 'error'
...hivos de programa\CorsixTH\Lua\humanoid_actions\walk.lua:304: in function <...hivos de programa\CorsixTH\Lua\humanoid_actions\walk.lua:210>
(...tail calls...)
...hivos de programa\CorsixTH\Lua\humanoid_actions\walk.lua:188: in local 'timer_function'
F:\Archivos de programa\CorsixTH\Lua\entity.lua:219: in field 'tick'
F:\Archivos de programa\CorsixTH\Lua\entities\staff.lua:149: in method 'tick'
F:\Archivos de programa\CorsixTH\Lua\world.lua:1075: in method 'onTick'
F:\Archivos de programa\CorsixTH\Lua\app.lua:1000: in function <F:\Archivos de programa\CorsixTH\Lua\app.lua:997>
(...tail calls...)
F:\Archivos de programa\CorsixTH\Lua\app.lua:901: in function <F:\Archivos de programa\CorsixTH\Lua\app.lua:896>

Warning: No event handler for timer

Steps to Reproduce

We have two doctors operating in the surgeon. We put another one over the bed. Few seconds later, it crashes.

Save Game

https://www.dropbox.com/s/74hokadasyz3w4z/keeper5.sav?dl=0

System Information

CorsixTH Version: 0.60

Operating System: Windows 10 64 bits

Theme Hospital Version: CD

Additional Info

med general17

@TheCycoONE
Copy link
Member

Curious, this doesn't happen other times when a surgeon leaves the room? How reproducible is this?

@KeeperSt
Copy link
Author

KeeperSt commented Sep 23, 2017

Thanks for fixing it. Now it does not happen no longer. Now a surgeon operates, but there is nobody in the bed, and the other surgeon does not do anything.

med general16

@TheCycoONE
Copy link
Member

I didn't fix anything yet. Not easy to produce then.

@mugmuggy
Copy link
Contributor

When playing around with #1073 I reproduced it. Though I believe for this one to have a leaving surgeon that is gowned, and especially so for these to happen spontaneously would be due to next(self.staff_member_set), ie this one needs a 3rd doctor involved by the looks. Though interrupting and placing the gowned surgeon anywhere else is achievable to get the same error occuring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants