Error trying to setup dedicated server


Recommended Posts

I get this error in my server log. It shuts down my server (I think) and doesnt give me the console even though I added -console to my start up.         dontstarve_dedicated_server_nullrenderer -console

 

[00:00:00]: Starting Up
[00:00:00]: Version: 138964
[00:00:00]: Current time: Tue Jun 16 16:29:48 2015
 
[00:00:00]: Don't Starve Together: 138964 WIN32
NNN Build Date: 2015-06-08_11-23-52
[00:00:00]: Parsing command line
[00:00:00]: Command Line Arguments: 
[00:00:00]: Initializin Minidump handler
[00:00:00]: ....Done
[00:00:00]: Fixing DPI
[00:00:00]: ...Done
[00:00:00]: THREAD - started 'GAClient' (6340)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: ProfileIndex:4.61
[00:00:00]: THREAD - started 'GAClient' (7104)
[00:00:00]: THREAD - started 'GAClient' (6836)
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: Network tick rate: U=15(2), D=0
[00:00:00]: Authorized application D:\steamcmd\steamapps\common\Don't Starve Together Dedicated Server\bin\dontstarve_dedicated_server_nullrenderer -console -conf_dir myDSTserver.exe is enabled in the firewall.
[00:00:00]: WindowsFirewall - Application already authorized
[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/blocklist.txt (Failure)
[00:00:00]: OnLoadPermissionList: APP:Klei/DoNotStarveTogether/save/adminlist.txt (Failure)
[00:00:00]: OnLoadUserIdList: APP:Klei/DoNotStarveTogether/save/whitelist.txt (Failure)
[00:00:00]: Server token retrieved from: server_token.txt
[00:00:00]: cGame::InitializeOnMainThread
[00:00:00]: THREAD - started 'GAClient' (6876)
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: THREAD - started 'GAClient' (5620)
[00:00:00]: Renderer initialize: Okay
[00:00:00]: HttpClient::ClientThread::Main()
[00:00:00]: AnimManager initialize: Okay
[00:00:00]: Buffers initialize: Okay
[00:00:00]: cDontStarveGame::DoGameSpecificInitialize()
[00:00:00]: FMOD Error: An invalid object handle was used. 
[00:00:00]: GameSpecific initialize: Okay
[00:00:00]: cGame::StartPlaying
[00:00:00]: LOADING LUA
[00:00:00]: DoLuaFile scripts/main.lua
[00:00:00]: DoLuaFile loading buffer scripts/main.lua
[00:00:01]: scripts/main.lua(167,1) running main.lua
 
[00:00:01]: loaded modindex
[00:00:01]: ModIndex: Beginning normal load sequence for dedicated server.
 
[00:00:01]: DownloadMods(0)
[00:00:01]: FMOD Error: An invalid object handle was used. 
[00:00:01]: LOADING LUA SUCCESS
[00:00:01]: PlayerDeaths could not load morgue
[00:00:01]: loaded profile
[00:00:01]: bloom_enabled false
[00:00:01]: loaded saveindex
[00:00:01]: OnFilesLoaded()
[00:00:01]: OnUpdatePurchaseStateComplete
[00:00:01]: Load FE
[00:00:01]: Load FE: done
[00:00:01]: ModIndex: Load sequence finished successfully.
[00:00:01]: Reset() returning
[00:00:03]: [200] Account Communication Success (6)
[00:00:03]: [ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_LDsuObEo
[00:00:03]: Starting Dedicated Server Game
[00:00:03]: Network tick rate: U=15(2), D=0
[00:00:03]: [Warning] Could not confirm port 10999 is open in the firewall. 
[00:00:03]: Setting up socket descriptors
[00:00:03]: Online Server Started on port: 10999
[00:00:03]: Collecting garbage...
[00:00:03]: lua_gc took 0.01 seconds
[00:00:03]: ~NetworkLuaProxy()
[00:00:03]: ~SimLuaProxy()
[00:00:03]: lua_close took 0.02 seconds
[00:00:03]: ReleaseAll
[00:00:03]: ReleaseAll Finished
[00:00:03]: cGame::StartPlaying
[00:00:03]: LOADING LUA
[00:00:03]: DoLuaFile scripts/main.lua
[00:00:03]: DoLuaFile loading buffer scripts/main.lua
[00:00:03]: scripts/main.lua(167,1) running main.lua
 
[00:00:03]: loaded modindex
[00:00:03]: ModIndex: Beginning normal load sequence for dedicated server.
 
[00:00:03]: LOADING LUA SUCCESS
[00:00:03]: PlayerDeaths could not load morgue
[00:00:03]: loaded profile
[00:00:03]: bloom_enabled false
[00:00:03]: loaded saveindex
[00:00:03]: OnFilesLoaded()
[00:00:03]: OnUpdatePurchaseStateComplete
[00:00:03]: Unload FE
[00:00:03]: Unload FE done
[00:00:04]: LOAD BE
[00:00:05]: Could not preload undefined prefab 0x4058bc0 (molehat)
[00:00:05]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)
[00:00:05]: Could not preload undefined prefab 0x20e21d7a (puppet_wes)
[00:00:05]: LOAD BE: done
[00:00:05]: Deserialize world session from session/081000040BE90E3B/0000000015
[00:00:05]: Save file is at version 1
[00:00:05]: Begin Session: 081000040BE90E3B
[00:00:05]: saving to server_temp/server_save
[00:00:06]: MiniMapComponent::AddAtlas( minimap/minimap_data.xml )
[00:00:06]: Loading Nav Grid
[00:00:06]: setting summerlength 15
[00:00:06]: setting elapseddaysinseason 12
[00:00:06]: setting isfullmoon false
[00:00:06]: setting moisture 1697.7340087891
[00:00:06]: setting springlength 20
[00:00:06]: setting moonphase threequarter
[00:00:06]: setting precipitationrate 0
[00:00:06]: setting iswet false
[00:00:06]: setting winterlength 15
[00:00:06]: setting iswinter false
[00:00:06]: setting issummer false
[00:00:06]: setting moistureceil 6666.7661132813
[00:00:06]: setting isday false
[00:00:06]: setting wetness 0
[00:00:06]: setting isnight false
[00:00:06]: setting isdusk true
[00:00:06]: setting isspring false
[00:00:06]: setting isautumn true
[00:00:06]: setting issnowing false
[00:00:06]: setting snowlevel 0
[00:00:06]: setting issnowcovered false
[00:00:06]: setting autumnlength 20
[00:00:06]: setting phase dusk
[00:00:06]: setting temperature 15.755309080741
[00:00:06]: setting pop 0.23526255460174
[00:00:06]: setting season autumn
[00:00:06]: setting israining false
[00:00:06]: setting remainingdaysinseason 8
[00:00:06]: setting time 0.44189723332723
[00:00:06]: setting cycles 12
[00:00:06]: setting precipitation none
[00:00:06]: setting timeinphase 0.011725955539279
[00:00:06]: [string "scripts/prefabs/nightmarelight.lua"]:147: attempt to call field '?' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/nightmarelight.lua:147 in (method) OnLoad (Lua) <140-149>
   inst = 100323 - nightmarelight (valid:true)
   data = table: 04CC8F88
scripts/entityscript.lua:1452 in (method) SetPersistData (Lua) <1437-1454>
   self (valid:true) =
      rockstate = dusk
      Transform = Transform (0F5599B8)
      inlimbo = false
      event_listening = table: 0F5B9360
      actioncomponents = table: 0F5B7AB0
      lower_components_shadow = table: 0F5B7A60
      entity = Entity (0F5AB0F0)
      AnimState = AnimState (0F5599D8)
      prefab = nightmarelight
      Light = Light (0F55A618)
      OnSave = function - scripts/prefabs/nightmarelight.lua:134
      Physics = Physics (0F559A58)
      fx = 100324 - nightmarelightfx (valid:true)
      MiniMapEntity = MiniMapEntity (0F559A18)
      SoundEmitter = SoundEmitter (0F5599F8)
      pendingtasks = table: 0F5B9838
      name = Nightmare Light
      OnLoad = function - scripts/prefabs/nightmarelight.lua:140
      spawntime = 0
      GUID = 100323
      replica = table: 0F5B7AD8
      persists = true
      components = table: 0F5B7A88
      event_listeners = table: 0F5B9298
   data = table: 04CC8F88
   newents = table: 0F06A818
scripts/mainfunctions.lua:217 in (global) SpawnSaveRecord (Lua) <186-224>
   saved = table: 04CC8EE8
   newents = table: 0F06A818
   inst = 100323 - nightmarelight (valid:true)
scripts/gamelogic.lua:411 in (global) PopulateWorld (Lua) <233-446>
   savedata = table: 0495A9F8
   profile = table: 05B8DF90
   world = 100016 - forest (valid:true)
   retune = table: 0F06A4F8
   newents = table: 0F06A818
   prefab = nightmarelight
   ents = table: 04CC8F60
   prefab = nightmarelight
   k = 1
   v = table: 04CC8EE8
scripts/gamelogic.lua:632 in (upvalue) DoInitGame (Lua) <524-734>
   savedata = table: 0495A9F8
   profile = table: 05B8DF90
   was_file_load = false
scripts/gamelogic.lua:766 in (upvalue) cb (Lua) <761-767>
   savedata = table: 0495A9F8
scripts/saveindex.lua:120 in () ? (Lua) <102-121>
   load_success = true
   str = return {world_network={persistdata={clock={cycles=12,phase="dusk",remainingtimeinphase=177.88932800293,totaltimeinphase=180,segs={night=3,day=7,dusk=6}},seasons={elapseddaysinseason=12,premode=false,remainingdaysinseason=8,lengths={summer=15,autumn=20,spring=20,winter=15},totaldaysinseason=40,mode="cycle",season="autumn",segs={summer={night=4,day=11,dusk=1},autumn={night=2,day=8,dusk=6},spring={night=3,day=5,dusk=8},winter={night=6,day=5,dusk=5}}},weather={seasontemperature=15,preciptype="none",moistureceil=6666.7661132813,peakprecipitationrate=0.41196751594543,season="autumn",moisturerateval=0.5591597727021,lightningmode="rain",moistureceilmultiplier=8,moisture=1697.7340087891,stopsnowthreshold=0,snowlevel=0,moisturefloormultiplier=1,moisturerateoffset=0,noisetime=5970.9448242188,moisturerate=0.55915975570679,wetness=0,nextlightningtime=4.5549908669845,startsnowthreshold=-5,precipmode="dynamic",moisturefloor=169.06924438477,moistureratemultiplier=1,phasetemperature=0}}},ents={tentacle={{data={healthinfo={tex [**truncated**]
   success = true
   savedata = table: 0495A9F8
=[C]:-1 in (method) GetPersistentString © <-1--1>
scripts/saveindex.lua:102 in (method) GetSaveDataFile (Lua) <101-122>
   self =
      data = table: 05B8DE50
      current_slot = 1
   file = session/081000040BE90E3B/0000000015
   cb = function - scripts/gamelogic.lua:761
scripts/saveindex.lua:128 in (method) GetSaveData (Lua) <124-132>
   self =
      data = table: 05B8DE50
      current_slot = 1
   slot = 1
   cb = function - scripts/gamelogic.lua:761
   file = session/081000040BE90E3B/0000000015
scripts/gamelogic.lua:768 in (upvalue) DoLoadWorld (Lua) <760-769>
   saveslot = 1
   onload = function - scripts/gamelogic.lua:761
scripts/gamelogic.lua:813 in (upvalue) LoadSlot (Lua) <808-819>
   slot = 1
 
[00:00:06]: SCRIPT ERROR! Showing error screen
[00:00:06]: ModIndex: Load sequence finished successfully.
[00:00:06]: Reset() returning
 
Link to comment
Share on other sites

 

I get this error in my server log. It shuts down my server (I think) and doesnt give me the console even though I added -console to my start up. 

 

dontstarve_dedicated_server_nullrenderer -console

 

 

 

your command line argument is wrong it should be

 

dontstarve_dedicated_server_nullrenderer.exe -console -conf_dir myDSTserver

 

also the nightmare light is erroring crashing the server

 

nightmarelight.lua

put this in your Don't Starve Together Dedicated Server\data\scripts\prefabs folder and see if it fixes it

 

or you can try redownloading the dedicated server

Link to comment
Share on other sites

Archived

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.