[Fixed] 'give artifacts' cheat gives keys

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom 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.

'give artifacts' cheat gives keys

Postby Blue Shadow » Mon May 23, 2022 8:16 pm

Tested with: 4.8pre-412-ga9cba9064 (64 bit)



The change introduced by this commit resulted in the give artifacts cheat giving you keys, not only "artifacts".

It also affected a set of items in a mod of mine which are not stored in the inventory on pickup but need to be given valid icons (it's part of their functionality). Obviously, I can "fix" my items so they're ignored by the cheat, but I thought I'd mention it anyway, as the issue doesn't appear to exclusively affect keys.
User avatar
Blue Shadow
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: 'give artifacts' cheat gives keys

Postby Graf Zahl » Tue May 24, 2022 12:04 am

fixed

The main problem here is that "artifact" is not a well-defined inventory type, so all we can do is exclude all types that are definitely not artifacts.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: 'give artifacts' cheat gives keys

Postby Marisa the Magician » Tue May 24, 2022 1:54 am

I've always assumed that "artifacts" would be all items with the INVBAR flag.
User avatar
Marisa the Magician
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa the Magician#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: 'give artifacts' cheat gives keys

Postby Graf Zahl » Tue May 24, 2022 2:32 am

That's the one thing it does not check... :?
Don't ask me,this code is old...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest