Don't Starve

Don't Starve

Combined Status
Jason1923 4 Jan, 2021 @ 4:35am
Crashes with Extra Slots (Shipwrecked)
Hi, I've found a crash when using Extra Slots (Shipwrecked), from the URL https://steamproxy.net/sharedfiles/filedetails/?id=571751170. I'm not sure how to consistently reproduce, but doing the following several times should result in a crash on one of the attempts (has to do with season/weather or something). I have isolated the issue to this mod, as every other mod in conjunction does not crash with the following below.

I really enjoy using your mod! Could you please look into this issue or recommend an "extra slots" mod that is known to be fully compatible with yours? Thanks for reading.


Steps to reproduce:

1. Load a new world with this mod and Extra Slots (Shipwrecked) enabled. Ensure that the season clock is set to "Clock."
2. Spawn in a Life Giving Amulet, equip it, and die.
3. Game should crash. If not, repeat.


Relevant parts from my backup_log.txt:

[00:01:09]: scripts/gamelogic.lua(259,1) OnPlayerDeath
[00:01:09]: scripts/playerdeaths.lua(54,1) SAVING Morgue 39
[00:01:09]: scripts/gamelogic.lua(288,1) Found Local Resurrector 113259 - amulet(LIMBO)
[00:01:12]: cSoundEmitterComponent::PlaySound() already playing sound named [OUTOFSPACE]
[00:01:12]: cSoundEmitterComponent::PlaySound() already playing sound named [OUTOFSPACE]
[00:01:12]: cSoundEmitterComponent::PlaySound() already playing sound named [OUTOFSPACE]
[00:01:12]: cSoundEmitterComponent::PlaySound() already playing sound named [OUTOFSPACE]
[00:01:13]: scripts/components/seasonmanager_rog.lua:1239: attempt to index a nil value
LUA ERROR stack traceback:
scripts/components/seasonmanager_rog.lua:1239 in (method) OnUpdate (Lua) <1146-1482>
self =
winterenabled = true
noise_time = 495.03333333507
lightningdelays = table: 0x600004333280
segmod = table: 0x600004333140
precip_rate = 0
summerenabled = true
current_season = spring
snow = 112317 - snow (valid:true)
seasonfns = table: 0x6000043330c0
atmo_moisture = 1292.1828752813
wildfire_retry_time = 45
current_temperature = 20.853482628685
bloom_modifier = 0
nextlightningtime = 10.002790044529
peak_precip_intensity = 0.44
wither_delay = 42
rejuvenate_delay = 8
incaves = false
base_atmo_moisture_rate = 1
wintersegs = table: 0x600004332fc0
lightningmode = rain
autumnsegs = table: 0x600004332f40
inst = 100024 - forest (valid:true)
ground_snow_level = 0
precip = true
springsegs = table: 0x600004333040
bloom_time_to_new_modifier = 0
bloom_time_current = 0
springenabled = true
seasonmode = cycle
summersegs = table: 0x600004333080
summerdsp = table: 0x600004333380
autumnenabled = true
winterdsp = table: 0x6000043332c0
moisture_floor = 111.3260514299
summerfreq = table: 0x600004333300
precipmode = dynamic
percent_season = 0.05
initialevent = true
preciptype = rain
rain = 112318 - rain (valid:true)
moisture_limit = 1292.1828752813
bloom_enabled = true
dt = 0.033333335071802
min_temp = -25
max_temp = 95
summer_crossover_temp = 55
winter_crossover_temp = 5
day_heat = 8
night_cold = -10
season_temp = 17
percent_season = 0.05
time_temp = 2.4774450310285
normtime = 0.10022222223381
is_day = true
noise_scale = 0.025
noise_mag = 8
temperature_noise = 1.3760375976562
precip_rate = 0
scripts/update.lua:157 in () ? (Lua) <90-191>
dt = 0.033333335071802
tick = 1247
k = 100024
ent = 100024 - forest (valid:true)
prefab = forest
cmp = table: 0x600004332ec0
name = seasonmanager

[00:01:13]: Last called Lua: None
[00:01:13]: scripts/mainfunctions.lua(960,1) LUA ERROR stack traceback:
scripts/mainfunctions.lua(960,1)
[00:01:13]: scripts/mainfunctions.lua(961,1) scripts/components/seasonmanager_rog.lua:1239: attempt to index a nil value
LUA ERROR stack traceback:
scripts/components/seasonmanager_rog.lua:1239 in (method) OnUpdate (Lua) <1146-1482>
scripts/update.lua:157 in () ? (Lua) <90-191>

[00:01:13]: scripts/frontend.lua(773,1) SCRIPT ERROR! Showing error screen
[00:01:18]: Force aborting...