{"action":"created","issue":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/641","labels_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/641/labels{/name}","comments_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/641/comments","events_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/641/events","html_url":"https://github.com/CorsixTH/CorsixTH/issues/641","id":55841808,"number":641,"title":"Janitors Error When Stuck on doors to broken rooms.","user":{"login":"mrbenjamin1","id":10750170,"avatar_url":"https://avatars.githubusercontent.com/u/10750170?v=3","gravatar_id":"","url":"https://api.github.com/users/mrbenjamin1","html_url":"https://github.com/mrbenjamin1","followers_url":"https://api.github.com/users/mrbenjamin1/followers","following_url":"https://api.github.com/users/mrbenjamin1/following{/other_user}","gists_url":"https://api.github.com/users/mrbenjamin1/gists{/gist_id}","starred_url":"https://api.github.com/users/mrbenjamin1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrbenjamin1/subscriptions","organizations_url":"https://api.github.com/users/mrbenjamin1/orgs","repos_url":"https://api.github.com/users/mrbenjamin1/repos","events_url":"https://api.github.com/users/mrbenjamin1/events{/privacy}","received_events_url":"https://api.github.com/users/mrbenjamin1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T01:13:45Z","updated_at":"2015-01-29T11:13:25Z","closed_at":null,"body":"I have been getting errors/crasheswhen the janitor goes to fix a machine that is now destroyed (this would normaly happen after an earthquake. the error recovery message pops up with the janitors info dispalyed but this info box cannot be closed meaning and the game stops but sound, mouse still works and i can use the menus at the top (but not click on anything) i have to minimise the game and close it that way then reload. when i reload the save the janitor is still stuck but the game plays as normal. this error has happened twice now in the Custom camp level 1.\r\n\r\ni have attached the log\r\n\r\nthanks Ben\r\n\r\n___________________________\r\n\r\nCreated game with savegame version 91.\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0ecb17f0) from humanoid (table: 0x0a294298).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0ecfae38) from humanoid (table: 0x0a294298).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x13a9a640) from humanoid (table: 0x0989bc60).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0be326e0) from humanoid (table: 0x0989bc60).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0ec97e70) from humanoid (table: 0x0add32a8).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0d1dbb90) from humanoid (table: 0x0add32a8).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0bfe1dc0) from humanoid (table: 0x0ec65368).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0a2d47b0) from humanoid (table: 0x0ec65368).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0984f320) from humanoid (table: 0x0d2b00b0).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x09856dd0) from humanoid (table: 0x0d2b00b0).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0a2d92d8) from humanoid (table: 0x0ed1c888).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x097dabb0) from humanoid (table: 0x0ed1c888).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x139a3f28) from humanoid (table: 0x0983e8f0).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0d2a5450) from humanoid (table: 0x0983e8f0).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0bde8f68) from humanoid (table: 0x0a3c2b08).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0bde8f28) from humanoid (table: 0x0a3c2b08).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0985b9e8) from humanoid (table: 0x0bfd7b58).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0be42ad8) from humanoid (table: 0x0bfd7b58).\r\nError in frame handler: \r\nC:\\Program Files\\CorsixTH\\Lua\\dialogs\\place_staff.lua:78: bad argument #1 to 'getCellFlags' (Map co-ordinates out of bounds)\r\nstack traceback:\r\n\t[C]: in function 'getCellFlags'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\dialogs\\place_staff.lua:78: in function 'draw'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\window.lua:1238: in function 'draw'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\game_ui.lua:150: in function 'draw'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:869: in function 'dispatch'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:753: in function <C:\\Program Files\\CorsixTH\\Lua\\app.lua:748>\r\nSavegame version is 91 (0.40), originally it was 91 (0.40)\r\nWarning: Trying to remove nonexistant room build callback (function: 0x085055a8) from humanoid (table: 0x057d6a88).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0910b518) from humanoid (table: 0x057d6a88).\r\nSavegame version is 91 (0.40), originally it was 91 (0.40)\r\nWarning: Trying to remove nonexistant room build callback (function: 0x053453a0) from humanoid (table: 0x044cea20).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x044c8bc0) from humanoid (table: 0x044cea20).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0577da40) from humanoid (table: 0x0577d770).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0558ff70) from humanoid (table: 0x0577d770).\r\nError in timer handler: \r\nC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua:227: attempt to index field 'queue' (a nil value)\r\nstack traceback:\r\n\tC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua: in function 'action_walk_raw'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua:187: in function 'timer_function'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\entity.lua:215: in function 'tick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\entities\\staff.lua:146: in function 'tick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\world.lua:1103: in function 'onTick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:852: in function 'dispatch'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:753: in function <C:\\Program Files\\CorsixTH\\Lua\\app.lua:748>\r\nRecovering from error in timer handler...\r\nError in buttonup handler: \r\nC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua:60: attempt to call local 'timer_function' (a nil value)\r\nstack traceback:\r\n\tC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua: in function 'on_interrupt'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\entities\\humanoid.lua:635: in function 'setNextAction'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\dialogs\\staff_dialog.lua:313: in function 'callback'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\window.lua:645: in function 'handleClick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\window.lua:1406: in function 'onMouseUp'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\dialogs\\staff_dialog.lua:269: in function 'onMouseUp'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\window.lua:1390: in function 'onMouseUp'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\ui.lua:735: in function 'dispatch'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:753: in function <C:\\Program Files\\CorsixTH\\Lua\\app.lua:748>\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0e094490) from humanoid (table: 0x054c1ef0).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0e0728b8) from humanoid (table: 0x054c1ef0).\r\nSavegame version is 91 (0.40), originally it was 91 (0.40)\r\nWarning: Trying to remove nonexistant room build callback (function: 0x0eec3510) from humanoid (table: 0x11dfb7e8).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x175fe420) from humanoid (table: 0x11dfb7e8).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x19351720) from humanoid (table: 0x1765a060).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x1910e5c0) from humanoid (table: 0x1765a060).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x192de0a0) from humanoid (table: 0x1954aca0).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x192de060) from humanoid (table: 0x1954aca0).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x192f2610) from humanoid (table: 0x11e792e0).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x19520a98) from humanoid (table: 0x11e792e0).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x11e56250) from humanoid (table: 0x1954ac18).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x17668908) from humanoid (table: 0x1954ac18).\r\nWarning: Trying to remove nonexistant room build callback (function: 0x1a4bb4f8) from humanoid (table: 0x0f9fd2a8).\r\nWarning: Trying to remove nonexistant room remove callback (function: 0x0b1908d8) from humanoid (table: 0x0f9fd2a8).\r\nError in timer handler: \r\nC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua:227: attempt to index field 'queue' (a nil value)\r\nstack traceback:\r\n\tC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua: in function 'action_walk_raw'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua:187: in function 'timer_function'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\entity.lua:215: in function 'tick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\entities\\staff.lua:146: in function 'tick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\world.lua:1103: in function 'onTick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:852: in function 'dispatch'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:753: in function <C:\\Program Files\\CorsixTH\\Lua\\app.lua:748>\r\nError in buttonup handler: \r\nC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua:60: attempt to call local 'timer_function' (a nil value)\r\nstack traceback:\r\n\tC:\\Program Files\\CorsixTH\\Lua\\humanoid_actions\\walk.lua: in function 'on_interrupt'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\entities\\humanoid.lua:635: in function 'setNextAction'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\dialogs\\staff_dialog.lua:313: in function 'callback'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\window.lua:645: in function 'handleClick'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\window.lua:1406: in function 'onMouseUp'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\dialogs\\staff_dialog.lua:269: in function 'onMouseUp'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\window.lua:1390: in function 'onMouseUp'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\ui.lua:735: in function 'dispatch'\r\n\tC:\\Program Files\\CorsixTH\\Lua\\app.lua:753: in function <C:\\Program Files\\CorsixTH\\Lua\\app.lua:748>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/comments/72008103","html_url":"https://github.com/CorsixTH/CorsixTH/issues/641#issuecomment-72008103","issue_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/641","id":72008103,"user":{"login":"MarkL1961","id":4965487,"avatar_url":"https://avatars.githubusercontent.com/u/4965487?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkL1961","html_url":"https://github.com/MarkL1961","followers_url":"https://api.github.com/users/MarkL1961/followers","following_url":"https://api.github.com/users/MarkL1961/following{/other_user}","gists_url":"https://api.github.com/users/MarkL1961/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkL1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkL1961/subscriptions","organizations_url":"https://api.github.com/users/MarkL1961/orgs","repos_url":"https://api.github.com/users/MarkL1961/repos","events_url":"https://api.github.com/users/MarkL1961/events{/privacy}","received_events_url":"https://api.github.com/users/MarkL1961/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T11:13:25Z","updated_at":"2015-01-29T11:13:25Z","body":"It looks like you had a lot of errors, the first one suggests you were trying to place a staff member somewhere you shouldn't \"Map co-ordinates out of bounds\".  I have seen that in another issue in recent weeks. \r\nCan you recall what you were doing when that first error happened?"}}