Random 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
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Random Crash

Post by Executer94 »

Alright my map gives me a hard time again.

It randomly crashs after a while. Sometimes 2 minutes and sometimes it takes 10 minutes.

I tried to fix as much problems as I could solve from the error log. Well I am pretty much done with my knowledge.

Here is the log
http://www.text-upload.com/read.php?id=125580&c=7701079
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Random Crash

Post by THEWULFMAN »

Crashes like that are usually caused by a bad unit in the custom sides. Try replacing all custom units with stock and see if it still crashes.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Random Crash

Post by Executer94 »

What do you mean with "bad" unit?
Everything custom what appears in the lua or just the unit?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Random Crash

Post by THEWULFMAN »

A bad unit really just refers to a unit with a bad (error filled) weapon. I had one random CTD, caused by my SBD, because his weapon didn't have the proper # set for the spread shot.


It's most likely something in your sides. Anything custom can/should be removed. This is what I do anyway.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Random Crash

Post by Fiodis »

THEWULFMAN wrote:A bad unit really just refers to a unit with a bad (error filled) weapon.
Or it could be in the unit's odf rather than the weapon. Anyway, rather than removing all custom units, I would suggest commenting out their lines in the LUA one by one until the map stops crashing. That way you're able to determine which unit it actually is, and fix the error.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Random Crash

Post by DarthD.U.C.K. »

as far as i know spacemaps are resourceintensive with all their effects etc. so the map could crash because its too much....
User avatar
Marvel4
Rebel Colonel
Rebel Colonel
Posts: 556
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Random Crash

Post by Marvel4 »

Message Severity: 3

C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)

Unable to find level chunk spx_inf_ep3_marine_spawn in C:\Programme\LucasArts\Star Wars Battlefront II\GameData\AddOn\BOZ\Data\_lvl_pc\SIDE\spx.lvl
It probably crashes because of this...
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Random Crash

Post by Noobasaurus »

Marvel4 wrote:
Message Severity: 3

C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)

Unable to find level chunk spx_inf_ep3_marine_spawn in C:\Programme\LucasArts\Star Wars Battlefront II\GameData\AddOn\BOZ\Data\_lvl_pc\SIDE\spx.lvl
It probably crashes because of this...
Which would mean that this:
THEWULFMAN wrote:A bad unit really just refers to a unit with a bad (error filled) weapon. I had one random CTD, caused by my SBD, because his weapon didn't have the proper # set for the spread shot.


It's most likely something in your sides. Anything custom can/should be removed. This is what I do anyway.
Is what you would do to solve it. Or manually go through your side stuff and see if you can notice anything wrong. But I'd assume you've already done that.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Random Crash

Post by Executer94 »

Alright I deleted the unit from the game and now it seems to work fine. I am not 100% because I won the game everytime after 10 minutes.

Thanks for your help guys I appreciate it!
Post Reply