[Help] Map crashes directly when deploying to custom map

Making or wanting help making your own asset? Check in here
Post Reply
sylent/shooter
Posts: 1963
Joined: 2009-04-10 18:48

[Help] Map crashes directly when deploying to custom map

Post by sylent/shooter »

Hey everyone, I currently have a problem with a map I am working on. I have "correctly" built the map using the pr_builder Rhino made, and everything should be correct in the .desc file and such.

The problem is everytime I click deploy when creating a local server with my map on it the game automatically crashes.

Before it crashes though there is a dialog box that comes up which says the following:

Code: Select all

Debug Assertion Failed!
Version: 1.1.2878-710.0 Build Date: 2009-8-20 17:8
Active object template: S_Wind
Module: Python
File: D:\DiceCanada\BoosterPack2\Code\BF2\Game\Python\PythonHost.cpp
Line: 281

Text: bf2 init_module failed: stderr: Traceback (most recent call last)
stderr: File "python\bf2\__init__.py" , line 75, in init module
stderr:  import game.scoringCommon
stderr: File "mods/pr_edit/python\game\__init__.py" , line 9 , in ?
stderr:  realityinit.ini()
stderr: File ".\builds\core\python\game\realityinit.py" , line 51 , in init
stderr: File ".\builds\core\python\game\realityevents.py" , line 150, in init
stderr: RuntimeError: illegal event name


Current confile:

Call stack:
Only available in DEBUG builds
Now I was using the pr_edit debug .exe (windowed)

any ideas on what could be causing this and what I could do to fix it?

Killing the enemy sylently
sylent/shooter
Posts: 1963
Joined: 2009-04-10 18:48

Re: [help] Map crashes directly when deploying to custom map

Post by sylent/shooter »

thanks Rhino, now the map actually starts to load.

unfortunately it now just crashes when it reaches 14% I remember reading something somewhere about a possible cause for this. But I can't remember what it is. Can someone redirect me to the correct post?

(just for re-evaluation) It just says BF2 exception, bf2 has encountered an exception and needs to close. blah blah

Killing the enemy sylently
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: [help] Map crashes directly when deploying to custom map

Post by J.F.Leusch69 »

i would recommand to test your map in "pr" and not "pr_edit", i guess your "pr_edit" is just outdated somewhere
sylent/shooter
Posts: 1963
Joined: 2009-04-10 18:48

Re: [help] Map crashes directly when deploying to custom map

Post by sylent/shooter »

okay I will try that Leusch

Killing the enemy sylently
sylent/shooter
Posts: 1963
Joined: 2009-04-10 18:48

Re: [help] Map crashes directly when deploying to custom map

Post by sylent/shooter »

good news bad news, Good news it solved my problem of the map crashing at 14% because of the exceptions.
Bad News map still crashes after about 10 seconds of the map being fully loaded. I'm assuming there is something wrong with the coding of maybe the init or some other .con files

Killing the enemy sylently
Post Reply

Return to “PR:BF2 Community Modding”