jcb34544 Posted February 25, 2015 Share Posted February 25, 2015 Hello! I am very new to don't starve and modding for it in general, I'm making my first character mod using the extended character template and It just keeps crashing, I've only changed what the tutorial told me to and the speech file, I followed it step-by-step and I have no clue what is causing the game to crash...Here is the relevant log.txt scripts/modindex.lua(386,1) Could not load mod_config_data/modconfiguration_Rumble scripts/mods.lua(152,1) Loading mod: Rumble (Rumble) scripts/mods.lua(179,1) Mod: Rumble (Rumble) Loading modworldgenmain.lua scripts/mods.lua(187,1) Mod: Rumble (Rumble) Mod had no modworldgenmain.lua. Skipping. scripts/mods.lua(179,1) Mod: Rumble (Rumble) Loading modmain.lua scripts/mods.lua(193,1) Mod: Rumble (Rumble) Error loading mod!error loading module 'speech_rumble' from file '..\mods\Rumble\scripts\speech_rumble.lua':..\mods\Rumble\scripts\speech_rumble.lua:1182: unexpected symbol near '<eof>'LUA ERROR stack traceback: =[C] ? =[C] in function 'require' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/../mods/Rumble/modmain.lua(32,1) in main chunk =[C] in function 'xpcall' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/util.lua(439,1) in function 'RunInEnvironment' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(190,1) in function 'InitializeModMain' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mods.lua(171,1) in function 'LoadMods' scripts/main.lua(229,1) in function 'ModSafeStartup' scripts/main.lua(274,1) =[C] in function 'SetPersistentString' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/mainfunctions.lua(18,1) in function 'SavePersistentString' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/modindex.lua(76,1) =[C] in function 'GetPersistentString' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/modindex.lua(63,1) in function 'BeginStartupSequence' scripts/main.lua(273,1) in function 'callback' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/modindex.lua(322,1) =[C] in function 'GetPersistentString' C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/modindex.lua(302,1) in function 'Load' scripts/main.lua(272,1) in main chunk LOADING LUA SUCCESSscripts/playerdeaths.lua(79,1) PlayerDeaths loaded morgue 574 scripts/playerprofile.lua(480,1) loaded profile scripts/playerprofile.lua(544,1) bloom_enabled true scripts/saveindex.lua(99,1) loaded saveindex scripts/gamelogic.lua(1172,1) OnFilesLoaded() scripts/gamelogic.lua(1161,1) OnUpdatePurchaseStateComplete scripts/gamelogic.lua(111,1) FE assets already loaded scripts/mods.lua(269,1) Mod: Rumble (Rumble) Registering prefabs scripts/mods.lua(275,1) Mod: Rumble (Rumble) Registering prefab file: prefabs/rumble scripts/mods.lua(279,1) Mod: Rumble (Rumble) rumble scripts/mods.lua(292,1) Mod: Rumble (Rumble) Registering default mod prefab scripts/screens/mainscreen.lua(576,1) platform_motd table: 098BC600 SimLuaProxy::QueryServer()scripts/mods.lua(226,1) Disabling Rumble (Rumble) because it had an error. scripts/frontend.lua(723,1) SCRIPT ERROR! Showing error screen scripts/modindex.lua(85,1) ModIndex: Load sequence finished successfully. Reset() returningHttpClientWriteCallback (0x06885E24, 1, 1250, 0x06AAF854)HttpClientWriteCallback READ 1250 (1250 total)scripts/screens/mainscreen.lua(576,1) platform_motd table: 14A82C28 Stale Component Reference: GUID 100038, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:55Stale Component Reference: GUID 100039, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:55Stale Component Reference: GUID 100041, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:55Stale Component Reference: GUID 100041, @C:/Program Files (x86)/Steam/steamapps/common/dont_starve/data/scripts/widgets/text.lua:25Force aborting... Any suggestions? Link to comment https://forums.kleientertainment.com/forums/topic/51448-need-help-making-a-mod-game-crashing/ Share on other sites More sharing options...
Blueberrys Posted February 25, 2015 Share Posted February 25, 2015 @jcb34544 Please post the code of speech_rumble.lua. Link to comment https://forums.kleientertainment.com/forums/topic/51448-need-help-making-a-mod-game-crashing/#findComment-616673 Share on other sites More sharing options...
jcb34544 Posted February 25, 2015 Author Share Posted February 25, 2015 @jcb34544 Please post the code of speech_rumble.lua. It's long like most speechfiles so I'll just attach it, thank you for taking a look at what I'm doing wrong.speech_rumble.lua Link to comment https://forums.kleientertainment.com/forums/topic/51448-need-help-making-a-mod-game-crashing/#findComment-616674 Share on other sites More sharing options...
Blueberrys Posted February 25, 2015 Share Posted February 25, 2015 You're missing two closing curly brackets. Add this to the end of your file. }} Link to comment https://forums.kleientertainment.com/forums/topic/51448-need-help-making-a-mod-game-crashing/#findComment-616677 Share on other sites More sharing options...
jcb34544 Posted February 25, 2015 Author Share Posted February 25, 2015 You're missing two closing curly brackets. Add this to the end of your file. }} Thank you! I have no clue how those weren't in the file It stopped the game from crashing but none of the dialog is hooked up, it's just wilson's default lines... Link to comment https://forums.kleientertainment.com/forums/topic/51448-need-help-making-a-mod-game-crashing/#findComment-616690 Share on other sites More sharing options...
Blueberrys Posted February 26, 2015 Share Posted February 26, 2015 (edited) @jcb34544 Add this to your modmain. Change the character name accordingly.STRINGS = GLOBAL.STRINGSSTRINGS.CHARACTERS.YOUR_CHAR_PREFAB = require("speech_your_char") Edited February 26, 2015 by Blueberrys Link to comment https://forums.kleientertainment.com/forums/topic/51448-need-help-making-a-mod-game-crashing/#findComment-616864 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