Jump to content

Recommended Posts

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 by LisaMcRad

@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.

  • Like 2
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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...