Eevelion Posted September 2, 2015 Share Posted September 2, 2015 I've been working on this character mod for a little more than a week and today it should have been ready for beta publishing today, but I've been getting this crash message that's been stumping me;[00:03:10]: error loading module 'speech_esctemplate' from file '..\mods\Robe\scripts\speech_esctemplate.lua': [string "cannot OLDFILEACCESSMETHOD @..\mods\Robe\scripts\speech_esctemp..."]:83: '}' expected (to close '{' at line 1) near 'ANNOUNCE_NOHUNGERSLEEP'LUA ERROR stack traceback: =[C] ? =[C] in function 'require' ../mods/Robe/modmain.lua(39,1) in main chunk =[C] in function 'xpcall' scripts/util.lua(560,1) in function 'RunInEnvironment' scripts/mods.lua(416,1) in function 'InitializeModMain' scripts/mods.lua(397,1) in function 'LoadMods' scripts/main.lua(248,1) in function 'ModSafeStartup' scripts/main.lua(299,1) =[C] in function 'SetPersistentString' scripts/mainfunctions.lua(25,1) in function 'SavePersistentString' scripts/modindex.lua(79,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(66,1) in function 'BeginStartupSequence' scripts/main.lua(298,1) in function 'callback' scripts/modindex.lua(519,1) =[C] in function 'GetPersistentString' scripts/modindex.lua(499,1) in function 'Load' scripts/main.lua(297,1) in main chunkAs far as I'm aware I've made no changes to the coding of the script, but it keeps happening.At first I started with Wendy's speech file but I switched to the file provided with the extended character template after it started crashing. Any help is very much appreciated! Link to comment https://forums.kleientertainment.com/forums/topic/57576-help-crash-caused-by-speech-script/ Share on other sites More sharing options...
DarkXero Posted September 2, 2015 Share Posted September 2, 2015 @Eevelion, you deleted a little something by mistake when changing a string and now the entire table broke.Upload and attach the speech here to find where the missing bracket is. Link to comment https://forums.kleientertainment.com/forums/topic/57576-help-crash-caused-by-speech-script/#findComment-668792 Share on other sites More sharing options...
Eevelion Posted September 2, 2015 Author Share Posted September 2, 2015 @DarkXero alright, it's attached. This is the version I was copying to, so it's not entirely complete and only goes up to about line 600. And again, many thanks for helping!speech_esctemplate.lua Link to comment https://forums.kleientertainment.com/forums/topic/57576-help-crash-caused-by-speech-script/#findComment-668824 Share on other sites More sharing options...
DarkXero Posted September 2, 2015 Share Posted September 2, 2015 @Eevelion,ANNOUNCE_NODAYSLEEP_CAVE = "I'm not tired yet."Line 82 is missing a coma at the end.Line 440 is missing a coma at the end.446 also missing coma. 473.speech_esctemplate.lua Link to comment https://forums.kleientertainment.com/forums/topic/57576-help-crash-caused-by-speech-script/#findComment-668828 Share on other sites More sharing options...
Eevelion Posted September 2, 2015 Author Share Posted September 2, 2015 Oooooooooh wait, I found the problem, there are missing commas in all sorts of places, I feel kinda stupid now. Thank you for your help though, actually did give me the idea to check that stuff. Link to comment https://forums.kleientertainment.com/forums/topic/57576-help-crash-caused-by-speech-script/#findComment-668829 Share on other sites More sharing options...
BlueSideWind Posted September 3, 2015 Share Posted September 3, 2015 hah I deleted my entire script 3 times until I understood the problem in the file report. It tells you exactly where is wrong. Example: Line 31= something wrong and something it mention missing comma. Link to comment https://forums.kleientertainment.com/forums/topic/57576-help-crash-caused-by-speech-script/#findComment-668997 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