Page 1 of 2

Crash after map 100% loads

Posted: 2013-03-25 18:13
by Ibrahim-Turk
I'm trying to test my map and it fully loads coming up with this error...

Debug assertion failed!

version: 1.5.3153-802.0 build date:2009-8-20 18:8
module:rendDX9
File:
C\ :d ice\projects\bf2branches\patch_1_50\code\BF2\RendDX9\TextureManager.cpp
line:761

Text: Texture not found: menu/nametag/usmc/minimap_cp

Current confile:

Any ideas because this make NO sense to me!

Re: Crash after map 100% loads

Posted: 2013-03-25 18:32
by Mineral
can you provide us with your init.con file found in your level folder?

Re: Crash after map 100% loads

Posted: 2013-03-25 19:18
by Ibrahim-Turk
How do you want me to send it?

Re: Crash after map 100% loads

Posted: 2013-03-25 19:24
by Hans Martin Slayer
Open the file and copy/ paste the content here. ;-)

Re: Crash after map 100% loads

Posted: 2013-03-25 19:25
by Ibrahim-Turk
I havn't made many changes as I'm not very used to this Init file...
rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\farah\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\farah\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con

endIf

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEC"
gameLogic.setTeamName 2 "USMC"

gameLogic.setTeamLanguage 1 "English"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_ch"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "" ""
gameLogic.setKit 2 0 "" ""

gameLogic.setKit 1 1 "" ""
gameLogic.setKit 2 1 "" ""

gameLogic.setKit 1 2 "" ""
gameLogic.setKit 2 2 "" ""

gameLogic.setKit 1 3 "" ""
gameLogic.setKit 2 3 "" ""

gameLogic.setKit 1 4 "" ""
gameLogic.setKit 2 4 "" ""

gameLogic.setKit 1 5 "" ""
gameLogic.setKit 2 5 "" ""

gameLogic.setKit 1 6 "" ""
gameLogic.setKit 2 6 "" ""

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera 139/27/123 -20/-11/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix ""
else
texturemanager.customTextureSuffix ""
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 1000

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 50
gameLogic.setDefaultNumberOfTicketsEx 32 2 50
gameLogic.setDefaultNumberOfTicketsEx 64 1 50
gameLogic.setDefaultNumberOfTicketsEx 64 2 50
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1

Re: Crash after map 100% loads

Posted: 2013-03-25 19:29
by Rabbit

Re: Crash after map 100% loads

Posted: 2013-03-25 19:32
by Mineral

Code: Select all

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEC"
gameLogic.setTeamName 2 "USMC"

gameLogic.setTeamLanguage 1 "English"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_ch"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "" ""
gameLogic.setKit 2 0 "" ""

gameLogic.setKit 1 1 "" ""
gameLogic.setKit 2 1 "" ""

gameLogic.setKit 1 2 "" ""
gameLogic.setKit 2 2 "" ""

gameLogic.setKit 1 3 "" ""
gameLogic.setKit 2 3 "" ""

gameLogic.setKit 1 4 "" ""
gameLogic.setKit 2 4 "" ""

gameLogic.setKit 1 5 "" ""
gameLogic.setKit 2 5 "" ""

gameLogic.setKit 1 6 "" ""
gameLogic.setKit 2 6 "" ""

rem -----------------------------------------------------------------------------
this part loads the kits you can see on your spawn selection when playing. PR uses a other system to get always the same kits of PR factions there in a more streamlined way. therefor you only need two lines that dictate what factions you use. The faction abbreviation can be found in the link of gx:

Code: Select all

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

run ../../Factions/faction_init.con 1 "ru"
run ../../Factions/faction_init.con 2 "ger"

rem -----------------------------------------------------------------------------
it's best to afterwards make the init.con file read-only. As the editor will overwrite these changes to default every time you change your level. So set your factions, viewdistance(also in the init file) and your texture suffix(woodland/read more about it at the link) and the amount of tickets for each layer(found at the bottom) and then make it real-only. So you don't need to change it each time. Obviously you can always make it writable again to change something.

Re: Crash after map 100% loads

Posted: 2013-03-26 18:27
by Ibrahim-Turk
I followed the steps you gave me and chose the teams "gb" & "mec". The only problem now is that it crashes at 15% load, heres the updated init.con file...
rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\farah\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\farah\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con

endIf

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

run ../../Factions/faction_init.con 1 "gb"
run ../../Factions/faction_init.con 2 "mec"

rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "MEC"
gameLogic.setTeamName 2 "USMC"

gameLogic.setTeamLanguage 1 "English"
gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"
gameLogic.setTeamFlag 1 "flag_ch"
gameLogic.setTeamFlag 2 "flag_us"

gameLogic.setKit 1 0 "" ""
gameLogic.setKit 2 0 "" ""

gameLogic.setKit 1 1 "" ""
gameLogic.setKit 2 1 "" ""

gameLogic.setKit 1 2 "" ""
gameLogic.setKit 2 2 "" ""

gameLogic.setKit 1 3 "" ""
gameLogic.setKit 2 3 "" ""

gameLogic.setKit 1 4 "" ""
gameLogic.setKit 2 4 "" ""

gameLogic.setKit 1 5 "" ""
gameLogic.setKit 2 5 "" ""

gameLogic.setKit 1 6 "" ""
gameLogic.setKit 2 6 "" ""

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera 139/27/123 -20/-11/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix ""
else
texturemanager.customTextureSuffix ""
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 1000

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 50
gameLogic.setDefaultNumberOfTicketsEx 32 2 50
gameLogic.setDefaultNumberOfTicketsEx 64 1 50
gameLogic.setDefaultNumberOfTicketsEx 64 2 50
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1

Re: Crash after map 100% loads

Posted: 2013-03-26 18:30
by Rhino

Code: Select all

rem *** Generated by BF2Editor ***
if v_arg1 == BF2Editor

run Heightdata.con
LevelSettings.InitWorld
run Terrain.con BF2Editor
run StaticObjects.con BF2Editor
run Sounds.con
run Sky.con BF2Editor
run Editor/GamePlayObjects.con host
UndergrowthEditable.create
Undergrowth.load Levels\farah\
run Overgrowth/Overgrowth.con
Overgrowth.editorEnable 1
run AmbientObjects.con BF2Editor
run Water.con
run TriggerableTemplates.con BF2Editor

else

run Heightdata.con
run Terrain.con v_arg2
run Sky.con v_arg2
run CompiledRoads.con
run Sounds.con
run tmp.con v_arg1
Undergrowth.load Levels\farah\
run Overgrowth/Overgrowth.con
run Overgrowth/OvergrowthCollision.con
run AmbientObjects.con
run Water.con
run TriggerableTemplates.con

endIf

rem ------------------------------- LevelSettings -------------------------------
rem -----------------------------------------------------------------------------

run ../../Factions/faction_init.con 1 "gb"
run ../../Factions/faction_init.con 2 "mec"

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera 139/27/123 -20/-11/0

if v_arg1 == BF2Editor
LevelSettings.CustomTextureSuffix ""
else
texturemanager.customTextureSuffix ""
endIf
rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 1000

rem -----------------------------------------------------------------------------

gameLogic.setDefaultNumberOfTicketsEx 16 1 50
gameLogic.setDefaultNumberOfTicketsEx 16 2 50
gameLogic.setDefaultNumberOfTicketsEx 32 1 50
gameLogic.setDefaultNumberOfTicketsEx 32 2 50
gameLogic.setDefaultNumberOfTicketsEx 64 1 50
gameLogic.setDefaultNumberOfTicketsEx 64 2 50
gameLogic.setDefaultNumberOfTicketsEx 128 1 50
gameLogic.setDefaultNumberOfTicketsEx 128 2 50
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 10
gameLogic.setTicketLossPerMin 2 10

rem -----------------------------------------------------------------------------

rem -----------------------------------------------------------------------------

renderer.globalStaticMeshLodDistanceScale 1
renderer.globalBundleMeshLodDistanceScale 1
renderer.globalSkinnedMeshLodDistanceScale 1 

Re: Crash after map 100% loads

Posted: 2013-03-26 19:47
by Ibrahim-Turk
I re-copied the code Rhino, but with No Luck! It still crashes at 15% without an error message! Why am I still having this problem?

Re: Crash after map 100% loads

Posted: 2013-03-26 22:06
by SShadowFox
Check this thread.

Re: Crash after map 100% loads

Posted: 2013-03-26 22:17
by Ibrahim-Turk
Please help guys, I can't test my map and it's really frustrating!

Re: Crash after map 100% loads

Posted: 2013-03-27 00:26
by SShadowFox
Did you even click on the link I sent? If yes, did you try any of the fixes?

Re: Crash after map 100% loads

Posted: 2013-03-27 22:21
by Ibrahim-Turk
Sorry I didn't see the link you said before I messaged, but I do not know how to fix these errors shown...

- Patch incompatibilities The patch broke or removed one of your statics
- No serverarchives path in tmp. Only important when using a object_server.zip for custom equipment/statics.
- Broken terrain.raw
- One of the items in your object_server.zip is duplicated in the minimod or main game. IE An m10 Early which is in the mod is also bundled in minimod with an identical name will cause a conflict.

Can someone tell me how to check for these errors because I do not know how to find/ fix them

Re: Crash after map 100% loads

Posted: 2013-03-27 23:01
by sylent/shooter
Can you post the debug log you get as well as the BF_log created at the same time?

Put them in code brackets

Re: Crash after map 100% loads

Posted: 2013-03-27 23:19
by Ibrahim-Turk
What do you mean by the "debug log", i'm still learning these terms sorry

Re: Crash after map 100% loads

Posted: 2013-03-28 11:56
by Ibrahim-Turk
Can someone explain where the BF_Log is please

Re: Crash after map 100% loads

Posted: 2013-03-28 12:05
by rodrigoma

Re: Crash after map 100% loads

Posted: 2013-03-28 17:22
by Ibrahim-Turk
Made the short cut, changed the target and nothing happened! What next, my map crashes at 15% and comes with no error when I run in different windowed modes. What can I possibly do?

Re: Crash after map 100% loads

Posted: 2013-03-28 18:21
by Ibrahim-Turk
Is there any changes to the Init.con I can make to help?