LisaMcRad Posted September 8, 2021 Share Posted September 8, 2021 (edited) Hello, I've been trying to work through the files for my mod's speech, but I've stumbled upon a very stubborn error. Every debugger's telling me to add an extra } to the end. However when I do that, the mod suffers from a memory leak. So I'm incredibly unsure what went wrong, as the code stretches on for miles on end and I can barely find anything that seems off or wrong about it. To save myself and my own sanity, I've provided the code in this post here. If anybody could PLEASE help me out that would be great! speech_freya.lua Edited September 8, 2021 by LisaMcRad Link to comment https://forums.kleientertainment.com/forums/topic/133390-solved-lua-speech-problem-need-help/ Share on other sites More sharing options...
CarlZalph Posted September 8, 2021 Share Posted September 8, 2021 @LisaMcRad The error is at the section here: BABYBEEFALO = { GENERIC = "A small, marketable Beefalo!", SLEEPING = "Oh no...\nI'm starting to get emotionally attatched", BUNDLE = "I didn't count for how suspiscious it would look.", It's missing a closing to the BABYBEEFALO table part. Potentially missing some entries there, double check that. 2 Link to comment https://forums.kleientertainment.com/forums/topic/133390-solved-lua-speech-problem-need-help/#findComment-1492219 Share on other sites More sharing options...
LisaMcRad Posted September 8, 2021 Author Share Posted September 8, 2021 17 minutes ago, CarlZalph said: @LisaMcRad The error is at the section here: BABYBEEFALO = { GENERIC = "A small, marketable Beefalo!", SLEEPING = "Oh no...\nI'm starting to get emotionally attatched", BUNDLE = "I didn't count for how suspiscious it would look.", It's missing a closing to the BABYBEEFALO table part. Potentially missing some entries there, double check that. It worked! Thanks a lot! Link to comment https://forums.kleientertainment.com/forums/topic/133390-solved-lua-speech-problem-need-help/#findComment-1492227 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