Saladmanders Posted October 22, 2023 Share Posted October 22, 2023 I've encountered the same crash again & again when trying to add in favorite foods for my character. I'm not sure how to type it correctly & I need help to set it properly client_log.txt There's the client log & a picture below of where I think the problem may be coming from. If someone could help me solve this that'd be great thank you. Link to comment https://forums.kleientertainment.com/forums/topic/151887-how-to-properly-end-code/ Share on other sites More sharing options...
_zwb Posted October 22, 2023 Share Posted October 22, 2023 Add a right bracket ")" after end in line 84 Link to comment https://forums.kleientertainment.com/forums/topic/151887-how-to-properly-end-code/#findComment-1674269 Share on other sites More sharing options...
Saladmanders Posted October 22, 2023 Author Share Posted October 22, 2023 It's really that simple? Have I really been that stupid this whole time????????????????? Also, do you know what having variable 'inst' not declared means? It keeps popping up in the client logs. I think I'm just going to restart the whole mod, trying to find out what crashes my mod everysingleminute is driving me crazy. Thank you for the help anyways & have a nice day. Link to comment https://forums.kleientertainment.com/forums/topic/151887-how-to-properly-end-code/#findComment-1674274 Share on other sites More sharing options...
_zwb Posted October 22, 2023 Share Posted October 22, 2023 2 hours ago, Saladmanders said: Have I really been that stupid this whole time????????????????? Well... It is basic level lua syntax... 2 hours ago, Saladmanders said: Also, do you know what having variable 'inst' not declared means? It keeps popping up in the client logs. inst is short for instance, you must have forgotten to declare it/pass it in as a function parameter Link to comment https://forums.kleientertainment.com/forums/topic/151887-how-to-properly-end-code/#findComment-1674309 Share on other sites More sharing options...
Rickzzs Posted October 23, 2023 Share Posted October 23, 2023 You may need an IDE like VS Code to know what is wrong grammartically. Link to comment https://forums.kleientertainment.com/forums/topic/151887-how-to-properly-end-code/#findComment-1674380 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