Page 1 of 1

Maps which crashes after some time. Reason?

Posted: Wed Jun 27, 2012 6:17 am
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.

Re: Maps which crashes after some time. Reason?

Posted: Wed Jun 27, 2012 6:21 am
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

Re: Maps which crashes after some time. Reason?

Posted: Wed Jun 27, 2012 6:31 am
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

Re: Maps which crashes after some time. Reason?

Posted: Wed Jun 27, 2012 8:25 am
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)

Re: Maps which crashes after some time. Reason?

Posted: Wed Jun 27, 2012 1:23 pm
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.

Re: Maps which crashes after some time. Reason?

Posted: Thu Jun 28, 2012 4:54 am
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

Re: Maps which crashes after some time. Reason?

Posted: Thu Jun 28, 2012 1:39 pm
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.