TonyV Posted February 8, 2015 Share Posted February 8, 2015 Bug Submission:Category: Server CrashIssue Title: Server crash with LUA errorIssue Description: I'm running the latest version of the Dedicated Server. A buddy has been playing for a few hours and I played last a few hours ago. I tried to log back in to join him, and my client kept crashing. So he logged out and I restarted the server. The server initially launches, but now whenever either of us tries to log in, an error is generated and the server crashes. The error is copied below. I think that somehow my server config file has gotten corrupted. I've attached my data files in my .klei/DoNotStarveTogether directory. New incoming connection 192.168.3.1|52950ValidateGameSessionToken token: tfKmoSNXmFdvo+/+LZwXDMlOLd/TELP/ for: 346777714048211434SendHandShakeServerListing[string "scripts/prefabs/trap_teeth.lua"]:34: variable 'FightStat_TrapSprung' is not declaredLUA ERROR stack traceback:=[C]:-1 in (global) error (C) <-1--1>scripts/strict.lua:23 in () ? (Lua) <21-26>t = table: 0xa039fc8n = FightStat_TrapSprungscripts/prefabs/trap_teeth.lua:34 in (field) onexplode (Lua) <28-40>inst = 107785 - trap_teeth (valid:true)target = 110961 - deerclops (valid:true)scripts/components/mine.lua:125 in (method) Explode (Lua) <118-127>self =onexplode = function - scripts/prefabs/trap_teeth.lua:28radius = 1.5ondeactivate = function - scripts/prefabs/trap_teeth.lua:58onreset = function - scripts/prefabs/trap_teeth.lua:42onsetsprung = function - scripts/prefabs/trap_teeth.lua:54inactive = falsealignment = playertarget = 110961 - deerclops (valid:true)_ = table: 0x12952788inst = 107785 - trap_teeth (valid:true)target = 110961 - deerclops (valid:true)scripts/components/mine.lua:18 in (field) fn (Lua) <5-21>inst = 107785 - trap_teeth (valid:true)mine = table: 0x12952760notags = table: 0xe2a87f0target = 110961 - deerclops (valid:true)scripts/scheduler.lua:187 in (method) OnTick (Lua) <161-217>self =running = table: 0xa6ef0f0waitingfortick = table: 0xa603058tasks = table: 0xa6ef0a8waking = table: 0xe0c3c18attime = table: 0xa603080hibernating = table: 0xa603120tick = 29k = PERIODIC 107785: 1.022345v = truealready_dead = nilscripts/scheduler.lua:398 in (global) RunScheduler (Lua) <396-404>tick = 29scripts/update.lua:134 in () ? (Lua) <118-180>dt = 0.033333335071802tick = 29i = 29SCRIPT ERROR! Showing error screenQueryServerComplete no callbackReceiveResumeRequestReceived request to resume from: session/09000060AF4AEF15/KU_DzfC0lq5OnResumeRequestLoadComplete - UserID KU_DzfC0lq5[Load] SPAWNING PLAYER AT: (-352.26, 0.00, 247.22)Steps to Reproduce: Load my game save file and try to log in with the client.DSTBug.zip Link to comment https://forums.kleientertainment.com/forums/topic/50689-server-crash-server-crash-with-lua-error/ Share on other sites More sharing options...
rezecib Posted February 8, 2015 Share Posted February 8, 2015 @TonyV, Hmm, that doesn't look like it would be caused by corrupted config. I'm not sure why that's cropping up just for you, but you should be able to get around it for now by turning off metrics in data/scripts/main.lua (in the dedicated server game files):METRICS_ENABLED = false --PLATFORM ~= "PS4" Link to comment https://forums.kleientertainment.com/forums/topic/50689-server-crash-server-crash-with-lua-error/#findComment-610902 Share on other sites More sharing options...
TonyV Posted February 8, 2015 Author Share Posted February 8, 2015 That's cool. I actually came back to post that I worked around it by commenting out line 34 from the file. I'll re-enable it and turn metrics off as mentioned above. And good grief, man, get some rest, it's the weekend! If there's any other data I can provide or information I can look up, let me know. I'm pretty handy with a hex editor. Link to comment https://forums.kleientertainment.com/forums/topic/50689-server-crash-server-crash-with-lua-error/#findComment-610907 Share on other sites More sharing options...
Recommended Posts
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.