Page 1 of 1

[Solved] Error when running new map

Posted: January 22nd, 2008, 9:47 pm
by aicaramba
I made a new cod2 map, which is finished so I made an IWD file. I tried to run the map and i got this error :
<?xml version="1.0" encoding="utf-8" ?>

<ExceptionReport Version="4">
<Application Build="29580" Command=""C:\Program Files\Activision\Call of Duty 2\cod2mp_s.exe" "/>
<OperatingSystem Type="2"><Version Major="5" Minor="1" Build="2600"/></OperatingSystem>
<Exception Code="C0000005" Address="02A56635"><Module Section="0001" Offset="00015635" FileName="C:\Program Files\Activision\Call of Duty 2\gfx_d3d_mp_x86_s.dll"/></Exception>
<Registers EAX="E70965ED" EBX="005CF9AC" ECX="00000000" EDX="AD2BEBB2" ESI="E70965ED" EDI="40CA8248" CS="001B" EIP="02A56635" SS="0023" ESP="0006E1D8" EBP="40CA8240" DS="0023" ES="0023" FS="003B" GS="0000" Flags="00210286"/>
<BackTrace>
<Frame ProgramCounter="02A56635" StackAddress="0006E1D8" FrameAddress="40CA8240">

Here is a screeny of the error:
http://img182.imageshack.us/img182/6712/errorfu8.jpg

Since it is an 'xfire error' I turned of xfire and tried again, and my cod2 crashed.
Any ideas regarding this error? Any fixes?

Posted: January 22nd, 2008, 9:50 pm
by Drofder2004
Its hard to tell, but I am gonna guess you have a mapping error or bad compile. Delete your old compiles and try again. Make sure everything is working (such as CoD2) before you run the map (load stock settings and stock map) then recompile and try again.

Posted: January 22nd, 2008, 9:52 pm
by aicaramba
I did use different compile settings then recommended on modsonline (fast compile), but when I do the longer compiling things not all lights work. Should I compile it like recommended by modsonline anyway?

Posted: January 22nd, 2008, 10:00 pm
by Drofder2004
For testing, always use "fast", when compiling final, use "extra".

It may just be a bad compile, nothing to do with editor settings.

Posted: January 22nd, 2008, 10:01 pm
by aicaramba
Hmm, so how can I get the lights to work? (only the lights in an outside area dont work)

Posted: January 23rd, 2008, 12:43 am
by Drofder2004
Firstly make sure your map is not leaking.
And secondly, are there any errors during compile?

(fast compile will still compile the light entities, just with little detail).

Have you set all the properties (key/values) in the entity window correctly.
Have you tried placing a light next to a dark wall to confirm if it is indeed not working.

Post images of your map while the light are not "working".

Posted: January 23rd, 2008, 3:40 pm
by aicaramba
Ok, so I found out what causes to lights not working problem.
I put the light in a lightpost model. When I turn on modelshadow in the compile options it only shines on the inside of the model, so there is no more light to be seen from the outside.
Now im looking for a way to place the light outside the model without causing any strange shadows at the model, if I cant find any Im just gonna compile without modelshadows (its only noticable in one spot in the map).

Posted: January 23rd, 2008, 5:42 pm
by aicaramba
I compiled without modelshadow now, but get the same error when trying to run the map :( ill try with modelshadow now

Posted: January 23rd, 2008, 5:56 pm
by aicaramba
Lol, just found a massive leak :P The whole bottom part of the skybox was dragged down like 30 units :P

Posted: January 23rd, 2008, 8:38 pm
by Drofder2004
aicaramba wrote:Lol, just found a massive leak :P The whole bottom part of the skybox was dragged down like 30 units :P
solved?

Posted: January 23rd, 2008, 8:57 pm
by aicaramba
It wasnt the lead that solved it.. the loadscreen.iwi was bad.. Luke basicly solved it for me.
Guess ill lock the topic then.

Posted: January 24th, 2008, 5:00 pm
by Drofder2004
Will add [Solved] to title to stop it from looking like a random lock.