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

Problem with custom campaign #1593

Closed
B17Fan opened this issue Apr 9, 2020 · 9 comments
Closed

Problem with custom campaign #1593

B17Fan opened this issue Apr 9, 2020 · 9 comments

Comments

@B17Fan
Copy link

B17Fan commented Apr 9, 2020

I am playing Chrizmantv - dethster hospital - and I have had so many problems with it. See the log file attached.

error theme hospital

Also i get issues with loads of patients suddenly going to one gp's office.

@mugmuggy
Copy link
Contributor

mugmuggy commented Apr 9, 2020

The save demonstrating this - like the issue template indicates - would help. Its as if a room is in a invalid state: its active but has no queue on the door (its closed?).

Patients going to one room is a side effect of queue length determination and what they will also do when a door is closed.

@B17Fan
Copy link
Author

B17Fan commented Apr 9, 2020

How do i share the saved game here?

@mugmuggy
Copy link
Contributor

mugmuggy commented Apr 9, 2020

Zip it up and copy/paste it in... instructions should appear in the bottom of the reply box.
image

@B17Fan
Copy link
Author

B17Fan commented Apr 9, 2020

after update.zip

@mugmuggy
Copy link
Contributor

The underlying fix is in 0.63, but the issue had already occured by this stage.

You can correct it by enabling debug in the configuration file: https://github.com/CorsixTH/CorsixTH/wiki/Configuration-File
And then, either using the console: https://github.com/CorsixTH/CorsixTH/wiki/Lua-Console
or alter the debug_script.lua file run the below (Shift-D) as soon as you open that save.

for _, pat in ipairs(TheApp.world.hospitals[1].patients) do
  if not pat.staff_change_callbacks then
    pat.staff_change_callbacks = {}
  end
end

@B17Fan
Copy link
Author

B17Fan commented Apr 10, 2020

two questions: Would it be better if i just restarted the level?
And this issue with loads of people queuing, Every so often, you end up with about 20 or 30 patients all going to one gp office. Especially if you build a new gp office. All the Queues are set to 6. Will the 0.63 update fix this?

@mugmuggy
Copy link
Contributor

There are numerous issues with that level so it might be worthwhile starting over. Some of those issues are not fixed in 0.63 but have been addressed since.

Likewise the movement of many patients to a room, isn't fixed either in 0.63 and only part of that is fixed currently, but there are many other fixes. Your previous issue (1498) was also on 0.60 from what I could tell and there again had been numerous fixes that would have addressed issues moving to the latest release.

@lewri
Copy link
Member

lewri commented Jul 31, 2020

@B17Fan have you come across this issue again in 0.64, if you've had a chance to play again from the start?

@lewri
Copy link
Member

lewri commented Aug 30, 2020

Owing that the save comes from 0.60 it can't be ruled out that the bug is caused from an old version.
Savegame version changed from 134 (v0.63) to 138 (v0.64). The save was created using 111 (v0.60)

Closing this, but happy to reopen if the same bug occurs in a new run of the level.

@lewri lewri closed this as completed Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants