Lawrence Posted September 14, 2013 Share Posted September 14, 2013 Hello everyone... Since the last update, my mod crashes if I try to destroy objects with the hammer. This is the mod: http://forums.kleientertainment.com/index.php?/topic/27478-character-baldric-from-baldrics-happy-adventures-on-steam-workshop/ and this is the error:...mapps/common/dont_starve/data/scripts/stringutil.lua:99: attempt to concatenate a nil valueLUA ERROR stack traceback: D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/stringutil.lua(99,1) in function 'GetDescription' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/components/inspectable.lua(59,1) in function 'GetDescription' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/actions.lua(219,1) in function 'fn' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/bufferedaction.lua(20,1) in function 'Do' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/entityscript.lua(784,1) in function 'PushBufferedAction' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/components/locomotor.lua(226,1) in function 'PushAction' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/components/playercontroller.lua(531,1) in function 'DoAction' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/components/playercontroller.lua(569,1) in function 'OnLeftClick' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/components/playercontroller.lua(44,1) in function 'OnControl' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/components/playercontroller.lua(21,1) in function 'fn' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/events.lua(46,1) in function 'HandleEvent' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/input.lua(73,1) in function 'OnControl' D:/Programmi/Steam/steamapps/common/dont_starve/data/scripts/input.lua(193,1)scripts/frontend.lua(398,1) SCRIPT ERROR! Showing error screen Force aborting...Does anyone have any idea what could have happened? Link to comment https://forums.kleientertainment.com/forums/topic/27769-crash-game-crashes-when-use-hammer-with-my-character-mod/ Share on other sites More sharing options...
Lawrence Posted September 14, 2013 Author Share Posted September 14, 2013 if item and item.components.repairable and item.components.repairable:NeedsRepairs() then ret = ret..getcharacterstring(STRINGS.CHARACTERS[character], "ANNOUNCE_CANFIX", modifier) endI think this is the line which it refers Link to comment https://forums.kleientertainment.com/forums/topic/27769-crash-game-crashes-when-use-hammer-with-my-character-mod/#findComment-321490 Share on other sites More sharing options...
Lawrence Posted September 14, 2013 Author Share Posted September 14, 2013 Nevermind, I fixed it by adding "ANNOUNCE_CANFIX" in the speech file of my character. WOW I feel powerful!! Link to comment https://forums.kleientertainment.com/forums/topic/27769-crash-game-crashes-when-use-hammer-with-my-character-mod/#findComment-321494 Share on other sites More sharing options...
Recommended Posts
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