Page 1 of 1

[Help] Map crashes directly when deploying to custom map

Posted: 2010-11-13 23:11
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?

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

Posted: 2010-11-14 00:03
by Rhino

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

Posted: 2010-11-14 01:05
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

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

Posted: 2010-11-14 01:52
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

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

Posted: 2010-11-14 01:54
by sylent/shooter
okay I will try that Leusch

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

Posted: 2010-11-14 03:20
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