Jump to content

Recommended Posts

So yeah, I got a character I'm working on, and whenever I move he infinitly attempts to run in the direction I last pressed.

 

After about a minute of it it feeds me this error:

...on/dont_starve/data/scripts/stategraphs/SGwilson.lua:2005: attempt to perform arithmetic on field 'foosteps' (a nil value)LUA ERROR stack traceback:        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraphs/SGwilson.lua(2005,1) in function 'fn'        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua(476,1) in function 'UpdateState'        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua(515,1) in function 'Update'        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/stategraph.lua(111,1) in function 'Update'        C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/update.lua(121,1)scripts/frontend.lua(707,1) SCRIPT ERROR! Showing error screen  

this confuses me as I haven't even TOUCHED foot steps?

And its extra strange because it only started happening once I told my character to switch between two builds? (the infinite running happens regardless of which build the character is in though)

 

Any ideas? Sorry for asking for help a lot recently, just not used to this games lua.

I can work in it with little trouble in my own games lol.

Edited by DeadlyHooves

AAAAAAAAND of course an hour after I make the post (so I cant delete it) I figure it out. anyways thanks for any who were working on figuring it out :-)

Post what the problem/fix was anyways. Always useful in case some other new modder makes the same mistake. Could even be useful if someone wants to be able to do that 'feature' on purpose.

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...