Hello,
today is the second time this happened to a dedicated server I'm running (first time was a day before). It's a survival with a few mods (specifically Setpiece Config Revisited, No Thermal Stone Durability, Global Positions, Health Info, Wolly Logger), and nothing like this has happened over the last year it was in service.
The save file corruption gets discovered when a rollback happens, and the server then gets stuck in reboot loop. This is an excerpt from the server log:
[00:00:07]: Loading world: session/45AE6D786BB96772/0000000389
[00:00:07]: [string "scripts/shardindex.lua"]:205: Corrupt Save file [session/45AE6D786BB96772/0000000389]
LUA ERROR stack traceback:
=[C]:-1 in (global) assert (C) <-1--1>
scripts/shardindex.lua:205 in (upvalue) OnLoadSaveDataFile (Lua) <191-210>
file = session/45AE6D786BB96772/0000000389
cb = function - scripts/gamelogic.lua:959
load_success = true
str = local savedata = {}
local tablefunctions = {}
tablefunctions["map_fn"] = function()
return {tiles="(...) [**truncated**]
success = nil
savedata = [string "local savedata = {}..."]:613: '}' expected near '#'
scripts/shardindex.lua:214 in () ? (Lua) <213-215>
Now when I look at the said file, it really differs from other non-broken ones by the presence of # in it.
savedata["ents"]["berrybush"] = tablefunctions["ents_berrybush_fn"]() tablefunctions["ents_oceanfish_medium_4_fn"] = function() return {{id=211148,x=0,data={weighable={weight=208.92},herdprefab="beefaloherd",knownlocations={locations={{y=-1.#IND,x=-1.#IND,name="home",z=-1.#IND}}}},z=0},{id=210539,x=0,data={weighable={weight=204.06},herdprefab="beefaloherd",knownlocations={locations={{y=-1.#IND,x=-1.#IND,name="home",z=-1.#IND}}}},z=0},{id=210305,x=0,data={weighable={weight=249.27},herdprefab="beefaloherd",knownlocations={locations={{y=-1.#IND,x=-1.#IND,name="home",z=-1.#IND}}}},z=0},{id=210274,x=0,data={weighable={weight=203.73},herdprefab="beefaloherd",knownlocations={locations={{y=-1.#IND,x=-1.#IND,name="home",z=-1.#IND}}}},z=0}} end
Both times this happened, the #IND was on the beefaloherd. First time it was day 389. Second time it was day 69.
Any ideas?
I don't know how to reproduce.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now