Maps which crashes after some time. Reason?

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
Redline
2nd Lieutenant
2nd Lieutenant
Posts: 396
Joined: Tue Jan 16, 2007 4:22 pm
Projects :: Space to Ground [reworking]
Games I'm Playing :: Different Games
xbox live or psn: No gamertag set
Location: The left side of the moon
Contact:

Maps which crashes after some time. Reason?

Post by Redline »

What could be reasons for a map which crashes after some time?
My only problem maps are Naboo and Geonosis.
Could it be that the string pool gets full during I play the map?
That would mean I had to remove some things.
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: Maps which crashes after some time. Reason?

Post by Anakin »

can you post your error log?

And if it is the memory pool you needn't remove thinks, you can add some more memory
Redline
2nd Lieutenant
2nd Lieutenant
Posts: 396
Joined: Tue Jan 16, 2007 4:22 pm
Projects :: Space to Ground [reworking]
Games I'm Playing :: Different Games
xbox live or psn: No gamertag set
Location: The left side of the moon
Contact:

Re: Maps which crashes after some time. Reason?

Post by Redline »

Okay, here it is:
I have to make more posts to post all because it's too long....

No, you did not. -Staff

EDIT
Part 2:

What for? -Staff

EDIT
And the last one:
Sorry for tripple post but it was necessary to post it here.

Link to error log

One link can take the place of three posts. -Staff
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: Maps which crashes after some time. Reason?

Post by Anakin »

And you think you have one problem?

So here you go: Normaly there are Message Severity: 2 messages. also in the Stock BF2 maps with stock Units. They do not matter. But if there are Message Severity: 3 or higher they crash your map. I found your chrashing erros. I will show you how to work with them. Always search for Message Severity: 3 with ctr+f because they are the mos crashing errors. I found these from you:
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\RBR\data\_LVL_PC\shell.lvl
prev = none iLastPage = nil
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit
It seams you have a custom Icon load in your Lua. So the mungebat do not copie the shell.lvl in your addon folder. To fix this:
open data_ABC/lvl_pc_/ and copie the shell.lvl file to your add/ADC/data/lvl_pc_ folder.


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk rep_hover_fightertank in data\_lvl_pc\SIDE\rep.lvl
have a look in your rep sides folder. You added the rep_hover_fightertank. if this is destroyed there are chunk msh files. so a broken tank. Have a look in your rep/msh folder. are there the chunk msh files? the names you can get in the rep_hover_fightertank.odf. if not go to the assets folder and copie them there.

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1019)
Unable to find level chunk in SIDE\rep.lvl
same error

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_hover_spider in data\_lvl_pc\SIDE\cis.lvl
same error

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1019)
Unable to find level chunk in SIDE\cis.lvl
same error

Message Severity: 3
c:\battlefront2\main\pebblefl\common\PblConfig.h(30)
PblConfig: invalid config; 'DATA' chunk expected
chunk.GetId() == _ID( 'D', 'A', 'T', 'A' )
utility_functions2: ReadDataFile(): This map's code, mode: gos gos_cw-assault
no idea what you have done here. so is this a custom map or a sidemod?

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "tur_bldg_spa_cis_recoilless"!
this odf file is missing

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, cis_gun3, that does not have an .odf file associated with it
you have an object without an odf file ;)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "tur_bldg_spa_cis_recoilless"!
you have an object without an odf file ;)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, cis_gun4, that does not have an .odf file associated with it
you have an object without an odf file ;)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1172)
Could not find odf "tur_bldg_spa_cis_recoilless"!
odf missing

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1222)
Attempting to build an object, cis_gun2, that does not have an .odf file associated with it
you have an object without an odf file ;)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\StringDB.cpp(54)
String pool is full: 32768 pool is not big enough!
Here is a message severity: 3 because of an string pool. i have no idea. try to ignore it. If this still crashes maybe somebody else has an idea

Message Severity: 3
C:\Battlefront2\main\RedEngineFL\Util\RedSceneObject.cpp(93)
RedSceneObject: SetRenderRadius(22277.61) out of range
The RendesRadius is too big. try a lower one. so 22277.61 is really much. an stock BF2 Clone is about 2 (m) tall
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "Obstacle" is full; raise count to at least 167

Finaly if you want to fix this go to your lua. find the part with "SetMemoryPoolSize(" if there is no line with SetMemoryPoolSize("Obstacle", XX) add one with a number of 200) so it looks like
SetMemoryPoolSize("Obstacle", 200)
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Maps which crashes after some time. Reason?

Post by Marth8880 »

A missing level chunk isn't a missing explosion chunk; it means that the vehicle's chunk in the LVL cannot be found. This is usually due to some sort of REQ problem.
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: Maps which crashes after some time. Reason?

Post by Anakin »

oh i don't know the differences between this. But when you get an error, that something is missing first have a look in the req file. than what file is called there(mostly an odf). have a look in this file. what files are called there (ord, exp, and classparameters (odfs in the common folder) and msh files, animations...) search them all and be sure they are all there
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: Maps which crashes after some time. Reason?

Post by Fiodis »

This:

Code: Select all

gos_cw-assault
Is in the wrong format, if that's a lua. It ought to be gosc_eli for land-based hero assault or gosc_Diet Dr. Pepper for space assault.
Post Reply