Page 1 of 1
Help with a crash
Posted: Tue Sep 06, 2011 10:53 am
by Executer94
I made the mistake of editing a lot of thinks and just munged my map this morning so I have really no clue what it could be anymore
Here is my error log:
http://www.text-upload.com/read.php?id=134110&c=1987410
Re: Help with a crash
Posted: Tue Sep 06, 2011 10:59 am
by Noobasaurus
Code: Select all
Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Graphics\RedLight.cpp(254)
Global light 1 must be a directional light
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Ordnance.cpp(424)
Ordnance base class "com_weap_veh_beam_ord" not found
These are your two errors.
Re: Help with a crash
Posted: Tue Sep 06, 2011 11:46 am
by Executer94
How to fix those?
Re: Help with a crash
Posted: Tue Sep 06, 2011 12:39 pm
by yuke5
Noobasaurus wrote:Code: Select all
Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Graphics\RedLight.cpp(254)
Global light 1 must be a directional light
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Ordnance.cpp(424)
Ordnance base class "com_weap_veh_beam_ord" not found
These are your two errors.
The first guy can be fixed in zero editor. Change "Global light 1" to directional light. The second one says that Ordnance base class "com_weap_veh_beam_ord" not found means that the program can't pull up the file. Is that the actual name of the weapon in your odf, or did you make a typo? Did you munge correctly? There are a lot of things that could have gone wrong with this guy. Maybe you don't have "com_weap_beh_beam_ord" in your common folder. Who knows?
I hope all this helps.

and I hope your map gets up and running soon!
Re: Help with a crash
Posted: Tue Sep 06, 2011 2:00 pm
by Marth8880
"com_weap_veh_beam_ord" can be found in BF2_ModTools\assets\sides\Common\odf.
Re: Help with a crash
Posted: Tue Sep 06, 2011 2:48 pm
by Executer94
It was already there but I replaced it, munged and it still crashs.
Re: Help with a crash
Posted: Tue Sep 06, 2011 3:10 pm
by yuke5
Did you have common checked?
Re: Help with a crash
Posted: Tue Sep 06, 2011 3:19 pm
by Marth8880
yuke5 wrote:Did you have common checked?
Make sure you also set the sides to munge "EVERYTHING". If it still crashes, post your new error log and do a manual clean, then re-munge.
Re: Help with a crash
Posted: Tue Sep 06, 2011 5:26 pm
by CressAlbane
Marth8880 wrote:yuke5 wrote:Did you have common checked?
Make sure you also set the sides to munge "EVERYTHING". If it still crashes, post your new error log and do a manual clean, then re-munge.
Just a nit-pick here, but you don't have to munge EVERYTHING for the common side to be munged. You can just munge any side. I don't ever use the EVERYTHING option or the SELECT ALL option, and it saves a lot of time.
Re: Help with a crash
Posted: Tue Sep 06, 2011 6:44 pm
by Noobasaurus
CressAlbane wrote:SELECT ALL option
You probably wouldn't use
all of those things anyway...
Re: Help with a crash
Posted: Wed Sep 07, 2011 12:11 pm
by Executer94
I checked EVERYTHING and it's still not working. It's really random because I didnt change anything at this ord.
Re: Help with a crash
Posted: Wed Sep 07, 2011 12:24 pm
by THEWULFMAN
Can you post your most recent error log please? You should always go that. Thank you.
Re: Help with a crash
Posted: Wed Sep 07, 2011 1:34 pm
by Executer94
Re: Help with a crash
Posted: Wed Sep 07, 2011 2:38 pm
by CalvaryCptMike
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Ordnance.cpp(424)
Ordnance base class "com_weap_veh_beam_ord" not found
This one is still showing up. Make sure that all your odfs are there.
Re: Help with a crash
Posted: Wed Sep 07, 2011 3:06 pm
by THEWULFMAN
Have you done a manual clean? If not, then you should.
Re: Help with a crash
Posted: Wed Sep 07, 2011 3:41 pm
by Executer94
I manual cleaned it and munged it again.
Still crashes.
Re: Help with a crash
Posted: Wed Sep 07, 2011 7:15 pm
by Noobasaurus
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:SIDE\col.lvl
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Ordnance.cpp(424)
Ordnance base class "com_weap_veh_beam_ord" not found
Code: Select all
Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Graphics\RedLight.cpp(254)
Global light 1 must be a directional light
These.
For the first one, check your col side. Something's wrong.
For the second one, check to make sure you have that. Then do nothing to it and save it so when you munge it'll munge.
For the third one change your global light 1 to directional light.
Re: Help with a crash
Posted: Wed Sep 07, 2011 7:47 pm
by CalvaryCptMike
I'll be referring to the list of bugs that Noobasaurus posted above,
The first one is fine, that error always happens to me, no problems.
The second one needs to be fixed, I assume you know how to fix a missing ODF bug right?
The third is a problem, this is from the FAQ:
[color=#FFFF40]Teancum[/color] wrote: wrote: wrote:ERRORS THAT CRASH THE GAME
***PREFACE*** 99% percent of Message Severity: 3 errors will crash your game. If your map is crashing the first thing you should do is open Bfront2.log in Notepad, hit CTRL + F (Find) and type Severity: 3. Lots of times you'll find that the problem is easy to fix once you see the Severity: 3 error(s).
Code: Select all
Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Memory\RedMemory.cpp(538)
Allocating -1895825408 bytes failed - no free blocks left in Heap 5 (Runtime)
Any time you see the word RED in the second line, it means you've hit an in-game limit. In this case, there's not enough memory to load everything the modder wanted. Infantry will have to be cut down, the number of vehicles lowered, and more than likely there are too many objects in the map. (the max number of objects is 1053? -correct me if I'm wrong)
Code: Select all
Message Severity: 3
.\Source\Ordnance.cpp(424)
Ordnance base class "com_weap_veh_fly_recoilless_ord" not found
If you get an "Ordnance base class" error, make sure you have copied the contents of BF2_Tools\assets\sides\Common over to your custom side.
Re: Help with a crash
Posted: Sat Sep 10, 2011 8:06 am
by Executer94
I replaced my common folder with the original common folder (which had both the "missing" file) cleaned and munged again and it still crashes.