Jump to content

Server crashing due to bird/birdcage

Recommended Posts

Here is a log of right before it crashes, seems to have something to do with the birdcage. At first I thought it might be a mod I have, I can post more information if it's needed.


Also, I was having a bug where we could continuously feed the bird cooked monster meat & pomegranates, it would spit out seeds but give us the fruit/meat back like a loop. Strange!


[00:33:47]: [string "scripts/prefabs/birdcage.lua"]:228: attempt to index field 'occupiable' (a nil value)LUA ERROR stack traceback:scripts/prefabs/birdcage.lua:228 in (local) fn (Lua) <227-233> inst = 109097 - birdcage (valid:true)scripts/entityscript.lua:938 in (method) PushEvent (Lua) <932-955> self (valid:true) = GUID = 109097 Transform = Transform (2398B3C0) inlimbo = false actionreplica = table: 23A851C8 event_listening = table: 23A86370 actioncomponents = table: 23A85060 AnimationTask = PERIODIC 109097: 6.000000 lower_components_shadow = table: 23A85010 OnLoadPostPass = function - scripts/prefabs/birdcage.lua:389 bird_type = crow entity = Entity (23963F30) AnimState = AnimState (2398B3E0) prefab = birdcage pendingtasks = table: 23B06578 children = table: 23A8A5B0 OnSave = function - scripts/prefabs/birdcage.lua:374 Network = Network (2398B460) Physics = Physics (2398BA40) CAGE_STATE = _bird MiniMapEntity = MiniMapEntity (2398B420) SoundEmitter = SoundEmitter (2398B400) name = Birdcage chirpsound = dontstarve/birds/chirp_crow OnLoad = function - scripts/prefabs/birdcage.lua:379 spawntime = 0 PlayStateAnim = function - scripts/prefabs/birdcage.lua:52 replica = table: 23A85088 event_listeners = table: 23A862A8 components = table: 23A85038 persists = true event = gotosleep data = nil listeners = table: 23A869B0 entity = 109097 - birdcage (valid:true) fns = table: 23A869D8 i = 1 fn = function - scripts/prefabs/birdcage.lua:227scripts/components/sleeper.lua:245 in (method) GoToSleep (Lua) <222-250> self = sleeptestfn = function - scripts/prefabs/birdcage.lua:221 testtask = PERIODIC 109097: 3.931227 wearofftime = 10 testperiod = 4 nocturnal = false sleepiness = 0 resistance = 1 lasttesttime = 297.00001548976 inst = 109097 - birdcage (valid:true) waketestfn = function - scripts/prefabs/birdcage.lua:235 testtime = 3.9312265388958 lasttransitiontime = 297.00001548976 isasleep = true hibernate = false sleeptime = nil wasasleep = falsescripts/components/sleeper.lua:108 in (field) fn (Lua) <103-111> inst = 109097 - birdcage (valid:true) sleeper = table: 23A8EC00scripts/scheduler.lua:187 in (method) OnTick (Lua) <161-217> self = running = table: 06601000 waitingfortick = table: 06600FD8 tasks = table: 06600FB0 waking = table: 23A90AD8 attime = table: 06601078 hibernating = table: 06601050 tick = 8910 k = PERIODIC 109097: 3.931227 v = true already_dead = nilscripts/scheduler.lua:398 in (global) RunScheduler (Lua) <396-404> tick = 8910scripts/update.lua:162 in () ? (Lua) <146-219> dt = 0.033333335071802 tick = 8910 i = 8910 [00:33:47]: [string "scripts/prefabs/birdcage.lua"]:228: attempt to index field 'occupiable' (a nil value)LUA ERROR stack traceback: scripts/prefabs/birdcage.lua:228 in (local) fn (Lua) <227-233> scripts/entityscript.lua:938 in (method) PushEvent (Lua) <932-955> scripts/components/sleeper.lua:245 in (method) GoToSleep (Lua) <222-250> scripts/components/sleeper.lua:108 in (field) fn (Lua) <103-111> scripts/scheduler.lua:187 in (method) OnTick (Lua) <161-217> scripts/scheduler.lua:398 in (global) RunScheduler (Lua) <396-404> scripts/update.lua:162 in () ? (Lua) <146-219>    [00:33:47]: SCRIPT ERROR! Showing error screen    ..\tier1\fileio.cpp (4002) : Assertion Failed: m_nNumRegisteredWriters == 0threadtools.cpp (3633) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread'


I am so sorry that it copied in such a terrible format without paragraphing but I already exited out of the server and can't get another copy of the log, just keeps showing me the starting up log. thank you for any help.

Link to comment
Share on other sites

I think I was able to figure out what was going wrong and that it is indeed a bug, so maybe I should move this thread there. I could be wrong, but when I went to recreate it, I saw the bird was dead and the cage needed mucking. I mucked it out and the crash no longer happened. Before the bird was still sitting there when it hit nightfall, this time it wasn't. So it must have had something to do with the dead bird trying to go to sleep?

Link to comment
Share on other sites

It was the exact same crash. When I loaded it back up, it jumped back a little and crashed exactly the same as night came on and the bird tried to sleep. Same error message as above. I reloaded again and the bird still had the normal awake/alive looking animation, but if you hovered your mouse over it, you could see the message that the cage needed mucking out. I mucked it out before night hit, and no crash this time.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

  • Create New...