Manul Clean cause crash

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Manul Clean cause crash

Post 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:
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Manul Clean cause crash

Post 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.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Manul Clean cause crash

Post 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)
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Manul Clean cause crash

Post 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 ;)
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Manul Clean cause crash

Post 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
Post Reply