Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
../mods/workshop-781753556/scripts/auto_equip.lua(253,1) Equip proper tool
../mods/workshop-781753556/scripts/auto_equip.lua(149,1) switch to previous equipped item
...dont_starve/data/scripts/components/tigersharker.lua:187: attempt to index local 'action' (a nil value)
LUA ERROR stack traceback:
C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/components/tigersharker.lua:187 in (method) OnAction (Lua) <185-193>
is it repeatable ? and it happens only on jungle trees ?
Steps to reproduce:
Have this mod.
Load into a Shipwrecked world.
Have an axe and a shovel in inventory.
Have a spear or battle spear in your hand.
Find an isolated tree.
Hold space all the way through chopping, collecting, and digging up the stump.
Crash!
Variables ruled out:
Character chosen doesn't matter.
Generating a new world doesn't matter.
Other mods don't matter. (disabled all other mods for testing)
Tree type doesn't matter.
But, having a spear in your hand does matter.
Starting with an axe equipped or empty-handed did not cause a crash, but having a spear or battle spear crashed 100% of the time.
So, in auto_equip.lua, digging specifically seems to contain the following line:
I'll play a bit more and post again if any emergent issues pop up.
Forgive me if it's not wrong in the slightest, but, wherever it says "salf", is that meant to be "self"? If so, that could be the root of some issues, as I notice this too is related to digging. And the simplest mistake in code can just make the whole thing explode under the right circumstances.
it seems like you do not have the latest version of this mod
edit: just verified by subscribing to my own mod, the line that starts with wuka is commented out in the latest version like it is in the version I uploaded. so everything's fine and your version is outdated for some reason unknown to me.
if don't starve is not updating the mod by going into your mods list
then please unsubscribe, launch the game, go into mods, exit the game, resubscribe, and go into mods again
this should hopefully update your version to the latest.
---------------------------
if you look at the file :
modinfo.lua
you should see the following :
name = "Auto Equip whis"
version = "0.4.8"
and inside your mods it should say version 0.4.8 too
And for good measure, here's the log.txt file right after the crash.
https://pastebin.com/qykPwaGJ
EDIT: version 0.4.9 uploaded
EDIT2: I'm sorry if it's overly annoying to deal with this.... This is code I didn't write originally and I never understood why there's an exception for shovelling to begin with in this part of the code (which is when it equips anything that was decided in previous code). And generally developpers do stuff for a good reason even if it escapes me :) (though not always, but the original autoequip had pretty good code overall :) )
https://pastebin.com/zk9PQwLy
here's the reason why it crashed :
scripts/mainfunctions.lua(124,1) Can't find prefab encrustedboat_placer
and imho here's the reason why it's not loaded/can't find it :
[...]
Could not preload undefined prefab 0xb070dece (OUTOFSPACE)
Could not preload undefined prefab 0xb070dece (OUTOFSPACE)
Could not preload undefined prefab 0xc8b38691 (OUTOFSPACE)
Could not preload undefined prefab 0x6170f8be (OUTOFSPACE)
Could not preload undefined prefab 0xeee6ebd (encrustedboat)
Could not preload undefined prefab 0x574d9e6d (encrustedboat_placer)
edit:
I'm not sure what's causing it in your load order (if it's even repeatable)
but memory spike fix was removed from the workshop by simplex for a reason imho.
edit2: could also be a hardware limit ... or not