corsixth / corsixth Goto Github PK
View Code? Open in Web Editor NEWOpen source clone of Theme Hospital
License: Other
Open source clone of Theme Hospital
License: Other
Strangely, you continouly see the docor walking the same every time, but he never leaves the room. A handyman wants to water the plant inside this room, but can't. And when you place an another doctor or handyman, he can't also get out of the room.
Save: https://drive.google.com/file/d/0Bwc5O5IR0pMpWEtESzBzNEVEaW8/edit?usp=sharing
Keyboard input handling has changed in SDL2 so we need to go through functions such as onKeyDown in ui.lua
Zooming does not yet work.
An error has occured!
Almost anything can be the cause, but the detailed information below can help th
e developers find the source of the error.
Running: The timer handler.
A stack trace is included below, and the handler has been disconnected.
E:\CorsixTH\Lua\rooms\pharmacy.lua:76: attempt to index local 'staff' (a nil val
ue)
stack traceback:
E:\CorsixTH\Lua\rooms\pharmacy.lua:76: in function 'commandEnteringPatie
nt'
E:\CorsixTH\Lua\room.lua:351: in function 'onHumanoidEnter'
E:\CorsixTH\Lua\humanoid_actions\walk.lua:347: in function 'on_next_tile
_set'
E:\CorsixTH\Lua\humanoid_actions\walk.lua:142: in function <E:\CorsixTH
Lua\humanoid_actions\walk.lua:129>
(tail call): ?
E:\CorsixTH\Lua\entity.lua:166: in function 'tick'
E:\CorsixTH\Lua\world.lua:1023: in function 'onTick'
E:\CorsixTH\Lua\app.lua:789: in function <E:\CorsixTH\Lua\app.lua:786>
(tail call): ?
E:\CorsixTH\Lua\app.lua:690: in function <E:\CorsixTH\Lua\app.lua:685>
Warning: No event handler for timer
step to reproduce:
the result:
Nurse A stuck in the room cannot go out. Patients in queue cannot go in the room.
I first noticed this with #99 then again tonight I saw one patient with queuing for blood machine when she was on her way to the decontamination clinic and then this one who is fed up and leaving and it says she is queuing for GP office
I am testing epidemics, so it may be related to that branch only, but as I have also seen this in the master recently I will assume for now this is a general issue.
I just copy the log, not sure if this help.
An error has occured!
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.
E:\CorsixTH\Lua\entities\patient.lua:134: attempt to perform arithmetic on field 'fatigue' (a nil value)
stack traceback:
E:\CorsixTH\Lua\entities\patient.lua:134: in function 'completeDiagnosticStep'
E:\CorsixTH\Lua\room.lua:162: in function 'dealtWithPatient'
E:\CorsixTH\Lua\rooms\blood_machine_room.lua:75: in function 'after_use'
...:\CorsixTH\Lua\humanoid_actions\multi_use_object.lua:264: in function
'timer_function'
E:\CorsixTH\Lua\entity.lua:166: in function 'tick'
E:\CorsixTH\Lua\entities\staff.lua:145: in function 'tick'
E:\CorsixTH\Lua\world.lua:1023: in function 'onTick'
E:\CorsixTH\Lua\app.lua:789: in function <E:\CorsixTH\Lua\app.lua:786> (tail call): ?
E:\CorsixTH\Lua\app.lua:690: in function <E:\CorsixTH\Lua\app.lua:685>
Warning: No event handler for timer
If I try and create a save with the rc I get a persistance error and the same error if I try and load any saves I have (created in the trunk or 0.21) (this was from using the installer)
Cannot check for updates since LuaSocket is not available.
Current value:Error while loading game: C:\Program Files\Corsi
xTH\Lua\persistance.lua:90: bad argument #1 to '(for generator)' (table expected
, got userdata)
When only one patient is cured, the advisor message sais: "1 patientS cured". But it should be 1 patient cured. Probably the same issue with the numbers of patient you killed and maybe some other advisor messages?
During diagnosis patient goes to the GP and then is sent to a new room as shown in the debug action queue:
Put the seek_room action finds a different room even though the cardiogram is available (albeit the other side of the hospital).
And the patient ends up in the ward.
I can understand why a new room might be chosen if the other was not available but there seems to be some form of randomisation going on when seeking a room. https://github.com/CorsixTH/CorsixTH/blob/master/CorsixTH/Lua/humanoid_actions/seek_room.lua#L21 The room being sought isn't always the one found!
This probably has little effect for gameplay but for game logic can produce unexpected behaviour with available treatment rooms. I noticed this because it gets in the way when I was trying to implement something. Any idea why this randomisation happens?
no error log, whole game crash
save:
https://drive.google.com/file/d/0B05D0Cat5usfWWpJX1NhUmhkZGM/edit?usp=sharing
When clicking on a patient. it is possible to see his/her profile but even if the health graph background is being shown, there is no value. I guess this is not implemented but it could as well be a graphic bug.
The smoother zooming seems to work, but the scrolling momentum still doesn't seem to work. Or am I wrong. Look here for instructions how to "fix" this and what I'm talking about: http://code.google.com/p/corsix-th/issues/detail?id=1531&can=1&q=static.object
As I mentioned in issue 1719 in the Google Project page:
Should we maybe add the english name for the languages to the menu so that everyone can easily identify the languages?
For example I can't tell chinese from korean, but it could sometimes be handy to know which is which.
Example of what the menu might would look like:
Castellano (Spanish)
Dansk (Danish)
Deutsch (German)
Etc..
What do you think?
When you are about to start a campaign you'll notice that background music is played while you look at the first cutscene.
From an initial investigation it seems to be that OnMusicOver is called also when stopping music, which it was not in 0.30. I don't know if the code has been changed on our side or if SDL_Mixer has changed.
There is a bug that lets you upgrade 'upgradable' equipment for free.
Steps to reproduce:
The equipment will now be upgraded for free. The program should remember the original state of the equipment unless you destroy the room completely and rebuild it from scratch.
if you try and open the save in #56 and then open the progress report you get the following error. You can open the screen with 0.21, but with the trunk this was the error I got.
...\CorsixTH\Lua\dialogs\fullscreen\progress_report.lua:82: attempt to compare number with nil
stack traceback:
...\CorsixTH\Lua\dialogs\fullscreen\progress_report.lua:82: in function 'constructor'
In the staff hire window (and in the window of a staff member), the picture of the staff member is not displayed correctly. Instead it is drawn all the way to the bottom of the screen. See attached image.
SHA: 86e314d
If ones never adds bins to the hospital, it still stays very clean contrary to the original version. I guess this is just not implemented but given that I have not seen that mentioned, I guess it's better to open an issue.
Odd error, if you look at the image it says she is queuing for inflation, but has sleeping illness.
Error in timer handler:
...xTH-epidemics\CorsixTH\Lua\humanoid_actions\walk.lua:281: assertion failed!
stack traceback:
[C]: in function 'assert'
...xTH-epidemics\CorsixTH\Lua\humanoid_actions\walk.lua:281: in function <...xTH-epidemics\CorsixTH\Lua\humanoid_actions\walk.lua:209>
(tail call): ?
...xTH-epidemics\CorsixTH\Lua\humanoid_actions\walk.lua:187: in function 'timer_function'
...\corsixth\CorsixTH-epidemics\CorsixTH\Lua\entity.lua:178: in function 'tick'
...p\corsixth\CorsixTH-epidemics\CorsixTH\Lua\world.lua:1039: in function 'onTick'
...top\corsixth\CorsixTH-epidemics\CorsixTH\Lua\app.lua:839: in function <...top\corsixth\CorsixTH-epidemics\CorsixTH\Lua\app.lua:836>
(tail call): ?
...top\corsixth\CorsixTH-epidemics\CorsixTH\Lua\app.lua:740: in function <...top\corsixth\CorsixTH-epidemics\CorsixTH\Lua\app.lua:735>
Currently world.lua and possibly other files track the date in months (this stems from the original level files operating in months) meaning all over the code base there is explicit conversion of date in months to the actual month something like actual_months = 1 + ((months - 1) mod 12)
i.e.
Ideas for solving this would be one of:
get_actual_months(months)
The second way is my preferred way but this is really an open discussion.
Hello,
I'm using Fedora last version (3.12.5-302.fc20.x86_64.)
Upon compiling CorsixTH, I get the below errors.
Ihave checked the dependencies, here are the versions I use:
SDL_mixer-1.2.12-5.fc20.x86_64
cmake-2.8.12.1-1.fc20.x86_64
SDL-devel-1.2.15-12.fc20.x86_64
lua-devel-5.2.2-5.fc20.x86_64
SDL_mixer-devel-1.2.12-5.fc20.x86_64
ffmpeg-devel-2.1.1-1.fc20.x86_64
freetype-devel-2.5.0-4.fc20.x86_64
Any help will be appreciated :)
Piratmac
Error log upon "make":
Scanning dependencies of target CorsixTH
[ 2%] Building CXX object CorsixTH/CMakeFiles/CorsixTH.dir/SrcUnshared/main.cpp.o
[ 5%] Building C object CorsixTH/CMakeFiles/CorsixTH.dir/SrcUnshared/SDL_main_win32.c.o
[ 8%] Building CXX object CorsixTH/CMakeFiles/CorsixTH.dir/Src/sdl_core.cpp.o
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp: In function ‘int l_mainloop(lua_State_)’:
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:227:48: erreur: invalid conversion from ‘int’ to ‘lua_State_’ [-fpermissive]
if(lua_resume(dispatcher, nargs) != LUA_YIELD)
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:227:48: erreur: too few arguments to function ‘int lua_resume(lua_State_, lua_State_, int)’
In file included from /path/to/CorsixTH-0.30/CorsixTH/Src/lua.hpp:27:0,
from /path/to/CorsixTH-0.30/CorsixTH/Src/lua_sdl.h:26,
from /path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:24:
/usr/include/lua.h:274:13: note: declared here
LUA_API int (lua_resume) (lua_State L, lua_State *from, int narg);
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:238:40: erreur: invalid conversion from ‘int’ to ‘lua_State’ [-fpermissive]
if(lua_resume(dispatcher, 1) != LUA_YIELD)
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:238:40: erreur: too few arguments to function ‘int lua_resume(lua_State_, lua_State_, int)’
In file included from /path/to/CorsixTH-0.30/CorsixTH/Src/lua.hpp:27:0,
from /path/to/CorsixTH-0.30/CorsixTH/Src/lua_sdl.h:26,
from /path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:24:
/usr/include/lua.h:274:13: note: declared here
LUA_API int (lua_resume) (lua_State L, lua_State *from, int narg);
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:254:44: erreur: invalid conversion from ‘int’ to ‘lua_State’ [-fpermissive]
if(lua_resume(dispatcher, 1) != LUA_YIELD)
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:254:44: erreur: too few arguments to function ‘int lua_resume(lua_State_, lua_State_, int)’
In file included from /path/to/CorsixTH-0.30/CorsixTH/Src/lua.hpp:27:0,
from /path/to/CorsixTH-0.30/CorsixTH/Src/lua_sdl.h:26,
from /path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:24:
/usr/include/lua.h:274:13: note: declared here
LUA_API int (lua_resume) (lua_State L, lua_State *from, int narg);
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp: At global scope:
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:332:1: erreur: elements of array ‘const luaL_reg sdllib []’ have incomplete type
};
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:332:1: erreur: storage size of ‘sdllib’ isn’t known
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:339:1: erreur: elements of array ‘const luaL_reg sdllib_with_upvalue []’ have incomplete type
};
^
/path/to/CorsixTH-0.30/CorsixTH/Src/sdl_core.cpp:339:1: erreur: storage size of ‘sdllib_with_upvalue’ isn’t known
make[2]: ** [CorsixTH/CMakeFiles/CorsixTH.dir/Src/sdl_core.cpp.o] Erreur 1
make[1]: *** [CorsixTH/CMakeFiles/CorsixTH.dir/all] Erreur 2
make: *** [all] Erreur 2
Take a screenshot using DirectX in a window mode and you get a screen dump of the entire desktop when you should get a screenshot of only the game window. OpenGL and SDL work correctly
after the doctor finish all queue in Psychiatric room, he does not go back to GP office.
same issue if the doctor is in research room.
save:
https://docs.google.com/file/d/0B05D0Cat5usfbFpJUGp5ck1sRlE/edit?usp=sharing
If a patient is using a machine, a handyman can still repair this machine (like the scanner) and this gives a strange animation (of a not-working and a working machine in one.)
Of course the handyman should wait with repairing until the machine is not in use.
The map editor depended on the OpenGL back end which is no longer part of SDL2. Because of this it doesn't compile in the SDL2 branch.
When playing CorsixTH trunk with demo files, there's a rendering bug in which if a psychiatrist sits in an armchair, and it's located behind another object, that armchair is rendered over all near objects.
In the original version, it is quite easy to navigate trough the staff listing, down and up arrows would do that. With CorsixTH, it is required to click on every single person, it gets a bit tedious. It would be nice if the arrow keys could be binded to navigating the list instead of moving the view of the hospital in that situation.
Many distributions package both lua5.1 and lua5.2.
As a convention the include directory for lua5.1 is typically placed under /usr/include/lua5.1
cmake however finds lua5.2 and fills in the lua include directory as /usr/include
It should check the more specific directory first.
At least on Windows it is not possible to start the campaign if movies are enabled. The cutscene is played at the same time as the music continues. Nothing happens when you click to continue.
The pause shader effect is applied if you change resolution or go to/from fullscreen mode.
When going to/from fullscreen a new window is created somehow.
The same happens if you change resolution, and is especially evident if you do it when in windowed mode.
When I want to test level 12, It is very hard to have your reputation above the 450. Especially with testing this is very irritating. Couldn't we add an reputation cheat that highers your reputation with a value like 25, 50 or 100?
The music is sometimes to slow, fast or it stutters or it sounds completely different as it should.
This issue has so far only been verified on virtual machines..
Screenshot (snapshot) functionality is not currently implemented in SDL2.
This issue was opened on googlecode http://code.google.com/p/corsix-th/issues/detail?id=1730 and relates to 0.30.
Load the save in that issue and watch the patient leave the map. The game then crashes with no error report.
For me this only happens in DX for 0.30, other two exe's work fine and DX works for me in trunk.
Windows event log
Faulting application name: CorsixTH_DirectX.exe, version: 0.0.0.0, time stamp: 0x529b5ed4
Faulting module name: CorsixTH_DirectX.exe, version: 0.0.0.0, time stamp: 0x529b5ed4
Exception code: 0xc0000005
Fault offset: 0x0000000000036c3c
Faulting process id: 0xc58
Faulting application start time: 0x01cf0bdbac2e9cb4
Faulting application path: C:\Program Files\CorsixTH\CorsixTH_DirectX.exe
Faulting module path: C:\Program Files\CorsixTH\CorsixTH_DirectX.exe
Report Id: f0cf6841-77ce-11e3-8e87-8c89a5160b8f
I don't know how to reproduce this bug, and there is no error message.
In the save, there are two Operating Theater. The one has issue is one the right hand side.
This is what happened to me:
Similar issue happened a few times in GP office too, the doctor is very very sleepy but keep working.
save:
https://drive.google.com/file/d/0B05D0Cat5usfYUQwa0NDX3prUEE/edit?usp=sharing
I have noticed that patients just hanging around, sometimes it is because you notice them getting closer to death and other times like in this picture I noticed someone waiting when the nearest room is actually free.
She has the dynamic info of queuing for x-ray, the door shows no one is waiting or on the way. The queue dialog for that room is also empty.
Only solutions are either send home or clicking on guess at cure.
As with the other issue I have just opened, I am testing the epidemic branch, but I have seen this happen in 0.30 and not just with this room.
I think I have completed all the requirement but it not allow me to go to next level....
This is Hard mode level 5.
save:
https://docs.google.com/file/d/0B05D0Cat5usfR2dOQm5hSWswREE/edit?usp=sharing
An error has occured!
Almost anything can be the cause, but the detailed information below can help th
e developers find the source of the error.
Running: The timer handler.
A stack trace is included below, and the handler has been disconnected.
E:\CorsixTH\Lua\world.lua:1486: bad argument #4 to 'findDistance' (number expect
ed, got nil)
stack traceback:
[C]: in function 'findDistance'
E:\CorsixTH\Lua\world.lua:1486: in function 'getPathDistance'
E:\CorsixTH\Lua\hospital.lua:1624: in function 'searchForHandymanTask'
E:\CorsixTH\Lua\entities\staff.lua:892: in function 'searchForHandymanTa
sk'
E:\CorsixTH\Lua\calls_dispatcher.lua:232: in function 'answerCall'
E:\CorsixTH\Lua\humanoid_actions\answer_call.lua:24: in function '?'
E:\CorsixTH\Lua\entities\humanoid.lua:547: in function 'Humanoid_startAc
tion'
E:\CorsixTH\Lua\entities\humanoid.lua:639: in function 'finishAction'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:317: in function 'action
_use_object_tick'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:128: in function 'action
_use_phase'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:320: in function 'action
_use_object_tick'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:128: in function 'action
_use_phase'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:320: in function 'action
_use_object_tick'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:128: in function 'action
_use_phase'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:387: in function '?'
E:\CorsixTH\Lua\entities\humanoid.lua:547: in function 'Humanoid_startAc
tion'
E:\CorsixTH\Lua\entities\humanoid.lua:639: in function 'timer_function'
E:\CorsixTH\Lua\entity.lua:166: in function 'tick'
E:\CorsixTH\Lua\entities\staff.lua:145: in function 'tick'
E:\CorsixTH\Lua\world.lua:1023: in function 'onTick'
E:\CorsixTH\Lua\app.lua:789: in function <E:\CorsixTH\Lua\app.lua:786>
(tail call): ?
E:\CorsixTH\Lua\app.lua:690: in function <E:\CorsixTH\Lua\app.lua:685>
After the error, I save the game.
Then I open the save (see attachment), it show this error.
Warning: No event handler for timer
An error has occured!
Almost anything can be the cause, but the detailed information below can help th
e developers find the source of the error.
Running: The timer handler.
A stack trace is included below, and the handler has been disconnected.
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:31: attempt to perform arithmeti
c on local 'phase' (a nil value)
stack traceback:
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:31: in function 'action_
use_next_phase'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:284: in function 'timer_
function'
E:\CorsixTH\Lua\entity.lua:166: in function 'tick'
E:\CorsixTH\Lua\entities\staff.lua:145: in function 'tick'
E:\CorsixTH\Lua\world.lua:1023: in function 'onTick'
E:\CorsixTH\Lua\app.lua:789: in function <E:\CorsixTH\Lua\app.lua:786>
(tail call): ?
E:\CorsixTH\Lua\app.lua:690: in function <E:\CorsixTH\Lua\app.lua:685>
save:
https://drive.google.com/file/d/0B05D0Cat5usfcUtWbG5PTlZ1Zm8/edit?usp=sharing
I think this is already reported here: http://code.google.com/p/corsix-th/issues/detail?id=1338&q=vomit%20in%20room But I now also know how to reproduce this:
1.Make a blueprint of a room and make sure a patient which is going to vomit is already standing at the blueprint or will stand (walk to the blueprint) at the blueprint after you made the selection of the blueprint, but before you confirmed it.
2. Confirm the blueprint.
3. The patient will vomit at the blueprint and the room can be builded over it.
And when I want to edit the room, I get this nice error:
Savegame version is 78 (0.30), originally it was 78 (0.30)
Error in buttonup handler:
C:\Program Files\CorsixTH\Lua\dialogs\place_objects.lua:227: attempt to index field 'orientations' (a nil value)
stack traceback:
[C]: in function 'sort'
C:\Program Files\CorsixTH\Lua\dialogs\place_objects.lua:226: in function 'addObjects'
C:\Program Files\CorsixTH\Lua\dialogs\edit_room.lua:603: in function 'returnToDoorPhase'
C:\Program Files\CorsixTH\Lua\dialogs\edit_room.lua:187: in function 'callback'
C:\Program Files\CorsixTH\Lua\window.lua:645: in function 'handleClick'
C:\Program Files\CorsixTH\Lua\window.lua:1406: in function 'onMouseUp'
C:\Program Files\CorsixTH\Lua\dialogs\place_objects.lua:449: in function 'onMouseUp'
C:\Program Files\CorsixTH\Lua\window.lua:1390: in function 'onMouseUp'
C:\Program Files\CorsixTH\Lua\ui.lua:703: in function 'dispatch'
C:\Program Files\CorsixTH\Lua\app.lua:739: in function <C:\Program Files\CorsixTH\Lua\app.lua:734>
Attached save: https://drive.google.com/file/d/0Bwc5O5IR0pMpUkE1NExSTW9DQWc/edit?usp=sharing
This bug can be reproduced especially since version 0.30, because of the vomit tweaking, which causes much more vomit.
The background image should adapt to whatever resolution the user has.
I played the first level of the game with barely no heating and patients such as doctors where quite upset. Nearly every patient had a frowny face and doctors were asking for raises/bonuses very often.
The same scenario applied to CorsixTH does not go that bad. Patients will be cold but not too upset and doctors will barely complain. Also, the heat indicator will be at ~15-25% even though there is not one single heater in the hospital. It was quite close to 0% in the original game.
On CorsixTH trunk with demo files, the game doesn't recognize a 10x5 research department, even though it's fully equiped.
This issue is just to see if I have the correct permissions to edit issues at the moment, like editing them and closing them. Others can also experiment with this issue if they want. This issue can be deleted after we all know how everything works here.
Load the save and edit the slack tongue clinic and you get this error
Error in buttonup handler:
...pidemics\CorsixTH\Lua\humanoid_actions\seek_room.lua:110: attempt to index field 'hospital' (a nil value)
stack traceback:
...pidemics\CorsixTH\Lua\humanoid_actions\seek_room.lua:110: in function 'action_seek_room_no_treatment_room_found'
...pidemics\CorsixTH\Lua\humanoid_actions\seek_room.lua:287: in function '?'
...imental-epidemics\CorsixTH\Lua\entities\humanoid.lua:551: in function 'Humanoid_startAction'
...imental-epidemics\CorsixTH\Lua\entities\humanoid.lua:618: in function 'setNextAction'
...orsixTH-experimental-epidemics\CorsixTH\Lua\room.lua:95: in function 'callback'
...orsixTH-experimental-epidemics\CorsixTH\Lua\room.lua:808: in function 'deactivate'
...orsixTH-experimental-epidemics\CorsixTH\Lua\room.lua:815: in function 'tryToEdit'
...ixTH-experimental-epidemics\CorsixTH\Lua\game_ui.lua:520: in function <...ixTH-experimental-epidemics\CorsixTH\Lua\game_ui.lua:481>
(tail call): ?
(tail call): ?
...CorsixTH-experimental-epidemics\CorsixTH\Lua\app.lua:740: in function <...CorsixTH-experimental-epidemics\CorsixTH\Lua\app.lua:735>
https://www.dropbox.com/s/2umrgixkwf81hkg/Autosave7.sav
there may be a connection to http://code.google.com/p/corsix-th/issues/detail?id=794, although with that issue it is usually diag rooms
Warning: No event handler for timer
An error has occured!
Almost anything can be the cause, but the detailed information below can help th
e developers find the source of the error.
Running: The timer handler.
A stack trace is included below, and the handler has been disconnected.
E:\CorsixTH\Lua\entities\patient.lua:134: attempt to perform arithmetic on field
'fatigue' (a nil value)
stack traceback:
E:\CorsixTH\Lua\entities\patient.lua:134: in function 'completeDiagnosti
cStep'
E:\CorsixTH\Lua\room.lua:162: in function 'dealtWithPatient'
E:\CorsixTH\Lua\rooms\x_ray_room.lua:70: in function 'after_use'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:315: in function 'timer_
function'
E:\CorsixTH\Lua\entity.lua:166: in function 'tick'
E:\CorsixTH\Lua\world.lua:1023: in function 'onTick'
E:\CorsixTH\Lua\app.lua:789: in function <E:\CorsixTH\Lua\app.lua:786>
(tail call): ?
E:\CorsixTH\Lua\app.lua:690: in function <E:\CorsixTH\Lua\app.lua:685>
Save:
https://docs.google.com/file/d/0B05D0Cat5usfSFJRbTN3S2txaHc/edit?usp=sharing
Result:
Everything reset.
I don't know if this is general or just the epidemic branch, but I have noticed that when the x-ray needs repair that more than one handyman turns up.
In the second picture you will see there are two handymen, only one call for repair and having clicked on each of them you will see in the console that they have both answered the call.
As I have only been testing epidemics for the last few weeks I don't know whether this is specific to that branch or a general issue. Sadger is pretty sure he has not done anything that could cause this.
A stack trace is included below, and the handler has been disconnected.
E:\CorsixTH\Lua\entities\patient.lua:134: attempt to perform arithmetic on field
'fatigue' (a nil value)
stack traceback:
E:\CorsixTH\Lua\entities\patient.lua:134: in function 'completeDiagnosti
cStep'
E:\CorsixTH\Lua\room.lua:162: in function 'dealtWithPatient'
E:\CorsixTH\Lua\rooms\x_ray_room.lua:70: in function 'after_use'
E:\CorsixTH\Lua\humanoid_actions\use_object.lua:315: in function 'timer_
function'
E:\CorsixTH\Lua\entity.lua:166: in function 'tick'
E:\CorsixTH\Lua\world.lua:1023: in function 'onTick'
E:\CorsixTH\Lua\app.lua:789: in function <E:\CorsixTH\Lua\app.lua:786>
(tail call): ?
E:\CorsixTH\Lua\app.lua:690: in function <E:\CorsixTH\Lua\app.lua:685>
Warning: No event handler for timer
save:
https://docs.google.com/file/d/0B05D0Cat5usfWW9nbGJDOWo2dHM/edit?usp=sharing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.