Unknown Crash [Solved]
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Unknown Crash [Solved]
Quick question: Is there a limit to the number of objects you can put in a map? If so, what is it?
Because my map's been crashing lately and it's been turning down my best ministrations. I have no idea why, except that maybe I hit some limit.
Because my map's been crashing lately and it's been turning down my best ministrations. I have no idea why, except that maybe I hit some limit.
Last edited by Fiodis on Wed Dec 03, 2008 7:51 pm, edited 1 time in total.
-
Commander_Fett
- High General

- Posts: 847
- Joined: Fri Oct 17, 2008 9:59 pm
- Projects :: No Mod project currently.
Re: Object limit?
The limit's around 1000, and if you have too many odfs and mshs in your map's corresponding folders, that can crash it. I remember one time I went over the max object limet by 600... ouch.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Object limit?
http://www.gametoast.com/forums/viewtop ... 78#p208278Fiodis wrote:Quick question: Is there a limit to the number of objects you can put in a map? If so, what is it?
http://www.gametoast.com/forums/viewtop ... 93#p238993
What makes you think you hit a limit?Fiodis wrote:Because my map's been crashing lately and it's been turning down my best ministrations. I have no idea why, except that maybe I hit some limit.
Did you get any errors (not warnings) in your munge log?
Any severity 3 messages in your Bfront2.log?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Object limit?
Well, I moved the BFModtool.exe to my Gamedata folder and ran it. CW era, with custom sides, crashed, but GCW, with stock sides, didn't. So now I think there's something about the CW sides that makes it crash, not the objects.
I didn't find any bf2log in my Gamedata folder, no matter how hard I looked. I used "SEARCH", too, and nothing close to an error log was found. I tried to take away some of the custom units, but left a few that had worked fine before. Here's the error log I got while munging:
And the LUA:
Is anything completely wrong?
EDIT - this message also popped up in the munge box itself:
I didn't find any bf2log in my Gamedata folder, no matter how hard I looked. I used "SEARCH", too, and nothing close to an error log was found. I tried to take away some of the custom units, but left a few that had worked fine before. Here's the error log I got while munging:
Hidden/Spoiler:
Hidden/Spoiler:
Is anything completely wrong?
EDIT - this message also popped up in the munge box itself:
Hidden/Spoiler:
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Object limit?
You have an extra comma after all.lvl",
should be:
Code: Select all
ReadDataFile("DC:SIDE\\all.lvl",,
"all_hero_leia")Code: Select all
ReadDataFile("DC:SIDE\\all.lvl",
"all_hero_leia")- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Object limit?
Thanks, ace, I'll fix it and munge now.
EDIT - It still crashes! *angry smiley* Any idea why? No errors or even warnings while munging this time.
EDIT 2 - What does this mean if it shows up in the munge box? Because it popped up one time and the munge took a really long time to move on.
Hidden/Spoiler:
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Object limit?
I believe it means that the munge is calculating the shadow the object will cast if the option on the ingame options menu is set on high.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Object limit?
Well, does anyone have any idea as to why it crashes repeatedly?
If I can't fix it, I suppose I'll have to delete all the custom sides and put the stock side back, then reskin/edit everything.
If I can't fix it, I suppose I'll have to delete all the custom sides and put the stock side back, then reskin/edit everything.
- Tourny
- Command Sergeant Major

- Posts: 289
- Joined: Sat Sep 27, 2008 5:58 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Crifton
- Contact:
Re: Unknown Crash
As I said in an earlier topic, Fiodis, it would be helpful if you could find the error log I talked about. I think it's called BF2Log It will usually appear right after the BF2Modtools.exe. If you found it and read it after running the said EXE, then it would probably shed some light.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Unknown Crash
I'm having a huge amount of trouble finding it. Go on, laugh at me.
Could you please describe, step by step, how to set up the EXE and locate the log? I know there's something in the BF2_Modtools folder called BF2_modtools.exe. I copied and pasted it into my LucasArts/SWBFII/GameData folder. I ran it, played my map, watched it crash, then went back to the GameData folder. I searched in it and all of it's subfolders for a file called "BF2log". I found none, and searched for just "log". I found nothing talking about errors. I then searched for all ".txt" files, and found a bunch, none of which were related to errors.
Can anyone shed some light on this?
Could you please describe, step by step, how to set up the EXE and locate the log? I know there's something in the BF2_Modtools folder called BF2_modtools.exe. I copied and pasted it into my LucasArts/SWBFII/GameData folder. I ran it, played my map, watched it crash, then went back to the GameData folder. I searched in it and all of it's subfolders for a file called "BF2log". I found none, and searched for just "log". I found nothing talking about errors. I then searched for all ".txt" files, and found a bunch, none of which were related to errors.
Can anyone shed some light on this?
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Unknown Crash
I think problem is that you can't write to your Program Files. If I'm correct, you should find the log in C:\Users\[username]\AppData\Local\VirtualStore\Program Files\[then the path as before].
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Unknown Crash
Well, I found it. Thanks! From what I hear this log is very useful.
I browsed through it and found about 15 errors, some severity 2's and 3's. Here they are:
That one is followed by a string of text, then the errors continue:
Ok, maybe it's more than 15. Are severity 2's game-crashing?
I browsed through it and found about 15 errors, some severity 2's and 3's. Here they are:
Hidden/Spoiler:
Hidden/Spoiler:
-
Commander_Fett
- High General

- Posts: 847
- Joined: Fri Oct 17, 2008 9:59 pm
- Projects :: No Mod project currently.
Re: Unknown Crash
You're missing these two things:
Message Severity: 3
.\Source\Explosion.cpp(323)
Explosion "gt1_prop_barrel_exp" missing effect "gt1_barrel_explosion"
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_hover_utat in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\MBP\Data\_lvl_pc\SIDE\rep.lvl
Message Severity: 3
.\Source\Explosion.cpp(323)
Explosion "gt1_prop_barrel_exp" missing effect "gt1_barrel_explosion"
Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_hover_utat in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\MBP\Data\_lvl_pc\SIDE\rep.lvl
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Unknown Crash
No, usually not
Post your lua for what you tried to play, there is something messed up in it I think
Post your lua for what you tried to play, there is something messed up in it I think
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Unknown Crash
Er, well, I already posted my LUA several times, but here it is (again):
Why would the ut_at crash it if I don't include it in the LUA or try to spawn it? I once had the files in the data***/sides/rep folder, but I thought I got rid of them.....maybe not....
And the barrels work on GCW (sort of). Why would they crash in CW?
Hidden/Spoiler:
And the barrels work on GCW (sort of). Why would they crash in CW?
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Unknown Crash
You have common in your sides folder and you munged it right?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Unknown Crash
I do have "Common" in my sides folder and I sure hope I munged it right. I don't see how I couldn't have, since so often I'm so unsure as to what side to munge I just choose "Everything" and deal with the long wait.
So does anyone know why the barrels work in GCW but not in CW? And why does the ghost of the Ut-at haunt me even after I deleted its files?
So does anyone know why the barrels work in GCW but not in CW? And why does the ghost of the Ut-at haunt me even after I deleted its files?
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Unknown Crash
Are you still loading it in the lua or req?
And I meant by right like "you did didn't you" not that it munged correctly, and it probably did
The barrels I think are missing some file but might not be causing the crash
Load up your map in GCW in the debug version and post your BFront2.log (just quit when the map loads if it dosn't crash)
And I meant by right like "you did didn't you" not that it munged correctly, and it probably did
The barrels I think are missing some file but might not be causing the crash
Load up your map in GCW in the debug version and post your BFront2.log (just quit when the map loads if it dosn't crash)
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Unknown Crash
The LUA is as it is posted there.
And I'll do that GCW log as soon as I get the chance, I'm having a few problems power-wise. I'll try to get it up. Apparently the power cables are snapping or something.
Idk exactly what's going on, but the power's been on and off lately.
And I'll do that GCW log as soon as I get the chance, I'm having a few problems power-wise. I'll try to get it up. Apparently the power cables are snapping or something.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Unknown Crash
Ok, well it's not in your lua so I'm not sure where that error is coming from
Try a manual clean
How to here
Try a manual clean
How to here
