This one's actually kinda complicated to explain.
Attached is my latest weapon mod, Doom Illustrated,
intended for 1.29 RC1. I have a crashing problem with
my Chaingun.
If you load the WAD up with its DDFs, cheat for
weapons, then immediately switch to the Chaingun and
fire it, EDGE crashes (with Windows' crash dialog, not
EDGE's). If you fire another weapon before the
Chaingun, it does not crash. I've experimented with
possible causes for the crash, and have concluded that
it's somehow centered around the chaingun itself (I
haven't changed the definitions much from the
original), and not the attack being ejected. But the
game physically crashes whenever the attack (this case:
BOOM1_PLAYER) is ejected. Placing the same eject attack
on another weapon (the Super Shotgun, or in this case
the sniper rifle) produces no crash whatsoever and
actually makes the Chaingun safe to fire without
crashing provided that the Rifle (or other weapon for
that matter) is fired first.
I'm pretty positive that this error is in the EDGE
engine, and not my DDF files - I have checked and
double-checked for any and all syntax errors, missing
sprites, and EDGE.LOG errors.
Logged In: YES
user_id=1005698
Stupid file attachment is too big, so I have to upload it
elsewhere - http://rapidshare.de/files/940717/ww-di.zip.html
(look at the bottom of the page).
Logged In: NO
Good man. You've been able to duplicate something that has
happened to me a couple of times, but I couldn't reproduce
it -at will- until now and thought it was just my PC being
wierd. My gut feeling was that this was related to
Images.ddf but I couldn't get an example.
I can confirm that this crashes on my PC too. I can also add
that this is somehow related to images.ddf.
1. follow tehweaselmans instructions to provoke a crash
2. now comment out his two new image entries in images.ddf
and try step 1 again. This time it won't crash!
Logged In: YES
user_id=457722
That was me below, I wasn't logged in :)
Anyway, this is related to that bug I posted a while back
(1091131) when I thought it was related to missing files,
but if you read my comments then you'll see that it seems to
be more random than that.
Logged In: YES
user_id=1005698
I have not modified IMAGES.DDF in any way, but I have added
a new PNG image to my WAD file (the new Titlepic, loaded as
raw data with XWE). If this is what's causing the crash (I
highly doubt, unless the DDF code is really that messy),
then I'll have to forego my titlepic.
Logged In: YES
user_id=1005698
Oddly enough, the problem has fixed itself as I continued to
work on the mod - but I'm leaving the bug thread open in
case there is a fix.
Logged In: YES
user_id=11869
I just tested the mod and unfortunately it doesn't crash
for me (I'm using the latest Edge code which is not exactly
the same as 1.29 RC#1 code which got overwritten).
I have no doubt that something is wrong somewhere
in EDGE, but since we can't reproduce it, we can't
debug it.
Logged In: YES
user_id=457722
Goddamn it! Now I can't reproduce this bug anymore!?
Logged In: YES
user_id=1005698
I don't get it...Lobo wasn't wrong when he said it was
random! It no longer occurs for me either...but then, my
version of the mod is now different. I haven't changed the
chaingun one bit, though...