[3.7.0] Target barrels in Hid. Des. no longer explode

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.
Post Reply
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

[3.7.0] Target barrels in Hid. Des. no longer explode

Post by Caligari87 »

Making a preliminary bug report since I know Graf is aiming for a hotfix soon and I don't think Matt's going to get around to troubleshooting this before then.
  1. Download Hideous Destructor (current master commit).
  2. Start a new game with any class ("Rifleman" is probably easiest but anything works).
  3. Select "Hideous Firing Range" from the episode select.
  4. Far downrange are a few floating barrels. Shoot one.
    • (if targetting is an issue it may be easier to either jog downrange, or cheat just(!) a red keycard (or noclip) and go through the red door on the right; it portals to the far end of the range where another barrel is floating close by the tall wall.
With CVar "hd_debug" set to > 0, debug messages will indicate that damage was dealt to the barrel, but here is where the divergence happens:
  • In GZDoom 3.6.0, the barrel will "explode" and fall to the ground upon taking any damage. This is the expected behavior.
  • In GZDoom 3.7.0, the barrel will not react at all. Recoil can make this hard to see, but bullets puff on the barrel "harmlessly" even though damage is registered with debugging.
I'm not sure where the problem may lie. Here is the permalink to the current target barrel actor code. Other actors seem to respond to damage as intended so I don't think it's the weapons/bullets. Reverting to previous commits of Hideous Destructor doesn't change anything, it's definitely a difference between GZD 3.6.0 and 3.7.0.

I'm running the Modern Linux x64 build (from the .deb packaged by Rachael) on Linux Mint 19.1 Cinnamon. Have not tested on any other platforms. Setting "vm_jit" to false doesn't fix the problem.

8-)
User avatar
Rachael
Posts: 13575
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Rachael »

The variable in question is "asm_jit" - does setting that to 0 change it?
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Caligari87 »

It does not, same behaviour.

8-)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Graf Zahl »

The variable is called "vm_jit", not "asm_jit". Can you please retry?
Can you also please retest with the latest devbuild? There have been several fixes over the last few days and it may already have been resolved.
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Caligari87 »

Code: Select all

gzdoom +set vm_jit false -file hd-unstable/
[...]
Resolution: 1920 x 1080
Completions for vm:
vm_jit     vmengine   
]vm_jit
"vm_jit" is "false"


range - Firing Range
That's what I initially tested, I just typo'd it. But no, it doesn't fix the problem.

Sorry, I went to bed just after my last message. I'll test with 3.7.1 as soon as a Linux build is available (maybe try compiling myself later).

8-)
User avatar
Caligari87
Admin
Posts: 6174
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Caligari87 »

Problem still exists on 3.7.1.

8-)
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Matt »

It's the +nodamage flag.

Here's a standalone actor:

Code: Select all

class tbs:Actor{
    default{
        painsound "demon/pain";
        health 99999;
        painchance 256;
        +shootable
//        +nodamage
    }
    states{
    spawn:
        BEXP B -1;
    pain:
        BEXP C 30 A_Pain();
        goto spawn;
    }
} 
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Graf Zahl »

This looks like a problem with the DamageMobj refactor. The entire point of the NODAMAGE flag is to handle pain as if damage was inflicted but actually don't do it.
User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [3.7.0] Target barrels in Hid. Des. no longer explode

Post by Major Cooke »

Post Reply

Return to “Closed Bugs [GZDoom]”