Don't Starve Together

Don't Starve Together

Infinite Pumpkin Lantern
shequan 27 Apr, 2015 @ 8:50pm
Crashes My Dedicated Server
Hopefully you can fix this .. because it's gonna be a new favorite. When I went to place my first pumpkin lantern the whole server crashed:

[00:03:35]: [string "../mods/workshop-432998076/scripts/prefabs/..."]:101: calling 'SetRadius' on bad self (number expected, got string)
LUA ERROR stack traceback:
=[C]:-1 in (method) SetRadius (C) <-1--1>
../mods/workshop-432998076/scripts/prefabs/pumpkin_lantern.lua:101 in (field) fn (Lua) <87-135>
inst = 120662 - (valid:true)
scripts/mainfunctions.lua:148 in () ? (Lua) <137-168>
name = pumpkin_lantern
prefab = Prefab pumpkin_lantern -
=[C]:-1 in (method) SpawnPrefab (C) <-1--1>
scripts/mainfunctions.lua:182 in (upvalue) origfunc (Lua) <179-184>
name = pumpkin_lantern
../mods/workshop-421510671/modmain.lua:54 in (global) SpawnPrefab (Lua) <47-60>
arg = nil
args = table: 0F7D6C10
scripts/components/builder.lua:275 in (method) DoBuild (Lua) <261-341>
self =
bonus_tech_level = 0
accessible_tech_trees = table: 0F7D7390
inst = 120505 - mitsuru (valid:true)
buffered_builds = table: 0F3A91B8
recipes = table: 0F3A8C90
_ = table: 0F3A8D80
onBuild = function - ../mods/workshop-404161345/modmain.lua:24
recname = pumpkin_lantern
pt = (-19.00, 0.00, 303.00)
recipe = table: 06CF63D0
wetlevel = 0
scripts/actions.lua:778 in (field) fn (Lua) <776-782>
act = Build nil Recipe:pumpkin_lantern (valid:true)
scripts/bufferedaction.lua:22 in (method) Do (Lua) <19-35>
self (valid:true) =
action = table: 05718BD0
doer = 120505 - mitsuru (valid:true)
onfail = table: 0F40D5C0
doerownsobject = false
recipe = pumpkin_lantern
onsuccess = table: 0F4075F8
distance = 1
options = table: 0F40FF00
pos = (-19.00, 0.00, 303.00)
scripts/entityscript.lua:1188 in (method) PerformBufferedAction (Lua) <1180-1198>
self (valid:true) =
DynamicShadow = DynamicShadow (2971F780)
inlimbo = false
GetMoistureRateScale = function - scripts/prefabs/player_common.lua:97
SetCameraDistance = function - scripts/prefabs/player_common.lua:1045
ScreenFlash = function - scripts/prefabs/player_common.lua:1099
player_classified = 120506 - player_classified (valid:true)
playercolour = table: 163A0248
AnimState = AnimState (2971F740)
Light = Light (2971F7E0)
OnRemoveEntity = function - scripts/prefabs/player_common.lua:538
pendingtasks = table: 163A01D0
ShowHUD = function - scripts/prefabs/player_common.lua:1039
sg = sg="wilson", state="dolongaction", time=1.00, tags = "doing,"
IsHUDVisible = function - scripts/prefabs/player_common.lua:1029
ApplyScale = function - scripts/prefabs/player_common.lua:1114
SetGhostMode = function - scripts/prefabs/player_common.lua:454
ShowActions = function - scripts/prefabs/player_common.lua:1033
OnWakeUp = function - scripts/prefabs/player_common.lua:962
Transform = Transform (2971F720)
actionreplica = table: 1639FC80
event_listening = table: 10F2B820
actioncomponents = table: 1639FA50
GetMaxMoisture = function - scripts/prefabs/player_common.lua:87
prefab = mitsuru
updatecomponents = table: 15D1EB98
ShakeCamera = function - scripts/prefabs/player_common.lua:1059
OnDespawn = function - scripts/prefabs/player_common.lua:980
persists = false
MiniMapEntity = MiniMapEntity (2971F7C0)
event_listeners = table: 10F2B6B8
OnSetSkin = function - scripts/prefabs/player_common.lua:1007
replica = table: 1639FAF0
GetTemperature = function - scripts/prefabs/player_common.lua:47
GUID = 120505
ghostenabled = true
EnableMovementPrediction = function - scripts/prefabs/player_common.lua:415
worldstatewatching = table: 0F3A9370
Network = Network (2971F800)
userid = KU_dQ-eDINW
OnPreLoad = function - ../mods/workshop-364189966/scripts/prefabs/mitsuru.lua:87
LightWatcher = LightWatcher (2971F7A0)
inherentactions = table: 0F3ABAD0
spawntime = 8.9666671343148
SnapCamera = function - scripts/prefabs/player_common.lua:1051
IsWet = function - scripts/prefabs/player_common.lua
[00:03:35]: SCRIPT ERROR! Showing error screen
[00:03:35]: QueryServerComplete no callback
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'
< >
Showing 1-7 of 7 comments
Terotrous  [developer] 27 Apr, 2015 @ 11:56pm 
Hmm, looks like an error with the mod config settings. I think the default value may have been set incorrectly in a previous patch, try going to the mod config and setting the value to something and see if that fixes it.

I fixed the default so this shouldn't happen anymore with fresh downloads.
Last edited by Terotrous; 28 Apr, 2015 @ 12:01am
shequan 28 Apr, 2015 @ 5:32am 
I rebooted my dedicated server with this re-enabled and it tells me I can't join because of a mod version issue. Turn it off and reboot again and I can join no problem. All mods are re-downloaded when the server is reboot so i suspect there's a version numner error in the mod itself.
Terotrous  [developer] 28 Apr, 2015 @ 7:09am 
Did you also make sure to update the mod on the client side by checking the mod window? It might also be useful to simply delete the mod folder on the server to force it to download the whole thing again.

If neither of those things works, please let me know the full text of the error that you're getting so I can investigate further.
Last edited by Terotrous; 28 Apr, 2015 @ 7:09am
shequan 28 Apr, 2015 @ 8:08am 
Deleting the mod from the dedicated server and forcing a redownload seems to have done the trick. I tested in game and it seems to be working. Thanks for your help!
Terotrous  [developer] 28 Apr, 2015 @ 10:53am 
Okay, thanks for providing the error messages so I could track those issues down.
ChaosMind42 10 May, 2015 @ 4:50am 
Hi, i got an issue on startup on my dedicated server aswell here is the excerpt from the log:

[00:00:18]: Mod: workshop-432998076 (Infinite Pumpkin Lantern) Loading modworldgenmain.lua
[00:00:18]: Mod: workshop-432998076 (Infinite Pumpkin Lantern) Mod had no modworldgenmain.lua. Skipping.
[00:00:18]: Mod: workshop-432998076 (Infinite Pumpkin Lantern) Loading modmain.lua
[00:00:18]: Warning: function Recipe in modmain is deprecated, please use AddRecipe
[00:00:18]: Mod: workshop-432998076 (Infinite Pumpkin Lantern) Error loading mod!
[string "scripts/modutil.lua"]:63: no function environment for tail call at level 3
LUA ERROR stack traceback:
=[C] in function 'getfenv'
scripts/modutil.lua(63,1) in function 'initprint'
scripts/modutil.lua(356,1)
=(tail call) ?
../mods/workshop-432998076/modmain.lua(8,1) in main chunk
=[C] in function 'xpcall'
scripts/util.lua(548,1) in function 'RunInEnvironment'
scripts/mods.lua(382,1) in function 'InitializeModMain'
scripts/mods.lua(363,1) in function 'LoadMods'
scripts/main.lua(246,1) in function 'ModSafeStartup'
scripts/main.lua(294,1) in function 'callback'
scripts/modindex.lua(66,1) in function 'BeginStartupSequence'
scripts/main.lua(293,1) in function 'callback'
scripts/modindex.lua(475,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(455,1) in function 'Load'
scripts/main.lua(292,1) in main chunk

when i deactivate this mod everything works just fine
Last edited by ChaosMind42; 10 May, 2015 @ 4:51am
hallejr 13 Aug, 2015 @ 10:09am 
MEEM?
< >
Showing 1-7 of 7 comments
Per page: 1530 50