601128_1452789793 Posted June 28, 2018 Share Posted June 28, 2018 With a modded character I've been making, I made a modified speech lua script and it crashes the game, log attached. Specifically, I focus on Quote [00:00:36]: error loading module 'speech_dolly' from file '../mods/Dolly\scripts\speech_dolly.lua': [string "cannot OLDFILEACCESSMETHOD @../mods/Dolly\scripts\speech_dolly...."]:330: '}' expected (to close '{' at line 296) near 'BOOK_BIRDS' I don't understand it! Checking the original lua which I modified this one from (speech_wilson.lua) shows that there is not a '}' on line 330 closing the '{' on line 296! I searched for nearby typos or any accidental interference's with the code but I found nothing. Please, I'm in need of some much needed help, because I'm truly at a loss of what I'm doing wrong here. Mod attached. client_log.txt Dolly.zip Link to comment https://forums.kleientertainment.com/forums/topic/92766-speech-lua-problem-makes-no-sense/ Share on other sites More sharing options...
CarlZalph Posted June 28, 2018 Share Posted June 28, 2018 @601128_1452789793 The end of the line for the string BERNIE_ACTIVE is missing a comma. The end of the line for the '{' after ABIGAIL_FLOWER has an extra space. speech_dolly.lua Link to comment https://forums.kleientertainment.com/forums/topic/92766-speech-lua-problem-makes-no-sense/#findComment-1057085 Share on other sites More sharing options...
601128_1452789793 Posted June 28, 2018 Author Share Posted June 28, 2018 @CarlZalph Oh, you're right! Went completely under my radar! Thank you tons! Link to comment https://forums.kleientertainment.com/forums/topic/92766-speech-lua-problem-makes-no-sense/#findComment-1057185 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