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

[Bug] Door/patient glitch renders the whole room (with patient) unusable #2072

Open
EugeneFauci opened this issue Nov 15, 2021 · 4 comments
Open
Labels
bug issue type

Comments

@EugeneFauci
Copy link

Why does this keep happening I'm replaying this level for about 3rd time. Room is un-removable and the patient cannot leave it (applies to surgeons sometimes). This is the 3rd level of ChrizmanTV and beyond campaign. (pictures at the bottom)

Steps to Reproduce

  1. Load save game attached to this ticket

  2. Build operating theatre

  3. Wait till in-game error message appears - done

Save Game

https://www.mediafire.com/file/1n63ecceqgth8x5/broken+save.zip/file

System Information

**CorsixTH Version: v0.65.1

**Operating System: Windows 10

**Theme Hospital Version: GOG.com

Gamelog.txt

reated game with savegame version 156.
Savegame version is 156 (v0.65.1), originally it was 156 (v0.65.1).
Warning: Trying to remove nonexistent room build callback (function: 000001C831B37FE0) from humanoid (table: 000001C8323B7E50).
Warning: Trying to remove nonexistent room remove callback (function: 000001C83257C570) from humanoid (table: 000001C8323B7E50).
Warning: Trying to remove nonexistent staff callback (function: 000001C831B36840) from humanoid (table: 000001C8323B7E50).
Warning: Trying to remove nonexistent room build callback (function: 000001C831644FE0) from humanoid (table: 000001C831DD4EA0).
Warning: Trying to remove nonexistent room remove callback (function: 000001C832C46EF0) from humanoid (table: 000001C831DD4EA0).
Warning: Trying to remove nonexistent staff callback (function: 000001C8316445D0) from humanoid (table: 000001C831DD4EA0).
Error in timer handler: 
Lua\humanoid_actions\walk.lua:30: Invalid value for parameter 'x'
stack traceback:
	[C]: in function 'assert'
	Lua\humanoid_actions\walk.lua:30: in local 'constructor'
	Lua\class.lua:74: in global 'WalkAction'
	Lua\rooms\operating_theatre.lua:300: in method 'commandEnteringPatient'
	Lua\room.lua:401: in method 'onHumanoidEnter'
	Lua\humanoid_actions\walk.lua:383: in field 'on_next_tile_set'
	Lua\humanoid_actions\walk.lua:185: in function <Lua\humanoid_actions\walk.lua:172>
	(...tail calls...)
	Lua\entity.lua:216: in method 'tick'
	Lua\world.lua:1081: in method 'onTick'
	Lua\app.lua:1134: in function <Lua\app.lua:1131>
	(...tail calls...)
	Lua\app.lua:1034: in function <Lua\app.lua:1029>

Pictures

https://imgur.com/a/fljAFjS
https://imgur.com/gallery/a7hPEJu

@EugeneFauci EugeneFauci added the bug issue type label Nov 15, 2021
@lewri
Copy link
Member

lewri commented Nov 15, 2021

Is there a blocked path again @mugmuggy ?

@mugmuggy
Copy link
Contributor

Looks like it.

@Alberth289346
Copy link
Contributor

I think we need a more careful analysis of built rooms that all required paths exist

@lewri
Copy link
Member

lewri commented Nov 16, 2021

If it's a blocked off area, fixing it requires making sure this setting in the config.txt file is false
allow_blocking_off_areas (you'll have to restart the level)

(And if it is false, I think we have another problem too)

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

No branches or pull requests

4 participants