饥荒联机版

饥荒联机版

Koalefants' Family DST
shequan 2015 年 4 月 27 日 上午 6:38
crash log
I noticed I wasn't getting new babies and not long after my dedicated server crashed with the following. [this is a pre rog world running the latested version of DST.. so it has the new food mechanics etc, but only two seasons.] From the server console:

[09:09:49]: [string "../mods/workshop-354533909/scripts/prefabs/..."]:112: attempt to call method 'SetVegetarian' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-354533909/scripts/prefabs/baby_koalefant_winter.lua:112 in (field) fn (Lua) <81-166>
inst = 125346 - (valid:true)
scripts/mainfunctions.lua:148 in () ? (Lua) <137-168>
name = baby_koalefant_winter
prefab = Prefab baby_koalefant_winter -
=[C]:-1 in (method) SpawnPrefab (C) <-1--1>
scripts/mainfunctions.lua:182 in (upvalue) origfunc (Lua) <179-184>
name = baby_koalefant_winter
../mods/workshop-421510671/modmain.lua:54 in (global) SpawnPrefab (Lua) <47-60>
arg = nil
args = table: 2DA78DF8
../mods/workshop-354533909/scripts/components/periodicspawner_koalefant.lua:48 in (method) TrySpawn (Lua) <27-53>
self =
inst = 101509 - koalefant_summer (valid:true)
basetime = 5040
task = PERIODIC 101509: 5040.000000
randtime = 0
prefab = baby_koalefant_winter
canspawn = true
pos = (34.04, -0.00, -28.64)
koalefants = table: 2DA79FF0
../mods/workshop-354533909/scripts/components/periodicspawner_koalefant.lua:6 in (field) fn (Lua) <2-9>
inst = 101509 - koalefant_summer (valid:true)
spawner = table: 124BDA98
scripts/scheduler.lua:187 in (method) OnTick (Lua) <161-217>
self =
running = table: 054A9910
waitingfortick = table: 054A98E8
tasks = table: 054A98C0
waking = table: 2DA80148
attime = table: 054A9988
hibernating = table: 054A9960
tick = 151199
k = PERIODIC 101509: 5040.000000
v = true
already_dead = false
scripts/scheduler.lua:398 in (global) RunScheduler (Lua) <396-404>
tick = 151199
scripts/update.lua:162 in () ? (Lua) <146-219>
dt = 0.033333335071802
tick = 151199
i = 151199

[09:09:49]: SCRIPT ERROR! Showing error screen
CreateBoundSocket: ::bind couldn't find an open port between 57921 and 57921
..\tier1\fileio.cpp (4002) : Assertion Failed: m_nNumRegisteredWriters == 0
threadtools.cpp (3633) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread'
< >
正在显示第 1 - 3 条,共 3 条留言
shequan 2015 年 4 月 27 日 上午 6:40 
I should probably also note that I had been toggling this mod on/off from time to time to keep herd expansion in check.
Mystil 2015 年 6 月 8 日 下午 10:15 
So apparently, if you have a Summer koalefant near your base, and you enable this mod after the world is generated--rehosting the server--and all that happens to occur during Winter, when the mod tries to add a baby Winter koalefant, it crashes the server.
Sorry I don't have the log file; I restarted DST before checking it. =/ But yes, basically the same as above, with the spawning of a baby Winter koalefant triggering the crash.
最后由 Mystil 编辑于; 2015 年 6 月 8 日 下午 10:17
Dead Monkey 2015 年 6 月 10 日 下午 5:53 
Not just for winter, happens in autumm too
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50