Jump to content

Custom Speech Either Causes Mod To Crash or Game To Freeze

Recommended Posts

This is the error that comes up if the line

GLOBAL.STRINGS.CHARACTERS.WADE = require "speech_wade"

 is placed into the modmain.lua (which I've attached to this post)


...pps/common/dont_starve/data/../mods/wade/modmain.lua:36: attempt to call global 'require' (a nil value)LUA ERROR stack traceback:        F:/Steam/steamapps/common/dont_starve/data/../mods/wade/modmain.lua(36,1) in main chunk        =[C] in function 'xpcall'        F:/Steam/steamapps/common/dont_starve/data/scripts/util.lua(439,1) in function 'RunInEnvironment'        F:/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(190,1) in function 'InitializeModMain'        F:/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(171,1) in function 'LoadMods'        scripts/main.lua(229,1) in function 'ModSafeStartup'


If that aforementioned line of code is placed into the wade.lua file in my prefabs, the game simply freezes on launch or mod activation. I would love some help here as I have yet to find a solution that has worked for this.


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

  • Create New...