Page 1 of 1
r19 This map causes a crash
Posted: Thu Feb 14, 2008 20:02
by Enjay
I don't know why, but something in this little test map that I posted the other day causes my build of r19 to crash when starting the map
http://www.zen64060.zen.co.uk/3d_floor.zip
edit:
r17 and 18 also crash. r16 does not.
Posted: Thu Feb 14, 2008 21:22
by Enjay
I'm guessing it's the same thing: every map in my Burghead release causes a crash sooner or later - most of them fairly early. I does seem to coincide with when certain 3D floors come in to view - but not all 3D floors seem to be causing a problem.
Also, that WAD refuses to start complaining about the syntax of SBARINFO but I think that is my fault.
The fix is easy anyway, either remove SBARINFO or change line 66 from
drawmugshot "STF", 5, 0, 143, 168;
to
drawmugshot "STF", 5, 143, 168;
GZdoom didn't complain about it before, but I'm pretty sure what I had in the WAD was wrong.

Posted: Thu Feb 14, 2008 22:06
by Graf Zahl
Nice map.
But no crash for me.
Posted: Thu Feb 14, 2008 22:43
by RazTK
Nice map indeed. I especially liked the "water-cube". :>
No crash here either.
Posted: Thu Feb 14, 2008 23:12
by Enjay
Bugger!
[edit] Hang on, I think I may have it. X/Y Billboarding again. Somehow that got turned back on for me. If I turn it off, no crash. Back on, immediate crash when stating the map.
With X/Y billboarding on...
If I delete all the items on the map, no crash.
If I move all the items on the map until they are not on/above/under a 3D floor, no crash.
However, I *think* it will then crash when something walks under a 3D floor or if I look at something from a strange Z angle.
Posted: Thu Feb 14, 2008 23:14
by Enjay
Yup, definitely, I can wander around the map with Y billboarding on. If I go to the menu, it crashes as soo as I turn X/Y on.
Posted: Thu Feb 14, 2008 23:19
by Enjay
Dammit. Even with X/Y Billboarding off, my Burghead stuff crashes. Go to map 110 and walk forward a bit. It should crash just before the house comes into view.
This is with RazTK's builds and mine BTW.
Posted: Thu Feb 14, 2008 23:39
by Enjay
OK, I've tried as many changes to my OpenGL settings as I can think of and I always seem to get a crash on map110 of the Burghead thing. It's a bit hard to keep track of because, obviously, the game crashes every time I change my settings and try something else.
As soon as the house comes into view - bang! GZdoom dies. I can walk backwards along the road to the house and, provided I keep looking away from it, I can pass right by the front of it but as soon as I turn around - crash!
Posted: Thu Feb 14, 2008 23:46
by Graf Zahl
fixed
Posted: Thu Feb 14, 2008 23:48
by Enjay
Phew! I was begining to think it was going to be another thing that only I was able to experience.
What was wrong (and did you try the BH levels and get the crash there)?
Posted: Fri Feb 15, 2008 0:04
by Graf Zahl
I didn't test the code to properly light models under 3D floors. It compiled without warning because it referenced a global variable that happened to have the same name as one intended function parameter.
Posted: Fri Feb 15, 2008 0:14
by Enjay
So models being on the BH map made it crash even with X/Y billboarding off I guess.
Anyway, r20 has indeed cured the crash. Thanks.
Posted: Fri Feb 15, 2008 0:18
by Graf Zahl
Indeed. It was the same problem there.