Lalalovecraft Posted September 19, 2021 Share Posted September 19, 2021 Hello! I'm new to moding, .lua, and using these forums, so if I do anything incorrectly or get something wrong please feel free to correct that. I'm having trouble with the new script I wrote for my mod character, and despite looking around on the internet have been unable to fix the problem myself. I was hoping someone might be willing to look through it and my error log and tell me what I need to correct? The error it gives me is not one I can find/fix and is about the braces { } at a line were there are none in the original. I put both the script and the log below. Thank you to anyone willing to give it a look over for me! speech_ley.lua server_log.txt Link to comment https://forums.kleientertainment.com/forums/topic/133767-i-have-a-script-lua-error-i-cant-find/ Share on other sites More sharing options...
CarlZalph Posted September 19, 2021 Share Posted September 19, 2021 @Lalalovecraft Line 758 is causing the tables to get misaligned. Link to comment https://forums.kleientertainment.com/forums/topic/133767-i-have-a-script-lua-error-i-cant-find/#findComment-1496332 Share on other sites More sharing options...
Lalalovecraft Posted September 19, 2021 Author Share Posted September 19, 2021 @CarlZalph I see! First, thank you for taking a look for me, it's appreciated a lot. Should I take out the }, at line 758? I tried to do that and I'm still getting a problem. server_log.txt speech_ley.lua Link to comment https://forums.kleientertainment.com/forums/topic/133767-i-have-a-script-lua-error-i-cant-find/#findComment-1496336 Share on other sites More sharing options...
CarlZalph Posted September 19, 2021 Share Posted September 19, 2021 @Lalalovecraft At the end of line 1270 is a seemingly random 'gy' which is throwing the tokenizer off. Link to comment https://forums.kleientertainment.com/forums/topic/133767-i-have-a-script-lua-error-i-cant-find/#findComment-1496343 Share on other sites More sharing options...
Lalalovecraft Posted September 19, 2021 Author Share Posted September 19, 2021 @CarlZalph Gah! You're right! I fixed that one and tried again to the same error. I'm going to give the whole script a better look over for more mistakes like that, then if worse comes to worse, I'll retype each line out within a canon characters script so I know there are no symbol or spacing mistakes. Thank you again for looking this over for me! Link to comment https://forums.kleientertainment.com/forums/topic/133767-i-have-a-script-lua-error-i-cant-find/#findComment-1496356 Share on other sites More sharing options...
Lalalovecraft Posted September 20, 2021 Author Share Posted September 20, 2021 I managed to find the problem! I had edited one of the green text default Wilson lines and the program was not happy. After changing that It works in game! We can consider this problem solved, thanks again for the help!! Link to comment https://forums.kleientertainment.com/forums/topic/133767-i-have-a-script-lua-error-i-cant-find/#findComment-1496592 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