Jump to content

Recommended Posts

hi,

there's a mod I use "craftable tunnels" I didn't program it : http://steamcommunity.com/sharedfiles/filedetails/?l=english&id=379794091

I'm not 100% sure but I think if you use the tunnel just right as the game is about to save you then crash out with stategraph.lua:466: attempt to index field 'timeline' (a nil value)

Spoiler

scripts/mainfunctions.lua(588,1) Saved	survival_1	
...mapps/common/dont_starve/data/scripts/stategraph.lua:466: attempt to index field 'timeline' (a nil value)
LUA ERROR stack traceback:
F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:466 in (method) UpdateState (Lua) <444-488>
   self =
      timelineindex = 1
      tags = table: 3C85FDB0
      mem = table: 12C36440
      statemem = table: 3C85FE00
      currentstate = table: 18059928
      timeinstate = 0.63333336636424
      sg = Stategraph : wilson
      inst = 100021 - h02 (valid:true)
      bufferedevents = table: 38BD2F08
      lastupdatetime = 518.3666937016
      statestarttime = 517.73336033523
      laststate = table: 18057D80
      prevstate = table: 18057D80
   dt = 0.63333336636424
   startstate = table: 18059928
F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:515 in (method) Update (Lua) <507-535>
   self =
      timelineindex = 1
      tags = table: 3C85FDB0
      mem = table: 12C36440
      statemem = table: 3C85FE00
      currentstate = table: 18059928
      timeinstate = 0.63333336636424
      sg = Stategraph : wilson
      inst = 100021 - h02 (valid:true)
      bufferedevents = table: 38BD2F08
      lastupdatetime = 518.3666937016
      statestarttime = 517.73336033523
      laststate = table: 18057D80
      prevstate = table: 18057D80
   dt = 0.63333336636424
F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:111 in (method) Update (Lua) <95-134>
   self =
      updaters = table: 3BC87FD0
      OnEnterNewState = function - @F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:27
      tickwaiters = table: 13950EE0
      haveEvents = table: 3A72DA60
      hibernaters = table: 139477A0
      instances = table: 13950CD8
   current_tick = 15551
   waiters = table: 38BD57D0
   updaters = table: 3A7337F8
   k = sg="wilson", state="jumpin", time=0.63, tags = "doing,canrotate,"
   v = true
F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/update.lua:135 in () ? (Lua) <79-148>
   dt = 0.033333335071802
   tick = 15551
   i = 15551

scripts/mainfunctions.lua(852,1) LUA ERROR stack traceback:
        F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(852,1)	
scripts/mainfunctions.lua(853,1) ...mapps/common/dont_starve/data/scripts/stategraph.lua:466: attempt to index field 'timeline' (a nil value)
LUA ERROR stack traceback:
    F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:466 in (method) UpdateState (Lua) <444-488>
    F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:515 in (method) Update (Lua) <507-535>
    F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua:111 in (method) Update (Lua) <95-134>
    F:/GAMES/_Steam/steamapps/common/dont_starve/data/scripts/update.lua:135 in () ? (Lua) <79-148>
	
scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen	

 

so ...  I'm not the autor of the mod  but I'd like to try & test out this more.   Unfortunately it's quite finicky to reproduce how can I ensure or provoke a save so I can try to jump into tunnel or wormholes ? example: I've been using a test save with "ntools" and then advance timeline to night, wait the night & the morning for a save, then use tunnels like crazy to try & reproduce the crash repeatedly but the save didn't seem to happen ...

also I'm not sure but I believe wormholes don't have this issue, which is why I want to test out the behavior of the save system using either.

or even better if anyone has an idea why it crashes & how to avoid it/fix it ....

 

Thanks.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...