Page 1 of 1

Manul Clean cause crash

Posted: Mon Nov 07, 2016 12:08 pm
by CdtFox
Hey Gametoast,

So according to Syth's post if we have an error like that it's better to do a manual clean:
ucft <--
ERROR[levelpack -RANDOM STUFF HERE-]:Expecting bracket, but none was found.

Solution, do a manual clean and re-munge your map.
I've used both the tool by Nebard and do a real manual clean with Teancum trick, it correctly fixed the bug, but now my era mod isn't working at all, when loading the (stock) maps i have a ctd! :runaway:
I first thought that it was my sides, so I loaded the stock sides but nothing...It's still crashing.

On the loading-screen it's crashing after "loading" the fives "red balls".

How i can fix this? I don't want to start from scratch since my mod is just....big... :wink:

Re: Manul Clean cause crash

Posted: Mon Nov 07, 2016 12:19 pm
by Oceans14
The only thing I can suggest is to munge a few more times. Usually when I do a manual clean it takes several consecutive munges before everything goes back to normal (no idea why). You could also try cleaning from VM (non-manual, non-deep clean) and then munging again. It's kind of trial and error.

Re: Manul Clean cause crash

Posted: Mon Nov 07, 2016 5:54 pm
by Anakin
Just an idea, add some print commands in your luau to figure out when it crashes (start the debugger and look in the log file)

Re: Manul Clean cause crash

Posted: Wed Nov 09, 2016 2:23 am
by CdtFox
Anakin wrote:Just an idea, add some print commands in your luau to figure out when it crashes (start the debugger and look in the log file)
in the addme.lua? Or the scripts?

Also sorry for this stupid question...but where can i find the debugger?
Oceans14 wrote:The only thing I can suggest is to munge a few more times. Usually when I do a manual clean it takes several consecutive munges before everything goes back to normal (no idea why). You could also try cleaning from VM (non-manual, non-deep clean) and then munging again. It's kind of trial and error.
I already re-munged more that 1 time and there is no difference, thanks I will try a non manual clean ;)

Re: Manul Clean cause crash

Posted: Wed Nov 09, 2016 6:22 am
by Anakin
in the lua files. Take a look at the gc_scripts. There are print commands used.
And the debugger is simply the exe that came with modtools. You know? That little window with the half green screen. If you start swbf with that you'll get a log file and every time you can Manuel print to this file in the luas