PigGaming Posted September 25, 2020 Share Posted September 25, 2020 I had my mod working, but recently whenever I try to use it I get stopped at an error screen. I don't know what exactly the problem is, and was hoping someone could help me. Here's the error screen I get: Any additional information you need to help me with this, let me know, I'm far from experienced and that's why I'm in desperate need of assistance. Link to comment Share on other sites More sharing options...
Serpens Posted September 25, 2020 Share Posted September 25, 2020 link to the mod or at least the brain file mentioned in the error would help to find out. And maybe also the full traceback and when exactly the crash happens. Link to comment Share on other sites More sharing options...
PigGaming Posted September 25, 2020 Author Share Posted September 25, 2020 2 hours ago, Serpens said: link to the mod or at least the brain file mentioned in the error would help to find out. And maybe also the full traceback and when exactly the crash happens. here's the mod file in its entirety: Albie-mod.rar Link to comment Share on other sites More sharing options...
Serpens Posted September 25, 2020 Share Posted September 25, 2020 1 hour ago, PigGaming said: here's the mod file in its entirety: Albie-mod.rar 2.45 MB · 0 downloads common, a single line lua?! This is impossible to debug The error tells me, that there is a problem in line 1, but everything is line one Are you trolling? Link to comment Share on other sites More sharing options...
PigGaming Posted September 25, 2020 Author Share Posted September 25, 2020 19 minutes ago, Serpens said: common, a single line lua?! This is impossible to debug The error tells me, that there is a problem in line 1, but everything is line one Are you trolling? i'm really not, I had it working and I have literally no clue what happened. even my backups suddenly stopped working, not like the game updated in the time between it working and it stopping either. Link to comment Share on other sites More sharing options...
penguin0616 Posted September 25, 2020 Share Posted September 25, 2020 (edited) @PigGaming We can't really help you fix an error when you put everything on the same line. You'll have to fix the formatting. No idea why you put on 1 line to begin with. Edited September 25, 2020 by penguin0616 Link to comment Share on other sites More sharing options...
PigGaming Posted September 25, 2020 Author Share Posted September 25, 2020 3 minutes ago, penguin0616 said: @PigGaming We can't really help you fix an error when you put everything on the same line. You'll have to fix the formatting. No idea why you put on 1 line to begin with. see, this part was not me. I hired somebody to handle this stuff for the most part, I just did some of the much smaller customization. when I went to them with the error, they essentially said the job was done (and i already paid them since it was working, so nothing i can really do.) Guessing I just got f'ed over then? Link to comment Share on other sites More sharing options...
penguin0616 Posted September 25, 2020 Share Posted September 25, 2020 @PigGaming Yeah, pretty much. Choose carefully next time. I assume this means you are completely unfamiliar with lua? Link to comment Share on other sites More sharing options...
PigGaming Posted September 25, 2020 Author Share Posted September 25, 2020 Just now, penguin0616 said: @PigGaming Yeah, pretty much. Choose carefully next time. I assume this means you are completely unfamiliar with lua? Yeah, pretty much. Most I know how to do is like, the speech file lol. Link to comment Share on other sites More sharing options...
penguin0616 Posted September 25, 2020 Share Posted September 25, 2020 @PigGaming Okay, I went ahead and cleared up the code. You'll have to run the new version and get a proper error if you want @Serpens to be able to help you.. Albie-mod.rar Link to comment Share on other sites More sharing options...
PigGaming Posted September 25, 2020 Author Share Posted September 25, 2020 8 minutes ago, penguin0616 said: @PigGaming Okay, I went ahead and cleared up the code. You'll have to run the new version and get a proper error if you want @Serpens to be able to help you.. Albie-mod.rar 2.45 MB · 0 downloads After running that version the error I'm getting is this. @Serpens Link to comment Share on other sites More sharing options...
Serpens Posted September 25, 2020 Share Posted September 25, 2020 (edited) @penguin0616is there an automatic way of clearing the code?@PigGaming, ok so the problematic code is this: if TIMEC < TIMED then return AlbieBernieBrain else return AlbieBern end while: local TIMEC = os.time() local TIMED = 1596730200 Sooo..... why should anyone check the current real time? The timestamp is 08/06/2020 @ 4:10pm (UTC) and it looks like the person who developed this, made this on purpose to make sure your mod does not work anymore after this date. You should report him somehow and warn other people to not pay him for this ********. Anyway, if there is not more code like this, it should be fixed by replacing these 5 lines with only: return AlbieBernieBrain within the files Albie-mod\scripts\brains\albieberniebrain.lua okay... I just searched for os.time and the person did it in total within 3 files, so there is more to fix. I will fix it and attach it to my post. Report that person to Klei and/or name it here if you know Klei-forum name or Steamname. Good for you that they refused to "fix" your mod. I would expect that they "fix" such errors they implemented themself to get even more money. Albie-mod.zip Edited September 25, 2020 by Serpens 1 Link to comment Share on other sites More sharing options...
penguin0616 Posted September 25, 2020 Share Posted September 25, 2020 @Serpens I use https://goonlinetools.com/lua-beautifier/. However, the maintainer doesn't always keep it working. And yikes, no wonder they tried making the code hard to read. @PigGaming Serpens is right, they probably would have had you pay extra for the "fixes". What a scam. Link to comment Share on other sites More sharing options...
PigGaming Posted September 25, 2020 Author Share Posted September 25, 2020 37 minutes ago, Serpens said: @penguin0616is there an automatic way of clearing the code?@PigGaming, ok so the problematic code is this: if TIMEC < TIMED then return AlbieBernieBrain else return AlbieBern end while: local TIMEC = os.time() local TIMED = 1596730200 Sooo..... why should anyone check the current real time? The timestamp is 08/06/2020 @ 4:10pm (UTC) and it looks like the person who developed this, made this on purpose to make sure your mod does not work anymore after this date. You should report him somehow and warn other people to not pay him for this ********. Anyway, if there is not more code like this, it should be fixed by replacing these 5 lines with only: return AlbieBernieBrain within the files Albie-mod\scripts\brains\albieberniebrain.lua okay... I just searched for os.time and the person did it in total within 3 files, so there is more to fix. I will fix it and attach it to my post. Report that person to Klei and/or name it here if you know Klei-forum name or Steamname. Good for you that they refused to "fix" your mod. I would expect that they "fix" such errors they implemented themself to get even more money. Albie-mod.zip 2.47 MB · 0 downloads Thank you very much. It works properly now. That's extremely sus, they went by Nor I believe. They kind of implied they'd do it for a price but I didn't wanna pay more, yeah, sounds like a scam they probably used on a lot of people. Link to comment 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