Missing key on Fleshed Out E3M6
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Missing key on Fleshed Out E3M6
On E3M6 of Fleshed Out the final cerberus should drop a key 7 when killed, but it doesn't, so the map cannot be completed. Previously raze used to crash on this point, now it seems to be fixed. Tried to play with Bloodgdx and the key is dropped correctly.
The link to the mod is the following: https://www.moddb.com/mods/blood-fleshe ... ed-out-v17
The link to the mod is the following: https://www.moddb.com/mods/blood-fleshe ... ed-out-v17
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Missing key on Fleshed Out E3M6
Tried to add a savegame, but it is too big.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Missing key on Fleshed Out E3M6
Please upload it elsewhere and post a link here. It's a bit much to play a level I do not know yet to fInd a place I do not know where to look for. 'So the save would help a lot.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Missing key on Fleshed Out E3M6
Ok, don't you worry, nevermind. Thanks anyway.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Missing key on Fleshed Out E3M6
Tried this on the fly:
https://www.mediafire.com/file/715ks20y ... dsave/file
https://www.mediafire.com/file/715ks20y ... dsave/file
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Missing key on Fleshed Out E3M6
Thanks. I'll look into it ASAP. The crash fix was only half the story - the condition should never trigger, actually, but I never had a place where to reliably test the causes leading up to it.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Missing key on Fleshed Out E3M6
Ok, so how is this supposed to work?
This seventh key has no sprite image attached.
In NBlood its picnum was -1, that's what was causing the crash. In GDX it is set to 0 which is a brick wall texture. Trying to use a picture one after the 6th key just gives an oversized key outline.
It is the only item in the entire item list that looks invalid.
I can pick up the key with any invalid image, but what does the DOS version do here?
This seventh key has no sprite image attached.
In NBlood its picnum was -1, that's what was causing the crash. In GDX it is set to 0 which is a brick wall texture. Trying to use a picture one after the 6th key just gives an oversized key outline.
It is the only item in the entire item list that looks invalid.
I can pick up the key with any invalid image, but what does the DOS version do here?
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Missing key on Fleshed Out E3M6
Yes, the seventh key looks like a "ghost" blue key outline. I never saw it in the base game or cryptic passage, but in some mod like Death wish it is used to unlock the secret level. In Fleshed out the seventh key is used on a lot of levels, in this particular level is needed to trigger the dynamite at the end of the level, and is dropped by the cerberus upon killing it. In every other level it worked, for some reason the cerberus doesn't drop it here.
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Missing key on Fleshed Out E3M6
I think it works if it gets placed on the map with the proper picnum and scale manually set. But the cerberus drops it and it takes the picnum from an internal record - and that record was not properly filled in.
Which resulted in the spawned key having bad scale and a bad image. In NBlood this will most likely crash as well and in GDX the sprite will be invisible as set up, and I cannot find any further special handling in either port.
I think under these circumstances, setting it up as the same key outline sprite will be most consistent with what users may expect.
Which resulted in the spawned key having bad scale and a bad image. In NBlood this will most likely crash as well and in GDX the sprite will be invisible as set up, and I cannot find any further special handling in either port.
I think under these circumstances, setting it up as the same key outline sprite will be most consistent with what users may expect.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Missing key on Fleshed Out E3M6
I didn't play in nblood, but is seems to work : https://youtu.be/58e5gzjXZMk?list=PLoxV ... snH0&t=791
-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Missing key on Fleshed Out E3M6
Yeah, random luck. It still has an out of bounds array access but normally doesn't seem to cause the crash it does in Raze because many of these arrays have been refactored into other data structures where OOB is a fatal error.
But the key still is not visible there. It is one of the two scenarios I considered possible for NBlood, it depended on what random data it read for the invalid picnum.
But the key still is not visible there. It is one of the two scenarios I considered possible for NBlood, it depended on what random data it read for the invalid picnum.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Missing key on Fleshed Out E3M6
Replayed the level in gdx. The key is invisible, yet it's there. It's the most weird key placement i've ever seen 

-
- Lead GZDoom+Raze Developer
- Posts: 49192
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Missing key on Fleshed Out E3M6
I can only guess, but maybe Fresh Supply has a valid data record there and if that was the primary testing platform the problem would never have shown.
-
- Posts: 149
- Joined: Sun Apr 11, 2021 4:20 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
Re: Missing key on Fleshed Out E3M6
Recompiled and replayed, now the issue is fixed, thank you! 
