Variable Pushsound bug for GZDoom v4.10

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
retrosectorbravo86
Posts: 1
Joined: Fri Aug 04, 2023 1:41 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10

Variable Pushsound bug for GZDoom v4.10

Post by retrosectorbravo86 »

Whenever I go push an object in certain mods, I get a console error which takes me back to the menu screen.

For example:

'Variable PushSound not found in RustyExplosiveBarrel' for Brutal Doom Platinum.

Like, I never had this before I updated to the latest version of GZDoom.
User avatar
Kappes Buur
 
 
Posts: 4141
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada

Re: Variable Pushsound bug for GZDoom v4.10

Post by Kappes Buur »

retrosectorbravo86 wrote: Fri Aug 04, 2023 2:04 am ... in certain mods, ...
... I updated to the latest version of GZDoom.

That is an easy fix, do not use those certain mods or revert to the earlier version of GZDoom.

Newer versions of GZDoom (v4.8, v4.9, v4.10, v4.11) are stricter in finding scripting errors, which could cause conflics, and thus report the error.

What you can do,
load up those mods with Slade3, find pushsound and delete the entry or better still, fix the script.
User avatar
phantombeta
Posts: 2110
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Variable Pushsound bug for GZDoom v4.10

Post by phantombeta »

The only place the error message in the OP pops up in the source code that would trigger a console error is in DObject::ScriptVar, which fetches non-native object variables for use in the native code... Considering that, I'm pretty sure this is a GZDoom bug.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49118
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Variable Pushsound bug for GZDoom v4.10

Post by Graf Zahl »

PushSound is defined on Actor, though. Something must be truly screwed if this fails.
User avatar
EmeraldCoasttt
Posts: 38
Joined: Wed Sep 30, 2020 2:35 pm

Re: Variable Pushsound bug for GZDoom v4.10

Post by EmeraldCoasttt »

Can't replicate with brutal doom platinum on gzdoom 4.10.0; Is something in your autoload messing with this somehow?

Return to “Technical Issues”