View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
74 [Gameplay + OpenGL] Bug major always 2017-01-19 00:21 2018-04-18 00:55
Reporter: StrikerMan780 Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Bugged bouncing behavior when Hexen bouncetype projectiles with +BOUNCEONACTORS & limited bouncecount hit actors.
Description: It seems when shooting projectiles with the Hexen bouncetype, +BOUNCEONACTORS, and a limited bouncecount at actors... the projectile will bounce infinitely and never die. This behavior didn't always happen, seemed fine in ZDoom 2.5.0, and builds of GZDoom prior to 1.8.6.

Video demonstrating the bug. https://www.youtube.com/watch?v=wGigvuw3eok
Pardon my awkward way of speaking, was extremely sleep deprived.
Tags:
Steps To Reproduce: A test zip will be attached. Just launch a game, type "give all" in the console, select the frag grenade inventory item, and spam it at some enemies. It'll eventually bug out.
Additional Information:
Attached Files: bouncetest.pk7 (2,081,836 bytes) 2017-01-19 00:21
https://mantis.zdoom.org/file_download.php?file_id=20&type=bug
bouncebug.lmp (2,160 bytes) 2017-01-20 13:56
https://mantis.zdoom.org/file_download.php?file_id=23&type=bug
Notes
(0000137)
StrikerMan780   
2017-01-19 13:15   
By the way, the actor in question is FragGrenadeX.
(0000166)
Graf Zahl   
2017-01-20 13:34   
Haven't been able to reproduce it yet.
(0000167)
Edward-san   
2017-01-20 13:42   
Striker, please record a lmp demo with the problem and attach the compressed zip here.
(0000168)
StrikerMan780   
2017-01-20 13:48   
(Last edited: 2017-01-20 13:48)
It's easy to reproduce, spam the grenades at the feet of a group of enemies. Might take a couple tries, but it'll work. Use the test PK7.

(0000169)
StrikerMan780   
2017-01-20 13:56   
(Last edited: 2017-01-20 14:03)
Either way, here's a demo, use the PK7 and GZDoom 2.3.2 x64.

(0000187)
Major Cooke   
2017-01-21 10:32   
Is this perhaps similar to the issue that I reported not too long ago on the forums?
(0000211)
StrikerMan780   
2017-01-22 17:01   
(Last edited: 2017-01-22 17:02)
Don't know, got a link to the thread?

(BTW, I posted the demo above)

(0000237)
StrikerMan780   
2017-01-25 14:04   
(Last edited: 2017-01-25 14:07)
If it was this thread, then I don't think so: https://forum.zdoom.org/viewtopic.php?f=2&t=54637

This bug has existed since GZDoom 1.8.6 at least.

(0000238)
Graf Zahl   
2017-01-25 14:30   
No idea. I'll have to debug the demo to say.
(0000250)
Graf Zahl   
2017-01-27 05:30   
The bug is actually on your side. Your grenade contains an endless loop and expects the engine to explode it eventually. But this won't happen if it comes to rest before any of the exploding conditions occurs.

Check Hexen's flechette as a proper example, it contains continuous checks to ensure that the bomb actually explodes.
(0000252)
StrikerMan780   
2017-01-27 06:50   
(Last edited: 2017-01-27 08:00)
Forget that there is a bouncecount? There's no reason why it shouldn't go into the death state after bouncing more than 4 times. (See the actor's code, it has a bouncecount of 4.)

It just keeps bouncing and bouncing and bouncing and bouncing in place, it never goes to rest, and even plays the bounce sound over and over but it doesn't enter the death state. It's like the bouncecount just gets ignored entirely, or the bouncecount isn't being decremented properly when it should.

Also, keep in mind, this exact actor didn't always behave like this either. I think you're way too hasty in closing this.

I'm almost tempted to say that this:

// The amount of bounces is limited
    if (bouncecount>0 && --bouncecount==0)
    {
        if (flags & MF_MISSILE)
            P_ExplodeMissile(this, NULL, NULL);
        else
            CallDie(NULL, NULL);
        return true;
}
Is going negative or 0 prematurely and never triggering, or something above it is stopping this from executing when it should.

(0000253)
Graf Zahl   
2017-01-27 08:10   
(Last edited: 2017-01-27 08:12)
It doesnt bounce and bounce and bounce. It lies still, with the only movement being the rotation from the model. And because it's lying still it won't run any more bouncing checks. It apparently stopped moving after LESS than 4 bounces, but that I cannot reliably debug. This can happen if the bouncer's movement is blocked.

There is no auto-explode built into the bouncing code if the bouncing object came to rest prematurely and you have to deal with this yourself.

(0000254)
StrikerMan780   
2017-01-27 08:19   
(Last edited: 2017-01-27 09:17)
Yes it does bounce repeatedly. I just removed the rotation and it is indeed bouncing forever, and it is still making slight vertical movement (Z velocity never reaches 0), along with doing bouncing checks (the bounce sound is still playing, over and over and over, if the bounce checks were no longer happening, this wouldn't occur). Remember, Hexen bounce projectiles never come to rest unlike the Doom bouncetype.

EDIT: Built from source and ran the debugger in Visual Studio 2015. AActor::FloorBounceMissile and PlayBounceSound are definitely being called when it's stuck in this bounce loop.

EDIT2: Also has the bounce flags still.

It's not just the model's rotation. I'll even record another video if you don't believe me. Heck, just change the MODELDEF in bouncetest.pk7 to this and run the demo:


model FragGrenadeX
{
    Path "Models/projectiles"
    Model 0 "fraggrenade.md3"
    Skin 0 "fraggrenade.png"
    Scale 2.0 2.0 2.4
    ZOffset 3.75

    FrameIndex FRAG A 0 0
    FrameIndex FRAG B 0 1
}

model FragGrenadeX
{
    Path "Models/projectiles"
    Model 0 "fraggrenade.md3"
    Skin 0 "fraggrenade.png"
    Scale 2.0 2.0 2.0
    PitchOffset 90
    ZOffset 3.75

    FrameIndex FRAG C 0 1
}


Also, in P_BounceActor:

if (mo->bouncecount > 0 && --mo->bouncecount == 0) return false;

This looks suspicious.

Seems not all calls to P_BounceActor make the actor explode if it returns false, and there's no checks to prevent it from decrementing bouncecount when inappropriate.

Like this for example, in p_mobj.cpp, line 4193:

                    if (Vel.Z != 0 && (BounceFlags & BOUNCE_Actors))
                    {
                        P_BounceActor(this, onmo, true);
                    }
                    else
                    {
                        flags2 |= MF2_ONMOBJ;
                        Vel.Z = 0;
                        Crash();
                    }



Seriously, did you even watch the video closely (or had sound turned on?) or taken a good look at what's going in the demo and not just give it a passing glance then proceeding with brushing me off? Sometimes I think you do this just to spite me.

(0000255)
Graf Zahl   
2017-01-27 09:17   
No guarantee that changing that part is going to work without unwanted side effects, the entire bouncing code is a total clusterfuck beyond repair.
(0000256)
StrikerMan780   
2017-01-27 09:58   
(Last edited: 2017-01-27 10:16)
https://github.com/coelckers/gzdoom/commit/1eb2c753288a8baf61535aed4c5d25f39013de7e#commitcomment-20642353

Just a suggestion to make things cleaner.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
280 [Gameplay + OpenGL] Feature feature N/A 2017-02-16 12:15 2017-06-26 16:01
Reporter: Camaxide Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Possibility to link intermission scripts
Description: by using 'enterpic' in mapinfo you can either chose to display a fullscreen image of your next level, or you can create a world map showing which maps you have finished and which you are about to enter.
But there seem to be no option to link multiple of these together. Say the player finish Map01, he gets the kills-count etc. and press use - now the player would enter the world-map and see the map he just finished - and the map he is going to, as the player press use I would like him to move on to a second "enterpic" - or preferably just a continue of it - just link you can use 'link =' in the endgame intermissions to go to the next intermission - if no link = would be present, the press of use would continue to the next level (or to the cluster entertext if any is set'.
I've researched quite a bit, and it seem this kind of action is impossible today, but would be very useful for making more interesting and customisable things between levels. I have tried to "fake" it by creating extra levels that is scripted to end - but if those have intermission enabled they will show a kill-count, and if intermission is disabled they basicly dont do anything for extra intermission options.. so I'd love to see the function added to use something like "link = " inside enterpic lumps to allow to chain more together between levels.

Please tell if I didn't make it clear what I mean, English isn't my primary language :)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000622)
Graf Zahl   
2017-02-16 13:59   
You can set a separate image with 'exitpic =' for the 'finished' screen.
(0000623)
Camaxide   
2017-02-16 14:14   
(Last edited: 2017-02-16 14:20)
I already define exitpic for each map - exitpic defines what image to show behind the kill-count screen, and cant be used for what I requested.

I'll try to explain it better.

I'd like to be able to put together more links to the "chain" between two levels - say
1: Kill-count screen (exitpic) (player press use)
2: World map showing where you've been and where to go (enterpic) (player press use)
3: A Large image for the next map in line is displayed with the name of the map on top (enterpic) (player press use)
4: Story text for the next map is displayed (cluster entertext) (player press use)
5: Map start

Currently 2 and 3 both use the same lump, and can't be combined. One can't extend the use within the lump to do more actions - and one can not define enterpic lump to jump to a second enterpic lump.

I'd like to be able to do so (jump from enterpic lump to next with something like Link = ... just as you can when defining intermission's for the end-game.

(0000626)
Graf Zahl   
2017-02-16 16:22   
So you want an entirely new screen added into the sequence? I don't think I'll do that before exporting that entire module to scripting, but that may take a while.
(0000640)
Camaxide   
2017-02-17 09:28   
I don't know so much about the technicality behind it, but what I want is to be able to define two enterpics to come one after the other - so no "new" lump-type or so, but the ability to tell at the end of a enterpic-lump that it should jump to another enterpic-lump (in theory this would allow to go between many enterpic-lumps with different content before moving on to the next map.)
From the above list I originaly have 1-3-4-5 - while after starting to produce the world-map I now have 1-2-4-5 since 2 and 3 needs the same lump and can't be combined inside the same lump. (they are both enterpic).

The scripting what does it mean? it's the new zscript setup? Can it be combined with the old decorate/mapinfo etc.? or would it require a full rewrite of all lumps for me to implement it?
Any finger in the air guess on how long a while is? 3 months - a year? :)

Just good to know how I should plan progress - I'm hoping to be done by summer with the second episode for a release - but I hoped that last February also - so who knows :)
(0000642)
Graf Zahl   
2017-02-17 12:37   
It means that the code as written cannot do what you want, it would reqiure some major redesign.
And I'm not going to do this unless the code for these screens has been completely ported to ZScript.
(0000644)
Camaxide   
2017-02-17 14:26   
Yes that makes sense to not do the same job twice when things are anyway going zscript. What I ment to ask is when the new zscript is up, and if this is then implemented - will it be compatible with the old stuff? Like can I use some lumps that use zscript, while all the old lumps I use is not zscript? :) (meaning I would not have to rewrite decorate etc. for zscript.
(0001171)
Graf Zahl   
2017-03-29 13:17   
With the scriptified version of the status screen this is now doable, but since the new screen you want to add doesn't even exist (and I have no idea what it should contain) you are mostly on your own here.

The main trick will be that you need to add another state, so that the screen does not change immediately from CurState == StatCount to CurState == ShowNextLoc, but to an intermediate new one.

This will amount to a non-trivial amount of coding, though, because it's entirely new functionality.
(0001188)
Camaxide   
2017-03-30 10:35   
Ah ok thanks :)
I'm familiar with all the Decorate code (old code) but not at all with the new code which makes no sense to me at all, so I'll try to find an appropriate forum to see if I can find some help for that - or a place to learn what the code does. The line you just wrote means absolutely nothing to me at the current time =)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
641 [Gameplay + OpenGL] Bug crash always 2017-04-29 19:41 2017-04-30 09:21
Reporter: Enjay Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash when changing true color mode
Description: I can reliably get a crash in 3.0.0 64 bit when changing to software output and switching true color mode off.
Tags:
Steps To Reproduce: Start game in OpenGL mode (you can start an actual game or just do it from the title screen)
Go to the change rendering output menu
Change hardware acceleration to Doom software
Change Software true color to off
Crash
Additional Information:
Attached Files: CrashReport.zip (21,992 bytes) 2017-04-29 19:41
https://mantis.zdoom.org/file_download.php?file_id=225&type=bug
gzdoom-crash.7z (7,341 bytes) 2017-04-30 07:04
https://mantis.zdoom.org/file_download.php?file_id=226&type=bug
Notes
(0001598)
Rachael   
2017-04-30 06:10   
Figures someone would find this bug, and of all people you would be the one. :)
(0001599)
Rachael   
2017-04-30 06:40   
Fixed
(0001600)
Chris   
2017-04-30 07:04   
The crash still occurs even with this commit. There's problems when you go the other way too, BTW. If you start with software rendering, change to opengl, then toggle the truecolor option, the window seems to reinitialize using opengl rendering, but if you try to start a game it's all messed up with only the HUD being drawn.
(0001601)
Enjay   
2017-04-30 07:08   
Rachael wrote

Figures someone would find this bug, and of all people you would be the one. :)

Federal Network Newsreel announcer (Starship troopers) wrote

Every day, Federal scientists are looking for new ways to kill bugs.

I'm doing my part! ;)
(0001604)
leodoom85   
2017-04-30 09:21   
Also, that bug works in the 32-bit version but probably it was fixed too :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
642 [Gameplay + OpenGL] Bug minor always 2017-04-30 08:19 2017-04-30 08:37
Reporter: Blue Shadow Platform: PC  
Assigned To: OS: Windows  
Priority: low OS Version: 10 Home x64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 'playdemo' CCMD doesn't handle '*' as a map name
Description: When you try to play a demo which was recorded like this:
recordmap blah.lmp *
The demo fails to play with this message:
Could not find map *
Tags: CCMD, demo
Steps To Reproduce: Start any map, and from the console:
recordmap blah.lmp *
Play a little and then stop recording:
stop

Now play the demo:
playdemo blah.lmp
Additional Information: Tested/produced with: 3.0.0 (64-bit)
System Description
Attached Files:
Notes
(0001603)
_mental_   
2017-04-30 08:36   
(Last edited: 2017-04-30 08:37)
Fixed in 9a7aa7a

Cherry-picked to maint_3.0 branch too


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
639 [Gameplay + OpenGL] Feature minor always 2017-04-29 16:35 2017-04-29 22:33
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Clipping Rectangle debug display
Description: Often times, figuring out whether your clipping rectangle is correct or not is a LOT of invisible guesswork and can be very frustrating and consume a lot of unnecessary time.

Can there be a debug option to draw where the bounds of the current clipping rectangle is? Like a simple 1-pixel-thickness rectangle or something.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001587)
Nash   
2017-04-29 16:35   
It would just show the last clipping rectangle and that's fine. I just need it for visual aid.
(0001590)
Graf Zahl   
2017-04-29 18:10   
screen.Dim for the entire screen will tell you easily where it is.
(0001592)
Nash   
2017-04-29 22:33   
Ah, very handy! Thanks.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
637 [Gameplay + OpenGL] (No Category) minor sometimes 2017-04-28 17:37 2017-04-29 08:32
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: OGG sounds are sometimes silent on first play
Description: The first time an ogg format sound effect is to be played, it will potentially be silent.
Confirmed in GZDoom g3.0pre-79-gec1aeaf (latest devbuild as of posting)
Tags:
Steps To Reproduce: Load attached file, begin new game, fire pistol. First shot may be silent.
Additional Information:
Attached Files: oggtest.pk3 (11,448 bytes) 2017-04-28 17:37
https://mantis.zdoom.org/file_download.php?file_id=223&type=bug
Notes
(0001578)
_mental_   
2017-04-29 03:17   
(Last edited: 2017-04-29 03:35)
Need to enter the game using menu in order to reproduce the issue.
Sound is playing fine in menu.
playsound weapons/pistol before shooting "fixes" the problem. The same for +map switch.
FLACs are not affected.
It's stereo sound issue.

(0001579)
_mental_   
2017-04-29 03:22   
(Last edited: 2017-04-29 03:34)
Unrelated to the reported issue but playsound weapons/pistol is louder than shooting.
This also seems to be OGG only problem.
This is also a problem with stereo sounds.

(0001581)
_mental_   
2017-04-29 03:45   
Fixed in be496a8
(0001582)
Ed the Bat   
2017-04-29 08:24   
Ah, so the file format wasn't the issue...
Thank you very much!
(0001584)
_mental_   
2017-04-29 08:32   
Difference in volume between shooting a pistol and playsound weapons/pistol in console is still persist.
I suspect that this is caused by downmixing to mono.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
635 [Gameplay + OpenGL] Bug minor always 2017-04-28 09:13 2017-04-29 03:27
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Custom HUD disappearing if HUD scaling < 3
Description: Run attached example.

Make sure screenblocks = 10.

You will most probably see an empty HUD, unless the scale setting (either override or the fullscreen HUD scale) is 3 or larger.

Don't know since when this broke but smaller scale values used to not exhibit this bug.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: hudtest.zip (6,229 bytes) 2017-04-28 09:13
https://mantis.zdoom.org/file_download.php?file_id=222&type=bug
Notes
(0001561)
Nash   
2017-04-28 09:14   
Correction: either override or the global UI scale
(0001564)
AFADoomer   
2017-04-28 10:08   
For what it's worth - For me, the effect seems to be magnified as resolution increases... On lower resolution (1280x720), the bar only disappears when scale is set to 1. At higher resolutions (1920x1080), the bar disappears at 2 or 3 as well... If I set it to 2, I can toggle between resolutions and watch the bar appear and disappear.
(0001568)
Graf Zahl   
2017-04-28 12:03   
Your calculation of the y coordinate for the clipping rectangle seems to be totally off and happens to exclude the area for the display on scale 1 and 2.

As the scaling increases the clipping rectangle is moved out of the bottom of the screen and no longer clipping, that's why the HUD reappears.
(0001577)
Nash   
2017-04-28 22:41   
@Graf Zahl but it does not happen before. Which commit changed this?
(0001580)
Graf Zahl   
2017-04-29 03:27   
Whatever changed only revealed an error in your math. The entire calculation is wrong. If you want to set a clipping rectangle aligned to the bottom of the screen you have to align the rectangle's coordinates to the bottom of the screen as well. You align yours to the center of the screen, and with HUD_HEIGHT being 200 it only covers a too small part of the screen if the scaling is 1 or 2.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
633 [Gameplay + OpenGL] Feature minor have not tried 2017-04-27 13:49 2017-04-28 15:19
Reporter: JP Platform: All  
Assigned To: OS: All  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Console command to reload current map
Description: I'm working on a mod with multiple maps, and it'd be nice to be able to reload a map after making changes in an editor by pressing a single key instead of opening the console and typing "map map01". The single key binding isn't currently possible because the command's argument will change based on which map is loaded. So a new command, named something like "reloadcurrentmap", would be ideal. Bonus: an analogue of this new command for "changemap", ie does same thing but retains the player's inventory and health.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001559)
Graf Zahl   
2017-04-28 04:40   
No new CCMDs, I just added a "*" parameter to the existing ones.
(0001560)
Blue Shadow   
2017-04-28 07:34   
Something I don't understand; if you edit the map, you need to reload it, which means you need to restart GZDoom, and at this point, you need to explicitly specify the name of the map you want to load. So how is this feature going to help in this situation?
(0001562)
Rachael   
2017-04-28 10:05   
If you somehow got past the file sharing locks, the original Doom source code allows for live map reloads without restarting the game. I don't know if this still applies in ZDoom or not, but it would be easier to test this on Linux than on Windows.
(0001566)
Graf Zahl   
2017-04-28 11:49   
Reloading a map that was open in an editor is not possible because the engine keeps the file open which prevents writing to it.

The only way to reload an edited map is the 'open' CCMD.
(0001567)
JP   
2017-04-28 11:58   
Thanks for implementing this! It works for its intended purpose for me. I open a map in GZDoom, open it in SLADE, make changes in SLADE, then "map *" and the change is reflected. I only filed this request because I'd observed that "map map01" works as described to reload map01, etc.

I didn't test it robustly; is this behavior just a total accident and could break at any time? I hate it when that happens :]
(0001570)
Graf Zahl   
2017-04-28 12:07   
Since the WAD directory is not reloaded this sounds like an accident indeed.
Can you give a more detailed description of what precisely you did (e.g. command line options for starting GZDoom?)
(0001574)
JP   
2017-04-28 12:50   
(Last edited: 2017-04-28 12:51)
Sure. My mod is ZDoom/UDMF-based, and I'm working out of loose files in a directory.

My workflow is:
1. open map in SLADE
2. load map in GZDoom via shell script, described below
3. make changes in SLADE (modify things, linedefs, sectors etc)
4. press F5 (which I have bound to "map *") in GZDoom

I launch GZDoom with a shell script (I work in Linux) called runmap:

gzdoom pk3/ -warp "$mapnum" > run.log

(where "pk3/" is the subdir with my content in it)

But this shouldn't matter to the map load process, right?

Hmm... so, I've tried variations on those steps a few times now, and about half the time it /does/ fail, with an error, eg:

"Cannot load broken WAD file maps/map33.wad"

At first I thought this might have come down to whether I opened the map in SLADE or GZDoom first - something about grabbing a read/write handle to the file - but that doesn't seem to affect it, or at least have any bearing on the frequency of the "broken WAD file" error.

(0001575)
Graf Zahl   
2017-04-28 13:59   
Yes, that all makes sense. If you load the map from a subdirectory it will of course pick up the new file, but since the internal lump directory won't get updated, if the WAD's file size changes the subsequent load will fail, resulting in that error message.
(0001576)
JP   
2017-04-28 15:18   
(Last edited: 2017-04-28 15:19)
Ah, so the "accident" was just that the file sizes happened to be the same? Guess that's what I get for testing only with trivial changes.

The "open" CCMD works for this actually, provided I invoke it with (as designed) the full path of the WAD file, and the rest of my mod stays loaded because each level WAD only contains a single level's data.

How difficult would it be to implement the same functionality you committed yesterday for map/changemap for open? I realize these commands do pretty substantially different things. Theoretically "filename of WAD of current loaded level" is within reach from the open CCMD's code?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
630 [Gameplay + OpenGL] (No Category) minor have not tried 2017-04-26 18:54 2017-04-27 04:11
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: WeaponGiver pickup failure produces error messages in hubs
Description: If a weapongiver fails to be picked up, returning to the map later in a hub will print a message in the console: "Actor of type [weapon] at (0.000000,0.000000) left without a state"

Confirmed with GZDoom g3.0pre-52-g82b0326 (latest as of posting)
Tags:
Steps To Reproduce: In attached file, run over the two chainsaw givers. The second will fail to give a chainsaw. Use the door to enter MAP02 of the hub, then go back through to return to MAP01. A message will print to the console.
Additional Information:
Attached Files: wepstatetest.pk3 (1,691 bytes) 2017-04-26 18:54
https://mantis.zdoom.org/file_download.php?file_id=221&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
624 [Gameplay + OpenGL] Bug crash always 2017-04-25 07:44 2017-04-25 14:42
Reporter: Blue Shadow Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10 Home x64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Exit specials crash
Description: If the value of a player start thing's first argument doesn't match the one passed to one of the exit specials (Exit_Normal or Exit_Secret), the engine crashes when attempting to load the next map.
Tags:
Steps To Reproduce: Using the attached file, start on MAP01 and press the switch in front of you to exit. Skip the tally screen and proceed to the next map.
Additional Information: Tested/produced with: 3.0pre-31-g1852079 and 2.4.0 (64-bit)

About the test file: the switch has Exit_Normal special assigned to it with the first argument set to some arbitrary value. Of course, the next map doesn't have a player start whose first argument matches that arbitrary value, hence the crash.
System Description
Attached Files: CrashReport.zip (22,608 bytes) 2017-04-25 07:44
https://mantis.zdoom.org/file_download.php?file_id=216&type=bug
exit.wad (1,785 bytes) 2017-04-25 07:44
https://mantis.zdoom.org/file_download.php?file_id=217&type=bug
Notes
(0001546)
_mental_   
2017-04-25 08:42   
This is the same problem I occasionally discovered here.
It's caused by AActor::UnlinkFromWorld() called twice for APlayerPawn object.
To fix the crash it's enough to assign NULL in this line instead of that magic value.
But I would like to ask Graf to take a look at this.
(0001547)
Graf Zahl   
2017-04-25 11:39   
The value is there to catch double unlinks, so the real fix should be to eliminate that duplicate.
(0001548)
Graf Zahl   
2017-04-25 13:01   
I delayed the abort until the travelling list is completely processed, this seems to bring back the intended error message.
(0001549)
_mental_   
2017-04-25 13:50   
It doesn't build, did you forget something to commit?
(0001550)
Graf Zahl   
2017-04-25 14:42   
Not forget, but the last change got lost somehow. Strange that is the second time in only a few days that this happened.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
620 [Gameplay + OpenGL] Bug minor always 2017-04-23 05:03 2017-04-23 05:58
Reporter: Gutawer Platform: amd64  
Assigned To: Graf Zahl OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ZScript HUD SetClipRect h variable not working
Description: [code=c++] SetClipRect(0, 1080 - 128, 64, 64); DrawImage("STARTAN2", (0, 1080), DI_ITEM_LEFT_BOTTOM); [/code]

This piece of code successfully clips the STARTAN2 texture in half horizontally as expected, but does nothing to it vertically, leaving a 64 * 128 texture on the screen when a 64 * 64 texture was expected.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001532)
Gutawer   
2017-04-23 05:05   
Apologies for the broken formatting, was supposed to look like this:
SetClipRect(0, 1080 - 128, 64, 64);
DrawImage("STARTAN2", (0, 1080), DI_ITEM_LEFT_BOTTOM);
(0001533)
Graf Zahl   
2017-04-23 05:21   
Post your entire code. This fragment is not enough to see what goes wrong.
(0001534)
Gutawer   
2017-04-23 05:35   
Alright:
Class TestingStatusBar : BaseStatusBar {
    override void Init() {
        Super.Init();
        SetSize(0, 1920, 1080);
    }
    
    override void DrawAutomapHUD(double ticFrac) {
        // This uses the normal automap HUD but just changes the highlight color.
        DoDrawAutomapHUD(Font.CR_GREY, Font.CR_UNTRANSLATED);
    }
    
    override void Draw (int state, double TicFrac) {
        Super.Draw (state, TicFrac);

        if (state == HUD_StatusBar)
        {
            BeginStatusBar();
            DrawMainBar (TicFrac);
        }
        else if (state == HUD_Fullscreen)
        {
            BeginHUD();
            DrawFullScreenStuff ();
        }
    }
    
    void DrawMainBar(double TicFrac) {
    }
    
    void DrawFullScreenStuff() {
        SetClipRect(0, 1080 - 128, 64, 64);
        DrawImage("STARTAN2", (0, 1080), DI_ITEM_LEFT_BOTTOM);
    }
}

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
613 [Gameplay + OpenGL] Bug minor have not tried 2017-04-21 08:06 2017-04-23 02:07
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: OpenAL console errors
Description: https://puu.sh/vrt0H/cc3f5ca7be.jpg

Upon starting a new game, using D4D.

The good news, LOOP_ tags are at least working.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001507)
Chris   
2017-04-21 16:06   
Looks like it's trying to specify a loop_end that's beyond the size of the buffer. The end point can't be greater than the number of samples in the buffer, so it needs to be clamped. Something like this:

diff --git a/src/sound/oalsound.cpp b/src/sound/oalsound.cpp
index b697282bb..c14855ea1 100644
--- a/src/sound/oalsound.cpp
+++ b/src/sound/oalsound.cpp
@@ -649,6 +649,16 @@ static size_t GetChannelCount(ChannelConfig chans)
        return 0;
 }
 
+static size_t GetSampleSize(SampleType type)
+{
+       switch(type)
+       {
+               case SampleType_UInt8: return 1;
+               case SampleType_Int16: return 2;
+       }
+       return 0;
+}
+
 static float GetRolloff(const FRolloffInfo *rolloff, float distance)
 {
        if(distance <= rolloff->MinDistance)
@@ -1241,7 +1251,7 @@ std::pair<SoundHandle,bool> OpenALSoundRenderer::LoadSound(uint8_t *sfxdata, 
int
        {
                size_t chancount = GetChannelCount(chans);
                size_t frames = data.Size() / chancount /
-                                               (type == SampleType_Int16 ? 2 : 1);
+                               GetSampleSize(type);
                if(type == SampleType_Int16)
                {
                        short *sfxdata = (short*)&data[0];
@@ -1283,6 +1293,8 @@ std::pair<SoundHandle,bool> OpenALSoundRenderer::LoadSound(uint8_t *sfxdata, 
int
        if (!endass) loop_end = Scale(loop_end, srate, 1000);
        if (loop_start < 0)     loop_start = 0;
 
+       loop_end = MIN<uint32_t>(loop_end, data.Size() / GetChannelCount(chans) /
+                                          GetSampleSize(type));
        if ((loop_start > 0 || loop_end > 0) && loop_end > loop_start && AL.SOFT_loop_points)
        
{
                ALint loops[2] = { static_cast<ALint>(loop_start), static_cast<ALint>(loop_end) 
};

(0001514)
_mental_   
2017-04-22 03:23   
Seems like some more fixes are needed.
Like Graf asked in 0000409 could someone craft a small example with bunch of cases covered? Like start tag only, end tag only, both tags, sample and time formats, invalid values, etc.
I'm trying to do it myself but it's easy to miss something.
(0001518)
Graf Zahl   
2017-04-22 04:03   
To be honest, I think the only thing needed here is to remove the error check or to change it to be more expressive. What do I care that there was an error in line 1291 of the source file, I want to know what's wrong with the loop tags!
(0001519)
_mental_   
2017-04-22 06:30   
There are several issues with the current implementation: start and end points are not clamped (i.e. out of range case), start beyond end isn't handled too, start at zero is a valid loop point for FMOD, probably something else I didn't discovered yet.
(0001521)
Graf Zahl   
2017-04-22 08:12   
In other words: It doesn't handle cases well, where the data is not correct. What should be done there? Normally I'd just say, let OpenAL decide and just don't print an error message if it finds the data is not correct. The fallback in all cases should be to ignore the loop because the conditions for looping are never met.

And start = 0 has to be a valid case, if that is enough to make OpenAL puke, it's an error in OpenAL.
(0001522)
_mental_   
2017-04-22 08:25   
(Last edited: 2017-04-22 08:52)
The last is not an error in OpenAL: LOOP_START=0 (with no end point) is indistinguishable from 'no loop' case but with FMOD it was looping whole sound.

Actually it doesn't matter as specifying CHAN_LOOP will loop whole sound anyway.

However the case with non-zero start point and no end point is not covered yet, whole sound will loop in this case.

(0001530)
Chris   
2017-04-22 16:41   
(Last edited: 2017-04-22 17:36)
Now that loop_end is clamped to the buffer's sample count, reverting this commit should work. The default loop_end would be ~0u (UINT_MAX) again, which if no proper LOOP_END tag is specified, gets clamped to the end of the buffer. A non-zero loop start would then cause it to loop between the specified start point and the end, as desired.

EDIT: Made PR 302 to fix that.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
619 [Gameplay + OpenGL] Bug minor always 2017-04-22 14:10 2017-04-22 14:59
Reporter: Lars Platform: PC  
Assigned To: OS: Windows 10  
Priority: normal OS Version: Windows 10 Home  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: fbc1028 : Dehacked patches are not loaded
Description: Dehacked patches are not loaded and this is printed on the console

Adding dehacked patch cchest3.wad:DEHACKED
Script error, "gzdoom.pk3:dehsupp.txt" line 278:
Invalid state range in 'Weapon'

Could not load DEH support data
Tags:
Steps To Reproduce: Run a wad with an embedded Dehacked patch
Additional Information:
System Description
Attached Files: dehtest.pk3 (273 bytes) 2017-04-22 14:19
https://mantis.zdoom.org/file_download.php?file_id=212&type=bug
Notes
(0001528)
Enjay   
2017-04-22 14:19   
Yes, even this was enough to cause the error:

Patch File for DeHackEd v3.0

# Note: Use the pound sign ('#') to start comment lines.

Doom version = 19
Patch format = 6


Thing 12 (Imp)
Alert sound = 101
Death sound = 102
(0001529)
_mental_   
2017-04-22 14:59   
Fixed in 173fa31

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
618 [Gameplay + OpenGL] Bug minor always 2017-04-22 08:35 2017-04-22 12:00
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Water splash after loading saved game
Description: Replaying Enjay's Waterlab once again, I noticed one issue upon loading of saved game: some actors do water splash while they shouldn't.
I tracked down the problem to this commit but found no way to make it work without reverting it.
Tags:
Steps To Reproduce: Load attached save game with njwlgzd.pk3 using the latest GZDoom, dc3df4e at this moment.
Additional Information: Reverting the mentioned commit (and fixing one compilation error) will fix the problem: actors will no longer do splashes after loading.
Attached Files: save0.zds (203,168 bytes) 2017-04-22 08:35
https://mantis.zdoom.org/file_download.php?file_id=211&type=bug
Notes
(0001523)
Graf Zahl   
2017-04-22 08:45   
(Last edited: 2017-04-22 08:46)
... and now guess who I made that commit for... :D
I guess the request was for this mod actually, so reverting it is certainly not what should be done.

(0001524)
Graf Zahl   
2017-04-22 08:51   
(Last edited: 2017-04-22 08:53)
My guess is that this is caused by boomwaterlevel not being serialized. I need to test but for that the savegame seems useless because the variable is not in there.

(0001525)
_mental_   
2017-04-22 09:04   
(Last edited: 2017-04-22 09:17)
But boomwaterlevel wasn't serialized before and it worked.
From my point of view this variable isn't updated in SplashCheck() because of UpdateWaterLevel(false) call.

EDIT: Interestingly enough, if you enter a water at starting location without jumping it will sound like walking down a regular staircase. With jumping however it will do splash.

EDIT 2: Serializing boomwaterlevel fixes the problem with splash after loading.

(0001526)
Graf Zahl   
2017-04-22 10:59   
boomwaterlevel is old, but its function changed a bit when making Boom water splashier.
The splash simply happened because the current state got lost when saving and reloading so the next comparison thought it had to do a new splash.

About your first edit: Splashing requires a minimum velocity or step distance, this is to avoid constant splashing when monsters step into liquids which proved quite annoying.
(0001527)
Enjay   
2017-04-22 12:00   
Graf said: "I guess the request was for this mod actually..."

You are correct.

Thanks for addressing this issue without reverting the feature. :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
617 [Gameplay + OpenGL] Bug major always 2017-04-22 00:21 2017-04-22 06:52
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Some module music not working with OpenAL
Description: Load the attached file.
Enter "changemus Music/Cirdan.xm".

Also affected: I_TOM01 (from CIF3, also included)

Neither of these music pieces want to work.

There may be more.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: musictest.pk3 (772,632 bytes) 2017-04-22 00:24
https://mantis.zdoom.org/file_download.php?file_id=210&type=bug
Notes
(0001510)
Major Cooke   
2017-04-22 00:22   
...Oops, hit send too quickly.
(0001511)
Xaser   
2017-04-22 00:32   
I dunno if this is a system-specific issue or what, but both modules work for me in the latest 3.0pre build.
(0001512)
Major Cooke   
2017-04-22 00:35   
What the hell. People are saying these play just fine for them but on my RelWithDebInfo x64 build, even replacing the .dll files from the DRD devbuilds, they still don't run.
(0001517)
Graf Zahl   
2017-04-22 03:58   
I guess you had mod_dumb set to false. I completely forgot to remove that CVar.
(0001520)
Major Cooke   
2017-04-22 06:52   
That did it. Thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
615 [Gameplay + OpenGL] Bug minor always 2017-04-21 18:11 2017-04-22 01:59
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Very Fatal Error with EndTitle
Description: If the game returns to title screen, as in via 'next = EndTitle' in MAPINFO, with no cluster message present, the game crashes with Very Fatal Error.
Confirmed with GZDoom g3.0pre-31-g1852079 (latest version at time of posting)
Tags:
Steps To Reproduce: Load attached file and complete MAP01 of Doom II.
Additional Information:
Attached Files: endtest.pk3 (249 bytes) 2017-04-21 18:11
https://mantis.zdoom.org/file_download.php?file_id=209&type=bug
Notes
(0001513)
_mental_   
2017-04-22 01:59   
Fixed in 370b639

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
409 [Gameplay + OpenGL] Bug minor always 2017-03-09 11:31 2017-04-21 08:07
Reporter: Talon1024 Platform: Linux  
Assigned To: Graf Zahl OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: loop_start tags do not work with OpenAL backend
Description: If an OGG music track contains a loop_start tag, and you are using the OpenAL backend, the loop_start tag is ignored, and the song is repeated from the beginning.
Tags:
Steps To Reproduce: 1. Use one of Xeotroid's music packs.
2. Listen to one of the songs until the end, and you may notice the song doesn't loop correctly. The incorrect looping may not be noticeable on some songs.
Additional Information:
Attached Files:
Notes
(0000921)
Graf Zahl   
2017-03-09 11:41   
Known issue. The entire tagging implementation heavily depends on FMod and isn't easily transferrable to OpenAL.

This will require some research, but right now there's simply far more pressing issues than fixing this.
(0001202)
Graf Zahl   
2017-04-01 14:41   
Added for music. Sound effects should also read these tags but that will require interaction with the OpenAL backend. For music it could be done outside.
(0001221)
Graf Zahl   
2017-04-02 12:33   
The change for sound effects is put on hold for the time being.
(0001482)
Major Cooke   
2017-04-20 14:20   
(Last edited: 2017-04-20 14:20)
I can confirm on my end this happens too. Can this be considered before 3.0 is released?

Happens on Windows too.

(0001484)
Graf Zahl   
2017-04-20 14:32   
Sorry, but I really have no idea what I need to do for sound effects to make them look. For streamed music it was easy because it happens on the ZDoom side.

This needs to be handled within OpenAL so it will require a quite different approach.
(0001488)
Chris   
2017-04-20 17:29   
The main issue I see is that the sndfile and mpg123 decoders don't read the tags from the file. OpenAL can utilize loop points with the AL_SOFT_loop_points extension, and the LoadSoundRaw() method already utilizes it, so it's just a matter of getting the decoders to read those tags and provide them through the SoundDecoder interface.
(0001490)
Graf Zahl   
2017-04-20 19:38   
ZDoom never supported MP3 tags. For Ogg and FLAC I added a brute force tag reader because I couldn't find any efficient code example that does it properly, only heavily bloated libraries.

For music I added a client side streaming class analogous to the other music players where it was easy enough to check the tag data. That gets already converted to sample indices, so can I just pass these values to AL_LOOP_POINTS_SOFT?
(0001492)
Chris   
2017-04-20 22:06   
Graf Zahl wrote

That gets already converted to sample indices, so can I just pass these values to AL_LOOP_POINTS_SOFT?

For the sound effects, yes. Music/streaming can't use the buffer's AL_LOOP_POINTS_SOFT property since it uses a queue of multiple buffers that are regularly updated with the next chunk of audio. The client-side streaming class would still be needed to do what it currently is for music, while the LoadSound method can get those sample indices and pass them to AL_LOOP_POINTS_SOFT for sound effects.

You could put the brute-force tag reader code into SndFileDecoder::open, store the converted sample indices in the class, then add a method for callers to retrieve them (perhaps through getInfo with the other properties?). That way would have a common interface to retrieve the loop points through the decoder regardless if it's music or sfx, and allow any future decoders to provide loop points as well.

I can try to do it and make a pull request, though I'm not sure of a mod that uses loop points on ogg/flac sfx to test it.
(0001503)
Graf Zahl   
2017-04-21 05:34   
Ok, all done. I do not have any sounds using this feature so I'd appreciate if someone could test it and report back.
(0001504)
Major Cooke   
2017-04-21 08:07   
They work, but now there's console errors.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
612 [Gameplay + OpenGL] Bug trivial always 2017-04-20 21:19 2017-04-21 03:56
Reporter: AFADoomer Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DrawBar function takes an alpha parameter but never uses it
Description: The DrawBar Status Bar Function takes alpha as the last parameter, but never uses it...
Tags:
Steps To Reproduce: The two DrawTexture calls in the function don't have alpha being passed into them. Easy enough to copy/paste the function and add ", alpha" at the end of both, but I don't think that's what was intended...
Additional Information:
Attached Files:
Notes
(0001500)
Graf Zahl   
2017-04-21 03:56   
You are mostly correct. Due to the setup the DrawBar command cannot do translucent rendering so I just removed the parameter.

If you want to do some bar graphics that can be used in a translucent context it may be necessary to do another version of this function that doesn't need to provide the hack functionality for Hexen's mana bars.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
603 [Gameplay + OpenGL] Bug minor always 2017-04-19 08:17 2017-04-21 03:44
Reporter: Blue Shadow Platform: PC  
Assigned To: OS: Windows  
Priority: low OS Version: 10 Home x64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Offset issue with level stats on automap
Description: The items tally on the automap doesn't align properly with the monsters and secrets ones.

See the attached screenshots for comparison between 3.0pre-15-g11e6cfc and 2.4.0.
Tags:
Steps To Reproduce:
Additional Information: Tested/produced with: 3.0pre-15-g11e6cfc (64-bit)
System Description
Attached Files: gzdoom_dev.png (22,052 bytes) 2017-04-19 08:17
https://mantis.zdoom.org/file_download.php?file_id=208&type=bug
png

gzdoom_2.4.0.png (21,922 bytes) 2017-04-19 08:17
https://mantis.zdoom.org/file_download.php?file_id=207&type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
611 [Gameplay + OpenGL] Bug minor always 2017-04-20 20:13 2017-04-21 03:30
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: OpenAL: Volume resets in Windows Sound Mixer between maps
Description: If using OpenAL when loading a new map (must not be part of current map's hub), GZDoom's volume in Windows Sound Mixer will automatically reset itself to match system master volume.

Confirmed in GZDoom g3.0pre-25-g403634c (latest devbuild as of posting).
Tags:
Steps To Reproduce: Launch GZDoom, adjust volume in Windows Sound Mixer, load map (new game from title screen in IWAD will suffice).
Additional Information:
Attached Files:
Notes
(0001493)
_mental_   
2017-04-21 02:02   
Somehow related to changing of the current music track between maps. Also reproduces with endgame CCMD.
Volume remains persistent with -nomusic command line switch.
(0001494)
Chris   
2017-04-21 02:52   
Do you have a Windows MIDI device selected for music? There's some code in sound/mididevices/music_win_mididevice.cpp that seems to suggest setting the MIDI volume affects the application's volume instead of just the stream on Vista+. It tries to detect that and ignore the MIDI device's volume control in such a case, but perhaps that check is failing and it's setting the MIDI volume anyway, which would reset the application's volume like this describes.
(0001495)
Ed the Bat   
2017-04-21 02:57   
Yes, I do use Sound System as my MIDI device. In fact, based on this, perhaps I was mistaken about the circumstances regarding hub maps. The maps in the hub I tested happen to use OGG music, which is why they were not presenting the issue.
(0001496)
Graf Zahl   
2017-04-21 03:30   
Chris guessed right. The code was there to detect the broken device but failed, because the current device is probably the MIDI mapper.

In this case I have to assume the worst and consider all MIDI mapper devices broken, because the system provides no means to look behind it, and for most people it's going to be the default GS synth.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
593 [Gameplay + OpenGL] Bug minor always 2017-04-17 15:47 2017-04-20 19:43
Reporter: jdagenet Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Damage Factors do not work on projectiles that can be killed
Description: Damage Factors are ignored if they're applied to a projectile that has the SHOOTABLE flag.
Tags: DECORATE
Steps To Reproduce: - Download the linked WAD file

- Open the console and type, "Summon IonCannonBeaconArmed"

- Attack the summoned thing with explosion or bullet types of damage. The projectile has factors that should make it immune to those types, but it is not.

Or if you don't want to download the example WAD...

- Create a projectile with some health, SHOOTABLE flag applied, and give it a Damage Factor that you can easily test (a Damage Factor of normal should work).

- Attack the projectile with a weapon that has the type of damage you created or specified

- The projectile should ignore the factor and take damage when it shouldn't
Additional Information:
Attached Files: GZDoom_DamageFactor_ExampleWAD.wad (17,018 bytes) 2017-04-17 15:47
https://mantis.zdoom.org/file_download.php?file_id=203&type=bug
Notes
(0001436)
Blue Shadow   
2017-04-18 07:46   
I can't reproduce this. Here is what did:

Using the provided demo file, I gave the plasma ball a damage type of fire which the thing is immune to. Fired at it with the plasma rifle and it took no damage from the event (expected behavior). Then I tried the rocket launcher, whose projectile doesn't have a specific damage type. The result was that the thing got damaged normally (expected behavior, as well).

This was tested with 2.4.0 and development build 3.0pre-15-g11e6cfc. Both produce the same results.
(0001452)
jdagenet   
2017-04-18 18:29   
Hmm I reproduced your steps and the issue didn't happen for me either. I even gave the Plasma Ball the SHOOTABLE flag and it still didn't happen.

If I remove the SHOOTABLE flag from one of the actors in my example then the factors work as they should so I suspect there is another property/flag that is interfering with them and causing them not to work.
(0001485)
jdagenet   
2017-04-20 15:21   
I found the culprit: it appears that A_Die clears the Damage Factors and/or Damage Types from the actor that it's called for some reason.
(0001491)
Graf Zahl   
2017-04-20 19:42   
Ok, in that case I'll close the report. A_Die does indeed change the damage factor of the affected actor, because it is set to the killer's damage - but A_Die lets the world kill the projectile.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
608 [Gameplay + OpenGL] Bug minor always 2017-04-19 22:20 2017-04-20 14:11
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Breakable blocks in Hocus Doom do not work
Description: The breakable blocks in Hocus Doom do not work on recent builds.
Tags:
Steps To Reproduce:
  1. Load up GZDoom with Hocus Doom (link above)
  2. Start a new game on episode 2
  3. Try to break the blocks in front of you by shooting them
  4. Nothing happens
Additional Information: This bug affects both release and debug builds. I don't know what the exact issue is here, but I've tried to reproduce the same issue that is causing "breakable" blocks to be unbreakable, but I have been unsuccessful so far.
Attached Files:
Notes
(0001481)
_mental_   
2017-04-20 14:11   
Fixed in c681d6e

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
595 [Gameplay + OpenGL] Bug crash always 2017-04-18 07:20 2017-04-20 11:58
Reporter: Blue Shadow Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10 Home x64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Restarting from the console causes a crash
Description: Executing the 'restart' CCMD from the console causes the engine to crash.
Tags:
Steps To Reproduce: Just execute the command, without passing arguments.
Additional Information: Tested/produced with: 3.0pre-15-g11e6cfc, 2.5pre-363-g069e4e9 (both 64-bit)
System Description
Attached Files: CrashReport.zip (23,287 bytes) 2017-04-18 07:22
https://mantis.zdoom.org/file_download.php?file_id=205&type=bug
Notes
(0001434)
Blue Shadow   
2017-04-18 07:22   
Forgot the crash report.
(0001437)
_mental_   
2017-04-18 07:55   
Something is wrong with garbage collection of menu objects
(0001450)
Graf Zahl   
2017-04-18 09:42   
Again? :(
(0001459)
_mental_   
2017-04-19 09:41   
Using the latest commit the issue still can be reproduced in Debug configuration built with MSVC 2015 32- and 64-bit both.
After the final GC pass the root isn't nullptr but contains some partially destroyed thing.
RelWithDebInfo configuration works fine.

I just want to make sure that all restart issues are fixed because the problem with Debug configuration seems to revealed something related.
(0001468)
_mental_   
2017-04-20 03:24   
The hanging object appeared to be a dummy soft root created before all soft roots.
Here is the callstack:
gzdoom.exe!Create<DObject>() Line 368
gzdoom.exe!GC::AddSoftRoot(DObject * obj) Line 594
gzdoom.exe!T_Init() Line 690
gzdoom.exe!T_LoadScripts(MapData * map) Line 346
gzdoom.exe!P_SetupLevel(const char * lumpname, int position) Line 3747
gzdoom.exe!G_DoLoadLevel(int position, bool autosave) Line 979
gzdoom.exe!G_InitNew(const char * mapname, bool bTitleLevel) Line 509
gzdoom.exe!D_DoomMain() Line 2674

Also, looks like this assertion always fails on restart CCMD since its addition.
I'm curious how this supposed to work.
(0001471)
Graf Zahl   
2017-04-20 07:34   
Looks like the restart code needs a GC::DelSoftRootHead call after taking down the object list.
(0001472)
_mental_   
2017-04-20 08:25   
Damn, I tried to call that function but placed it a wrong line. This GC stuff is way too non-obvious to me.

Fixed in e19f6fe
(0001474)
Graf Zahl   
2017-04-20 09:43   
Welcome to the club! :D

Can you imagine how bad it was when the entire type system, the entire symbol table and all VM functions were also in there. Make the smallest mistake and these things just disappeared!

That were 9000 GC-subjected objects that didn't reference anything non-static and only wasted a lot of time...

I really wish this could be done without those godforsaken write barriers.
(0001476)
_mental_   
2017-04-20 10:27   
Honestly I have no idea why whole this GC system is better than reference counting smart pointers, intrusive pointers seem suitable for our case.
(0001478)
Graf Zahl   
2017-04-20 11:58   
The system is doing one important thing a smart pointer cannot:

It actively NULLs pointers to destroyed objects. That was the entire reason why such a complex thing was done. The old system could really drag performance down, when object destruction caused massive pointer NULLing.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
602 [Gameplay + OpenGL] Bug crash always 2017-04-19 07:36 2017-04-19 09:55
Reporter: typicaldoomerinib Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: QZDoom not loading with Insanity Brutality
Description: QZDoom crashes when loaded with IB. Crash report: https://drive.google.com/file/d/0B-XaN4nGjApVR1NOSHNPZlA3eFk/view?usp=sharing
Tags: Execution Could Not Continue...
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001460)
_mental_   
2017-04-19 09:54   
Fixed in 403634c
This issue was not specific to QZDoom but to 64-bit versions of both ports

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
596 [Gameplay + OpenGL] Bug minor always 2017-04-18 08:01 2017-04-18 08:57
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Build error with NO_OPENAL defined
Description:
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2001	unresolved external symbol "struct ReverbContainer * ForcedEnvironment" (?ForcedEnvironment@@3PEAUReverbContainer@@EA)	
zdoom	C:\Games\doom 2\GZSource\src\eaxedit.obj	1	


I've tried everything I could to fix this but it just won't change.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001438)
Major Cooke   
2017-04-18 08:02   
Before asking, yes, I did re-run CMake and deleted/restarted the cache.
(0001441)
_mental_   
2017-04-18 08:22   
I don't think so...
(0001442)
Major Cooke   
2017-04-18 08:25   
(Last edited: 2017-04-18 08:25)
https://puu.sh/vodeh/0302f0522a.png

Fresh, clean new build, _mental_. It fails. Try VS2015.

(0001445)
_mental_   
2017-04-18 08:29   
It works for me and it works on continuous integration machines which always do clean build.

At the same time, do you have NO_OPENAL enabled in CMake?
(0001446)
Major Cooke   
2017-04-18 08:29   
(Last edited: 2017-04-18 08:30)
Yes, NO_OPENAL is checked. Windows 10 x64, fails on all build types: release, debug, relwithdebinfo.

(0001447)
_mental_   
2017-04-18 08:34   
Yes, it fails to build without OpenAL sound backend disabled. I'll fix it.
Did you know that you will have no sound and no music with this option enabled?
(0001448)
_mental_   
2017-04-18 08:42   
Fixed build with NO_OPENAL defined in 8db239d

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
462 [Gameplay + OpenGL] Bug minor always 2017-03-22 09:37 2017-04-18 07:38
Reporter: Marrub Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: (ACS) SetUserVariable doesn't work with bool values
Description: Issue is as it says on the tin. Simple issue, but annoying in practice.
Tags:
Steps To Reproduce: Do something like this:

// ZScript
class Thingy : Actor
{
   bool thing;

   states
   {
   Spawn:
      TNT1 A 10
      TNT1 A 1 {Console.Printf("thing is %i", thing);}
      stop
   }
}

// ACS
script 1 ENTER
{
   int tid;
   SpawnForced("Thingy", 0, 0, 0, tid = UniqueTID());
   SetUserVariable(tid, "thing", true);
}

And it doesn't set anything. Works fine if type is changed to int.
Additional Information:
Attached Files: bool_uservar.pk3 (865 bytes) 2017-04-18 07:13
https://mantis.zdoom.org/file_download.php?file_id=204&type=bug
Notes
(0001084)
Graf Zahl   
2017-03-22 11:32   
is it better now?
(0001085)
Marrub   
2017-03-23 04:01   
Nope, doesn't seem to be fixed yet, using 2.5pre-126-g09c3060.
(0001184)
Graf Zahl   
2017-03-30 03:05   
I just want to note that this bug continuously gets pushed back because it does not contain a runnable example.
(0001369)
Graf Zahl   
2017-04-14 10:22   
Still waiting...
(0001433)
Blue Shadow   
2017-04-18 07:13   
Here is a demo file. And yes, the issue is still present in the latest development build as of this post (3.0pre-15-g11e6cfc).
(0001435)
_mental_   
2017-04-18 07:38   
Fixed in 1d84b28

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
568 [Gameplay + OpenGL] Bug minor always 2017-04-11 20:24 2017-04-18 04:36
Reporter: Neurochild Platform: x64  
Assigned To: OS: Windows 10 Home  
Priority: normal OS Version: 1703  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Bug] Xinput gamepads not detected when enabling joysticks (2.4.0 x64)
Description: The current 64-bit build of GZDOOM (2.4.0) for windows doesn't recognize either my Xbox 360 or F710 wireless gamepads (on Xinput mode) as Xinput controllers, but they are recognized as DirectInput. This is the main reason the triggers appear as axis whenever I'm customizing the controls.

Besides, a gamepad is detected as Directinput when the controller name (i.e.: "Controller (Xbox 360 for Windows") is displayed instead of "Xinput Controller #1" on the "Configure Controllers" section.
Tags:
Steps To Reproduce: As simple as follows:

- Go to Options > Joystick Options
- Set "Enable Controller Support" to Yes

To further prove my point, set all options except "Enable Xinput Controllers" to No.
Additional Information: This bug is exclusive for the 64-bit build of 2.4.0. The 32-bit build works as intended and recognizes both of my gamepads correctly (as Xinput controllers). Funny thing is that it doesn't happen either on the previous versions (including 2.3.2) on both 32 and 64-bit builds.

Guess I'll have to go and use the 32-bit build for the time being.
Attached Files:
Notes
(0001367)
Graf Zahl   
2017-04-14 10:18   
I do not have any controller to test this with, so unless someone comes forward to see what happens, there's nothing that can be done, so I am putting this on hold.
(0001404)
jpalomo   
2017-04-16 02:23   
Is this thread relevant at all? [Tutorial] Compiling the GZDoom source code with CMake
I have a controller (wii u pro controller with a Mayflash wireless adapter) and am willing to help test any changes you want to make.
(0001406)
_mental_   
2017-04-16 03:26   
This Wiki article contains up-to-date information.
You can ignore anything related to FMOD, OpenAL and DirectX SDK. To build GZDoom without sound/music support you need only Visual Studio 2015 (or 2017) and CMake.
Something like: install VS and CMake, download source code from GitHub and unpack it, run CMake and select source directory, press Generate, Finish, Open Project buttons in CMake, press Debug button in Visual Studio.

But first, one simple question: did you able to reproduce this issue using 2.4.0 x64?
It works for me using wired Xbox 360 controller using 32- and 64-bit version.
(0001407)
jpalomo   
2017-04-16 04:07   
I was referring specifically to DaMan's post in that thread:
DaMan wrote

You might want to get a Windows7 user to test a Xbox controller. The Windows SDK only links to the Win8/10 Xinput14 or gimped Xinput91 (unless Zdoom reports battery life for wireless controlers don't think it affects anything). IIRC Zdoom is defining WIN32_WINNT as XP before including Xinput.h so it should be linking against the latter.

I've got a 64-bit build setup and can confirm the issue in the original report. I tested it with 2.5pre G4f67DC4. Xinput controllers are being reported as DirectInput. Disabling DirectInput controllers will remove the controller from the list. I did download the 32-bit version of 2.4.0 and tested it there to find it worked perfectly.

I'm going to add this info just in case it is relevant. My controller adapter has a switch on it to change from Xinput (1 controller only) to DirectInput (up to 4 controllers), and has its own drivers which haven't been updated in a while.
(0001408)
_mental_   
2017-04-16 04:33   
Could you please check with 2.3.2 and maybe some earlier versions?
To do something meaningful with this we need to now when it was broken.
(0001409)
jpalomo   
2017-04-16 05:19   
I think I've narrowed it down to this commit, which coincides with the discussion on the earlier linked topic. I tested eff03d13 (the commit right before it) and the controller showed up as 'Xinput Controller #1' with Xinput controllers enabled. With DirectInput enabled and Xinput disabled, it showed up as 'Controller (xbox 360 for windows)'.
(0001410)
Graf Zahl   
2017-04-16 06:55   
The commit you linked to was later reverted, so it should no longer be an issue.
(0001411)
_mental_   
2017-04-16 07:20   
Can't say for sure but I think this issue is somehow related to toolkit being used.
Graf, did you use Windows XP compatibility toolkit for 2.4.0 release, 32- and 64-bit both?
(0001412)
Graf Zahl   
2017-04-16 08:19   
32 bit is built with XP toolset, 64 bit with modern toolset.
So, this sounds like something in the modern toolset is not working correctly.

Of course, just forcing the old toolset is not a solution, as sooner or later XP support will be removed, so whatever causes the problem needs to be found.
(0001413)
Neurochild   
2017-04-16 08:26   
Just to let you know. I've also tested in 2.3.2, both 32 and 64 bits builds. They detected Xinput controllers correctly.

So the issue is with the 64-bit build on the current version, as the 32-bit build has no issues when it comes to Xinput controllers.
(0001414)
_mental_   
2017-04-16 09:53   
The problem is with XINPUT_DLL preprocessor definition: its value is xinput1_3.dll for legacy toolkit (DirectX SDK to be precise) and xinput9_1_0.dll for modern one (Windows 7 SDK that came with Visual Studio).
Apparently there are some issues with the latter DLL.
Should we hardcode name of working one to fix this bug?
(0001416)
Graf Zahl   
2017-04-16 12:24   
If that works it's at least an option.
(0001427)
_mental_   
2017-04-18 02:43   
Fixed in b6774e7
(0001428)
jpalomo   
2017-04-18 02:57   
Just tested the new commit on a 64-bit build. It seems to work just fine now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
566 [Gameplay + OpenGL] Bug tweak have not tried 2017-04-11 03:44 2017-04-18 03:06
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Missing polyobject errors should be non-fatal
Description: When screwing around with remaking Hexen maps, I'll often pull in the original and put it somewhere nearby, so I can screw with ideas on it and look at it for reference. I alter, replace, and delete sections of it as I go.

The problem is that, every time I accidentally delete a poly-object or something, the engine refuses to run the level. This not only makes testing a pain, but also makes no sense: why do poly-objects not being there matter so much that the level can't run?

Please make it so the engine throws a warning instead of a fatal error when it can't find polyobjects.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001307)
RockstarRaccoon   
2017-04-11 03:49   
and this USED to be a bit easier to fix, because you could just put in a polyobject thing and check from that, but the latest GZDoom Builder update fixed the double-polyobject issue by removing the original Hexen one.
(0001323)
Graf Zahl   
2017-04-12 19:39   
This errors out because long ago someone decided that the best way to deal with mapping problems is a hard abort. And for this code it never got changed.
(0001429)
RockstarRaccoon   
2017-04-18 03:06   
Wow, yeah, that sounds both dumb and very believable. Thanks! :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
592 [Gameplay + OpenGL] Bug block always 2017-04-17 01:50 2017-04-17 02:34
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: immediate OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GZDoom 3.0pre build fail
Description: Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'muslib.h': No such file or directory zdoom D:\Projects\Game Projects\Doom\gzdoom\src\sound\oplsynth\musicblock.cpp 3
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001419)
_mental_   
2017-04-17 02:34   
Fixed in 4519ab1

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
526 [Gameplay + OpenGL] Feature minor sometimes 2017-04-02 17:40 2017-04-16 03:17
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Want more Linedef actions which treat ID 0 as the activator line.
Description: I have some scripts I've been writing to be universalizable for destructible scenery and such, and I was noting how much of a pain it is when I have to use an ID for every one of them so the script will know what line called it. I know that there's a couple functions (like GetLineUDMF) which can call the line based on the activator if you pass 0, so I was wondering if you could use that for a few more commands?

Could you make passing 0 on the following ACS functions use the activating line?
- SetLineTexture
- Line_SetBlocking
- Line_SetTextureOffset
- SetLineSpecial
- Line_SetPortal

It would also be great if the sector ID of 0 on some of the sector actions in front of the activating linedef.
- Floor_LowerByValue
- Floor_RaiseByValue
- Ceiling_LowerByValue
- Ceiling_RaiseByValue
- Light_ChangeToValue
- Light_Fade
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001223)
RockstarRaccoon   
2017-04-02 17:41   
Note that the way I've asked for this isn't so much optimal for what I'm using it for, it's just the way that seems to have the most versatile application.
(0001225)
Graf Zahl   
2017-04-03 02:35   
For sector specials this can be done. For line specials not. The reason is that Hexen treats 0 as a valid line ID and I know some mods which use this.
(0001232)
RockstarRaccoon   
2017-04-03 16:35   
Well damn... That sucks... And I guess you want to keep compatibility... Personally, I think using an ID of 0 like that is bad practice, but if it's common practice...

Maybe we could get a feature in to add some way for me to default my functions to the calling line when they're passed 0? It really would make them a lot simpler to use...
(0001249)
Graf Zahl   
2017-04-05 08:34   
It's not common practice but it had been done in the past.
(0001253)
RockstarRaccoon   
2017-04-05 21:21   
I didn't even realize that it was a thing that could be done: it seems like a terrible idea. Like I said, what I REALLY want is a way to utilize aspects of the activator line, so that I can make these standardized library things that don't necessarily need every line involved to have its own tag or to pass it.

A way to give the activating line a unique ID on the fly and use that would be helpful, as would a way to get the activating line's ID (which I feel exists, but I'm saying it out loud here) The most helpful thing though would be to be able to use Index 0 as a go to for "activator" in more cases than currently exist.
(0001379)
Graf Zahl   
2017-04-14 17:59   
(Last edited: 2017-04-14 18:01)
I just checked and everything that can do it already allows backside activation.

Lights are out because there are maps that use tag 0 as 'everything untagged' to create a lighting effect throughout the map.

(0001384)
RockstarRaccoon   
2017-04-15 05:23   
Huh, really? Is that in the documentation?
(0001385)
Graf Zahl   
2017-04-15 05:44   
No, but I checked some old maps. Unlike floor and ceiling movers, the effect of a light change are relatively benign.

Never forget that what may be convenient to you can break other people's map and I have to weigh between both sides.
(0001405)
RockstarRaccoon   
2017-04-16 03:17   
Oh, I understand that just fine. As I said, I thought it'd make mapping quicker...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
589 [Gameplay + OpenGL] Bug minor always 2017-04-15 13:39 2017-04-15 19:26
Reporter: Xaser Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: duplicate  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DamNums/DukeShadows Mod Incompatibility [Event Handlers?]
Description: Nash's Duke3D-Style Shadows and my own DamNums (see links in Steps to Reproduce below) are both drop-in minimods that use event handlers to provide some "drop-in" cosmetic effect that affects all monster actors. In theory, there should be no conflicts between the mods, since the monster actors themselves aren't touched, but loading one mod still makes the other not work.

My guess is that the one event handler (or its MAPINFO def) is getting clobbered by the other for some reason. If so, that's really limiting the usefulness of the entire system.
Tags:
Steps To Reproduce: Download the two following mods:
  1. DamNums: https://forum.zdoom.org/viewtopic.php?f=46&t=55048
  2. Duke3D-Style Shadows: https://forum.zdoom.org/viewtopic.php?f=37&t=54992


Load them both. You only get shadows XOR damage numbers -- whichever comes last will take precedence.
Additional Information:
System Description
Attached Files:
Notes
(0001399)
Major Cooke   
2017-04-15 14:53   
(Last edited: 2017-04-15 15:19)
Are you using the most recent builds? Not too long ago, EventHandlers and AddEventHandlers accidentally had the reversed concepts where one replaced the other. If you're still using an older build, that's why.

Give the most recent ones a try, if not.

This bug is in 2.4's release, by the way.

I do think a 2.4.1 to address this and a couple other issues that have been fixed would help things out.

(0001400)
Graf Zahl   
2017-04-15 15:43   
It's precisely that bug, which makes this already fixed.
(0001403)
Xaser   
2017-04-15 19:26   
My bad -- was absentmindedly testing on the release build.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
587 [Gameplay + OpenGL] Bug crash sometimes 2017-04-15 08:21 2017-04-15 12:01
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DCorpsePointer Crash
Description: Image of Callstack Trace

I think A_QueueCorpse is causing a crash.

DCorpsePointer::DCorpsePointer (AActor *ptr)
: DThinker (STAT_CORPSEPOINTER), Corpse (ptr)
{
    Count = 0;

    // Thinkers are added to the end of their respective lists, so
    // the first thinker in the list is the oldest one.
    TThinkerIterator<DCorpsePointer> iterator (STAT_CORPSEPOINTER);
    DCorpsePointer *first = iterator.Next ();

    if (first != this)
    {
        if (first->Count >= (uint32_t)sv_corpsequeuesize)
        {
            DCorpsePointer *next = iterator.Next ();
            first->Destroy ();
            first = next;
        }
    }
    ++first->Count;
}
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001389)
Major Cooke   
2017-04-15 08:23   
(Last edited: 2017-04-15 08:26)
To be specific, 'first' is null. The way I have a system set up, corpses can disappear so it shouldn't come as a surprise that it can become null.

(0001391)
Major Cooke   
2017-04-15 09:35   
Made a fix that at least stops the crashing.
(0001392)
Graf Zahl   
2017-04-15 10:29   
I won't do anything further. To make it short, what you do here is wrong. If you queue a corpse you relinquish ownership to the queue and should not muck around with it, and if you want to muck around with it, either not queue or unqueue it before doing things.
(0001393)
Major Cooke   
2017-04-15 10:30   
(Last edited: 2017-04-15 10:32)
I wasn't expecting you to do anything further, merely resolving the crash is just what I needed. I'm happy.

Indeed the rest of the stuff is not for you to concern yourself over.

(0001395)
_mental_   
2017-04-15 10:36   
The fix hides the actual problem: instance of DCorpsePointer is used before SetClass() function is called for it.
(0001396)
Major Cooke   
2017-04-15 10:37   
(Last edited: 2017-04-15 10:37)
Now this was something I was unaware of. But still, having a nullptr check never hurts.

(0001397)
Graf Zahl   
2017-04-15 12:01   
Hooray for yet another constructor that is doing work that a constructor is not supposed to do. :(

These things are a menace.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
588 [Gameplay + OpenGL] Bug crash always 2017-04-15 08:54 2017-04-15 10:31
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: duplicate  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Typing "kill monsters" crashes Hexen
Description: As per the title. Happened in GZDoom 2.5pre-363-g069e4e9
Tags:
Steps To Reproduce: Start a game of Hexen, type kill monsters at the console, game crashes (at what seems to be towards the end of the monster death sequences).
Additional Information:
Attached Files: CrashReport.zip (22,984 bytes) 2017-04-15 08:54
https://mantis.zdoom.org/file_download.php?file_id=200&type=bug
Notes
(0001390)
Major Cooke   
2017-04-15 09:27   
If I recall correctly, it's because of A_QueueCorpse.

https://mantis.zdoom.org/view.php?id=587
(0001394)
Graf Zahl   
2017-04-15 10:31   
Looks like it's already fixed with the PR.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
553 [Gameplay + OpenGL] Feature feature N/A 2017-04-09 08:40 2017-04-15 06:27
Reporter: cotton_disciple Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DrawImage weaponicon
Description: Make weaponicon changes possible in TEXTURES through GRAPHIC than SPRITE
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001287)
RockstarRaccoon   
2017-04-09 12:33   
I can't figure out what you're asking him to add... Did you mean "then" instead of "than"?
(0001289)
cotton_disciple   
2017-04-09 14:20   
i've meant "than" cause it draws image on hud which can be scaled/cropped/etc only by using SPRITE (not GRAPHIC), and that one affects weapon (pickup) sprite, which isn't good.
(0001291)
Graf Zahl   
2017-04-09 15:20   
Is this about SBARINFO or ZScript?
And I also have no idea what doesn't work here.
 Do you have an example?
(0001301)
cotton_disciple   
2017-04-10 11:34   
this is about sbarinfo

for example: we got mp40 icon through drawimage weaponicon, which we want to reverse (horizontal) using TEXTURES lump. if you use GRAPHIC it wont have any effect at all, if you use SPRITE we will got what we want, but it also affects global sprite.
(0001304)
Graf Zahl   
2017-04-10 13:43   
Can you make an example that shows what works and what does not?
I still have absolutely no idea how to trigger this.
(0001308)
cotton_disciple   
2017-04-11 05:31   
(Last edited: 2017-04-11 05:34)
how to trigger it:
1) write in SBARINFO
drawimage weaponicon, x, y
where x, y - desired coordinates 2) pick any weapon icon you want to change through TEXTURES lump. Let's change MP40I0 3) write in TEXTURES
GRAPHIC MP40I0, 39, 16 { Patch MP40I0, 0, 0 { FlipX } } 

4) ... and nothing changed (pic. 1)
5) change GRAPHIC to SPRITE
SPRITE MP40I0, 39, 16 { Patch MP40I0, 0, 0 { FlipX } } 

6) now it works (pic. 2) but global sprite changed too... (bottom of pic. 3) and it's falling down below the floor...

images too large to upload here

(0001322)
Graf Zahl   
2017-04-12 19:37   
Can you post the weapon's DECORATE? This looks like a texture priority issue but I only can tell when seeing the weapon's definition.
(0001386)
cotton_disciple   
2017-04-15 06:14   
decorate from pb 2.03. that happens with every gun in every mod

https://pastebin.com/4KbwuRQ1
(0001387)
Graf Zahl   
2017-04-15 06:26   
The problem is actually very simple:

Your weapons do not set an icon. If that is the case the pickup state's sprite will substitute for the icon. Obviously a GRAPHIC with the same name is not the pickup sprite so defining such a thing will have no effect.

Give all your weapons an 'Inventory.Icon' property with a texture name different from the pickup sprite, define that one properly and the problem should go away.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
573 [Gameplay + OpenGL] Bug minor random 2017-04-12 12:04 2017-04-15 06:21
Reporter: RaveYard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ZScript - Dynamic Array Elements Turning Null
Description: Another issue related to dynamic arrays. While messing around with my project, I found out that at some arbitrary moments my pointer stored in array would get nulled.

First, I create new class Chunk, which then spawns 16x16x16 cube of blocks (with random empty spaces). Then this class gets stored in an array.
The next tick, I retrieve the class from the array and then remove the spawned actors and I delete it from the array.

And this goes on forever, but during garbage collection the pointer turns null.
Tags:
Steps To Reproduce: Launch Glitch.pk3 and enter MAP01. After few moments null pointers will start to accumulate in the array. Be warned that it will start to eat memory, because once the class pointer gets lost, there is nothing removing the spawned actors Dc_Block1 to Dc_Block4.
Additional Information: Example log:

Loaded new 00000000062DFDA0, into array where it is stored as: 00000000062DFDA0
content: 00000000062DFDA0

Loaded new 00000000062DF440, into array where it is stored as: 00000000062DF440
content: 0000000000000000

Loaded new 00000000066AB890, into array where it is stored as: 00000000066AB890
content: 0000000000000000
content: 00000000066AB890
Attached Files: Glitch.pk3 (115,371 bytes) 2017-04-12 12:04
https://mantis.zdoom.org/file_download.php?file_id=192&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
585 [Gameplay + OpenGL] Bug major always 2017-04-14 20:51 2017-04-15 05:06
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Odd Vector array access behavior
Description: For some reason, using a for loop to access a Vector array procures some... very strange results.
Tags:
Steps To Reproduce: Download D4D.pk3 below. Start a new game and 'give keys' in console. Notice how they're all aligned horribly.

Open up D4D.pk3 -> ZStatusBars.txt.

Uncomment lines 245 to 252, then comment out the for loop below. Run the game and give keys once more.

This time the alignment is actually correct.
Additional Information:
Attached Files: D4D.pk3 (519,900 bytes) 2017-04-14 20:51
https://mantis.zdoom.org/file_download.php?file_id=199&type=bug
Notes
(0001381)
_mental_   
2017-04-15 04:19   
It's definitely a codegen issue: Vector2 is a structure internally and it's handled accordingly.
If you try to run it in Debug configuration, an assertion failure will be triggered in the related code.

As a temporary solution it's possible to rewriting the loop like that will fix the problem:
for (int i = 0; i < KeyPos.Size(); i++)
{
    int keyamt = GetAmountOnly(keynames[i]);
    if (keyamt > 0)
        DrawImage(keyimg[i], (KeyPos[i].x, KeyPos[i].y), imageAlignment);		
}
(0001383)
Graf Zahl   
2017-04-15 05:06   
Arrays of vectors did not properly allocate VM registers, resulting in bad values being passed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
586 [Gameplay + OpenGL] Bug minor always 2017-04-15 03:58 2017-04-15 04:34
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Multiple damage factors on a player class do not work
Description: Title mostly says it all, but this issue may affect monsters as well.
Tags:
Steps To Reproduce:
  1. Load up Dmgfactortest.pk3 with a recent build of GZDoom.
  2. Select "Fireproof" from the player class selection menu.
  3. Stand close to a wall, type "summon firerocket" in the console, and press enter.
  4. You will take damage from the blast.
  5. Stand close to a wall, type "summon waterrocket" in the console, and press enter.
  6. No damage.

Additional Information: 2.5pre-360-g0ebf495 has this issue, but 2.5pre-276-g3a36ffe does not.
Attached Files:
Notes
(0001382)
_mental_   
2017-04-15 04:34   
Fixed in 490fd8f

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
524 [Gameplay + OpenGL] Bug minor always 2017-04-02 09:14 2017-04-14 17:49
Reporter: Ghost Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Aiming Camera's Pitch
Description: 169-255 pitch aims the camera down instead of up.
Tags:
Steps To Reproduce:
Additional Information: Tested in Gzdoom 2.4.0. Working properly in Gzdoom 2.1.1
Attached Files: Camera.wad (870 bytes) 2017-04-02 14:05
https://mantis.zdoom.org/file_download.php?file_id=184&type=bug
Notes
(0001217)
Graf Zahl   
2017-04-02 12:26   
Do you have something I can test this with?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
533 [Gameplay + OpenGL] Feature feature always 2017-04-03 10:52 2017-04-14 16:28
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Custom message box class for menus
Description: The ability to specify a user class to override the message box class (the one that asks Yes/No etc). Mainly to customize its look and make it consistent with the rest of the menus.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001378)
Graf Zahl   
2017-04-14 16:28   
Done. Can be set through gameinfo and must inherit from MessageBoxMenu

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
583 [Gameplay + OpenGL] Bug minor always 2017-04-14 15:15 2017-04-14 16:04
Reporter: AFADoomer Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Engine crash when you 'give' an item that doesn't exist
Description: The engine will crash if you try to 'give' or 'take' a non-existent inventory item.
Tags:
Steps To Reproduce: Run any IWAD normally and start a new game. Go to the console and enter "give whatever" or "take whatever" and the engine will crash. Tested with dev build gfbc1028.
Additional Information:
Attached Files: CrashReport.zip (22,620 bytes) 2017-04-14 15:15
https://mantis.zdoom.org/file_download.php?file_id=198&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
581 [Gameplay + OpenGL] Bug major always 2017-04-14 10:37 2017-04-14 15:56
Reporter: Matthew the Glutton Platform:  
Assigned To: Graf Zahl OS: Debian Jessie  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [2add60a] Crash on exit
Description: If I go -warp 01 -noautoload then quit:
Terminated sig=0x0f


*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x460

Generating gzdoom-crash.log and killing process 1757, please wait... 40	../sysdeps/unix/sysv/linux/waitpid.c: 
No such file or directory.
Crash log attached.


If I load Hideous Destructor and quit:
*** Error in `/home/mchan223/doom/./gzdoom': double free or corruption (!prev): 0x00000000057c94a0 
***
/home/mchan223/bin/gzdoom: line 2:  2246 Aborted                 ~/doom/./gzdoom $*
no crash log.

Only happens to "Release" build; "Debug" terminates without error.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: gzdoom-crash.log.7z (4,321 bytes) 2017-04-14 10:37
https://mantis.zdoom.org/file_download.php?file_id=195&type=bug
gzdoom-crash.log-2.7z (7,145 bytes) 2017-04-14 10:49
https://mantis.zdoom.org/file_download.php?file_id=196&type=bug
Notes
(0001370)
Matthew the Glutton   
2017-04-14 10:49   
Also crash on level change:

1. Get this version of HD: https://github.com/MatthewTheGlutton/HideousDestructor/tree/82f7ad696dd958b65efaa6b6da09ca2aa04069eb

2. Start a game

3. Exit or use changemap to change levels

4. Crash right on start
(0001371)
Graf Zahl   
2017-04-14 12:29   
Fixed the level change crash.
I cannot reproduce the exit crash, and the log does not contain enough information to take a guess.
(0001372)
Graf Zahl   
2017-04-14 12:41   
Since I could see which function crashed it I reworked that part a bit.
But since I do not get a crash I have to ask you to test if it's ok now.
(0001374)
Matthew the Glutton   
2017-04-14 15:21   
Can't replicate either crash on my end. Seems like they're both fixed!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
572 [Gameplay + OpenGL] Bug major always 2017-04-12 09:49 2017-04-14 15:06
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Static thinker bloat with hub levels
Description: It seems that when static thinkers are created in the way that's demonstrated in the example WAD, multiple instances of it will be created every time the player re-enters a hub level.

Graf, this is the same solution you provided with regards to "global thinkers" on the forum a while ago. It seems obvious from the conditions that it's trying to prevent duplicate instances of the Thinker, but yet they continue to be created unconditionally.

Given enough amounts of level changes, the save file will infinitely grow larger and larger and saving starts to become very slow.
Tags:
Steps To Reproduce: 1) Run example file, preferably with autosaves turned on for convenience

2) Step through the portals between the levels a few times so you have several autosaves

3) Look inside the JSON files of the saves, it appears that with each save file, more and more MyGlobalStuff is being saved into the levels
Additional Information:
Attached Files: HubStaticthinker.pk3 (3,038 bytes) 2017-04-12 09:49
https://mantis.zdoom.org/file_download.php?file_id=191&type=bug
Notes
(0001320)
Nash   
2017-04-12 09:51   
Forgot to mention,that this happens only if the thinker is set to static. If it's a non-static thinker (for example STAT_INFO), the bloat won't happen.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
554 [Gameplay + OpenGL] Feature feature N/A 2017-04-09 10:17 2017-04-14 09:55
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GetTranslation()
Description: Converts a name given in TRNSLATE lump into a uint, allowing for:

uint transOrange = GetTranslation('OrangeishRed');
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001364)
Graf Zahl   
2017-04-14 09:55   
Added Translation.GetID()

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
549 [Gameplay + OpenGL] Feature feature N/A 2017-04-07 10:39 2017-04-14 09:49
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PowerReflection Enhancements
Description: One thing I think is missing from PowerReflection is the ability to rebound damage regardless of invulnerable or not.

I suggest either one of two ways for this:

  1. Powerup.Strength, a percentage to always be reflected back regardless of damagefactors
  2. INVULNERABLE flag, which flat out ignores how much a player receives and dishes back the full damage regardless of type to the giver.


-----

Next, I suggest a Reflection.<DamageType> to indicate what kind of damage was returned. This could allow for factoring into account the others receive in return.

So if a monster's attack is a Fire damagetype, the damage returned to them would be Reflection.Fire.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001362)
Graf Zahl   
2017-04-14 09:49   
Powerup.Strength: done.
INVULNERABLE: not doable because the code will never be reached.
ReflectType: Added a bool property that specifies whether to return the incoming damage type.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
545 [Gameplay + OpenGL] Feature tweak have not tried 2017-04-06 01:13 2017-04-14 09:28
Reporter: Matthew the Glutton Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Range limit parameter to A_SprayDecal?
Description: Let's say you wanted to have a gibbing monster spray blood decals in random directions all over... seems odd it would be theoretically possible to see some of these blood splats instantly appearing 200 feet away when the gibbing sprite suggest much lower velocities.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001361)
Graf Zahl   
2017-04-14 09:28   
Added. The old hardcoded distance was 172 map units, btw.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
579 [Gameplay + OpenGL] Bug block always 2017-04-14 06:40 2017-04-14 09:22
Reporter: yura_111 Platform:  
Assigned To: OS: Windows 7  
Priority: urgent OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Variable Savepercent not found in basic armor
Description: Variable SavePercent not found in basic armor
Tags:
Steps To Reproduce: Load a game satisfying conditions:

1) GZDOOM -host 1 +sv_cheats 0 -warp 01 -skill 4 -dup 2 -netmode 0 -extratic +sv_fastweapons 0 +dmflags 1040236544 +dmflags2 58720256

2)Open console and enter "Kill"

3)Respawn

...Bug...

Sorry for my English!
Additional Information:
Attached Files: CrashReport.zip (17,174 bytes) 2017-04-14 08:29
https://mantis.zdoom.org/file_download.php?file_id=194&type=bug
Notes
(0001352)
_mental_   
2017-04-14 06:55   
I was able to reproduce this error on 2.4.0 but the latest devbuild at the moment (2.5pre-329-gfbc1028) doesn't have this problem.
I assume that it was fixed in process.
(0001353)
yura_111   
2017-04-14 07:11   
(Last edited: 2017-04-14 07:13)
I have a version gzdoom-x64-2.5pre-295-g1febf27 - and i have this bug...
Version 329 - very fatal error

(0001354)
_mental_   
2017-04-14 07:48   
(Last edited: 2017-04-14 07:52)
What's the very fatal error? Just tried and it works fine for me.

EDIT: 2.5pre-295-g1febf27 has the error on respawn indeed.

(0001356)
yura_111   
2017-04-14 08:29   
Game isn't started with my modification - "Very Fatal Error". In version 295 - everything is OK (except respawn)

Crash report (version 329):
(0001360)
_mental_   
2017-04-14 09:21   
(Last edited: 2017-04-14 09:22)
It crashed on memcpy() called from FStateDefinitions::FinishStates() function.

Cannot say why what was wrong. Please post your mod, I need to reproduce the crash locally.

EDIT: It's better to create separate bug report for this.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
555 [Gameplay + OpenGL] Bug minor have not tried 2017-04-09 16:59 2017-04-14 09:07
Reporter: Major Cooke Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cannot convert between...
Description: Several cases exist where there's absolutely no details on how to convert between some types.

  1. Name/String to StateLabel (both ways)
  2. Class<Actor> to String (one way -- string to class<actor> works)


If there is a way, an example would be greatly appreciated. I've attempted to do casting but it hasn't worked.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001327)
Graf Zahl   
2017-04-12 19:55   
This is fully intentional for state names because the listed conversions are highly problematic.
The class name can be done but the name<->state thing is not that simple because the symbolic state labels are not just a simple name, they are a relatively complex description of a state, encoded into an integer.
(0001359)
Graf Zahl   
2017-04-14 09:07   
Class names can now be retrieved by calling type.GetClassName(), just like it was already working for objects.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
567 [Gameplay + OpenGL] Bug major always 2017-04-11 09:34 2017-04-14 08:41
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Draw* can only draw one bar at a time
Description: It appears the DrawBar functions are a bit broken.
Tags:
Steps To Reproduce: D4DResources.pk3
D4DBrokenBars.pk3

Download both files and load in that order. The health and armor bar to the left shows only the text for the armor and the bar for the health.

Open D4DBrokenBars.pk3 -> ZStatusBars.txt.
Uncomment line 166 + 167 and run the game again.

Both health bar and armor count is gone, replaced with the armor bar.
Additional Information:
Attached Files:
Notes
(0001311)
Major Cooke   
2017-04-11 09:51   
I saw I had border enabled by mistake. That fixed the issue of the bars not drawing, but text still does not draw.
(0001312)
Major Cooke   
2017-04-11 10:09   
(Last edited: 2017-04-11 10:12)
UPDATE
D4DBrokenBars2.pk3

Wound up changing the entire thing just a little to better match.

The moment all DrawBars are commented out, the font and blue health "+" symbol will actually draw. But only then.

int hp = (CPlayer ? CPlayer.mo.health : 0);
if (hp > 0)
{
    Vector2 ArmorTextPos = (-4, 679);
    int colArmor = Font.CR_WHITE;
    int armorAmount = GetArmorAmount();
    
    // Armor
    if (GetAmountOnly("PowerInvulBase"))
    {
        colArmor = Font.CR_RED;
        armorAmount = 666;
    }
    
    DrawBar("BODYARM1", "BODYARM0", GetArmorAmount(), 100, (18, 676), 0, 0, imageAlignment);
    
DrawBar("BODYARM2", "BODYARM0", Max(0, GetArmorAmount() - 100), 100, (18, 676), 0, 
0, imageAlignment);
    DrawString(mQ4SmallHudFont, FormatNumber(armorAmount, 1, 3), (-4, 679), DI_TEXT_ALIGN_RIGHT, colArmor);
    
    
// Health
    
    int hpi = mHealthInterpolator.GetValue();
    DrawBar("BODYHEL1", "BODYHEL0", hpi, 100, (18, 694), 0, 0, imageAlignment);
    
DrawBar("BODYHEL2", "BODYHEL0", Max(0, hpi - 100), 100, (18, 694), 0, 0, imageAlignment);
    
DrawString(mQ4SmallHudFont, FormatNumber(hp, 1, 3), (-4, 697), DI_TEXT_ALIGN_RIGHT, Font.CR_WHITE);
    
    
DrawImage ("BODYHELC", (0, 697), imageAlignment);
}



(0001330)
Major Cooke   
2017-04-12 20:48   
Okay, all further attempts to rectify this problem have been futile so for now, I'm simply going to hold off further progress on the huds until addressed. No idea what causes it, but it appears it may be overriding everything else -- which is strange, considering it doesn't remove the bigger hud base itself. Yet, it causes the health plus symbol to disappear...
(0001331)
Nash   
2017-04-12 22:32   
I had some difficulties with screen rectangle clipping recently. Could be related, because the DrawBar stuff internally uses screen clipping.

Sorry I can't give any more details, I got frustrated and deleted whatever it was I was experimenting with.

Some of the problems I faced were:

- the clipping rectangle completely blanking out the main menu and console
- a lot of difficulty setting up clipping rectangles for more than one HUD element (one would overwrite the other, or something to that effect)
(0001337)
Major Cooke   
2017-04-13 10:31   
Yeah, what caused some of my issues was the fact that at first I had border as 1. When I turned it off, that allowed some thing to be drawn but it still screws up the rest.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
577 [Gameplay + OpenGL] Bug block always 2017-04-13 15:30 2017-04-14 08:33
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Scopes misbehaving
Description: See attached file. Include resources too.

Using this commit, it won't error out on start-up.

However, using newer (in my case, the newest) it spews a bunch of errors.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: D4D.pk3 (520,564 bytes) 2017-04-13 15:30
https://mantis.zdoom.org/file_download.php?file_id=193&type=bug
Notes
(0001341)
Major Cooke   
2017-04-13 15:37   
One such example is the Destroy() error.

AmmoRemover (inside of Debug.txt) is calling upon a struct with the Play scope. Destroy() has a virtualscope so this should all be well and dandy, but it's not anymore.
(0001342)
Graf Zahl   
2017-04-13 17:09   
Whatever this is, it doesn't happen with a build I did just right now. No idea what is wrong on your side.
(0001344)
Major Cooke   
2017-04-13 17:18   
I did it with RelWithDebugInfo x64.
(0001346)
Major Cooke   
2017-04-13 18:29   
Did you use the attached D4D.pk3 version? And shall I send you my build directly?
(0001358)
Major Cooke   
2017-04-14 08:33   
Thanks graf, this was going to drive me insane. :P

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
578 [Gameplay + OpenGL] Bug minor always 2017-04-14 00:19 2017-04-14 08:32
Reporter: SlaveJobs Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Warn user the minimun OpenGL version required
Description: Trying to run gzdoom on an intel igpu with OpenGL 2.1 results in a segfault without any messages:
$ gzdoom
GZDoom 2.5pre-340-gd407aa3 - 2017-04-13 22:16:26 +0200 - SDL version
Compiled on Apr 14 2017

M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding /usr/share/games/doom-data/gzdoom.pk3, 711 lumps
 adding /home/lucas/.config/gzdoom/doom2.wad, 2919 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz
  Family 6, Model 15, Stepping 6
  Features: MMX SSE SSE2 SSE3 SSSE3
I_InitSound: Initializing OpenAL
  Opened device No Output
  EFX enabled
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 220.50 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11


*** Fatal Error ***
!!! Failed to exec debug process
Segmentation fault

The gdb stack indicates a segfault at function CollectExtensions() from gl_interface.cpp:
CollectExtensions () at /var/tmp/portage/games-fps/gzdoom-9999/work/gzdoom-9999/src/gl/system/gl_interface.cpp:55

55	in /var/tmp/portage/games-fps/gzdoom-9999/work/gzdoom-9999/src/gl/system/gl_interface.cpp
(gdb) s
[New Thread 0x7fffe73a5700 (LWP 22734)]
[Thread 0x7fffe6ba4700 (LWP 22733) exited]
56	in /var/tmp/portage/games-fps/gzdoom-9999/work/gzdoom-9999/src/gl/system/gl_interface.cpp
(gdb) s
[Thread 0x7fffe73a5700 (LWP 22734) exited]
[New Thread 0x7fffe73a5700 (LWP 22853)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()

Probably because GL_NUM_EXTENSIONS is not defined on OpenGL < 3.0.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001349)
_mental_   
2017-04-14 02:47   
It crashes because glGetIntegerv is nullptr for some reason.
You can confirm this by setting a breakpoint in gl_load.c at line 2523 and check value of _ptrc_glGetIntegerv variable.

Probably we should query required functions like glLoadGen does and abort with fatal error if they are not available.
(0001355)
SlaveJobs   
2017-04-14 07:57   
I found this error only because I forgot to compile libsdl2 with opengl support on gentoo.

The game runs fine after that. More than 60 fps on a 3rd gen gpu - Intel Corporation Mobile 945GM/GMS, default settings, OpenGL renderer. Not bad.
(0001357)
Graf Zahl   
2017-04-14 08:32   
... or just check the return value of ogl_LoadFunctions and abort if it failed...?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
574 [Gameplay + OpenGL] Bug minor always 2017-04-13 06:12 2017-04-13 13:43
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Armor value always displayed on full screen HUD even with no armor
Description: The armor value and icon is always present on the full screen HUD right from the start of a game. This is a change. The armor value didn't previously appear until an armor item of some sort had been picked up.

It looks particularly weird to me because the value starts at 0 and uses the green armor icon but in Doom2, you can pick up an armor helmet in the first room so the armor goes from 0 and green armor icon to 1 and a helmet. So it almost looks like the first pickup degrades your armour (from an icon perspective at least, if not the numeric value).
Tags:
Steps To Reproduce: Start a game with the full screen HUD active. (Then pick up the armor helmet in the first room of Doom2.)
Additional Information: 2.4.0 is OK
2.5pre-295-g1febf27 and a few versions prior to this show the issue.

ZDoom thread where I mentioned it: https://forum.zdoom.org/viewtopic.php?f=4&t=55954

Also mentioned in that thread is a spacing issue for the HUD elements. I have no idea if the change there is intended or not.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
575 [Gameplay + OpenGL] Bug block always 2017-04-13 07:25 2017-04-13 13:41
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: immediate OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Weapon switching broken
Description: AEons of Death, you can't switch weapons at all.

D4D, weapon switching is near instantaneous.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001334)
Major Cooke   
2017-04-13 09:05   
(Last edited: 2017-04-13 09:07)
Something's not initialized actually. https://puu.sh/viYLD/358c453500.png

Now I got the bug to happen in D4D so there's no need to download AEoD -- it happens randomly at new game launch.

(0001335)
Graf Zahl   
2017-04-13 09:29   
Goddamn uninitialized variables... :(
(0001336)
Major Cooke   
2017-04-13 09:50   
Pray for nay a third. Won't be a charm. It's a damn curse!
(0001338)
Graf Zahl   
2017-04-13 13:40   
(Last edited: 2017-04-13 13:41)
Should be fixed. After changing WP_NOCHANGE I didn't see it again.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
536 [Gameplay + OpenGL] Bug minor always 2017-04-04 07:20 2017-04-13 07:59
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dynamic lights no longer affecting owners
Description: It used to be where dynamic lights would work on actors with bright maps but now, this no longer has an effect. For example, give a cyberdemon a standard black light, and his entire body will still be unaffected while everything else around him will be.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001235)
Major Cooke   
2017-04-04 07:25   
To be specific, make sure it does NOT have the 'dont affect source' option.
(0001250)
Graf Zahl   
2017-04-05 08:37   
Example!
(0001251)
Major Cooke   
2017-04-05 08:49   
After clearing out the gl options inside my INI file, it started working again. I don't know which one did it though.

This can be closed.
(0001276)
Major Cooke   
2017-04-07 17:05   
I did some more experimenting but it appears there may be an uninitialized variable somewhere, which is causing some weird behaviors with the lights... Not sure where though.
(0001328)
Graf Zahl   
2017-04-12 19:56   
Sounds logical, I also got other strange reports about this issue, but I haven't seen it yet.
(0001329)
Major Cooke   
2017-04-12 20:45   
Okay, the most direct way I can tell you how to make it happen is by downloading AEons of Death, start a new game and summon DarkDragonHead in console. Sometimes when spawned it will be the dark red tinted version of itself with the lights actually affecting it, but most of the time it's usually just the black and white variant.

But that's just the most direct way I know to replicating it not working more than working.
(0001332)
_mental_   
2017-04-13 05:17   
Fixed in cced9e0
I hope this was the last case of uninitialized variable...
(0001333)
Nash   
2017-04-13 07:59   
So sorry about that! I knew I missed something. I actually did it correctly in my game's fork, but when porting over the feature to GZDoom's codebase (I had to manually copy/paste code, there was no automation), I accidentally forgot that one last initializer bit.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
564 [Gameplay + OpenGL] Feature feature N/A 2017-04-10 21:57 2017-04-12 19:42
Reporter: Xaser Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Expose WeaponState (WF_*) enum to ZScript
Description: I found myself in need of checking if the player's currently-held weapon is ready to fire, then noticed that the WF_ enums used for player.WeaponState aren't exposed to ZScript.

It's technically easy to replicate the enum in-script (or just check "player.WeaponState & 1"), but a canon enum would be nice to have.

[EDIT] For reference, I'm talking 'bout these:
https://github.com/coelckers/gzdoom/blob/master/src/d_player.h#L219
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
562 [Gameplay + OpenGL] Bug minor always 2017-04-10 15:49 2017-04-12 19:31
Reporter: Projectionist Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Incorrect main monitor detection
Description: https://i.imgur.com/SKoVGyu.png

I'm running GZDoom g2.4.0 on Windows 10.

I have a multimonitor setup with 2 1080p monitors.

The problem is that whenever I try to run GZDoom in fullscreen mode it opens on the secondary monitor.

It probably has something to do with me having connected DVI cables in reverse order on GPU, but it really isn't an excuse for this behavior because in Windows display settings I have set up things so that monitor No. 2 is the main one and every other fullscreen app behaves correctly.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001305)
Enjay   
2017-04-10 17:45   
There is actually a command built in to help with this:

https://zdoom.org/wiki/CVARs:Display#vid_adapter
(0001306)
Projectionist   
2017-04-10 18:25   
Thank you Enjay, that's very helpful.
(0001321)
Graf Zahl   
2017-04-12 19:31   
The picking the wrong monitor by default is a known OpenGL issue and not fixable. You have to do it manually.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
571 [Gameplay + OpenGL] Bug minor always 2017-04-12 08:49 2017-04-12 09:42
Reporter: RaveYard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ZScript - Array.delete doesn't work.
Description: Delete method for dynamic arrays containing pointers doesn't work if the second parameter isn't specified.
Tags:
Steps To Reproduce:

class DerpClass {
    int asdf;
}

class Test : Thinker {
    Array<DerpClass> derps;

    Test Init() {
        ChangeStatNum(STAT_DEFAULT);
        return self;
    }

    override void Tick() {
        DerpClass d = new("DerpClass");

        derps.Push(d);
        Console.Printf(String.Format("new: %p", d));

        derps.Delete(0);

        for (int i = 0; i < derps.size(); ++i) {
            Console.Printf(String.Format("%d -> content: %p", i, derps[i]));
        }
        Console.Printf("");
    }

    static Test Get() {
        ThinkerIterator it = ThinkerIterator.Create("Test", STAT_DEFAULT);
        let p = Test(it.Next());
        if (p == null) {
            p = new("Test").Init();
        }
        return p;
    }
}
Additional Information: Output in specified example:

new: 00000000069097E0
0 -> content: 00000000069097E0


new: 000000000690B120
0 -> content: 00000000069097E0
1 -> content: 000000000690B120


new: 000000000690B160
0 -> content: 00000000069097E0
1 -> content: 000000000690B120
2 -> content: 000000000690B160


new: 000000000690B1A0
0 -> content: 00000000069097E0
1 -> content: 000000000690B120
2 -> content: 000000000690B160
3 -> content: 000000000690B1A0

...


Tested with:

gzdoom-x64-2.5pre-73-g309d086
gzdoom-x64-2.5pre-295-g1febf27
Attached Files:
Notes
(0001317)
Major Cooke   
2017-04-12 09:20   
If I recall correctly, this is one of those things where you need to delete by the definition count instead of n - 1. Did you try doing Delete(1) instead?
(0001318)
_mental_   
2017-04-12 09:34   
Nope, it's a bug indeed.
(0001319)
_mental_   
2017-04-12 09:42   
Fixed in 20a9f17

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
570 [Gameplay + OpenGL] Bug minor always 2017-04-12 08:06 2017-04-12 09:16
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash when pressing "Del" in the Save/Load menu with no save selected
Description: With mouse menu controls, it's possible to have nothing highlighted in the Save/Load menu. Pressing Delete while nothing is highlighted with crash the game.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001316)
_mental_   
2017-04-12 09:16   
Fixed in d8d7dc9

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
556 [Gameplay + OpenGL] Bug minor always 2017-04-10 00:47 2017-04-11 17:54
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Powerup Persistence Bug
Description: Give yourself a flight powerup. Morph into something. Unmorph, and take note that the flight powerup still persists. Despite being there, there is no way to toggle flight back on.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001294)
_mental_   
2017-04-10 04:30   
(Last edited: 2017-04-10 05:30)
Works in 2.3.2 but broken in 2.4.0
Tested with Heretic like this
give artifly; wait; use artifly; wait; morphme; wait; morphme
or this
give powerflight; 
wait; morphme; wait; morphme

EDIT: MF2_FLY flag isn't set for player's actor from scripting.

(0001297)
_mental_   
2017-04-10 07:47   
Fixed in 175e784
(0001313)
_mental_   
2017-04-11 13:57   
Why was it reopened? If you have a test case that exhibits the problem after my fix, please post it.
(0001314)
Major Cooke   
2017-04-11 13:58   
I had something but it turned out to be a dud.
(0001315)
Major Cooke   
2017-04-11 17:54   
Okay this actually turned out to be a bad idea. Mods like Winter's Fury have debuff powerups that are supposed to wear off when (un)morphing, and this actually resets their duration.

Basically, the fly thing was just broken as it was. It should probably be reverted and fixed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
561 [Gameplay + OpenGL] Bug block always 2017-04-10 09:43 2017-04-10 13:42
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [60dd58e] Compile error
Description: Error C3861 'AssertObject': identifier not found (compiling source file C:\Games\doom 2\GZSource\src\scripting\vm\vmexec.cpp) zdoom c:\games\doom 2\gzsource\src\scripting\vm\vmexec.h 832
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001299)
_mental_   
2017-04-10 10:13   
Sorry, I'm a bit confused with Graf's intention here.
Either comment it out temporarily or build Debug configuration.
(0001300)
SanyaWaffles   
2017-04-10 10:42   
I can confirm this line causes a compiling error. I have commented it out.
(0001303)
Graf Zahl   
2017-04-10 13:42   
That code was to be scrapped anyway, now it is commented out and will no longer produce errors.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
552 [Gameplay + OpenGL] Bug minor always 2017-04-09 02:13 2017-04-09 05:10
Reporter: Kinsie Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Samsara Synthfire Weapon Handling Broken As Of GZDoom g2.4.0
Description: Samsara has relied on a variety of unfortunate DECORATE tricks throughout its development on account of primarily being developed for Zandronum. One of those tricks was the popular "Synthfire" system, used for developing guns-akimbo weapons for the SecurityOfficer player class.

Recently, Samsara's implementation of Synthfire has started bugging out in the latest versions of GZDoom - upon activating guns akimbo mode, the additional weapon will vanish, effectively leaving the player with a slightly offset version of the original weapon.

Whether or not this can be fixed I'm not certain - I have been unable to isolate the issue into a smaller file, and the Samsara codebase in general is famously horrible - but given the issue spawning from a change to the DECORATE parser throughout the evolution of ZScript, I figured it was at least worth reporting.
Tags:
Steps To Reproduce: 1.) Run the latest version of Samsara
2.) Start a new game of Doom 2 with the SecurityOfficer class.
3.) Turn around and pick up the Chainsaw replacement.
4.) Switch back to the Pistol, using the "1" key.
5.) Press the Alt Fire button.

The second weapon will rise up in a canned animation, then immediately turn invisible and unusable. The first weapon will still be usable.
Additional Information: This also effects the Shotgun replacement, which enables a similarly coded effect upon picking up two of them.

To see the weapon as it's supposed to work, start a new game as the SecurityOfficer class and use the console to give yourself the item "SynthFireActive".
Attached Files:
Notes
(0001284)
_mental_   
2017-04-09 02:47   
(Last edited: 2017-04-09 03:33)
It worked in 2.3.2 but broken in 2.4.0 and the latest master.

EDIT: It's broken since this commit.

(0001285)
Kinsie   
2017-04-09 04:05   
Thank you for narrowing down the exact commit, _mental_!
(0001286)
_mental_   
2017-04-09 05:10   
Fixed in b0a0c62

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
548 [Gameplay + OpenGL] Bug crash always 2017-04-06 20:05 2017-04-08 17:06
Reporter: Spie812 Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 7, 8.1, 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Hitting multiple players with BFG hitscans causes a crash.
Description: Using GZDoom version 2.4.0
Had this happen multiple times playing multiplayer.
Shooting the BFG and hitting multiple (2 or more) players with the tracers crashes GZDoom.
It works with both real players and with bots.
In a Multiplayer LAN game, GZDoom crashes all computers in the game.
Tags: GZDoom, Multiplayer
Steps To Reproduce: It seems pretty self-explanatory to me, but I'll leave my config attached if for some reason that helps.
Additional Information:
Attached Files: gzdoom-Spie812.ini (43,986 bytes) 2017-04-06 20:05
https://mantis.zdoom.org/file_download.php?file_id=189&type=bug
Notes
(0001266)
Spie812   
2017-04-06 20:21   
Works in deathmatch, not coop
(0001267)
_mental_   
2017-04-07 02:35   
Using 2.4.0 the crash is present but I can't reproduce it with the latest devbuild.
Could you please download the recent version from here and give it a try?
(0001273)
Spie812   
2017-04-07 13:22   
using gzdoom-2.5pre-273-gb1e1f25, the most recent version right now, I was still able to reproduce the crash.

Crash: https://www.youtube.com/watch?v=o6-jJkPDFRE
(0001274)
Graf Zahl   
2017-04-07 13:55   
That looks like a stack overflow caused by some infinite recursion.
(0001275)
_mental_   
2017-04-07 13:59   
Yes, it's something with obituary messages. It happened only on maint2.4 branch for me but apparently the issue is still there. I'll check it again on master a bit later.
(0001279)
_mental_   
2017-04-08 03:38   
(Last edited: 2017-04-08 03:38)
An infinite recursion was introduced in this commit.
To fix the recursion itself this part can be rewritten as
if (inflictor != NULL && inflictor.Obituary.Length() > 0)
{
    message = inflictor.Obituary;
}

Although I have some problems with matching old and new code. Old version of ClientObituary() did more things which were partly moved to Actor.GetObituary() function. Probably I'm just missing something.

(0001281)
Graf Zahl   
2017-04-08 10:53   
That would pretty much break the entire intent here, i.e. allowing to override GetObituary.
The actual condition that causes the recursion needs to be identified and properly handled.
(0001282)
_mental_   
2017-04-08 13:10   
(Last edited: 2017-04-08 13:20)
attacker and inflictor are the same object in ClientObituary() function on C++ side. This is the real cause of infinite recursion. I have no clear vision how resolve it. Is it enough just to compare them for inequality?


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
550 [Gameplay + OpenGL] Bug feature always 2017-04-07 19:22 2017-04-08 03:22
Reporter: TheStrawberryOctopus Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Possible 3D Pitch Glitch
Description: Hello; I recently encountered an issue with GZDoom that seems to only work as intended in an older version of GZDoom; A specific version, mind you, as all newer versions, included the latest 2.5 Git does not work.

My current issue is, in my old GZDoom Build, which was a 2.3 (I dont think it was the official build, since I am pretty sure I downloaded it from the GitBuild section of the GZDoom Website) I am able to have 3D Objects face in the direction they are facing, including angle with the combination usage of USEACTORPITCH in the MODELDEF, as well as A_FaceMovementDirection of the 3D Actor.

However in the 2.4 version, it appears that behaves very differently; the actors pitch now seems to turn, but in an inverted fashion. When firing rockets upwards, for example, they face the wrong way.

I have compiled an rar which includes the old version of GZDoom I am using, as well as the new 2.4 version. In this mod I replaced the rocket fired from the Doom Rocket Launcher with one that is 3D. in the 2.3 GZDoom version included, it should rotate correctly, while in the 2.4 version, it does not.

https://www.dropbox.com/s/0p77mv7hice02a7/3DBugTest.rar?dl=0
Tags: Modeldef & 3d Models
Steps To Reproduce: In the rar. contains 2 versions of GZDoom, my 2.3 git build from December 2016, and the 2.4 official 2.4 build currently on the GZDoom Website. All you need to do is boot up the mod and use the Doom rocket launcher between both versions, and the differences should be pretty clear. No matter what settings I adjust, it doesn't seem to work (But the 2.3 works, even right out of the box.)
Additional Information:
Attached Files:
Notes
(0001278)
Graf Zahl   
2017-04-08 03:22   
Looks like USEACTORPITCH was overlooked when fixing the messed up inverted pitch that got into too many parts of the engine.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
537 [Gameplay + OpenGL] Bug minor always 2017-04-04 10:47 2017-04-06 06:58
Reporter: Psi7 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: CVAR is UNKNOW in game menu
Description: CVARs that have the "user" scope in CVARINFO are broken. This problem appears with all mods that have user CVARs (Samasara, CustomDoom ...)
Tags:
Steps To Reproduce: Load GZDoom with a mod that can be customized (CustomDoom for example) and open it's configuration.
The CVARs that are unknown in CustomDoom can be found in "Randomizer options". "Show Timer" and the notifications settings will appear as unknown and the slider will not work.

Custom Doom:https://forum.zdoom.org/viewtopic.php?t=51446 (Open the menu with a keybind
Additional Information:
Attached Files:
Notes
(0001239)
Psi7   
2017-04-04 14:42   
Good Ol'Hud is a better example https://forum.zdoom.org/viewtopic.php?f=46&t=54123
(0001242)
Blue Shadow   
2017-04-05 03:10   
Running 2.5pre-259-g4b127c7, I can confirm that.
(0001243)
_mental_   
2017-04-05 04:25   
(Last edited: 2017-04-05 04:25)
The bug was introduced in this commit with extension of CVar.FindCVar() function.
I think scripting interface should have two functions to access console variables, FindCVar() and GetCVar(), like on C++ side.
Let's wait for Graf's opinion.

(0001248)
Graf Zahl   
2017-04-05 08:33   
You may be right. That change was probably not the best thing to do for what it was supposed to achieve anyway.
(0001255)
_mental_   
2017-04-06 02:54   
Fixed in 26e4b74
(0001257)
Nash   
2017-04-06 04:43   
Does this mean my previous FindCVar scripting won't work anymore and I have to migrate them to GetCVar?
(0001258)
_mental_   
2017-04-06 06:58   
It depends on usage of player argument.
The functions operate a bit differently under the hood: FindCVar() will return CVar object regardless of IGNORE and USER flags.
For this reason its replacement with GetCVar() broke custom menus.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
528 [Gameplay + OpenGL] Bug major have not tried 2017-04-03 01:13 2017-04-06 03:18
Reporter: Matthew the Glutton Platform:  
Assigned To: OS: Debian Jessie  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [73c1451] SXF_ABSOLUTEPOSITION ignored in ZScript
Description:
class zombiemanx:zombieman replaces zombieman{
    states{
    pain:
        POSS A 0{
            A_SpawnItemEx("DoomImpBall",0,0,0,flags:SXF_ABSOLUTEPOSITION);
        }
        goto super::pain;
    }
}
Expected: ball appears at (0,0,0) on the map.
Actual: ball appears at zombieman's feet.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001256)
_mental_   
2017-04-06 03:17   
(Last edited: 2017-04-06 03:18)
The flag works like it should. Please read the corresponding Wiki page carefully:
Wiki wrote

SXF_ABSOLUTEPOSITION - The offset parameters is treated as absolute values. Normally offsetting is done relative to where the actor is facing.

Moreover you can look at the code: calling actor's position has effect in both modes, relative and absolute.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
535 [Gameplay + OpenGL] Bug minor always 2017-04-04 02:08 2017-04-06 00:06
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Can no longer scale the Statusbar.
Description: You added new UI scaling options in the latest release, but as far as I can tell none of them work. I can no longer scale my custom ZHexen HUD to be larger.

Note that this HUD is in the corners of the screen, so it might be an issue of that. I can send you the PK3 if you can't replicate this.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001236)
_mental_   
2017-04-04 08:04   
Please post a sample.
(0001241)
RockstarRaccoon   
2017-04-05 02:28   
Will do...
(0001254)
RockstarRaccoon   
2017-04-05 22:42   
RESOLVED.

Either it was fixed in today's build, or I was doing something wrong.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
541 [Gameplay + OpenGL] Bug major N/A 2017-04-05 04:58 2017-04-05 08:36
Reporter: Blue Shadow Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10 Home x64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [ACC] Errors in zspecial.acs
Description: With latest ACS headers, one cannot compile ACS files, since this line and the next are missing a comma at their end.
Tags: ACC, ACS
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
539 [Gameplay + OpenGL] Bug major always 2017-04-04 21:28 2017-04-05 05:45
Reporter: LordMisfit Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Custom DIALOUxx lumps in STRIFE are broken past SVN pre2.4-359.
Description: If a mod/pk3 file with a custom DIALOUxx lump [uncompiled Strife dialogue lumps] is loaded in any version past SVN pre2.4-359 [includes the stable 2.4 download]. For example, if you load DIALOU02 [map02], characters like Rowan, the Bartender, MacGuffin, etc will simply use the default peasant and beggar quotes. This obviously breaks the progression of the game when using any of these mods.

This doesn't seem to be an issue if you run Strife with no extra files though.

Also according to a friend, this also affects compiled SCRIPTxx lumps as well.
Tags: Dialogue, GZDoom, Strife, USDC
Steps To Reproduce: Download any SVN starting at 2.4-pre381 and on and run Strife in GZDoom with the "strifedialoutest.pk3" file. Go to Map02, kill the first Acolytes and then try to talk to imporant characters like Rowan, MacGuffin, the Bartender, Harris, etc. Their dialouge will be the normal peasant/beggar dialouge.
Additional Information:
Attached Files: strifedialoutest.pk3 (8,470 bytes) 2017-04-04 21:28
https://mantis.zdoom.org/file_download.php?file_id=185&type=bug
Notes
(0001240)
Serious Cacodemon   
2017-04-04 23:58   
Compiled scripts (scriptxx) are not effected by the bug, just to correct what was said earlier about scriptxx files also being effected.
(0001244)
_mental_   
2017-04-05 05:45   
Fixed in a27ab73

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
521 [Gameplay + OpenGL] Bug minor always 2017-04-02 04:46 2017-04-03 21:34
Reporter: Blue Shadow Platform: PC  
Assigned To: OS: Windows  
Priority: low OS Version: 10 Home x64  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Blood particles color doesn't fully match blood color
Description: I have a monster whose blood color is set to "DarkGreen". Some of the blood particle have a different color which doesn't match the blood color.
Tags: blood, particles, Software renderer
Steps To Reproduce: Load the attached file with Doom or Doom2. Summon TestDemon. Shoot the demon with a hitscan weapon. Make sure you enable drawing of blood particles.
Additional Information: Tested with: 2.5pre-232-gf48af60 (64-bit) - it also happens in 2.4.0.
Renderer: Software (no truecolor).
Attached Files: bcolor.pk3 (190 bytes) 2017-04-02 04:46
https://mantis.zdoom.org/file_download.php?file_id=181&type=bug
Screenshot_Doom_20170402_122432.png (189,148 bytes) 2017-04-02 04:46
https://mantis.zdoom.org/file_download.php?file_id=182&type=bug
png
Notes
(0001219)
Graf Zahl   
2017-04-02 12:30   
Blood particles fully intentionally can be two different colors:

        color1 = ParticleColor(kind);
        color2 = ParticleColor(RPART(kind)/3, GPART(kind)/3, BPART(kind)/3);

(0001234)
Nash   
2017-04-03 21:34   
Intentional or not, that doesn't look visually pleasing. :S It looks like the monster is bleeding white instead of green.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
530 [Gameplay + OpenGL] Bug minor always 2017-04-03 08:57 2017-04-03 10:06
Reporter: Major Cooke Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SPRITEANGLE broken
Description: This commit broke the ability for SpriteAngle to work. It now always assumes SpriteAngle is set to 0.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001228)
Major Cooke   
2017-04-03 09:12   
(Last edited: 2017-04-03 09:14)
Fixed it. The way this was designed, SPRITEANGLE is meant to override FLATSPRITES so angles can be specified without having to make entirely new sprites for them.

You can still run around them and it'll maintain the exact same sprite, just as intended.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
527 [Gameplay + OpenGL] Bug tweak always 2017-04-02 21:15 2017-04-03 02:38
Reporter: DenisBelmondo Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: STARMS numbers in new status bar implementation are offset by 1 pixel upwards
Description: The numbers in STARMS are 1 pixel too high. Here's screenshots for reference:

(Chocolate) Doom:
http://i.imgur.com/9Nol8vg.png

*ZDoom:
http://i.imgur.com/9soAs65.png
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001224)
DenisBelmondo   
2017-04-02 21:17   
Sorry, the img tags seem to dislike imgur so I'll just post the regular links here:

(Chocolate) Doom
*ZDoom

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
352 [Gameplay + OpenGL] (No Category) minor have not tried 2017-02-28 19:00 2017-04-02 14:47
Reporter: theleo_ua Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Map scripts in custom mappacks work incorrect in GZDoom 2.3.2
Description: Strange bug in GZDoom when playing e1m6 on masters of chaos mappack: elevator moves only 1 time (should work infinitely)
Tags:
Steps To Reproduce: Steps to reproduce:

1) Download moc11.wad here: https://zdoom.org/wiki/Masters_of_Chaos
2) Run GZDoom: gzdoom.exe -iwad heretic.wad -file moc11.wad -warp 1 6 -skill 5 +set sv_cheats 1
3) Turn on noclip cheat
4) Go to the next switch: http://storage6.static.itmages.ru/i/17/0301/h_1488328242_6607626_13a70bddda.png
5) Turn off noclip cheat
6) Press switch from step 4
7) Go to the next elevator: http://storage6.static.itmages.ru/i/17/0301/h_1488328242_4486481_03c72cc4f7.png
8) Wait for elevator moving down and then up
9) Try to walk in that small elevator room, so you trigger some scripts that elevator will move down again

Actual result: elevator will not move again
Expected result: elevator should move again

Video demonstration of actual result (GZDoom 2.3.2 x64): https://www.youtube.com/watch?v=XhFwT1OX7Aw&index=11&list=PL5QwAqOy7WACZbw4OKosShl_Jzyeq_FMv#t=2h27m27s (watch at 2:27:27)

Video demonstration of expected result (GZDoom 2.1.1 x64 or lower): https://www.youtube.com/watch?v=AiAaINdr8gQ&index=59&list=PL5QwAqOy7WACZbw4OKosShl_Jzyeq_FMv#t=1h17m17s (watch from 1:17:17 to 1:18:41). So as you see, elevator worked 2 times, then player tried to walk (till 1:18:41) and elevator continued working 3rd time. And it's impossible to do this in GZDoom 2.3.2 (as you see in previous video above)
Additional Information: Reproduced in GZDoom 2.3.2 x64
Not reproduced in GZDoom 2.1.1 x64 or lower
Not reproduced in ZDoom
Attached Files:
Notes
(0000825)
Graf Zahl   
2017-03-01 15:08   
This was only fixable by adding a compatibility option. Even in those older versions it was not easy to trigger the lift because there's insufficient room between the door and the trigger.
(0000827)
theleo_ua   
2017-03-01 15:15   
Which specific compatibility option I should set in GZDoom 2.3.2 ?
(0000828)
Rachael   
2017-03-01 15:47   
There is none available on 2.3.2. You will have to either start using tomorrow's devbuild or wait for the next release.
(0001215)
theleo_ua   
2017-04-02 11:57   
What is the name of that compatibility option?
(0001216)
Graf Zahl   
2017-04-02 12:26   
There is no name for the setting. What it does is move two vertices by one map unit so that the player can cross the trigger line:

B68EB7CFB4CC481796E2919B9C16DFBD // Moc11.wad e1m6
{
    setvertex 1650 -3072 2671
    setvertex 1642 -2944 2671
}
(0001222)
theleo_ua   
2017-04-02 14:47   
nice

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
520 [Gameplay + OpenGL] Bug minor N/A 2017-04-02 00:13 2017-04-02 12:32
Reporter: Marrub Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DrawImage's DI_SCREEN* flags don't account for virtual resolution
Description: This seems really strange because the ITEM flags do, but if you use for instance DI_SCREEN_CENTER_BOTTOM it'll be at the center bottom of... where it would be on a screen sized the same as the virtual resolution.
As an example, this code:
DrawImage("graphics/statbar.png", (0, 0), DI_SCREEN_CENTER_BOTTOM);

produces this: http://mab.greyserv.net/f/1491109475_3538.png
Which is correct at 320x200.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001220)
Graf Zahl   
2017-04-02 12:32   
The DI_SCREEN flags only have an effect when you are in HUD mode. In Statusbar mode they won't do anything because statusbar positioning is not screen relative.

This stuff still needs proper documentation.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
523 [Gameplay + OpenGL] Feature feature always 2017-04-02 05:43 2017-04-02 12:27
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Function to convert virtual status bar coordinates to screen coordinates
Description: "what can be added is a function that receives a rectangle in virtual status bar coordinates and then returns a rectangle in screen coordinates so that you can draw it with DTA_DestWidth and DTA_DestHeight."
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
525 [Gameplay + OpenGL] Bug major always 2017-04-02 11:33 2017-04-02 12:23
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: AddEventHandlers + EventHandlers mixed up
Description: AddEventHandler appears to be replacing event handlers instead of adding onto them, while EventHandlers allows adding onto the current event handlers instead of replacing.
Tags:
Steps To Reproduce: Load the attached file, start a new game.

Type this in console: netevent sayhi

It should say:
OHAI
HALLO


But it only says:
HALLO

-----

Open up test.pk3 and change the two AddEventHandlers in MAPINFO to just EventHandlers. Loading the game up again will produce the exact opposite results.
Additional Information:
Attached Files: test.pk3 (436 bytes) 2017-04-02 11:33
https://mantis.zdoom.org/file_download.php?file_id=183&type=bug
Notes
(0001212)
Major Cooke   
2017-04-02 11:47   
Made a fix for it.
(0001213)
ZZYZX   
2017-04-02 11:47   
There's broken true/false in these lines, which reverses the behavior.

        GAMEINFOKEY_STRINGARRAY(EventHandlers, "addeventhandlers", 0, true)
        GAMEINFOKEY_STRINGARRAY(EventHandlers, "eventhandlers", 0, false)

Flipping it should fix that. Sorry, late night coding.
(0001214)
Major Cooke   
2017-04-02 11:48   
Well ahead of you with a PR. :P

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
519 [Gameplay + OpenGL] Bug minor N/A 2017-04-01 23:10 2017-04-02 03:48
Reporter: Marrub Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: BaseStatusBar::CheckDisplayName is misspelled
Description: Somehow, this function's name was typo'd.
bool CheckDiplayName(String displayname)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001210)
_mental_   
2017-04-02 03:48   
Fixed in 1033976

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
497 [Gameplay + OpenGL] Bug minor always 2017-03-28 07:36 2017-04-01 23:58
Reporter: DoomKrakken Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: FastProjectiles MissileType Trails not spawning at +/- 90 degree pitch.
Description: Remember this bug from a while back? It was fixed before... but now it's back...

Missile actors that inherit from FastProjectile and travel at a 90 degree pitch will not spawn their MissileType trails

I'm using GZDoom 2.4.
Tags: Engine Bug, FastProjectile, This was fixed before... what happened?
Steps To Reproduce: Aim straight up or straight down, and fire a missile that inherits from FastProjectile. This will be most visible in mods like Guncaster or Trailblazer.

- In Guncaster, use the Cauterizer or the Old Dreadful. Aiming completely up or down will just show some smoke trail, but not the ball in the middle (which is the actual MissileType trail).
- In Trailblazer, use the Bitchmaker's STANDARD FIRE MODE. Alt-Fire will fire the projectiles at random angles, which will mean that they will not travel at a 90 degree pitch, so their MissileType trails will spawn. If done properly, you will see nothing but the projectile's impact at the end.
Additional Information: I must reiterate that this issue was an engine bug when it was first brought up.
Attached Files:
Notes
(0001177)
Graf Zahl   
2017-03-29 15:51   
I cannot remember what it was - but it got broken again by trying to fix the flame strike weapon in the wrong place.
(0001178)
DoomKrakken   
2017-03-29 18:34   
(Last edited: 2017-03-29 19:09)
(Flame strike weapon???)

I see it now says it's resolved... but I keep looking through the recent Git activity, and I don't see anything on a change to the FastProjectile code...

Is it fixed? Does this mean that I can download the latest version and this one will be fixed?

EDIT: Actually... I can probably answer that by just trying it out myself... XD

EDIT 2: No, it's not fixed. Why is this marked as fixed?

(0001190)
DoomKrakken   
2017-03-30 17:30   
This problem is not fixed. I repeat, NOT FIXED.

Why is it marked as fixed???
(0001196)
Matthew the Glutton   
2017-03-31 11:06   
I'm guessing it's got something to do with the squiggly thing here?
				if (!(frac.xy ~== (0, 0)) && ripcount <= 0) 
                {
                    ripcount = count >> 3;

                    // call the 'Effect' method.
                    Effect();
                }
(0001199)
Graf Zahl   
2017-04-01 06:04   
It is marked fixed because when I shoot up with the Mage's wand straight up in the air I can see the trail.
(0001203)
DoomKrakken   
2017-04-01 17:50   
Has the fix been added to the newer SVN releases yet?
(0001206)
Graf Zahl   
2017-04-01 18:06   
There are no SVN releases, but the fix should have been in a few devbuilds by now.
(0001207)
DoomKrakken   
2017-04-01 23:27   
I confused the name. I always search "GZDoom SVN" whenever looking for the devbuilds, and it brings up the page of devbuilds.

Anyway, the devbuild I got was from March 29, and it didn't work there. And even as I type this, I can say that I still haven't seen any logs in GitHub announcing that this issue was fixed. I've looked through many, many pages, but I haven't seen anything concerning FastProjectiles.
(0001208)
Blue Shadow   
2017-04-01 23:50   
It was part of this commit.
(0001209)
DoomKrakken   
2017-04-01 23:58   
Thanks for showing me that. I'm going to need to test and see if the newer version doesn't have this issue. If it does, I'll try and post a video.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
517 [Gameplay + OpenGL] Bug minor always 2017-04-01 17:05 2017-04-01 18:04
Reporter: RockstarRaccoon Platform: Hexen  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 49: Glass Break doesn't seem to spawn shards
Description: I dunno if my settings are messed up or what, but I've been noticing that Glass Break doesn't spawn shards, like, at all, even though I have arguments (0,0), and the documentation says it should work.

Can you reproduce this or is it just me?
Tags: Action Specials, Hexen
Steps To Reproduce: Make a line in a Hexen map with Glass Break. Break it. See lack of shards.
Additional Information:
Attached Files:
Notes
(0001204)
Graf Zahl   
2017-04-01 18:04   
GlassBreak is a Strife special, it won't spawn Hexen shards unless you specify their spawn ID.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
512 [Gameplay + OpenGL] Bug minor always 2017-03-31 08:47 2017-04-01 06:33
Reporter: Blue Shadow Platform: PC  
Assigned To: OS: Windows  
Priority: low OS Version: 10 Home x64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Status bar shows you have ammo while you don't.
Description: In Hexen, at the beginning of a new game, both the status bar and fullscreen HUD show that the player has a bit of ammo for both mana types (15 points each) while in reality the player has none at all.
Tags: Hexen, Status bar
Steps To Reproduce: Start a new game of Hexen with any character.
Additional Information: Tested with 2.5pre-232-gf48af60 64-bit
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
516 [Gameplay + OpenGL] Bug minor always 2017-04-01 02:27 2017-04-01 06:18
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Hexen status bar - health chain does not move
Description: The health chain in Hexen's status bar does not seem to be functional at all.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
515 [Gameplay + OpenGL] Bug minor always 2017-04-01 02:25 2017-04-01 06:08
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Doom status bar - ammo counter drawn for Fist and Chainsaw
Description: In Doom's status bar - the ammo counter shows "0" for the Fist and Chainsaw, instead of not printing the ammo counter at all (the latter is the correct behavior).
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001198)
Nash   
2017-04-01 02:26   
This bug is not the same as the one Blue Shadow reported about the mana counter.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
508 [Gameplay + OpenGL] Bug minor always 2017-03-30 06:32 2017-03-31 12:09
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Clipping rectangle doesn't seem to work
Description:             Screen.SetClipRect(0, 0, 160, 32);
            int xx, yy, ww, hh;
            [xx, yy, ww, hh] = Screen.GetClipRect();
            Console.Printf("%d/%d/%d/%d", xx, yy, ww, hh);

This just prints 0/0/0/0.

Additionally, if I use the status bar version and not the Screen version - and I give it some DI_* flags - the numbers won't be all 0, but they'll be a single bogus number that doesn't mean anything useful to me (for example 960/960/960/960, regardless of what different combinations of numbers I feed into SetClipRect, the results will all be that one number).

And finally, despite all this, absolutely no clipping is occurring at all - all of the graphics drawn after the SetClipRect call are still getting drawn fully.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001191)
Nash   
2017-03-30 18:48   
Works now after the fix, thanks.,

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
505 [Gameplay + OpenGL] Bug minor always 2017-03-30 05:10 2017-03-31 08:35
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ga3ef711 uiscale slider does not update screen size
Description: When adjusting the top-most UI scale with the slider, the screen's size doesn't update properly.

Does not happen with the scale overrides at the bottom.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: gzdoom-nashb_000.ini (34,244 bytes) 2017-03-30 19:04
https://mantis.zdoom.org/file_download.php?file_id=179&type=bug
Screenshot_Doom_20170331_080035.jpg (69,241 bytes) 2017-03-30 19:06
https://mantis.zdoom.org/file_download.php?file_id=180&type=bug
jpg
Notes
(0001189)
Graf Zahl   
2017-03-30 13:14   
Works as intended with the latest commit. No idea what was wrong.
(0001193)
Nash   
2017-03-30 19:04   
Ok try this:

1) Start off with my provided INI (could be a setting I have on which I'm not aware of)

2) Be sure the status bar is turned on. Set the global UI scale slider to 8.

3) Close the menu and do sizeup/sizedown so that the size is calculated correctly.

4) Now set the global UI scale to 1.

You will get something similar to my image.
(0001195)
Nash   
2017-03-31 08:35   
Still not fixed as of g5601364 (the build I tried this morning)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
511 [Gameplay + OpenGL] Bug crash always 2017-03-30 22:24 2017-03-31 04:59
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: TITLEMAP causes the game to crash
Description: Title says it all. A TITLEMAP causes recent builds of GZDoom to crash.
Tags:
Steps To Reproduce: 1. Load titletest.wad.
2. Fire up GZDoom.
3. Crash.
Additional Information: 2.5pre-184-g5adf746 does not have this issue, but 2.5pre-230-51d8974 does.
Attached Files:
Notes
(0001194)
_mental_   
2017-03-31 04:59   
Fixed in f48af60

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
506 [Gameplay + OpenGL] Bug minor always 2017-03-30 05:14 2017-03-30 13:11
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ga3ef711 ScaleSlider input issues
Description: 1) When the slider is used with the mouse and dragged to the left until it shifts into text form - the widget will no longer be interact-able with the mouse. The only way to activate it is to use Left/Right on the keyboard.

2) If the widget is in text form, and the user presses RIGHT ARROW on the keyboard: the slider position will now be locked to the mouse position, like as if the user has their mouse button held down (even when in reality it isn't).
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
509 [Gameplay + OpenGL] Bug major always 2017-03-30 10:26 2017-03-30 12:00
Reporter: Psi7 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash when using automap
Description: When using a custom HUD, using the automap will crash GZDoom.
Tags:
Steps To Reproduce: Load GZDoom with a custom (like Good Ol' HUD https://forum.zdoom.org/viewtopic.php?f=46&t=54123), start a game and open the automap.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
504 [Gameplay + OpenGL] Bug minor always 2017-03-30 05:08 2017-03-30 11:51
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ga3ef711 automap has no lines
Description: The automap doesn't show any lines when activated.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
507 [Gameplay + OpenGL] Bug major always 2017-03-30 05:15 2017-03-30 07:53
Reporter: q3cpma Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: cmake -CMAKE_BUILD_TYPE=Release failing
Description: `cmake -CMAKE_BUILD_TYPE=Release .` fails with the attached error file while `cmake .` succeeds. I'm not on an exotic arch or platform (amd64, glibc, gcc 4.9.4), so this seem pretty strange to me.
Tags:
Steps To Reproduce: `cmake -CMAKE_BUILD_TYPE=Release .`
Additional Information:
Attached Files: CMakeError.log (15,570 bytes) 2017-03-30 05:15
https://mantis.zdoom.org/file_download.php?file_id=178&type=bug
Notes
(0001185)
_mental_   
2017-03-30 07:00   
It should be
cmake -DCMAKE_BUILD_TYPE=Release .
(0001186)
q3cpma   
2017-03-30 07:27   
(Last edited: 2017-03-30 07:28)
Ah, you're right. Strange that cmake doesn't react when an unknown option is used.

(0001187)
_mental_   
2017-03-30 07:53   
Because there is -C command line option.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
490 [Gameplay + OpenGL] Bug minor random 2017-03-26 22:59 2017-03-30 03:04
Reporter: Minigunner Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Attempts to directly set a player actor as a monster's pointer results in "Read from Address Zero" or even crashes
Description: I've been attempting to have a friendly monster (in the case of the attached file, scripted marine) set an Actor variable to its friend player, yet trying to do anything with it has either led to "Read from Address Zero" errors, regular crashes, or silent crashes.
Tags:
Steps To Reproduce:
int fpnum = friendplayer - 1;
if(fpnum != -1) { Actor afriendplayer = players[fpnum].mo; }
else { <failure code> }


Doing anything with afriendplayer, such as setting it as the monster's target, results in random, unsolvable (on my end) cases of errors or even crashes. I still have a strong belief that it may be my code, but I'm in a block and have no clue what could result in this.
Additional Information:
Attached Files: ZScriptedMarines.pk3 (5,585 bytes) 2017-03-26 22:59
https://mantis.zdoom.org/file_download.php?file_id=164&type=bug
Notes
(0001137)
Graf Zahl   
2017-03-28 14:55   
Can't say. I never got it to crash.
(0001181)
Minigunner   
2017-03-29 21:49   
Hmm, I'll probably have to provoke a reportable crash in order to get anything out of it.
(0001182)
_mental_   
2017-03-30 02:30   
I'm running Doom II with the following command line:
-iwad doom2 +map map01 -file ZScriptedMarines.pk3 +summonfriend ZMarineShotgun

After scripted marine kills two zombiemen there will be no enemies in sight and the game will crash because of stack overflow. It is caused by infinite switch of states: idle -> see -> idle -> see -> ...
Although I cannot say for sure that it's the same crash you mentioned.
(0001183)
Graf Zahl   
2017-03-30 03:03   
Neither can I. But this is almost certainly some programming error and you are likely to get better feedback in the Editing forum, because most people never come here.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
477 [Gameplay + OpenGL] Feature feature N/A 2017-03-24 23:30 2017-03-29 21:46
Reporter: Minigunner Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Implement the rest of the CVar functions into ZScript.
Description: So far, GetCVar is in ZScript. However, ACS currently has GetCVarString, GetUserCVar, and GetUserCVarString, as well as the Set equivalents. I just ran into a block with checking a user CVar in ZScript, and though it currently can be done via ACS, it'd be good to have these implemented as well.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001134)
Graf Zahl   
2017-03-28 14:31   
GetCVarString has been added.
(0001158)
Blue Shadow   
2017-03-29 02:39   
One thing: the function's return type is set as double in zscript/actor.txt, instead of string.
(0001180)
Minigunner   
2017-03-29 21:46   
I've been told that GetCVar has been depreciated though as using the cvar directly as a variable works. The main thing I suppose is the UserCVar functions.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
472 [Gameplay + OpenGL] Feature feature have not tried 2017-03-24 05:34 2017-03-29 16:13
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A way to mass-assign brightmaps in GLDEFS
Description: I've noticed that most brightmaps I've seen use the same title as the image they're brightmapping in a /brightmaps directory of a PK3, but they have to be individually defined. This feels like a bit of a time-sink for mods with a large numbers of brightmaps. (Metroid Doom has this issue)

Could you make a way to quickly define them as a group instead of sprite by sprite? This can be by using brightmaps of the same name in a specified directory, or wild-cards, or some sort of other definition, whatever works for you, we just need a way to do this...
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
500 [Gameplay + OpenGL] Feature minor always 2017-03-28 16:17 2017-03-29 15:19
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Multiple variable assignment in for loop ZScript
Description: for (int a = 0, b 20; a < 20; a++, b--)
{
}

This was something that I used to be able to do with acc.exe. But in ZScript, you could only assign one variable - either a++, or b--, but not both.

(The initializer part has no problem, just the assignment part at the end)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
465 [Gameplay + OpenGL] Feature feature N/A 2017-03-22 19:10 2017-03-29 15:18
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: OnMenuReturn() Virtual
Description: When coming back from a child menu, this function will execute for all items and the menu itself.

One thing I saw lacking was an update when returning from a child back to a parent, which can prove to be a bit troublesome.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001175)
Graf Zahl   
2017-03-29 13:35   
Added to the menu.
If you really need this as an item option for the stock items, do it yourself and make a PR.
(0001176)
Major Cooke   
2017-03-29 15:18   
I'll consider it. Thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
502 [Gameplay + OpenGL] Bug minor always 2017-03-29 14:12 2017-03-29 14:49
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GetGlobalACSValue causes very fatal error
Description: Any instance of GetGlobalACSValue within a ZScript statusbar causes a very fatal error.
Tags:
Steps To Reproduce: Run attached file and begin any map.
Additional Information: Confirmed with GZDoom 2.5pre-211-g2f06c09 (newest build at time of posting)
Attached Files: getglobalacsvaluetest.pk3 (400 bytes) 2017-03-29 14:12
https://mantis.zdoom.org/file_download.php?file_id=175&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
444 [Gameplay + OpenGL] Feature minor always 2017-03-16 22:37 2017-03-29 14:22
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Colourizable fonts with alpha
Description: "maybe some workaround with OpenGL polygon lighting is possible, but that's for after the next release because it requires some deeper changes"

I'm just putting this here so that it won't be forgotten. With all of the restructuring going on right now, I hope this feature can be considered.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
466 [Gameplay + OpenGL] Feature feature have not tried 2017-03-23 04:46 2017-03-29 13:30
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: String argument for ConsoleProcess and SendNetworkEvent
Description: I'd like to be able to pass string parameters for ConsolePorcess and SendNetworkEvent.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001099)
Major Cooke   
2017-03-24 12:15   
(Last edited: 2017-03-24 12:17)
You can work around this for the time being, with NetworkProcess.

In your event handler, add a boolean. Have it check for keywords, such as Enable/DisableReception, and allow it to accept what it sends along as strings for use. Then you send a keyword to disable it which takes priority over all other words it receives.

Here's an example.

 // deltas[num].receiving is my bool.
override void NetworkProcess(ConsoleEvent e)
{
    int num = e.Player;
    let plr = players[num].mo;
    
    if (plr)
    {
        if (e.Name == 'DisableReception')
        {
            deltas[num].receiving = false;
            Console.Printf("Disabled receiving.");
        }
        else if (deltas[num].receiving)
        {
            Console.Printf("%s, %d, %d", e.Name, e.Args[0], e.Args[1]);
            deltas[num].SetItem(e.Name, e.Args[0], e.Args[1]);
        }
        else if (e.Name == 'EnableReception')
        {
            deltas[num].receiving = true;
            Console.Printf("Enabled receiving.");
        }
        else if (e.Name == 'UpdateItems')
        {
            if (deltas[num].ItemName.Size() > 0)
            {
                for (int i = 0; i < deltas[num].ItemName.Size(); i++)
                {
                    Class<Inventory> item = deltas[num].ItemName[i];
                    if (item)
                    {
                        plr.A_SetInventory(item, deltas[num].Count[i]);
                    }
                }
            }
            deltas[num].ItemName.Clear();
            deltas[num].Count.Clear();			
        }
    }
}


Then whatever is doing the sending just does this:

D4DHandler.SendNetworkEvent("EnableReception",0,0,0);
    
for (int i = 0; i < m.ItemNames.Size(); i++)
{
    D4DHandler.SendNetworkEvent(m.ItemNames[i],m.Count[i],0,0);
}
D4DHandler.SendNetworkEvent("DisableReception",0,0,0);
D4DHandler.SendNetworkEvent("UpdateItems",0,0,0);


(0001106)
ZZYZX   
2017-03-25 10:15   
(Last edited: 2017-03-25 10:16)
You can pass a string in the event name itself and then split it away using Mid.
e.g. event looks like this: "MyEventName:<data>"
You can receive <data> by doing this:
String eventF = "MyEventName:";
if (e.Name.Left(eventF.Len()) == eventF)
{
  String data = e.Name.Mid(eventF.Len());
}


(0001107)
Major Cooke   
2017-03-25 10:16   
(Last edited: 2017-03-25 10:16)
Does mid go by n-1?

(0001109)
Nash   
2017-03-25 12:45   
Major Cooke: I need to pass unknown class names to my event, so I can't use your workaround.

ZZYZX: will try your solution and report back if it fits my needs, thanks.
(0001110)
Major Cooke   
2017-03-25 13:37   
(Last edited: 2017-03-25 13:37)
That's what I did in mine.

(0001174)
Graf Zahl   
2017-03-29 13:29   
I think that sending the data encoded in the existing string is the best option here, the network protocol is really not the place to turn loose with parameters.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
486 [Gameplay + OpenGL] Feature feature N/A 2017-03-26 10:03 2017-03-29 13:24
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PowerDrain Expansion
Description: Two ideas I have which could be used for expanding PowerDrain's customization.

  1. Drain(Actor victim, int damage, Name mod) Allows customizing of PowerDrain, giving access to the victim
  2. DamageFactors Allows defining specific damagefactor leech multiplication. The fallback would be Powerup.Strength if none are defined.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001114)
Major Cooke   
2017-03-26 10:04   
Meant to say, #1 would be a virtual.
(0001135)
Graf Zahl   
2017-03-28 14:41   
1 can be done
2 not.
(0001172)
Graf Zahl   
2017-03-29 13:24   
Added. However, since this all is done after the target has already been damaged, all you really can do is modify the amount of health the shooter will get for it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
475 [Gameplay + OpenGL] Bug major always 2017-03-24 18:08 2017-03-29 13:02
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [2.5] HUDs broken a bit
Description: https://puu.sh/uXlBj/b4013c0b22.jpg

Using D4D, my screen resolution is 1680x1050.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Broken.png (410,001 bytes) 2017-03-26 06:49
https://mantis.zdoom.org/file_download.php?file_id=160&type=bug
SBARINFO.txt (175,181 bytes) 2017-03-27 20:04
https://mantis.zdoom.org/file_download.php?file_id=170&type=bug
Screenshot_Doom_20170327_191209.png (455,548 bytes) 2017-03-27 20:04
https://mantis.zdoom.org/file_download.php?file_id=171&type=bug
Notes
(0001108)
Major Cooke   
2017-03-25 12:37   
Found the commit.
(0001111)
Major Cooke   
2017-03-25 15:45   
Seems to be working again with https://zdoom.org/Changelog/3e67a8b/files
(0001112)
Psi7   
2017-03-26 06:49   
(Last edited: 2017-03-26 06:59)
Still broken for me and the user interface scale slider is not working anymore too.

(0001126)
saegiru   
2017-03-27 20:04   
I am having the same issue as Psi7. The HUD shows up in the top left corner, and has no scaling. Nothing I do seems to help it. Works on all versions prior to about a week ago.
Attached screenshot, and SBARINFO that I am using.
(0001142)
Graf Zahl   
2017-03-28 15:24   
I cannot do anything with the last two posts, what mods are they from? THe naked SBARINFO is not usable.
(0001150)
saegiru   
2017-03-28 16:57   
(Last edited: 2017-03-28 17:25)
Sorry, here is a link to the full HUD.

http://www.moddb.com/mods/brutal-doom/addons/doomvisor-hud-for-pa1nki113r-v51

And if you test it out, you can just load the BASE module... You won't need the rest.

(0001157)
Talon1024   
2017-03-29 01:39   
(Last edited: 2017-03-29 01:41)
I'm still having issues with the Trailblazer 1.4 HUD.

Screenshot from 2.5pre-133-g3744c2e
Screenshot from 2.5pre-210-gfabf845

(0001159)
Graf Zahl   
2017-03-29 03:22   
Link?
(0001166)
Talon1024   
2017-03-29 08:46   
Here's the link to the Trailblazer 1.4 forum thread.
(0001170)
Graf Zahl   
2017-03-29 13:02   
Looks correct to me with the latest build. Seems like this was affected by the still incomplete implementation.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
482 [Gameplay + OpenGL] Bug major always 2017-03-25 17:32 2017-03-29 12:28
Reporter: wildweasel Platform: PC (AMD 64-bit)  
Assigned To: OS: Windows  
Priority: normal OS Version: 8.1 64-bit  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GZDoom 2.4.0 - WWHC-Diaz - severe gameplay issues
Description: The ZDoom gameplay mod, Diaz: Last Hours of Purity (WW Hits Collection) available at https://legacy.doomworld.com/idgames/combos/wwhcdiaz , produces many incomprehensible gameplay-related errors in GZDoom 2.4.0.

Notable errors:
- Numerous hitscan-based weapons do not fire, and ammo is not taken.
- The Mauser Rifle (weapon slot 3) does not play its firing sound in addition to not firing.
- Hand grenades do not throw hand grenades, but Skulltag grenades. (I will acknowledge this is my fault for reusing the "Grenade" actor name.)
- A lot of "Unknown class name" errors (see attached Log.txt).
Tags: DECORATE, GZDoom
Steps To Reproduce: Download wwhcdiaz.zip from https://legacy.doomworld.com/idgames/combos/wwhcdiaz .
Run using GZDoom 2.4.0.
Attempt to shoot anything at all.
Additional Information:
System Description
Attached Files: log.txt (13,457 bytes) 2017-03-25 17:32
https://mantis.zdoom.org/file_download.php?file_id=158&type=bug
FireBulletsTest.pk3 (218 bytes) 2017-03-29 03:36
https://mantis.zdoom.org/file_download.php?file_id=174&type=bug
Notes
(0001113)
_mental_   
2017-03-26 09:13   
(Last edited: 2017-03-26 09:44)
Most of the problems are caused by usage of 0 (zero) instead of "none" for class names, as argument of A_FireBullets() in particular.
However everything is more or less working in the latest devbuild despite all these errors.
Other errors are references to missing classes and usage of floating point values for integer arguments.

(0001116)
wildweasel   
2017-03-26 14:14   
Well, if it comes down to breaking this mod in particular, I do have an updated version of the mod that DOES work properly in 2.4.0 (though that throws some apparently harmless truncation errors that I'll have to go see to). If needed, I'll clear away the remaining issues in v3 of the mod and advise players to play v3 instead if they continue seeing glitches.
(0001118)
_mental_   
2017-03-27 00:03   
Honestly I'm not sure about 'zero as class name' issue. It's probably a question for Graf.
(0001138)
Graf Zahl   
2017-03-28 15:03   
The bad class names are harmless, this either spawns nothing or if used as a puff will revert to BulletPuff.

If something else is still wrong, please provide a more condensed example.
(0001161)
_mental_   
2017-03-29 03:36   
(Last edited: 2017-03-29 03:37)
The simplest possible example:
actor FireBulletsTest : Shotgun
{
    States
    {
    Fire:
        SHTG A 10 A_FireBullets(2,2,5,5,0)
        Goto Ready
    }
}

Try to kill zombiemen after running Doom II with the following command line:
-iwad doom2 +map map01 -file FireBulletsTest.pk3 +give FireBulletsTest

It works in the recent devbuilds and in the latest master but not in maint2.4 branch.

(0001168)
Graf Zahl   
2017-03-29 12:28   
Well, this means there won't be a 2.4.1, because the branches have diverged far too much to find and backport the necessary change.

I'd rather move in a 2.5 before going GPL with 3.0 then.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
455 [Gameplay + OpenGL] Feature minor unable to reproduce 2017-03-19 05:16 2017-03-29 12:25
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Ceiling_MoveCrush and Floor_MoveCrush
Description: I'm having an issue with making crushers inside of 3D floor like areas: there's no way to make a ceiling or floor be a crusher while still having it move the way you want.

I'd like an action-special (UDMF, obviously) which allows me to make the ceiling or floor move as a crusher from any height.

I'm especially wondering if such code would be able to make a 3D floor a crusher, because you would move the floor down and crush with that. I don't need that though.
Tags:
Steps To Reproduce: The engine has nothing for this, as far as I can tell.
Additional Information:
Attached Files:
Notes
(0001057)
Graf Zahl   
2017-03-19 06:09   
Move to where? Be a bit more specific about what you need.
(0001064)
RockstarRaccoon   
2017-03-20 04:52   
(Last edited: 2017-03-20 04:53)
There are functions (Floor_MoveToValue and Ceiling_MoveToValue) which let you move the ceiling and floor to whatever points you want. I'd like a version which does the same thing, but implements the crushing code.

For example
Floor_MoveToValueAndCrush (tag, speed, height, neg)
would be the same as
Floor_MoveToValue (tag, speed, height, neg)
except it would crush anything that got in the way.

This would give greater control over crusher operation.

(0001154)
Graf Zahl   
2017-03-28 18:19   
Floor_MoveToValueAndCrush (tag, speed, height, crush, crushmode)
Ceiling_MoveToValueAndCrush (tag, speed, height, crush, crushmode)

added
(0001160)
Blue Shadow   
2017-03-29 03:35   
Ceiling_MoveToValueAndCrush is given special number 290 instead of 280 here:
https://github.com/coelckers/gzdoom/blob/master/src/actionspecials.h#L268
(0001162)
RockstarRaccoon   
2017-03-29 05:41   
Good catch!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
467 [Gameplay + OpenGL] Feature feature always 2017-03-23 05:15 2017-03-29 09:34
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ACS ScriptCall - pass the Activator
Description: The ability to pass the Activator of the ScriptCall to the called function.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001152)
Graf Zahl   
2017-03-28 17:42   
Added. If the function's first parameter is an Actor, the activator will be passed.
Note that no subclasses will be allowed as parameter type!
(0001153)
Nash   
2017-03-28 18:09   
"Note that no subclasses will be allowed as parameter type!"

I don't follow too clearly this part. Can you show what is not allowed by this rule?
(0001167)
Xaser   
2017-03-29 09:34   
The type for the ZScript function's first parameter must be Actor, i.e. not Weapon or PlayerPawn or MyCustomZScriptActor or whatnot. This just means that if you need a particular actor type in the script, you'll need to cast it explicitly.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
498 [Gameplay + OpenGL] Bug minor always 2017-03-28 09:02 2017-03-28 18:43
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 2.5pre-178-ge865ba6 status bar does not affect weapon sprite height
Description: The weapon sprite draws like as if the fullscreen HUD was activated, even if the status bar is on.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
460 [Gameplay + OpenGL] Feature minor have not tried 2017-03-21 11:11 2017-03-28 18:04
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Implement getLineX and getLineY
Description: I'd like for you to implement the getLineX and getLineY specials from Eternity.

These take in a lineID, a fixed called "ratioAlongLine", and a fixed called "distanceFromLine"

They return a point that is the line's first vertex, plus the difference between the vertexes multiplied by "ratioAlongLine", plus the normal multiplied by "distanceFromLine".

If they just returned a midpoint for now and ignored the second two arguments, I think everyone would be happy.

Preferably, one would be able to pass 0 for the line ID and get the line that called it.
Tags: ACS
Steps To Reproduce: Untested, hypothetical code which won't work and is probably only half of what you need...
[code=C++]fixed GetLineX(int lineId, fixed ratioAlongLine, fixed distanceFromLine) { return ln->v1->x + (ln->v2->x - ln->v1->x) * ratioAlongLine + normal.Unit() * distanceFromLine; } fixed GetLineY(int lineId, fixed ratioAlongLine, fixed distanceFromLine) { return ln->v1->y + (ln->v2->y - ln->v1->y) * ratioAlongLine + normal.Unit() * distanceFromLine; }[/code]
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
473 [Gameplay + OpenGL] Bug minor always 2017-03-24 11:41 2017-03-28 17:01
Reporter: ZZYZX Platform: x86_64  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: It's not possible to pass struct function argument to another function
Description: This code won't compile:

struct ElementEvent ui {}

    void A(ElementEvent ev)
    {
        B(ev);
    }
    
    void B(ElementEvent ev)
    {
        
    }


I currently worked around it by manually copypasting the struct copy code (since even things like ElementEvent.CopyFrom(...) won't work due to this bug...).
Tags: ZScript
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
495 [Gameplay + OpenGL] Bug minor always 2017-03-27 23:51 2017-03-28 16:37
Reporter: LugiasBitch Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: (2.4.0) 3D plane slopes texture issues
Description: If this is already resolved, then delete this thread.

Okay, while building my big ass mall, I have built a set of escalators using 3D plane slopes. However, when I updated to GZDoom 2.4.0, I noticed a weird rendering issue with the escalators. The wall textures were not rendering properly depending on the direction you were facing. Its not game breaking, and as far as I can tell, doesn't degrade performance.

However, this is quite a nuisance, as it can break immersion for these complex maps.
Tags:
Steps To Reproduce: I have attached a simple map that replicates this issue with ease. Just run it and you'll know what I am seeing.
Additional Information: Running this in
Attached Files: Rendering Issues 2.4.wad (12,598 bytes) 2017-03-27 23:51
https://mantis.zdoom.org/file_download.php?file_id=173&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
471 [Gameplay + OpenGL] Feature feature always 2017-03-23 17:57 2017-03-28 15:52
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Allow play classes to call Menu.SetMenu
Description: From this thread: https://forum.zdoom.org/viewtopic.php?p=986319#p986319

"It's generally blocked by the separation, but this function needs to be 'clearscope' so that the game can open menus."
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001089)
ZZYZX   
2017-03-23 18:11   
(Last edited: 2017-03-23 18:17)
Marking it clearscope here would mean that in a networked game, one player would press use on an actor and BOOM the menu will open for everyone, because playsim is synchronized and that method will run for everyone.

IMO there needs to be reverse SendNetworkEvent that can send some UI event to a specific player from the playsim.

Alternatively it can be marked clearscope but then modders will have to remember that they need to do if (players[consoleplayer] == player) before they open the menu.
I actually like this approach more because SendNetworkEvent is the only good name for any networked things and it's already taken for client input.

(0001090)
Graf Zahl   
2017-03-23 18:33   
I think the best approach is to check inside the function if it got called by the consoleplayer and not do anything when some other player tries to open a menu.
(0001147)
Graf Zahl   
2017-03-28 15:52   
I just added clearscope. This is one of those cases where the feature is more important than perfect security.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
492 [Gameplay + OpenGL] Bug minor always 2017-03-27 03:29 2017-03-28 15:48
Reporter: NeverMine17 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Doomguy's face gets angry when pressing mouse2
Description: When MOUSE2 is pressed, Doomguy gets angry.
There is nothing unusual in terminal.
Using latest GZDoom g2.4.0 - 2017-03-19 21:36:18 +0100 - SDL version.
Tags: actor logic, GZDoom
Steps To Reproduce: Just hold MOUSE2 for a while.
Additional Information:
Attached Files: doomguy.png (885,344 bytes) 2017-03-27 03:29
https://mantis.zdoom.org/file_download.php?file_id=165&type=bug
Notes
(0001122)
_mental_   
2017-03-27 05:15   
What's your OS/distro? Is it 32-bit or 64-bit?
(0001125)
Rachael   
2017-03-27 18:31   
Can confirm this happens, but I think he meant "holds" Mouse2 (+altattack) not "presses".

Actually, I am not really sure if this is technically a bug or not, or if it can/should really be fixed. But then again, original Doom never had a Mouse2.

The issue here really is - even when there is no attack assigned for Altattack, the mugshot still gets angry-face.
(0001146)
Graf Zahl   
2017-03-28 15:48   
Can't fix. The check is too generic:

    if (player->attackdown && !(player->cheats & (CF_FROZEN | CF_TOTALLYFROZEN)) && player->ReadyWeapon)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
499 [Gameplay + OpenGL] Bug minor always 2017-03-28 09:03 2017-03-28 15:41
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 2.5pre-178-ge865ba6 fullscreen HUD not affected by UI scale slider
Description: The UI scale slider does nothing to the fullscreen HUD's size.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001144)
Graf Zahl   
2017-03-28 15:41   
It does work but hud_scale was set to a wrong default.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
479 [Gameplay + OpenGL] Bug minor always 2017-03-25 08:44 2017-03-28 15:34
Reporter: Lud Platform: Microsoft Windows  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SafeCommand does not work.
Description: Attached file for testing purposes. Both command should kill you. Access menu by using 'openmenu SafeCommandTest'. First command will kill you upon exiting menu. Second command will just bark at you and do nothing.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: SafeCommandTest.wad (177 bytes) 2017-03-25 08:44
https://mantis.zdoom.org/file_download.php?file_id=156&type=bug
Notes
(0001105)
Lud   
2017-03-25 08:51   
(Last edited: 2017-03-25 09:00)
Ugh, forgot to mention versions again. Both GZDoom 2.4.0 and gzdoom-x64-2.5pre-158-g093a05b. Works on neither.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
485 [Gameplay + OpenGL] Feature minor have not tried 2017-03-26 05:22 2017-03-28 14:39
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Overridable ListMenuItem :: DrawSelector
Description: I have a completely custom Drawer in my main menu that makes the menu right-aligned and I need to override DrawSelector because whatever DrawSelector is doing by default is way off in relation to my menu.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Untitled-1.png (456,223 bytes) 2017-03-26 05:26
https://mantis.zdoom.org/file_download.php?file_id=159&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
481 [Gameplay + OpenGL] Bug minor always 2017-03-25 17:17 2017-03-28 14:37
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PlayerEntered runs upon loading saved games
Description: If a saved game is loaded from a fresh launch, PlayerEntered events will run again.
Tags:
Steps To Reproduce: Run attached file. PlayerEntered gives an extra 50 Clip to the player. Save the game, close G/QZDoom, load saved game. Player will be given yet another 50 Clip.
Additional Information: Confirmed present as of QZDoom q1.3pre-1537-g71ad6c965 (latest available at time of posting)
Attached Files: playerenteredtest.pk3 (417 bytes) 2017-03-25 17:17
https://mantis.zdoom.org/file_download.php?file_id=157&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
478 [Gameplay + OpenGL] Submission feature always 2017-03-25 02:05 2017-03-28 14:33
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DontLightActors dynamic light flag
Description: https://github.com/coelckers/gzdoom/pull/293

Use case:

It seems to be a popular technique modders use to assign subtractive dynamic lights to act as simple "blob shadows".

There is the DontLightSelf flag which prevents the light from darkening the actor itself, but - if the "shadow" radius is large enough, it will darken other Actors if they get close enough to the "shadow", which might not be desirable.

"Shadow" used in quotes because they're not real shadows, but just approximated special effects.

This flag prevents lights from illuminating any Actor completely.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
476 [Gameplay + OpenGL] Feature feature N/A 2017-03-24 19:54 2017-03-28 14:29
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Player Resurrect() Virtual
Description: A function which can be called to resurrect the player without needing to just rely on the Resurrect command.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001132)
Graf Zahl   
2017-03-28 14:28   
I can give you a resurrect function, but since it needs to be on player_t it cannot be virtual.
(0001133)
Major Cooke   
2017-03-28 14:29   
Alright, that works.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
480 [Gameplay + OpenGL] Bug minor always 2017-03-25 08:47 2017-03-28 14:18
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Assertion failure in dynamic lights code
Description: Trying to load Enjay's latest masterpiece Waterlab GZD using the latest commit I encountered the following assertion failure:
Assertion failed: (mBufferPointer != NULL), function UploadLights, file src/gl/dynlights/gl_lightbuffer.cpp, 
line 159.
Callstack:
FLightBuffer::UploadLights(this=0x00006000002741c0, data=0x00000001010604b8) + 932 at gl_lightbuffer.cpp:159

GLFlat::SetupSubsectorLights(this=0x00000001224bea00, pass=0, sub=0x0000000125040f20, dli=0x00007fff5fbfc83c) 
+ 577 at gl_flats.cpp:151
GLFlat::DrawSubsectors(this=0x00000001224bea00, pass=4, processlights=true, istrans=true) + 259 at gl_flats.cpp:269

GLFlat::Draw(this=0x00000001224bea00, pass=4, trans=true) + 1357 at gl_flats.cpp:427
GLDrawList::DoDraw(this=0x0000000120404788, pass=4, i=17, trans=true) + 192 at gl_drawinfo.cpp:733
GLDrawList::DoDrawSorted(this=0x0000000120404788, head=0x0000618000245640) + 349 at gl_drawinfo.cpp:792

GLDrawList::DrawSorted(this=0x0000000120404788) + 234 at gl_drawinfo.cpp:840
GLSceneDrawer::RenderTranslucent(this=0x00007fff5fbfcd00) + 207 at gl_scene.cpp:449
GLSceneDrawer::DrawScene(this=0x00007fff5fbfcd00, drawmode=1) + 485 at gl_scene.cpp:518
GLSceneDrawer::ProcessScene(this=0x00007fff5fbfcd00, toscreen=false) + 286 at gl_scene.cpp:722
GLSceneDrawer::RenderViewpoint(this=0x00007fff5fbfcd00, camera=0x0000000120f32a00, bounds=0x00007fff5fbfcd60, 
fov=105, ratio=1.5, fovratio=1.5, mainview=false, toscreen=false) + 1521 at gl_scene.cpp:838
FGLInterface::RenderTextureView(this=0x0000610000005690, tex=0x00006080001c2ee0, Viewpoint=0x0000000120f32a00, 
FOV=105) + 376 at gl_scene.cpp:1120
FCanvasTextureInfo::UpdateAll() + 161 at r_utility.cpp:997
FGLRenderer::RenderView(this=0x000000010269fb40, player=0x0000000100f5ab40) + 271 at gl_scene.cpp:897

FGLInterface::RenderView(this=0x0000610000005690, player=0x0000000100f5ab40) + 35 at gl_scene.cpp:1071

D_Display() + 1609 at d_main.cpp:782
D_DoomLoop() + 663 at d_main.cpp:1036
D_DoomMain() + 6840 at d_main.cpp:2705

The issue is related to deferred lighting as I'm using OpenGL 4.1 core profile on macOS.
Commenting that assert() "fixes" the problem as there is corresponding check after it.

Is this assertion a leftover from those times when there was no support for core profile below OpenGL 4.4?
Or is it designates some not yet implemented feature for deferred lighting render path?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001130)
Graf Zahl   
2017-03-28 14:18   
Actually, this is an true error case, the translucent flat drawer was using a bad parameter

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
496 [Gameplay + OpenGL] Bug block have not tried 2017-03-28 00:43 2017-03-28 09:28
Reporter: Matthew the Glutton Platform:  
Assigned To: _mental_ OS: Debian Jessie  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [5adf746] won't compile
Description:
[ 34%] Building CXX object src/CMakeFiles/zdoom.dir/sound/fmodsound.cpp.o
[ 34%] Building CXX object src/CMakeFiles/zdoom.dir/sound/mpg123_decoder.cpp.o
[ 34%] Building CXX object src/CMakeFiles/zdoom.dir/sound/music_midi_base.cpp.o
In file included from /home/mchan223/doom/gzdoom-5adf7463cddb42c3d1b10d6a4337fc98604d23cf/src/swrenderer/r_all.cpp:13:0:

/home/mchan223/doom/gzdoom-5adf7463cddb42c3d1b10d6a4337fc98604d23cf/src/swrenderer/line/r_walldraw.cpp:49:12: 
error: ‘constexpr bool std::isnan(double)’ conflicts with a previous declaration
 using std::isnan;
            ^
In file included from /usr/include/features.h:374:0,
                 from /usr/include/stdlib.h:24,
                 from /home/mchan223/doom/gzdoom-5adf7463cddb42c3d1b10d6a4337fc98604d23cf/src/swrenderer/r_memory.cpp:14,
                 
from /home/mchan223/doom/gzdoom-5adf7463cddb42c3d1b10d6a4337fc98604d23cf/src/swrenderer/r_all.cpp:1:

/usr/include/x86_64-linux-gnu/bits/mathcalls.h:234:1: note: previous declaration ‘int isnan(double)’
 
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
 ^
[ 34%] Building CXX object src/CMakeFiles/zdoom.dir/sound/oalsound.cpp.o
[ 35%] Building CXX object src/CMakeFiles/zdoom.dir/sound/sndfile_decoder.cpp.o
[ 35%] Building CXX object src/CMakeFiles/zdoom.dir/sound/mididevices/music_timiditypp_mididevice.cpp.o

src/CMakeFiles/zdoom.dir/build.make:559: recipe for target 'src/CMakeFiles/zdoom.dir/swrenderer/r_all.cpp.o' 
failed
make[2]: *** [src/CMakeFiles/zdoom.dir/swrenderer/r_all.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:719: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001129)
_mental_   
2017-03-28 09:28   
Fixed in 4716b71

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
491 [Software Renderer] Bug minor always 2017-03-26 23:24 2017-03-27 03:16
Reporter: DenisBelmondo Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Puff and blood particles in software renderer invariably show up as smooth.
Description: I'm using the gzdoom-x64-2.5pre-162-g28be426 build dated Mar 26 2017 03:20:47. When playing in software mode, blood and bullet puff particles appear as smooth by default with no option to set them otherwise. They appear to be completely unaffected by the OpenGL-exclusive particle menu option which should be obvious but I thought I'd try anyway for the sake of thoroughness. I've also cleared my config file before updating to the latest development build.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001120)
dpJudas   
2017-03-27 03:16   
Okay, added support for choosing the particle style. It is using the setting you found in the OpenGL menu (gl_particles_style) - probably should rename the option and move it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
488 [Gameplay + OpenGL] Bug crash sometimes 2017-03-26 12:36 2017-03-27 02:57
Reporter: Talon1024 Platform: Linux  
Assigned To: _mental_ OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Line portal crash
Description: The map C2M4 of WolfenDoom: Blade of Agony crashes when I try to start playing it. From the crash log, it looks like the crash has something to do with the line portal setup.
Tags:
Steps To Reproduce: 1. Load up WolfenDoom: Blade of Agony with a recent build of GZDoom. Builds known to have this issue include 2.5pre-133-g3744c2e and 2.5pre-160-g7b58eab.
2. Type 'map c2m4' in the console, and press enter.
3. The game may or may not crash.
Additional Information: I tried to reproduce the issue under similar conditions in a simple example WAD (c2m4bug.wad), but I couldn't get GZDoom to crash.

I've attached a crash log from a GZDoom debug build, as well as the WAD in which I tried to reproduce this crash.
Attached Files: c2m4bug.wad (22,132 bytes) 2017-03-26 12:36
https://mantis.zdoom.org/file_download.php?file_id=163&type=bug
c2m4crash2.log (49,870 bytes) 2017-03-26 12:36
https://mantis.zdoom.org/file_download.php?file_id=162&type=bug
Notes
(0001115)
Tormentor667   
2017-03-26 12:57   
It's certainly strangem the crash only occurs of the portal is other than visual.
(0001119)
_mental_   
2017-03-27 02:57   
Fixed in 5f44bc4

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
469 [Gameplay + OpenGL] Bug minor always 2017-03-23 13:22 2017-03-25 04:33
Reporter: Lud Platform: Microsoft Windows  
Assigned To: _mental_ OS: Windows  
Priority: low OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Screenblocks = 12 hides overlay automap.
Description: What happens is that the overlay automap disappears when you max out screenblocks. Spam '+' or whatever you have set that increases screenblocks while you have the (overlay!) automap open. The funny thing is that the automap appears if you press Esc or open console.

Is this intentional or not?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001088)
Lud   
2017-03-23 13:38   
Forgot to mention, this has been tested on GZDoom 2.4.0, gzdoom-x64-g2.4pre-616-gfd61571 and gzdoom-x64-2.5pre-135-ge12f486. All have this issue.
(0001101)
_mental_   
2017-03-24 15:00   
I've managed to track it down to multiple lines batching in F2DDrawer::AddLine() function. I hope to investigate it further tomorrow.
(0001104)
_mental_   
2017-03-25 04:33   
Fixed in 093a05b

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
463 [Gameplay + OpenGL] Bug minor always 2017-03-22 14:15 2017-03-23 04:19
Reporter: JP Platform: All  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash with unhelpful error message when node building fails
Description: After working fine for months, a work-in-progress UDMF map started crashing GZDoom. After a long troubleshooting process I determined it was because I'd added some sectors and things that extended past a fixed point map dimensions limit (32767 in Y axis). My workaround was simply to move the geometry back in bounds.

However, the error GZDoom gave was the very generic, ambigious "Failed to allocate -1 bytes from process heap" (in Windows) or "Failed to allocate memory from system heap" (in Linux).

When I try to build nodes for the map with ZDBSP, it gives a more helpful error:
[quote=]----MAP01----
Script error, line 6:
Fixed point value is out of range for key 'y'
    0.50 should be within [-32768,32767][/quote]

However I didn't see this error from my map editor (SLADE3) initially; I intend to file a similar bug with that project for better surfacing of node build errors.

I'm guessing that the GZDoom crash happens because its internal node builder fails for the exact same reason. When this happens, it would be nice if an error message like the more useful one ZDBSP outputs could be shown instead of the memory allocation message it currently shows.

Attached: versions of the map with the crash (crash.wad) and with the workaround applied (nocrash.wad)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: crash.zip (9,270 bytes) 2017-03-22 14:15
https://mantis.zdoom.org/file_download.php?file_id=153&type=bug
nocrash.zip (9,377 bytes) 2017-03-22 14:15
https://mantis.zdoom.org/file_download.php?file_id=154&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
243 [Gameplay + OpenGL] Feature feature N/A 2017-02-11 11:57 2017-03-21 18:43
Reporter: Lud Platform:  
Assigned To: Graf Zahl OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 16:10 Menu Support
Description: Crosspost from here: https://forum.zdoom.org/viewtopic.php?f=15&t=54692

The game's options are unreadable in the menu's current state. I have to use the CVARs to change anything.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000534)
Graf Zahl   
2017-02-12 18:52   
I can't test 1920x1200, but it should be fixed now, this was caused by not considering the widescreen effect when choosing the scaling factor, and it went into a special case for small screens, even for larger resolutions.
(0000693)
Lud   
2017-02-22 07:10   
(Last edited: 2017-02-22 07:14)
Tested. Partly fixed. At least now I can see the numbers. Why not add global menu scaling like the one for the HUD? That seems to be the universal solution to scaling problems. There's still an issue if I use custom fonts, even if the letters themselves are small.

(0001033)
Lud   
2017-03-17 18:18   
New note after extensive testing.
So it seems that aspect ratio sets the menu scale at compile time. Well, here are the issues.
FYI, on a 1920x1200 monitor atm. I will be able to send feedback until 30th of March or so. After that I will be moving to a 1920x1080 one.

//Aspect ratio is forced.
Aspect ratio: Off - menu is off-screen. Basically, what I reported.
Aspect ratio: 16:10 - same as above.
Aspect ratio: 16:9 - menu fits like a glove.
Aspect ratio: 4:3 - menu still fits like a glove.

Basically, the menu is fine on all aspect ratios except the one I'm actually using.
(0001037)
Graf Zahl   
2017-03-18 07:30   
I have no idea what you are doing. I can't see anything wrong in 16:10.
(0001041)
Lud   
2017-03-18 08:59   
(Last edited: 2017-03-18 09:00)
Remember, you need to restart the program. Here are pictures for reference. Both are on the same resolution (1920x1200). Taken with phone, because menu doesn't like getting screenshotted, apparently.

Forced 16:10 / Forced Off - http://imgur.com/QGrr77k
Forced 16:9 - http://imgur.com/MkrirA7

Downloaded newest dev build just to be sure (was on a week older build) and the only slight improvement is that on forced 16:9 the menu is only a little bit smaller. Everything else is still the same.

(0001045)
Graf Zahl   
2017-03-18 16:07   
I cannoz activate a screen size that is larger than my monitor so I simply cannot debug where the wrong scaling value gets picked - but from the looks of it it sees 1200 and chooses 6 which is too much here.
(0001048)
Lud   
2017-03-18 16:40   
(Last edited: 2017-03-18 16:40)
I'm available to test. Just need to know which build has a fix so I can test and post feedback. Keep in mind that I cannot compile the builds myself. Will need to wait for Blzut's autoupdater. Feedback may take a day to come.

(0001061)
Graf Zahl   
2017-03-19 12:38   
I hope it's better now.
(0001073)
Lud   
2017-03-21 10:45   
Can confirm it is fixed, but only if Forced Aspect Ratio is turned off. Using Forced 16:10 still has the issue. I'm not sure if this is worth reopening...
(0001077)
Graf Zahl   
2017-03-21 18:43   
It uses the actual screen size to decide how much it wants to scale. And forcing is bound to whack the logic quite effectively.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
369 [Gameplay + OpenGL] Bug minor always 2017-03-02 11:22 2017-03-19 13:38
Reporter: PillowBlaster Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [SBARINFO] drawinventorybar not responding
Description: What says on the tin, I guess. Custom inventory bar doesn't pop up while switching items.
Tags:
Steps To Reproduce: Tried with this mod. Either fullscreen or normal hud will suffice.

Tested with x64-g2.4pre-720-gcfda1a4. Works in x64-2.3.2 official.
Additional Information:
Attached Files:
Notes
(0000840)
Graf Zahl   
2017-03-02 11:57   
I cannot see any difference between ZDoom 2.8.0, GZDoom 2.3.2 and the latest devbuild. Can you make screenshots of the different behavior?
(0000841)
PillowBlaster   
2017-03-02 13:13   
(Last edited: 2017-03-02 13:19)
So this is how it supposed to look,

And here's how it fares in newest version. It directly browses through the items without popping the inventory switch bar out.

EDIT: It should also be noted that when that isn't defined, you just press use to use the currently selected item, right? Here, the bar isn't visible, yet it acts like it's still "there", so I have to confirm selecting that item by using it.

(0001060)
_mental_   
2017-03-19 09:12   
(Last edited: 2017-03-19 09:13)
The issue is present in both master and maint2.4 branches.
Inventory bar is missing from the screen indeed.

Affected modes are classic HUD (with screenblocks 10 and 11) and alternative HUD (screenblocks 11 only).

If I got it right the problem is in ST_X and ST_Y values that are out-of-sync between DSBarInfo object and the wrapper it contains (instance of DBaseStatusBar class).
When I changed these lines to use variables from the wrapper the issue disappeared.

But all this status bar stuff is far from being straightforward and this fix may potentially hide some more generic issue elsewhere.

(0001062)
Graf Zahl   
2017-03-19 13:34   
(Last edited: 2017-03-19 13:37)
And now take one guess why I make no progress with the status bar code. SBARINFO is doing so many weird stuff that it's nearly impossible to develop an adequate replacement.

This is a great example of the code fucking around with some internals in totally inappropriate places.
Instead of handling it cleanly, it just sets the global position to something different, draws some stuff and resets it immediately. It's downright dirty programming, unfortunately SBARINFO lives and dies with it.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
423 [Gameplay + OpenGL] (No Category) minor always 2017-03-12 20:46 2017-03-19 10:55
Reporter: DoomKrakken Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SBARINFO flag "WhenNotZero" is borked.
Description: In Guncaster, there are all these 1's that show up where powerup counters are supposed to be. They never go away, even if you don't have the powerup that corresponds to the number. And they are only supposed to show up when the amount of time remaining for the powerup is at 0 (because of the WhenNotZero flag).
Tags: Guncaster, GZDoom, SBARINFO, WhenNotZero
Steps To Reproduce: Run Guncaster with the latest GZDoom SVN build.
Additional Information: I've attached an image displaying the glitch in question.
Attached Files: hudwhoops.JPG (161,656 bytes) 2017-03-12 20:46
https://mantis.zdoom.org/file_download.php?file_id=132&type=bug
jpg
Notes
(0000949)
Graf Zahl   
2017-03-13 03:22   
Give me a smaller demo to test. Guncaster is far too large to test such issues.
And please read this:

https://forum.zdoom.org/viewtopic.php?f=49&t=55511
(0000951)
DoomKrakken   
2017-03-13 03:51   
Not sure if I can whip up a smaller one... but I can try...
(0001059)
_mental_   
2017-03-19 07:29   
(Last edited: 2017-03-19 07:30)
Works fine with Guncaster 2.8a using the latest master and maint2.4 branches.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
452 [Gameplay + OpenGL] Bug minor have not tried 2017-03-18 21:17 2017-03-19 06:17
Reporter: FishyClockwork01 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Script side OkayToSwitchTarget is not being called
Description: As far as I can tell this is the only place where OkayToSwitchTarget is called.
https://github.com/coelckers/gzdoom/blob/master/src/p_interaction.cpp#L1554
and there is no 'Call' prefix.

While I'm at it. (And this is just me being curious.)
Shouldn't this bit be "return OkayToSwitchTarget(other);"?
https://github.com/coelckers/gzdoom/blob/master/src/p_interaction.cpp#L1768
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001051)
_mental_   
2017-03-19 03:13   
Could you please post a sample that has this issue?
(0001058)
FishyClockwork01   
2017-03-19 06:15   
(Last edited: 2017-03-19 06:17)
Heh. I was just about to post an example. (The reason why I didn't earlier is because I thought the issue was obvious.)

Thanks, Graf. :)

EDIT: "(other;;" Uh, you kinda goofed up a bit there. :P
https://github.com/coelckers/gzdoom/blob/master/src/p_interaction.cpp#L1768


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
454 [Gameplay + OpenGL] Bug minor always 2017-03-19 03:51 2017-03-19 06:04
Reporter: theleo_ua Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Precachesounds causes a crash
Description: Precachesounds causes a crash

1) Run attached testmod with heretic iwad: gzdoom.exe -iwad heretic.wad -file TESTMOD\TESTMOD_PRECACHE_SOUNDS.pk3 -warp 1 1 -skill 4

Actual result: crash during loading a level
Expected result: souns is precached, no any crashes

Reproduced in GZDoom 2.3.2 x64


NOTE: in my example all sounds are existing in the mod. But I think 2 additional cases should be considered during fixing:

1) Sounds doesn't exists (or only partially exists) in current mod, but exists in IWAD or other mods, which are loaded with current mod. For example current mod has sounds "sound2" and "random (sound1 sound 2)", so if I want to precache that "random", then "sound1" should be cached from other mod (and if "sound1" not found in any loaded mods, then warning message should appear or this precache should be ignored without any crash)

2) Sounds doesn't exists anywhere. In this case warning message should appear or this precache should be ignored without any crash
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: TESTMOD_PRECACHE_SOUNDS.pk3 (37,339 bytes) 2017-03-19 03:51
https://mantis.zdoom.org/file_download.php?file_id=150&type=bug
Notes
(0001052)
theleo_ua   
2017-03-19 03:52   
(Last edited: 2017-03-19 03:53)
correct version of command line to run:

gzdoom.exe -iwad heretic.wad -file TESTMOD_PRECACHE_SOUNDS.pk3 -warp 1 1 -skill 4

(0001053)
_mental_   
2017-03-19 04:16   
(Last edited: 2017-03-19 04:16)
The crash was already fixed in master branch as part of bigger change.
I just pushed it to maint2.4 so it will be available in the upcoming release too.

(0001054)
theleo_ua   
2017-03-19 04:32   
What about additional notes I explained above? Precached sounds, which doesn't exists anywhere, partially exists or exists in other mods - will not cause a crash after your fix in master?
(0001055)
_mental_   
2017-03-19 04:36   
(Last edited: 2017-03-19 04:39)
About missing sounds warning: for some reason there is no such message at all even in developer mode. Maybe it's intentional, maybe no one wanted it before.

Like I said in the related forum topic, there is no notion of 'current mod', just lumps that belong to files from where they were loaded.
And so, no 'mod' separation inside the engine exists, list of actors is global, list of sounds too, same for textures and everything else.
In most cases it's possible to track from where particular thing came but that's all.

theleo_ua wrote

What about additional notes I explained above? Precached sounds, which doesn't exists anywhere, partially exists or exists in other mods - will not cause a crash after your fix in master?

They are all fixed. Everything is handled in one place.

(0001056)
Graf Zahl   
2017-03-19 06:04   
There is no missing sounds message because historically the sound system was too sloppy about this and now it is simply too late to change that unless you want many old mods cause console spam.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
450 [Gameplay + OpenGL] Bug crash always 2017-03-18 12:49 2017-03-18 16:59
Reporter: Lud Platform: Microsoft Windows  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Game crashes on starting an empty map.
Description: By empty map I mean literally a square and a player start in it, like the one attached. Also attached CrashReport.zip.

Tested on gzdoom-x64-2.5pre-85-gf3ae144.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: CrashReport.zip (22,583 bytes) 2017-03-18 12:49
https://mantis.zdoom.org/file_download.php?file_id=147&type=bug
MAP01.wad (1,266 bytes) 2017-03-18 12:49
https://mantis.zdoom.org/file_download.php?file_id=148&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
448 [Gameplay + OpenGL] Bug minor always 2017-03-18 00:19 2017-03-18 08:07
Reporter: TheCamaleonMaligno Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Translations defined in ZScript doesn't support more than one color
Description: not sure how to explain this because my native language is not english but i'll try:
I made a color translation that changes three group of colors from the palette, it works fine in decorate and the TRNSLATE Lump, but if i directly use it in ZScript it only takes the first, and the rest are ignored:
[code=] Class ZSMBaron : BaronOfHell { Default { Translation "16:47=[223,0,179]:[0,24,28]", //This one works "48:79=[128,128,128]:[0,0,0]", // but this one is ignored "112:127=[236,0,255]:[0,0,0]" ; // same ^ } } [/code]
i'll leave an exaple pic and a wad for testing purposes
Tags: GZDoom, ZScript
Steps To Reproduce:
Additional Information:
Attached Files: zscript translation.png (236,297 bytes) 2017-03-18 00:19
https://mantis.zdoom.org/file_download.php?file_id=145&type=bug
png

TranslationTest.wad (589 bytes) 2017-03-18 00:19
https://mantis.zdoom.org/file_download.php?file_id=146&type=bug
Notes
(0001035)
TheCamaleonMaligno   
2017-03-18 01:00   
(Last edited: 2017-03-18 01:15)
Sorry :b
Class ZSMBaron : BaronOfHell
{
    Default
    {
        Translation
"16:47=[223,0,179]:[0,24,28]", //This one works
"48:79=[128,128,128]:[0,0,0]", // but this one is ignored
"112:127=[236,0,255]:[0,0,0]"; // same here
    }
}


current version: gzdoom-x64-2.5pre-73-g309d086


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
445 [Gameplay + OpenGL] Bug minor N/A 2017-03-17 14:47 2017-03-18 07:40
Reporter: Camaxide Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Player *Ompf* on crossing line actions
Description: When I make a line action when the player crosses the line, which also requires a key to trigger - the player will make an *ompf* like when hitting the floor from a height or when pressing a button. I don't expect that to be the correct behavior? It sounds weird when the player ompf every time he crosses the line, just because he does not have the key yet..
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001038)
Graf Zahl   
2017-03-18 07:33   
I wish I could do something here, but cause and effect are too far removed in the code, there's no way to get the information across from the place where the walkover triggers it and where the lock system checks for the presence of the key.
(0001039)
Camaxide   
2017-03-18 07:40   
ok, thanks for looking into it Graf :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
446 [Gameplay + OpenGL] (No Category) minor have not tried 2017-03-17 18:16 2017-03-18 05:45
Reporter: Rachael Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: REJECT broken - monsters ignore you or do not attack
Description: Seems to have broken sometime today since ea1d6634f7e0f0374fab3f35973eb6b556a52125 and before c9296ead57746b37e53012a2c88c94da16f26d78
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001034)
SanyaWaffles   
2017-03-17 20:36   
Can confirm this happens.
(0001036)
_mental_   
2017-03-18 05:45   
Fixed in 4557f75

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
443 [Gameplay + OpenGL] Bug crash always 2017-03-16 21:34 2017-03-17 10:02
Reporter: AkiraZXE Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DRLA crashes when player gains armor
Description: Since at least February 17th (g2.4pre-538-g18925d0), DRLA crashes GZDoom and QZDoom, both 32-bit and 64-bit, if you pick up an armor bonus, or if you equip armor. I also tested the following GZDoom versions and got the same result:

g2.4pre-593-gbb6e667 on February 20th
g2.4pre-620-g10c6b7a on February 25th
g2.4pre-720-gcfda1a4 on March 2nd
g2.4pre-820-ge5a3d22 on March 7th
2.5pre-56-g005e687 on March 16th
q1.4pre-49-ga29e58b1d on March 16th

The only exception was the March 1st build (g2.4pre-711-g0583691), which gave the following error (which I imagine isn't related but I'll add it anyways):
Script error, "doomrl_arsenal_1.05.wad:DECORATE" line 4452:
Expected ',', got 'Species'.

It works as intended in GZDoom 2.3.2. Unfortunately I couldn't find any builds between 2.3.2 and the February 17th build. There's no way I tear this mod apart to figure out exactly what DRLA is doing to cause this crash.
Tags:
Steps To Reproduce: Pick up any armor bonus, or attempt to equip armor. Class, map, and other inventory seems irrelevant.
Additional Information:
Attached Files: CrashReport.zip (31,205 bytes) 2017-03-16 21:34
https://mantis.zdoom.org/file_download.php?file_id=144&type=bug
Notes
(0001028)
AkiraZXE   
2017-03-16 21:46   
Also might be worth noting that in DRLA, you're not supposed to be able to pick up armor bonuses at all if you don't have any armor equipped. No idea if the player is actually picking it up and causing the crash, or if it's a script involved in a silly hack that runs when you try.
(0001029)
_mental_   
2017-03-17 08:51   
(Last edited: 2017-03-17 09:14)
It began to happen in this commit.
I reproduced it with the following command line by hitting Use key twice after loading:
-iwad doom2 -file doomrl_arsenal_1.05.wad +map map01 +give RLGenericBootsPickup
Or the same crash with armor bonus pickup, just move forward after loading:
-iwad doom2 +map map10 -file doomrl_arsenal_1.05.wad +summon RLArmorBonusPickup

The crash is caused by this change to be precise.
Graf, will be enough to add nullptr check for this block of code?
It works for me but I'm curious about possible side effects.

(0001030)
Graf Zahl   
2017-03-17 09:54   
I'll have to check for the real problem. Just hiding it by leaving a stale pointer behind is not a good option.
(0001031)
Graf Zahl   
2017-03-17 10:01   
This code must work differently in ZScript and DECORATE because it is only an error in ZScript.
There's still an underlying problem in the compiled script that had to be relegated to a warning.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
437 [Gameplay + OpenGL] Bug minor always 2017-03-15 14:16 2017-03-16 13:22
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Menu virtual init not working properly
Description: At first I thought it was a bug with OnMenuCreated, but I think it's something deeper. See attached.

Also note that doing it the other way by making a custom OptionMenu itself and having it run OnMenuCreated after a super call in the init function will throw an error saying OnMenuCreated is an unknown property.

override void Init(Menu parent, OptionMenuDescriptor desc)
{
    Super.Init(parent, desc);
    // notify all items that the menu was just created.
    for(int i=0;i<mDesc.mItems.Size(); i++)
    {
        mDesc.mItems[i].OnMenuCreated();
    }
}
Tags:
Steps To Reproduce: 1. Open the main menu.
2. Open the options menu.

It's supposed to output a bunch of Beeps in the console, as Submenu was replaced with SubmenuBeep, but it does not.
Additional Information:
Attached Files: test.pk3 (2,399 bytes) 2017-03-15 14:16
https://mantis.zdoom.org/file_download.php?file_id=141&type=bug
Notes
(0001023)
Graf Zahl   
2017-03-16 12:56   
(Last edited: 2017-03-16 12:56)
The base declaration was missing a 'virtual' qualifier. Which you would have noticed if you hadn't forgotten the 'override' qualifier...

(0001025)
Major Cooke   
2017-03-16 13:22   
You didn't specifically state if it was meant to be virtual or not in your commit message so I assumed something like "not". You just called it a callback.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
440 [Gameplay + OpenGL] Bug minor always 2017-03-16 01:20 2017-03-16 12:56
Reporter: Matthew the Glutton Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [as of fea2361] Bobbing goes haywire if you alter it on the fly using ZScript
Description: It used to be that you can relatively smoothly transition from one viewbob amount to another. Now if it changes you rapidly jitter up and down.
Tags:
Steps To Reproduce: Tried with this build of HD: https://github.com/MatthewTheGlutton/HideousDestructor/tree/5fd04b727b83c032a03b072f464a3c4bb9e1eb7f

Ensure your movebob is set to above zero and at a level you can easily see. Run, sprint, walk around a bit, try walking crouched. Soon you'll start constantly shaking up and down as you try to move.
Additional Information:
Attached Files:
Notes
(0001014)
Matthew the Glutton   
2017-03-16 01:24   
Works as intended in 0176c29. I don't see anything in the intervening commits that relate to weapon/viewbob though.
(0001021)
Graf Zahl   
2017-03-16 12:35   
(Last edited: 2017-03-16 12:36)
The intervening commits pulled in QZDoom which snuck in a major change to the bobbing code:

    //[SP] Added (x*player->mo->ViewBob) to allow DECORATE changes to view bobbing speed.
    if (still)
    {
        if (player->health > 0)
        {
            angle = level.time / (120 * TICRATE / 35.) * 360. * player->mo->ViewBob;
            bob = player->userinfo.GetStillBob() * angle.Sin();
        }
        else
        {
            bob = 0;
        }
    }
    else
    {
        angle = level.time / (20 * TICRATE / 35.) * 360. * player->mo->ViewBob;
        bob = player->bob * angle.Sin() * (player->mo->waterlevel > 1 ? 0.25f : 0.5f);
    }


Those two multiplications with viewbob were not there before.

(0001024)
Rachael   
2017-03-16 12:56   
I probably had an improper version sitting in the QZDoom repository when Nash later fixed it.

I just took GZDoom's 2.4 version and stuck it in.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
365 [Gameplay + OpenGL] Feature minor always 2017-03-02 05:10 2017-03-15 19:23
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Per-sector FogDensity for ZScript
Description: I'd like to modify the per-sector FogDensity value in ZScript.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000837)
Graf Zahl   
2017-03-02 06:11   
This needs some refactoring of how the software renderer stores its colors first, it will have to wait until QZDoom gets merged back.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
354 [Gameplay + OpenGL] Feature minor always 2017-03-01 03:29 2017-03-15 04:37
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Retrieve RenderStyle in ZScript
Description: I'd like to request being able to retrieve an Actor's RenderStyle property in ZScript.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000818)
Graf Zahl   
2017-03-01 08:57   
This really isn't that easy because the internal value is something completely different than the symbolic constant you set with A_SetRenderStyle.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
393 [Gameplay + OpenGL] Feature feature N/A 2017-03-06 06:02 2017-03-14 19:00
Reporter: FishyClockwork01 Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Expose OkayToSwitchTarget to ZScript and make it virtual
Description: This function:
https://github.com/coelckers/gzdoom/blob/master/src/p_interaction.cpp#L1685

One use case being monster A never fights back monster B, but monster C will fight back monster B.

Another example would be monster A never fights back monster B, instead it will change its target to monster B's target, but only if monster B isn't targeting monster A.
Basically, having more control over infighting behavior.

I know this is THE function when it comes to deciding whether the victim will fight back something that (accidentally) hurt it. I rather not rely on doing some gross hacks (like overriding Tick and checking it there).
Tags: ZScript
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000896)
Graf Zahl   
2017-03-06 12:27   
Sure, but not now:
https://forum.zdoom.org/viewtopic.php?p=981984#p981984

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
404 [Gameplay + OpenGL] Feature feature have not tried 2017-03-08 15:59 2017-03-14 18:49
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Support for static const arrays in structs
Description: ...or something. Seriously, things are so warped right now with constants:

You can do constant regulars inside a class scope, but you can't do it in (actor) (anonymous) functions.
You can do static constant arrays inside (actor) (anonymous) functions, but you can't do those in class scopes.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000915)
Major Cooke   
2017-03-08 16:31   
Also I mainly bring this up because otherwise, we have to resort to hacks like this:

Struct ItemsToSave
{
    Array<String> ItemList;
    
    void Init()
    {
        static const String SavedItemsStr[] =
        {	
            "D4DCash",
            "AssaultRifleMod1", //1
            "AssaultRifleMod2",
            "ChaingunMod1",
            "ChaingunMod2",
            "GaussCannonMod1",
            "GaussCannonMod2",
            "PlasmaRifleMod1",
            "PlasmaRifleMod2",
            "RocketLauncherMod1",
            "RocketLauncherMod2",
            "ShotgunMod1",
            "ShotgunMod2",
            "SSGUpgrade1",
            "SSGUpgrade2",
            "SSGUpgrade3",
            "SSGUpgrade4",
            "PistolUpgradeAutomatic",
            "PistolUpgradeAltDamage",
            "PistolUpgradeAltCharge",
            "PistolUpgradeDamage",
            "PistolUpgradeLance",
            "BFGUpgrade1",
            "BFGUpgrade2",
            "BFGUpgrade3",
            "BFGUpgrade4", // 25
            "StaticUpgrade1",
            "StaticUpgrade2",
            "StaticUpgrade3",
            "StaticUpgrade4",
            "SovietActive",
            "SovietToken",
            "LGUpgradeAmmo",
            "LGUpgradeRange",
            "LGUpgradeDamage",
            "LGUpgradeAltFire",
            "VortexUpgradeDamage",
            "VortexUpgradeAmmo",
            "VortexUpgradeAltSpeed",
            "VortexUpgradeAltPierce",
            "RepeaterUpgradePiercing",
            "RepeaterUpgradeDamage",
            "RepeaterUpgradeAltDamage",
            "RepeaterUpgradeAltAmmo",
            "D4CarrionCannon",
            "D4CarrionToken",
            "CarrionLevel",
            "CarrionUpgradePickup",
            "CarrionUpgradeAmmo",
            "CarrionUpgradeStun",
            "CarrionUpgradeTime",
            "DollUses",
            "FragGrenadePickup",
            "HoloGrenadePickup",
            "SyphonGrenadePickup",
            "FragGrenadeSelected",
            "MarineHoloSelected",
            "SyphonGrenadeSelected",
            "D4Stamina",
            "ProtectionBonus1",
            "ProtectionBonus2",
            "ProtectionBonus3",
            "D4ArmorCapRaiser",
            "D4AirControl",
            "D4HigherJump",
            "D4MultiJump",
            "D4CrateUpgrade",
            "CashPercentBonus",
            "D4MegasphereDamageReducer",
            "D4MegachargeUpgrade1",
            "D4MegachargeUpgrade2",
            "D4DoomDollUpgrade1",
            "D4DoomDollUpgrade2",
            "D4RegenUpgrade1",
            "D4RegenUpgrade2",
            "D4RegenUpgrade3",
            "D4RegenUpgrade4" // 77
        };
        ItemList.Clear();
        for (int i = 0; i < SavedItemsStr.Size(); i++)
        {
            ItemList.Push (SavedItemsStr[i]);
        }
    }
};
(0000997)
Graf Zahl   
2017-03-14 14:00   
In case you wonder: I do not manage to get the syntax through Randi's wonderfully messed up grammar. Adding the feature itself would be trivial, but if doing so it should use the same syntax inside and outside functions, but the parser will not allow this outside of functions because some rules are so broad that they create endless conflicts that forced me to compromise the syntax before.
(0000998)
Major Cooke   
2017-03-14 14:16   
Understandable. Well, for now, my 'solution' above can suffice as I don't see anything breaking from that anytime soon.
(0001001)
Graf Zahl   
2017-03-14 17:53   
Got it solved. The trick was to fake a new token for 'static const' because the separate one would never work.
(0001003)
Major Cooke   
2017-03-14 17:56   
So do they all need staticconst now for the things defined in the original statement?
(0001004)
Graf Zahl   
2017-03-14 18:49   
No, I hacked that into the parser. If it encounters a 'static' token, it checks the next one and if that is 'const', they get merged into a 'staticconst' token (which you cannot specify directly in the source.)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
429 [Gameplay + OpenGL] Feature trivial N/A 2017-03-13 15:13 2017-03-14 17:55
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GZDoom devbuild naming + 3.0-pre tag
Description: After 3.0 working branch merge GZDoom devbuild names are a bit confusing.
I think we need to name them accordingly.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000967)
Graf Zahl   
2017-03-13 15:25   
Ok, devbuilds are now 2.5pre.
I won't do a major version bump until really needed.
(0001000)
_mental_   
2017-03-14 15:23   
But there is no tag in the repository. Didn't you forget to push it?
(0001002)
Graf Zahl   
2017-03-14 17:55   
Damn that TortoiseGit... :(

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
433 [Gameplay + OpenGL] (No Category) crash always 2017-03-14 09:51 2017-03-14 12:49
Reporter: SanyaWaffles Platform: Windows  
Assigned To: OS: Windows  
Priority: high OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GZDoom g2.4pre-2263-gdd89631 crashes - 32-bit only
Description: Only the 32-bit version seems to be crashing with this log:
LoadActors: Load actor definitions.
gzdoom.pk3:zscript/mapdata.txt, line 248: The member variable 'Sector.Lines' has mismatching sizes in 
internal and external declaration. (Internal = 8, External = 12)

Oddly the 64-bit is working fine and doesn't show the same error.
Tags:
Steps To Reproduce: Fire up gzdoom.exe g2.4pre-2263-gdd89631 - 32-bit version should error out with that message.
Additional Information:
System Description Enterprise
Attached Files:
Notes
(0000993)
ZZYZX   
2017-03-14 10:02   
(Last edited: 2017-03-14 10:03)
Say hello to different pointer sizes :D
The 8 vs 12 is probably 4 bytes for array size + the array pointer which is different size on different platforms.

(0000994)
Graf Zahl   
2017-03-14 10:52   
On 64 bit the two types that got mixed up here both are 16 bytes. Actually, one is 12 and one is 16 but it's the alignment that matters.

I will have to think about how to avoid this, the main problem is that the lines array is an impostor, because it looks like an array on the surface but in reality is just a reference into the buffer of a larger array that's owned by another object.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
426 [Gameplay + OpenGL] Bug block always 2017-03-13 10:59 2017-03-14 10:47
Reporter: Matthew the Glutton Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [cd392e5] won't start
Description:
...
LoadActors: Load actor definitions.
gzdoom.pk3:zscript/base.txt, line 3: The member variable '.AllActorClasses' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 4: The member variable '.playerclasses' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 5: The member variable '.PlayerSkins' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 6: The member variable '.Teams' has not been exported from the executable.

gzdoom.pk3:zscript/base.txt, line 7: The member variable '.validcount' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 8: The member variable '.Multiplayer' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 9: The member variable '.level' has not been exported from the executable.

gzdoom.pk3:zscript/base.txt, line 10: The member variable '.Bindings' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 11: The member variable '.AutomapBindings' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 12: The member variable '.deh' has not been exported from the executable.

gzdoom.pk3:zscript/base.txt, line 13: The member variable '.gameinfo' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 14: The member variable '.players' has not been exported from the executable.

gzdoom.pk3:zscript/base.txt, line 15: The member variable '.playeringame' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 17: The member variable '.gameaction' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 18: The member variable '.gamestate' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 19: The member variable '.skyflatnum' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 20: The member variable '.globalfreeze' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 21: The member variable '.consoleplayer' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 22: The member variable '.SmallFont' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 23: The member variable '.SmallFont2' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 24: The member variable '.BigFont' has not been exported from the executable.

gzdoom.pk3:zscript/base.txt, line 25: The member variable '.confont' has not been exported from the executable.

gzdoom.pk3:zscript/base.txt, line 26: The member variable '.IntermissionFont' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 27: The member variable '.CleanXFac' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 28: The member variable '.CleanYFac' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 29: The member variable '.CleanWidth' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 30: The member variable '.CleanHeight' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 31: The member variable '.CleanXFac_1' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 32: The member variable '.CleanYFac_1' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 33: The member variable '.CleanWidth_1' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 34: The member variable '.CleanHeight_1' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 35: The member variable '.menuactive' has not been exported from the 
executable.
gzdoom.pk3:zscript/base.txt, line 36: The member variable '.OptionMenuSettings' has not been exported 
from the executable.
gzdoom.pk3:zscript/base.txt, line 37: The member variable '.gametic' has not been exported from the executable.

gzdoom.pk3:zscript/base.txt, line 38: The member variable '.demoplayback' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 39: The member variable '.BackbuttonTime' has not been exported from 
the executable.
gzdoom.pk3:zscript/base.txt, line 40: The member variable '.BackbuttonAlpha' has not been exported from 
the executable.
37 errors, 0 warnings while compiling gzdoom.pk3:zscript/chex/chexplayer.txt
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: compileconsolelog.txt.7z (19,763 bytes) 2017-03-14 00:30
https://mantis.zdoom.org/file_download.php?file_id=137&type=bug
consolelogoutput-e7a677e.txt.7z (19,825 bytes) 2017-03-14 00:37
https://mantis.zdoom.org/file_download.php?file_id=138&type=bug
compileoutput-feb680a.txt.7z (19,787 bytes) 2017-03-14 00:59
https://mantis.zdoom.org/file_download.php?file_id=139&type=bug
Notes
(0000962)
Graf Zahl   
2017-03-13 14:13   
Works fine on Windows. Did you get any warnings when compiling the source?
(0000974)
Matthew the Glutton   
2017-03-14 00:30   
I have no idea what to even look for :(

I've attached the entire console output from compiling as release. pw is "gzdoom"
(0000975)
Matthew the Glutton   
2017-03-14 00:37   
Same thing with latest commit as well. (pw also gzdoom)
(0000976)
Matthew the Glutton   
2017-03-14 00:59   
Been getting this with every version from cd392e5 onwards that I've tried, but the one immediately before it works fine.
(0000977)
MarisaKirisame   
2017-03-14 03:08   
I can reproduce this with both Clang and GCC.
(0000982)
Graf Zahl   
2017-03-14 04:04   
I need someone to debug this on an affected platform. Like I said, it works fine on Windows which means I can't see what goes wrong here.
(0000986)
_mental_   
2017-03-14 04:44   
I'll take a look.
(0000991)
_mental_   
2017-03-14 07:42   
Proposed fix is here.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
384 [Gameplay + OpenGL] Feature feature N/A 2017-03-05 14:28 2017-03-14 06:56
Reporter: Camaxide Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Floor/Ceiling glow change by action or script.
Description: I'd like to be able to change the ceiling- and floor-glow of sectors during gameplay either through actions or scripts. Could this be implemented?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000898)
Graf Zahl   
2017-03-06 12:28   
https://forum.zdoom.org/viewtopic.php?p=981984#p981984

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
427 [Gameplay + OpenGL] (No Category) minor have not tried 2017-03-13 12:08 2017-03-14 06:26
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Menu OnCreate() virtual
Description: The init() command within options is only built for the game starting up itself.

For example, place this inside of, for example, any OptionMenuItem's init functions.
let plr = players[consoleplayer].mo;
if (plr)
{
    Console.Printf("Okay");
}
else
{
    Console.Printf("Ruh roh!");
}


You get a bunch of "Ruh roh!"s upon game start-up, but when you access the menus where they are used, they don't print "Okay".

That's where my suggestion comes into play.

OnCreate could be used for whenever a menu object like a menu itself, or a widget is created.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000983)
Graf Zahl   
2017-03-14 04:12   
I added an OnMenuCreated virtual to the items, because the items themselves get created at compile time, calling it OnCreated would be misleading.
(0000990)
Major Cooke   
2017-03-14 06:26   
Works for me! Thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
195 [Gameplay + OpenGL] Feature feature N/A 2017-02-06 13:17 2017-03-14 06:18
Reporter: zrrion the insect Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: JASC palette support, other palette changes
Description: It would be very useful to be able to use JASC palettes in place of PLAYPAL. They are easier to work with directly, instead of having to run an image through a converter.
They would also remove the 256 colour limit in everything but the 8 bit renderer, but a colour selection algorithm could be used to get the 256 most useful colours from the palette.
The shader that handles tone-mapping would probably also need to be changed to work with more than 256 colours.

Additionally, loading more than one palette would be useful in cases where redefining the entire palette is unnecessary as only a small number of colours outside of the IWAD palette are used.
Tags: Visual
Steps To Reproduce: N/A
Additional Information: N/A
Attached Files:
Notes
(0000412)
ZZYZX   
2017-02-06 13:28   
(Last edited: 2017-02-06 13:30)
Just curious, what would be the use case for a palette with more than 256 colors? The sole purpose of using a palette is to speed the software renderer by drawing 8 bits instead of 32. And even then it's pretty useless now since QZDoom's multithreaded software rendering is faster in 32bit than non-multithreaded in 8bit, at the same resolution.

(perhaps this should be called "let's invent better and easier ways to use translation without limiting ourselves to PLAYPAL"?)

(0000413)
zrrion the insect   
2017-02-06 14:01   
Some users/designers like the "chunky" look that the software renderer has, and expanding the palette would allow for more colours while keeping the software look.

I hadn't even thought of translations but that is a good point as well.
(0000415)
Graf Zahl   
2017-02-06 17:26   
Not really important. Maybe later when I have more time.
(0000418)
Rachael   
2017-02-07 01:15   
(Last edited: 2017-02-07 01:19)
What application allows you to select more than 256 colors in a palette?!

That being said reading and parsing a JASC file should be fairly straightforward but I am not sure I would want to support going beyond the traditional 8-bit. If you need more colors just load them in as truecolor images since you're using GZDoom anyway.

The next step up from 256 colors is naturally 65536 colors (aka 16-bit) - and at that point, you already have one bit more precision than rgb555 (which, funny enough, Windows used to actually display at that color depth) which is leering very close to true-color anyway.

If it's a file format that you're looking to support, that sounds more sensible than trying to hack the engine around some weird color palette setup.

(0000989)
Graf Zahl   
2017-03-14 06:18   
Only limited to 256 colors, because that's all that can be sensibly applied.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
394 [Gameplay + OpenGL] Feature feature have not tried 2017-03-06 07:06 2017-03-14 05:39
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SetInv ccmd
Description: We have a corresponding give and take command aligned with A_Give/TakeInventory but a SetInv (since Set is already used for console cvars) would work like A_SetInventory, with a boolean to go over maximum threshold.

SetInv <itemname> <overMax>
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000897)
Graf Zahl   
2017-03-06 12:28   
https://forum.zdoom.org/viewtopic.php?p=981984#p981984

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
244 [Gameplay + OpenGL] Bug minor always 2017-02-11 14:51 2017-03-14 05:13
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Obituaries don't work with replaced railguns
Description: See https://forum.zdoom.org/viewtopic.php?f=2&t=53731 . It happens also in current HEAD (gd2affc7).
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000587)
Graf Zahl   
2017-02-14 17:18   
Put on hold until someone comments on my forum post regarding this issue.
(0000601)
Xaser   
2017-02-15 09:38   
I've been wishing to comment, but to be frank, I'm not sure I'm fully understanding the issue. Can we not give railguns a default damagetype of 'Railgun' and add that to the ClientObituary whitelist? I'm probably missing a detail or two.

Maybe a better question to ask: do obituaries work if put on railgun puffs? If not, perhaps adding that and telling folks to use that method going forward is the way to go.
(0000602)
Graf Zahl   
2017-02-15 09:45   
Please don't ask me any specifics about the obituary system. That's another of those things that's being held together by worn out duct tape.
(0000603)
Xaser   
2017-02-15 09:48   
Perhaps a better status then is "Put on hold until someone replaces the duct tape." :P
(0000876)
Edward-san   
2017-03-05 18:33   
Just to note that this Zandronum commit was added and should fix the problem. What do you think about this, Graf?
(0000988)
Graf Zahl   
2017-03-14 05:13   
Yes, that was indeed missing here.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
136 [Gameplay + OpenGL] Feature feature unable to reproduce 2017-01-28 15:19 2017-03-14 04:43
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Ability to play INTERMISSIONs from ACS in the middle of a level.
Description: Basically, I'd like a way to have the big text-dumps that INTERMISSION screens offer, but in the middle of a level, through a script call. For example, you go up to a computer, you press "use" on it, and it shows you a text dump of some log explaining what happened. This would be really good for the maps which try to provide some sense of narrative without using complicated ACS or anything.
Tags: ACS
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000272)
Graf Zahl   
2017-01-29 05:01   
I may revisit this later but for the time being it's on hold.
(0000287)
RockstarRaccoon   
2017-01-29 21:08   
Kay.
It'd be really useful for Metroid Doom, because Samus likes to monologue, and the INTERMISSION stuff is pretty much exactly the way Metroid 3 and 4 show it.
(0000290)
Graf Zahl   
2017-01-30 08:23   
That may all be but as it stands, there is no functionality that could make this a quick addition and for the 2.4 release there's far more important things to do first.
(0000985)
Graf Zahl   
2017-03-14 04:43   
Added a StartSlideshow(name) function to both. Fortunately I could piggyback on Strife's slideshow code which also runs an intermission.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
432 [Gameplay + OpenGL] Bug major have not tried 2017-03-14 02:31 2017-03-14 04:02
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Animated Doors don't seem to close on their own anymore...
Description: Might have been broken when you added the closing functionality I asked for...

...Or may be something broken in my map and I don't know anything.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000981)
Graf Zahl   
2017-03-14 04:02   
There was one line of code missing, it must have been accidentally deleted.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
422 [Gameplay + OpenGL] Bug minor always 2017-03-12 19:40 2017-03-14 04:00
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [New 3.0 master] Polyobjects disappear
Description: In their closed state, they are just fine but when they move they disappear. Possible BSP error? When they go back to their closed state they are just fine again.

This occurs in both Software and OpenGL.

(This can be tested with Hexen MAP01 at the very entrance with the main door)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: fliptest.wad (12,719 bytes) 2017-03-14 04:00
https://mantis.zdoom.org/file_download.php?file_id=140&type=bug
Notes
(0000980)
6XGate   
2017-03-14 04:00   
Here is a WAD I used to test a bug with the textures, but now also shows the PolyObject disappearance bug.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
430 [Gameplay + OpenGL] Feature feature N/A 2017-03-13 19:47 2017-03-14 03:53
Reporter: unRyker Platform: Desktop Computer  
Assigned To: OS: Windows 10  
Priority: none OS Version: 64-bit  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: CVAR organization suggestions
Description: Item/pain flashes, view-bobbing and weapon bobbing speed seem more like options expected to seen in 'Player Setup'/'Miscellaneous Options'. Visually, yes they obviously change how the game looks but they feel out of place in display because they can affect how well the player can play the game as well as leaving it up to personal preference [unlike setting ambient level to 255, should there be a hardcoded limit? Multiplayer can be very easily abused by this].

In addition, can showing player sprites be archived? I prefer playing without them to free up the view.

Last thing, shouldn't Quad Stereo be moved into Sound settings?
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000978)
Graf Zahl   
2017-03-14 03:52   
The display options menu is in desperate need of cleanup, but this needs to be discussed first. I won't move items to places where they do not belong, though.

And regarding Quad Stereo, that has nothing to do with audio but with VR display modes.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
418 [Gameplay + OpenGL] Bug text always 2017-03-12 13:47 2017-03-13 17:03
Reporter: LordMisfit Platform:  
Assigned To: OS: Windows 10  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Difficulty selection in Hexen is aligned differently from other games
Description: As said above, and displayed with the included image.
Tags: Hexen
Steps To Reproduce: Just run GZDoom w/ Hexen and go to select your difficulty.
Additional Information:
Attached Files: GZDoomHexenDifficultyIdentationThing.png (893,610 bytes) 2017-03-12 13:47
https://mantis.zdoom.org/file_download.php?file_id=131&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
415 [Gameplay + OpenGL] Bug tweak always 2017-03-11 22:38 2017-03-13 15:23
Reporter: TheCamaleonMaligno Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Using the DontHurtShooter property on ZScript may crash the game
Description: i know it's deprecated but at least you can replace the crash with an orange message telling it's deprecated
Tags: GZDoom, ZScript
Steps To Reproduce: title
Additional Information: not sure in which gzdoom version it started but i think it's from the firsts days of march
Attached Files:
Notes
(0000935)
Rachael   
2017-03-12 00:25   
Example?
(0000936)
TheCamaleonMaligno   
2017-03-12 01:07   
Class FriendlyRocket : Rocket
{
    Default
    {
        DontHurtShooter;
    }
}

i'm currently using this version of gzdoom: gzdoom-x64-g2.4pre-861-gf1630ce
(0000939)
_mental_   
2017-03-12 05:43   
The crash is not related to DontHurtShooter property but to a missing value.
It's certainly a bug in ZScript parser because the crash happens with any other property.
(0000965)
_mental_   
2017-03-13 15:04   
(Last edited: 2017-03-13 15:11)
Non-boolean properties without a value are still crashing with this fix included:
Class FriendlyRocket : Rocket
{
    Default
    {
        FastSpeed;
    }
}

This was the main reason I didn't fix it by myself: I have alsmost no idea how to handle all kind of errors there.

(0000966)
Graf Zahl   
2017-03-13 15:23   
Argh!

I really don't understand why Randi had to do these stupid ring lists in the AST. They make processing this stuff needlessly complicated and then lead to error like this one.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
416 [Gameplay + OpenGL] Bug minor always 2017-03-12 03:18 2017-03-13 04:03
Reporter: HolyHeadcrab Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Physics-based weapons behaving incorrectly
Description: [GZDoom 2.3.2] Gameplay mods that use physics-based projectiles, like thrown weapons, will not arc correctly. They may spawn too high or too low for the proper behavior, or fall too fast.
Tags:
Steps To Reproduce: Use any gameplay mod that has such weapons. For simplicity's sake, Kira's Bizarre Adventure (https://forum.zdoom.org/viewtopic.php?f=43&t=54918) Has a coin toss weapon that should show off well.

Autoaim and Smart Autoaim off. Compatibility settings at default.
Additional Information:
Attached Files:
Notes
(0000937)
HolyHeadcrab   
2017-03-12 03:25   
I've also included two webms that show the difference between versions. The first one is using
g2.2pre-1579, the second is using 2.3.2.

2.2pre-1579
2.3.2
(0000938)
_mental_   
2017-03-12 05:02   
The pitch parameter of A_FireCustomMissile() was inverted in 2.3.x and the function itself was deprecated.
Sorry but the mod needs to be updated.
(0000941)
Rachael   
2017-03-12 07:15   
(Last edited: 2017-03-12 07:24)
This one seems tricky. A_FireCustomMissile should work exactly the same in all versions - if it worked differently before 2.3 then the issue is with 2.3 (and possibly newer). That being said, there has been a change in the engine somewhat recently regarding reversing the pitch because ZDoom had it backwards and it's affected a lot of things.

Feel free to correct me if I am wrong, though. >_>

(0000944)
_mental_   
2017-03-12 09:20   
I believe here is the topic from where this change is originated. It's fairy long but explains the situation with pitch inversion.
(0000945)
HolyHeadcrab   
2017-03-12 10:18   
Thank you for the responses! I'll just wait patiently until the mods I like playing are updated.
Is this the part where this gets closed?
(0000946)
Rachael   
2017-03-12 13:20   
I'm going to wait for Graf to review this before closing it. It's quite possible that nothing will be done GZDoom-side, because it would be difficult to systematically track what mods were broken by the change.
(0000952)
Graf Zahl   
2017-03-13 03:56   
(Last edited: 2017-03-13 04:02)
Damnit! I have to use 2.1 as a baseline and this is indeed different.

From the look at it, I renamed the function but simply forgot to correct it so it remained broken all along, but the newly added wrapper still inverted the pitch.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
425 [Gameplay + OpenGL] Bug minor always 2017-03-12 23:24 2017-03-13 03:30
Reporter: MTrop Platform: x86  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [g2.4pre-861-gf1630ce] StaticText in MENUDEF does not obey Font translations
Description: Font translations will not work on text written with "StaticText". It DOES work on "StaticTextCentered", though.
Tags:
Steps To Reproduce: Start GZDoom with square1.pk3 as an IWAD.
Open the menu.
Select "Start".

"Select Episode" does not appear purple, nor does "How Square are you?" on the next menu after selecting an episode. Cyan is the default color.

Happens on both the Software and OpenGL renderers.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
424 [Gameplay + OpenGL] Bug block have not tried 2017-03-12 21:47 2017-03-13 03:24
Reporter: Matthew the Glutton Platform:  
Assigned To: OS: Debian Jessie  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [60fd79c] won't compile
Description:
[ 31%] Building CXX object src/CMakeFiles/zdoom.dir/posix/sdl/i_joystick.cpp.o
src/CMakeFiles/zdoom.dir/build.make:191: recipe for target 'src/CMakeFiles/zdoom.dir/posix/sdl/hardware.cpp.o' 
failed
make[2]: *** [src/CMakeFiles/zdoom.dir/posix/sdl/hardware.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/scripting/vm/vm.h:6:0,
                 
from /home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/./dobjtype.h:18,
                 from /home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/./dobject.h:373,
                 
from /home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/./m_argv.h:37,
                 from /home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/posix/sdl/i_input.cpp:7:

/home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/./vectors.h: In member function 
‘void TVector3<vec_t>::GetRightUp(TVector3<vec_t>&, TVector3<vec_t>&)’:

/home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/./vectors.h:538:28: error: ‘FLT_EPSILON’ 
was not declared in this scope
   if (fabs(fn[0] - 1.0f) < FLT_EPSILON || fabs(fn[1] - 1.0f) < FLT_EPSILON || fabs(fn[2] - 1.0f) 
< FLT_EPSILON)
                            ^
In file included from /home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/textures/textures.h:5:0,
                 
from /home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/posix/sdl/i_gui.cpp:10:

/home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/./vectors.h: In member function 
‘void TVector3<vec_t>::GetRightUp(TVector3<vec_t>&, TVector3<vec_t>&)’:

/home/mchan223/doom/gzdoom-60fd79ce23f797cc73e89a8febffbcf1f946d2db/src/./vectors.h:538:28: error: ‘FLT_EPSILON’ 
was not declared in this scope
   if (fabs(fn[0] - 1.0f) < FLT_EPSILON || fabs(fn[1] - 1.0f) < FLT_EPSILON || fabs(fn[2] - 1.0f) 
< FLT_EPSILON)
                            ^
src/CMakeFiles/zdoom.dir/build.make:214: recipe for target 'src/CMakeFiles/zdoom.dir/posix/sdl/i_gui.cpp.o' 
failed
make[2]: *** [src/CMakeFiles/zdoom.dir/posix/sdl/i_gui.cpp.o] Error 1
src/CMakeFiles/zdoom.dir/build.make:237: recipe for target 'src/CMakeFiles/zdoom.dir/posix/sdl/i_input.cpp.o' 
failed
make[2]: *** [src/CMakeFiles/zdoom.dir/posix/sdl/i_input.cpp.o] Error 1
CMakeFiles/Makefile2:719: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
411 [Gameplay + OpenGL] Bug major always 2017-03-11 00:27 2017-03-11 16:40
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: RETURN map scripts being run after re-loading savegame
Description: RETURN map scripts are being run again after re-loading a savegame on a map that has such scripts.
Tags:
Steps To Reproduce:
  1. Load up WolfenDoom: Blade of Agony with a recent GZDoom build.
  2. Go to INTERMAP. Optionally, play through some of the missions until Marlene Dietrich appears.
  3. Save your game.
  4. Re-load your saved game.
  5. The time of day and/or weather may change, or Marlene Dietrich and her audience will vanish.
Additional Information:
Attached Files:
Notes
(0000931)
Graf Zahl   
2017-03-11 12:06   
BoA is as good as useless for testing. We need a smaller, more contained example.
(0000932)
Talon1024   
2017-03-11 13:24   
(Last edited: 2017-03-11 13:46)
Here's something I cooked up to test this.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
412 [Software Renderer] (No Category) crash always 2017-03-11 05:36 2017-03-11 12:05
Reporter: Graf Zahl Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Voxel renderer lacks handling of default-paletted voxel in true color software
Description: If such a voxel is encountered, CreateBgraSlabData crashes/asserts.
Moreover, such voxels must be translateable, so they cannot use the standard BGRA data but must use the 8 bit version with translation lookup.
Tags:
Steps To Reproduce: Starting ZDCMP2 will crash immediately.
Additional Information:
Attached Files:
Notes
(0000929)
dpJudas   
2017-03-11 11:34   
Okay, I fixed this so it doesn't crash and also added translation support in the 32 bit case.

However, I don't have a wad with such a translated voxel, so I didn't test if it truly works now. Anyone know a wad using this feature?
(0000930)
Graf Zahl   
2017-03-11 12:05   
Sorry, no. I only remember the exact same crash in the GL renderer when the palette feature was added, so I could point you in the right direction but I do not know any mod.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
374 [Gameplay + OpenGL] Bug minor always 2017-03-03 11:32 2017-03-11 10:21
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Skybox and line portals + SSAO bug
Description: See example map. Look out the window and look up to the sky. You'll see some black stuff that only manifests with SSAO turned on.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: skybox ssao bug.wad (13,100 bytes) 2017-03-03 11:32
https://mantis.zdoom.org/file_download.php?file_id=117&type=bug
Notes
(0000851)
Nash   
2017-03-03 11:34   
If you NOCLIP and walk into the big area outside of the room, and look up to the sky, the bug won't happen. It only happens when you're looking through the line portal
(0000853)
dpJudas   
2017-03-04 01:14   
This is somewhat related to the issue Tormentor has been talking about. The code deciding if a certain scene/portal render needs SSAO is not good enough and misjudges which should use SSAO and which shouldn't.

I'll look into it soon. I'm sure the fix isn't that difficult, but it requires me getting a little bit better understanding how FGLRenderer::DrawScene is called so it can correctly skip SSAO.
(0000855)
Nash   
2017-03-04 07:35   
Thank you for taking a look @dpJudas , I hope you can find a way... I can't imagine building my map any other way :)
(0000863)
MarisaKirisame   
2017-03-04 15:56   
Oh, glad this is being looked into. SSAO affecting skyboxes is annoying.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
410 [Gameplay + OpenGL] Bug trivial sometimes 2017-03-10 02:07 2017-03-11 00:35
Reporter: Matthew the Glutton Platform:  
Assigned To: OS: Debian Jessie  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Mysterious, harmless(???) memory corruption on exit
Description: Often while running HD, on exit I'd get this:

*** Error in `/home/mchan223/doom/./gzdoom': malloc(): memory corruption: 0x0000000005803100 ***

Nothing in play seems to be amiss and the error does not appear until I hit exit. Setting this to low priority since literally all I see go wrong is that error message.
Tags:
Steps To Reproduce: IDDQD, summon a "HDMImp" run off a few paces ahead and let it spam you with fireballs for a while, then exit.

I think I've been able to get it with the other imp actors (HDImp, HDHImp) before but I have not been able to reproduce this with them now.
Additional Information: Link to latest version of HD used: https://github.com/MatthewTheGlutton/HideousDestructor/tree/afb99831e0ddd6e6b6b36f91e05f68df9aacbfac
Attached Files:
Notes
(0000922)
Graf Zahl   
2017-03-10 03:36   
This wasn't harmless. Fortunately in a debug build the broken code immediately threw up an error so it was relatively easy to find.
(0000928)
Matthew the Glutton   
2017-03-11 00:28   
(Last edited: 2017-03-11 00:35)
Still getting it as of f1630ce. :(

It's a different address each time, this time I got *** Error in `/home/mchan223/doom/./gzdoom': malloc(): memory corruption: 0x00000000051a8df0 ***

and sometimes (before this last fix) it would say something about an invalid list or something.


...as of f1630ce I can only replicate this memory corruption on a release build, not debug.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
359 [Software Renderer] (No Category) minor have not tried 2017-03-01 13:00 2017-03-10 09:23
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dynamic Light on long span draws look incorrect
Description: Example is in Unloved: https://forum.zdoom.org/viewtopic.php?f=42&t=25358

map map02
kill monsters
warp 2300 1300
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Screenshot_Doom_20170223_224116.png (399,788 bytes) 2017-03-01 13:00
https://mantis.zdoom.org/file_download.php?file_id=111&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
358 [Software Renderer] (No Category) minor have not tried 2017-03-01 12:52 2017-03-10 08:41
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "vid_hw2d false" + "screenblocks <=9" causes crash
Description: Stack trace:
>	qzdoom.exe!swrenderer::DrawSprite32T<swrenderer::DrawSprite32TModes::OpaqueSprite,swrenderer::DrawSprite32TModes::TextureSampler>::Execute(DrawerThread 
* thread) Line 84	C++
     qzdoom.exe!DrawerCommandQueue::Push<swrenderer::DrawSprite32T<swrenderer::DrawSprite32TModes::OpaqueSprite,swrenderer::DrawSprite32TModes::TextureSampler>,swrenderer::SpriteDrawerArgs 
const & __ptr64>(const swrenderer::SpriteDrawerArgs & <args_0>) Line 178	C++
     qzdoom.exe!swrenderer::SpriteDrawerArgs::DrawMaskedColumnBgra(swrenderer::RenderThread * thread, 
int x, int iscale, FTexture * tex, int col, double spryscale, double sprtopscreen, bool sprflipvert, 
const short * mfloorclip, const short * mceilingclip, bool unmasked) Line 237	C++
     qzdoom.exe!swrenderer::SpriteDrawerArgs::DrawMaskedColumn(swrenderer::RenderThread * thread, int 
x, int iscale, FTexture * tex, int col, double spryscale, double sprtopscreen, bool sprflipvert, const 
short * mfloorclip, const short * mceilingclip, bool unmasked) Line 126	C++
     qzdoom.exe!SWCanvas::DrawTexture(DCanvas * canvas, FTexture * img, DrawParms & parms) Line 185	
C++
     qzdoom.exe!DCanvas::DrawTextureParms(FTexture * img, DrawParms & parms) Line 162	C++
     qzdoom.exe!DCanvas::DrawTexture(FTexture * img, double x, double y, int tags_first, ...) Line 119	
C++
     qzdoom.exe!DCanvas::FlatFill(int left, int top, int right, int bottom, FTexture * src, bool local_origin) 
Line 287	C++
     qzdoom.exe!OpenGLSWFrameBuffer::FlatFill(int left, int top, int right, int bottom, FTexture * src, 
bool local_origin) Line 2848	C++
     qzdoom.exe!V_DrawBorder(int x1, int y1, int x2, int y2) Line 1152	C++
     qzdoom.exe!DBaseStatusBar::RefreshBackground() Line 560	C++
     qzdoom.exe!DBaseStatusBar::Draw(EHudState state) Line 742	C++
     qzdoom.exe!DSBarInfoWrapper::Draw(EHudState state) Line 1618	C++
     qzdoom.exe!D_Display() Line 830	C++
     qzdoom.exe!D_DoomLoop() Line 1031	C++
     qzdoom.exe!D_DoomMain() Line 2703	C++
     qzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035	C++
     qzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int nCmdShow) 
Line 1345	C++
     [External Code]	
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
406 [zdoom.org (Site)] Feature feature have not tried 2017-03-08 21:38 2017-03-09 22:14
Reporter: Major Cooke Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Up spoiler limit to 10
Description: Because I've been granted permission to take control of AEoD's thread, over half of the post appears broken at the moment due to the spoiler limit being easily reached.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
405 [Gameplay + OpenGL] Bug minor always 2017-03-08 18:57 2017-03-09 11:44
Reporter: Blue Shadow Platform: PC x64  
Assigned To: OS: Windows  
Priority: low OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: NOINFIGHTSPECIES actor flag problem
Description: See: http://forum.drdteam.org/viewtopic.php?f=22&t=7551
Tags: actor logic
Steps To Reproduce:
  1. Summon two shotgun guys and let them hit each other; they will infight.
  2. Set the infighting CVAR to 1, summon two hell knights and let them hit each other, they will infight.
Additional Information: Tested with: 2.4pre-832-gde9c922
Attached Files: noinfight.pk3 (235 bytes) 2017-03-08 18:57
https://mantis.zdoom.org/file_download.php?file_id=125&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
408 [Gameplay + OpenGL] Bug block always 2017-03-09 09:54 2017-03-09 10:44
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GZDoom.pk3 syntax error
Description:
Script error, "gzdoom.pk3:zscript/base.txt" line 367:
Unexpected ';'
Expecting ')'


Also, it appears this may or may not have been accidentally changed.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
402 [Gameplay + OpenGL] Bug major always 2017-03-07 22:10 2017-03-08 12:04
Reporter: AFADoomer Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Replacement IWADs that don't replace menu graphics cause fatal error on MENUDEF parse
Description: If you try to run an IWAD replacement (that isn't coded into the engine as such, but depends on being loaded with '-iwad' or via another game file's gameinfo IWAD section), GZDoom still parses the default MENUDEF for that game type and throws a fatal error if the image lumps aren't found.

Specific use case:

The Wolf3D TC bombs out with an error message... It contains a MAP01 placeholder lump that causes the engine try to load the IWAD as doom2.wad when you run 'gzdoom -iwad .\Wolf3D.pk7'. In the past this worked with no issue.

"Execution could not continue.

Script error, "gzdoom.pk3:menudef.txt" line 42:
Unknown texture M_DOOM"
Tags:
Steps To Reproduce: Try to run the Wolf3D TC.

-or-

Load the attached .pk7 with -iwad... It should dump you to a menu with an ugly title graphic over a missing titlepic if it loads properly, since it's essentially empty, but generates the same load error in current GZDoom (ge5a3d22).

The "IWAD" is detected as doom2.wad, GZDoom tries to parse the default doom2 menudef entry, then errors out.
Additional Information:
Attached Files: Menudef_Error.pk7 (4,100 bytes) 2017-03-07 22:10
https://mantis.zdoom.org/file_download.php?file_id=124&type=bug
Notes
(0000908)
_mental_   
2017-03-08 02:03   
It's a trivial task to change this back to a warning.
But first take a look related conversation here.
You need to convince Graf to make the error a warning again ;)
(0000909)
Graf Zahl   
2017-03-08 03:17   
The main problem here is not that the texture is missing but that one of the base games needs to be set, even for a completely standalone mod and that its associated menu content is parsed from gzdoom.pk3.

Of course this can be reduced to a warning but ideally the engine should know that the internal menu is not needed and skip its validation entirely

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
401 [Gameplay + OpenGL] Feature minor have not tried 2017-03-07 13:52 2017-03-07 15:55
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: CountInv clearscope
Description: This one is still missing.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
400 [Gameplay + OpenGL] Feature feature have not tried 2017-03-07 10:05 2017-03-07 12:48
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Functions for Access in Menus from Player
Description: Currently the two functions I can think of are CountInv and FindInventory off the bat. There may be more later.

Perhaps another function to retrieve vars from them, unless that's not necessary?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000903)
Graf Zahl   
2017-03-07 11:38   
I hope I got all of them.
(0000905)
Major Cooke   
2017-03-07 12:48   
They haven't been pushed it appears.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
396 [Gameplay + OpenGL] Bug minor always 2017-03-06 15:46 2017-03-07 11:55
Reporter: Camaxide Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Reflective floor under doors bug
Description: When a door is closed, with a reflective surface under it, it creates a pitch black never-ending black reflection.
http://i.imgur.com/tHF3mU7.png
http://i.imgur.com/V4FJ3ZP.png
leaving a 1 pixel gap between the floor and ceiling - or simply making the floor just under the door non-reflective will solve the render-error.
http://i.imgur.com/e1G0GTL.png

Is this something that can be fixed, or is this simply a technical result of how the Doom engine blocks VIS when there is no air between the floor and ceiling?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000904)
Graf Zahl   
2017-03-07 11:55   
This was just some optimization that shouldn't be done if the sector has a closed door.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
388 [Gameplay + OpenGL] Bug major always 2017-03-05 19:54 2017-03-07 00:10
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DECORATE mods produce millions of warnings
Description: Things like A_ChangeFlag and every other DECORATE originating function/property are no longer being ignored by the DECORATE parser.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
385 [Gameplay + OpenGL] Bug major always 2017-03-05 16:06 2017-03-06 12:06
Reporter: Tormentor667 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Inconsistency between GZDB and GZDoom on texture offset (negative scaling)
Description: I don't know if this is a GZDB bug or a GZDoom bug so I am cross-posting this here and in the GZDB thread. Can't tell since when it happens but some texture alining doesn't work properly ingame if it works well in GZDB.

GZDB (laterst build r2930)
http://i.imgur.com/8aei31v.jpg

GZDoom (latest build from today)
http://i.imgur.com/oo0Hrk5.jpg

GZDB texture setting:
http://i.imgur.com/IH5mnD5.jpg

I think that the negative scaling somehow makes problems in terms of consistency how the engine handles it and how the editor handles it.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: ineditor.jpg (76,781 bytes) 2017-03-05 16:06
https://mantis.zdoom.org/file_download.php?file_id=118&type=bug
jpg

ingame.jpg (51,951 bytes) 2017-03-05 16:06
https://mantis.zdoom.org/file_download.php?file_id=119&type=bug
jpg

texture.jpg (78,667 bytes) 2017-03-05 16:06
https://mantis.zdoom.org/file_download.php?file_id=120&type=bug
jpg
Notes
(0000873)
Graf Zahl   
2017-03-05 18:30   
It was changed recently because scrolling textures with a negative scale were scrolling in the wrong direction. This was a GZDoom-exclusive issue, in ZDoom it was correct, it was also introduced somewhere in 2012 when some mirroring issues were badly fixed.


Apparently GZDB followed the incorrect setting in older GZDooms.
(0000874)
Graf Zahl   
2017-03-05 18:32   
I also strongly recommend to use the 'worldpanning' setting with mirrored textures to avoid anomalies.
(0000880)
ZZYZX   
2017-03-05 21:33   
What exactly was changed? What was the old behavior and what's the new one? I'll change it in GZDB.
(0000894)
Tormentor667   
2017-03-06 11:26   
"Worldpanning"?
(0000895)
Graf Zahl   
2017-03-06 12:06   
@ZZYZX:
For flipped textures the offset coordinates were also flipped by being multiplied with the negative scale.

@Tormentor:

Worldpanning is a texture option that uses world coordinates for texture offsets, not texel coordinates. The entire texel coordinate thing was a misguided idea by Randi that over time has caused endless trouble and sadly I failed to address this when TEXTURES got made by changing the default.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
390 [Gameplay + OpenGL] Bug major always 2017-03-05 21:14 2017-03-06 11:35
Reporter: ZZYZX Platform: x86  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A_FireCustomMissile in old mods ceased to work
Description: On startup, it claims that A_FireCustomMissile is deprecated since version 2.3.0 and silently no-ops it.
Tags:
Steps To Reproduce: https://forum.zdoom.org/viewtopic.php?f=3&t=52859 - in this mod, firing the pistol won't work.
Additional Information: I'm currently using GZDoom git revision ad89d3eea0ede0b96bf4432e24ca12c6a3c6eefe.
This is the revision that already has the ZScript versioning in.
It's not a devbuild yet, built it myself.
Also, it's not a build problem because when I build 5d3244c3a7bf482eb13930b0cca8c9ab621b9658 it works, so this seems to indeed be a regression caused by the versioning system.
Attached Files:
Notes
(0000883)
Major Cooke   
2017-03-06 07:15   
I can second this. It's completely broken.
(0000888)
Major Cooke   
2017-03-06 10:23   
So I found out how to fix it but most likely Graf will disapprove of it.

https://github.com/coelckers/gzdoom/commit/2b5fea4ea8f4d9efbec62323e26020e283ab42cc#diff-ec8622f9738fb93b40a63088652a233fR8519

Delete this line.
(0000889)
Major Cooke   
2017-03-06 10:41   
This has been fixed and can be closed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
377 [Gameplay + OpenGL] Bug block always 2017-03-04 08:24 2017-03-05 20:09
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: immediate OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Const qualifiers causing compile issues
Description:
Class PowerDemonAmp : PowerLightAmp
{
    override bool IsBlinking()
    {
        if (!Owner.CountInv("DemonMorphFlashed"))
        {	return true;	}
        return Super.IsBlinking();
    }
}


I was using this for a while since 2.3.2, and now this no longer works.

Worse yet, D4D is now completely broken.

http://archive.allods2.eu/d4d/

Tags:
Steps To Reproduce:
Additional Information: Script error, "D4D.pk3:zd4d/debug.txt" line 68:
Can't call play function A_Log from data context
Script error, "D4D.pk3:zd4d/debug.txt" line 90:
Can't call play function A_LogInt from data context
Script error, "D4D.pk3:zd4d/debug.txt" line 131:
Can't call play function Destroy from data context
Script error, "D4D.pk3:zd4d/pinata.txt" line 173:
Expression must be a modifiable value
Script error, "D4D.pk3:zd4d/pinata.txt" line 183:
Expression must be a modifiable value
Script error, "D4D.pk3:zd4d/pinata.txt" line 191:
Expression must be a modifiable value
Script error, "D4D.pk3:zd4d/monsters/monsterbase.txt" line 101:
Can't call play function A_SpawnItemEx from data context
Attached Files:
Notes
(0000856)
Major Cooke   
2017-03-04 08:27   
...Okay I should have mentioned 'runtime' issues. In short, these changes are breaking mods based on 2.3.2 right off the bat. Not good.
(0000857)
Graf Zahl   
2017-03-04 10:26   
I see the main design flaw in the system.

A struct may not impose a usage type by itself, only the instance must.
(0000859)
Major Cooke   
2017-03-04 11:35   
That's not the only problem. People who are already using things like the above powerup example will have to deal with this:

AEoDdat.pk3:zaeod/powerup.txt, line 1019: Attempt to change const qualifier for virtual function isBlinking
(0000860)
Graf Zahl   
2017-03-04 11:40   
That one falls under 'wasn't in an official release'. The isBlinking function was only introduced in 2.4pre and I explicitly warned about the risk of such issues happening.
(0000861)
Major Cooke   
2017-03-04 11:41   
That's fair. Adding const fixed that issue, but what are we supposed to do about things like this?

Script error, "AEoDdat.pk3:zaeod/powerup.txt" line 1021:
Can't call play function CountInv from data context


The Owner.CountInv is throwing an error.
(0000864)
Graf Zahl   
2017-03-04 17:26   
Still under discussion.
(0000871)
Graf Zahl   
2017-03-05 15:09   
The version I got works again, it's approx. 2 weeks old.
(0000878)
Major Cooke   
2017-03-05 20:09   
(Last edited: 2017-03-05 20:09)
http://archive.allods2.eu/d4d/

Try this one, which is about a week old.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
382 [Gameplay + OpenGL] Submission minor N/A 2017-03-05 08:20 2017-03-05 15:31
Reporter: _mental_ Platform:  
Assigned To: Graf Zahl OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Continuous integration builds
Description: I think it's a good idea if all commits and pull requests will be built on various platforms by default.

I've finished configuration of Travis CI for GZDoom repository.
Linux and macOS targets are built with all dependencies except FMOD.
And I hope AppVeyor will follow.

Could you please authorize the corresponding application on GitHub?
Just go to https://travis-ci.org/ and press Sign in with GitHub on top of the page.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000869)
_mental_   
2017-03-05 13:05   
And re-enable AppVeyor integration please, I have a working config for it too (without dependencies but I plan to add them soon).
(0000870)
Graf Zahl   
2017-03-05 15:08   
AppVeyor is set to only build branches with a config. Since there is none, it won't do anything. If you got one, please commit it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
381 [Gameplay + OpenGL] (No Category) trivial have not tried 2017-03-04 17:27 2017-03-04 18:50
Reporter: Matthew the Glutton Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Distance3D is much slower than (a.pos-b.pos).length()
Description: In the below example, using .length() gives me about 1080 ms/frame, while using distance3d gives about 1800+ ms/frame.

Not a huge deal, just seems kinda pointless to have another actor function that, despite being simpler on its face, is much less efficient.
Tags:
Steps To Reproduce:
/*
vid_fps 1;summon cru;
vid_fps 1;summon fin;
*/

class Cru:Actor{
    int blah1;
    states{
    spawn:
        BAL1 A 1 nodelay{
            for(int i=0;i<1000000;i++){
                blah1+=(players[0].mo.pos-pos).length();
            }
        }wait;
    }
}
class Fin:Actor{
    int blah1;
    states{
    spawn:
        BAL1 A 1 nodelay{
            for(int i=0;i<1000000;i++){
                blah1+=distance3d(players[0].mo);
            }
        }wait;
    }
}
Additional Information:
Attached Files:
Notes
(0000866)
Graf Zahl   
2017-03-04 17:38   
That's because it is doing a lot more. It's also overhead from the function call.
Distance3D is a portal aware function and needs to check the portal table.
(0000867)
Matthew the Glutton   
2017-03-04 18:50   
Portals... I knew I forgot something!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
379 [Gameplay + OpenGL] Bug minor always 2017-03-04 13:28 2017-03-04 17:33
Reporter: Blue Shadow Platform: x64  
Assigned To: OS: Windows  
Priority: low OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ResetItems MAPINFO property is broken
Description: That property doesn't seem to have an effect, and I think I know why: in this line, LEVEL2_RESETINVENTORY should be LEVEL3_RESETINVENTORY, instead.
Tags: Mapinfo
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000862)
Blue Shadow   
2017-03-04 13:35   
Forgot to mention that this was tested with 2.4pre-728-g1761da6.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
378 [Gameplay + OpenGL] Bug minor always 2017-03-04 12:05 2017-03-04 17:28
Reporter: AFADoomer Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Possible typo in Texman GetSize funciton definition
Description: https://github.com/coelckers/gzdoom/blob/7d96f85fe89e5134911f15866a0c85727bb71405/src/textures/texturemanager.cpp#L1211

[code=c++]if (numret > 0) ret[0].SetInt(x); if (numret > 1) ret[1].SetInt(x); [/code]

Both return values are set to "x" - the width. Don't think this is correct...
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
376 [Gameplay + OpenGL] Submission trivial N/A 2017-03-04 05:32 2017-03-04 05:55
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Is it OK to remove FStringNoInit?
Description: FStringNoInit class floods GCC output with warnings on every source file with zstring.h included.
However this class is not used anywhere. Is it OK to remove it?

Warnings can be silenced by other means.
But do we really need to add more #ifdef's and #pragma's for something that looks like old cruft?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
371 [Gameplay + OpenGL] Bug minor have not tried 2017-03-02 19:23 2017-03-03 12:12
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "attempt to save pointer to unhandled type" does not go to fullscreen console
Description: What the summary said. Yes, I actually maanged to trigger this to happen while experimenting with a post-death exit restore system using global variable approved thinkers (see Nash's thread) somehow, but instead of going to console, it just prints a big fat text on the screen and freezes the game up.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: test.pk3 (2,386 bytes) 2017-03-02 20:17
https://mantis.zdoom.org/file_download.php?file_id=115&type=bug
Notes
(0000843)
Major Cooke   
2017-03-02 20:17   
I figured out how to reproduce the effect and I know what causes it.

Load the test file and start a new game. Then do ChangeMap to another map, can be any. Bam. Instant freeze after the melting screen is gone.

What causes it?

At the top of the ZScript file, you'll see there's a CVar type object defined. If you comment that out, it won't freeze anymore. Also, the cvar test is not invoked at all -- there's no calls to it, or anything.
(0000844)
Graf Zahl   
2017-03-03 08:16   
FYI, the problem is that any variable in a serialized class muxt be a serializable type or be declared transient. I guess this will require a compile time check at least for all subclasses of Thinker which have to be fully serializable.

But that's for later. I think fixing the freeze is the more important issue for now.
(0000845)
Major Cooke   
2017-03-03 08:17   
(Last edited: 2017-03-03 08:19)
Agreed. I don't see any harm requiring the transient flag for now, as we can store the results straight to string/float/color/ints easily enough.

(0000846)
_mental_   
2017-03-03 10:11   
My lame attempt to fix the freeze was to add I_FreezeTime(false); line to D_ErrorCleanup() function. Although it won't fly because I_FreezeTime() calls must be balanced.
Found no way to do so with the existing interface. Platform specific backend needs to report time frozen state somehow. Or probably we should remove the balance requirement.
(0000849)
Graf Zahl   
2017-03-03 11:30   
This cannot fall through to D_ErrorCleanup. It must be caught at a higher level so that proper cleanup of the serializer can be done.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
373 [Gameplay + OpenGL] Bug minor always 2017-03-03 10:34 2017-03-03 11:53
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PlayerRespawned EventHandler doesn't work
Description: Attached example file. When the player respawns, the text "I LIVE AGAIN!!!!" does not get output to the console.
Tags:
Steps To Reproduce: Start the game
AddBot
Kill
Press use to respawn
Additional Information:
Attached Files: RespawnHandler.pk3 (403 bytes) 2017-03-03 10:35
https://mantis.zdoom.org/file_download.php?file_id=116&type=bug
Notes
(0000848)
Nash   
2017-03-03 10:35   
Woops
(0000852)
Graf Zahl   
2017-03-03 11:53   
This wasn't even implemented!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
372 [Gameplay + OpenGL] Bug trivial always 2017-03-03 10:05 2017-03-03 11:31
Reporter: Lud Platform: Microsoft Windows  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: VSync option not working
Description: I can't pinpoint it to a specific version, because it's been going on for a long time.
On Nvidia GTS 450 here. Drivers updated.

I have the settings in the Nvidia Control Panel set to application-specific, but even then the VSync option in GZDoom does nothing. Setting VSync to 'on' in the control panel fixes the tearing.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000847)
Lud   
2017-03-03 10:16   
(Last edited: 2017-03-03 10:34)
A quick note. The issue seemed to have fixed itself after setting the control panel VSync to on and then app-specific again and restarting the game, but I am certain the issue can be reproduced. Somehow. Ignore the 'always' in the Reproducibility field. It's more like random.

EDIT: Got screwed up again during gameplay. Restarting game no longer helps. Seems to be really random.

(0000850)
Graf Zahl   
2017-03-03 11:31   
Should hopefully be fixed with dpJudas's last commit.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
370 [Gameplay + OpenGL] Bug crash always 2017-03-02 14:07 2017-03-02 14:21
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dying because of a damaging floor causes a crash
Description: Simple as the title.
Tags:
Steps To Reproduce: Go to a map with a damaging floor. Stand in the sector until it kills you. Crash.
Additional Information: Crash report attached from map18 of Doom 2.

Noticed with gzdoom-x64-g2.4pre-720-gcfda1a4 (March 02 build)
Attached Files: CrashReport.zip (23,749 bytes) 2017-03-02 14:07
https://mantis.zdoom.org/file_download.php?file_id=114&type=bug
Notes
(0000842)
_mental_   
2017-03-02 14:21   
This was already fixed in 26f7902

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
368 [Gameplay + OpenGL] Bug major have not tried 2017-03-02 06:36 2017-03-02 11:41
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Variable Howlsound not found in <Actor>
Description: It seems something is trying to check for a non-existent property when it's not defined on a certain actor.

It was absolutely sporadic -- I don't know how to properly reproduce this effect, but a check should probably be put in place to see if the property exists.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000838)
Major Cooke   
2017-03-02 06:40   
(Last edited: 2017-03-02 06:48)
To clarify it goes to full console and shuts down the game.

What would be helpful as well, is if we could get a trace of who tried to access it, actually. That way I can more thoroughly investigate this in greater detail.

(0000839)
Graf Zahl   
2017-03-02 11:41   
The trace wouldn't have helped you here. This was an internal error that was the direct result of a programming mistake, not something your mod did.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
367 [Gameplay + OpenGL] Feature trivial always 2017-03-02 05:22 2017-03-02 06:15
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: FOGP constants not exported in ZScript
Description: Constants for the fog parameters.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
366 [Gameplay + OpenGL] Bug minor always 2017-03-02 05:18 2017-03-02 06:09
Reporter: FishyClockwork01 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A_ProgrammerMelee damages self instead of target
Description: ...because DamageMobj is missing the target. prefix.
https://github.com/coelckers/gzdoom/blob/master/wadsrc/static/zscript/strife/programmer.txt#L98
Tags:
Steps To Reproduce: Summon Programmer (you may want to use Buddha cheat) and go up to him so he uses his melee attack. Instead of damaging you, he'll be damaging himself. Sometimes even flinching in pain.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
356 [Gameplay + OpenGL] Bug major always 2017-03-01 08:11 2017-03-02 03:51
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Texture loading time increased?
Description: I don't know when or where, but on RelWithDebInfo at least, texture loading time has increased significantly, somehow.

AEoD is one such mod where it used to only take 6 seconds to load on my machine, but now it takes approximately double or triple that amount now, and I've no idea what caused it, but it was recent.

Note: It doesn't matter if the load succeeds or not, I'm simply pointing out the timing.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000819)
Graf Zahl   
2017-03-01 08:58   
Have you tried different versions to find out since when this happens?
(0000820)
Major Cooke   
2017-03-01 09:03   
Currently backtracking one day at a time, last commit of the day to find out when and where this happenened to change. It's taking me a while.
(0000821)
Major Cooke   
2017-03-01 10:31   
(Last edited: 2017-03-01 11:11)
Okay. I went back as far as GZDoom 2.3, which I know back then it wasn't that slow. I hadn't updated to the latest Windows 10 Anniversary update. One thing I had forgotten about was Windows 10 Anniversary reset my profiles such as my color corrections on the intel display driver. I didn't realize it also reset my NVidia profile for my GZDoom.

Just another reason why this should be considered.

And yet despite repurposing the driver once more and all the settings, it's still slow to loading... Hmmm...

(0000822)
Graf Zahl   
2017-03-01 12:50   
I am considering the patch - my problem with it is that I'd like to disable the items if no such hardware can be detected and I do not know yet how.
(0000823)
Rachael   
2017-03-01 13:06   
(Last edited: 2017-03-01 13:07)
It simply sets an environment variable, and you need special drivers in order to even recognize it (which are available for the mobile chipsets). If it's the menu item that's troubling you, that can easily be removed.

At its default, it does not manipulate GZDoom's user environment in any way, so post-patch no one should even notice a change unless they try to change it in the menu.

What happens if you try to use it without a dual-GPU setup?

(0000826)
Graf Zahl   
2017-03-01 15:12   
Nothing happens, but it has been bothering me that there's options in the menu that should be set on a need-to-have basis. For OpenGL 2.x I already hacked the menu but this needs to be done in a cleaner fashion as the amount of options increases.
(0000835)
Rachael   
2017-03-02 03:21   
Well if we're going to go that far, we might as well also hide OpenGL options in software and software options in OpenGL. I just watched a video of a guy who was confused about all the options available - and clearly did not make the distinction of what would work while he was in OpenGL mode...
(0000836)
Graf Zahl   
2017-03-02 03:51   
The renderer options need to be better sorted, this was one of those issues which didn't sit well with ZDoom, but now it can be addressed. I wouldn't hide the options for the other renderer, but I would hide options for incompatible hardware.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
363 [Gameplay + OpenGL] Bug block always 2017-03-01 20:54 2017-03-02 03:20
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: BloodColor no longer accessible on other actor properties
Description: Originally before the meta stuff, BloodColor was capable of being used like this:

[code=cpp]Color DevourBloodColor = (ChewToy.BloodColor & 0xffffff);[/color]

But that's now broken and errors up on startup.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000831)
Major Cooke   
2017-03-01 20:55   
(Last edited: 2017-03-01 20:56)
Color DevourBloodColor = (ChewToy.BloodColor & 0xffffff);


Well we're not going to be using the bug tracker for much longer so I can't complain about the inability to edit my post for the time being.

(0000833)
Graf Zahl   
2017-03-02 02:30   
Yes, it was temporarily disabled because it needs refactoring and I want to avoid compatibility problems if that results in some internal change. The reason is that currently the translation index is stored in the alpha channel which limits it to 255 blood colors globally.

Once both variables are cleanly separated it will return.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
312 [Gameplay + OpenGL] Bug minor always 2017-02-20 11:03 2017-03-02 03:01
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: event/neteven CCMD doesn't work in multiplayer
Description: As confirmed by ZZYZX: https://forum.zdoom.org/viewtopic.php?f=3&t=55274#p978842
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: ffff.pk3 (1,171 bytes) 2017-02-23 08:51
https://mantis.zdoom.org/file_download.php?file_id=98&type=bug
sprint key.pk3 (1,274 bytes) 2017-02-24 18:35
https://mantis.zdoom.org/file_download.php?file_id=103&type=bug
Notes
(0000713)
ZZYZX   
2017-02-23 08:18   
'event' is not networked. If 'netevent' doesn't work however, it's a bug. I need someone (-->Edward850) who can understand how networking works.
(0000756)
Nash   
2017-02-24 18:35   
The previous example file is not working. Uploading the correct one here.

(btw, I tried to delete it but the attachment is still there o_O Weird. Anyway, ignore ffff.pk3 and use this one instead, this one works correctly in single player, and doesn't work in multiplayer, as per original bug description)
(0000784)
Rachael   
2017-02-26 16:52   
(Last edited: 2017-02-26 17:23)
Somehow the stream is getting corrupted. A few debug Printf's showed that the first output is okay (which is the stringname), the successive outputs (args) are much less reliable.

(0000791)
Graf Zahl   
2017-02-26 19:22   
netevent is also not handled in Net_SkipCommand which is a no-no.
(0000792)
Graf Zahl   
2017-02-26 19:32   
Can you retry? I fixed a few of the problems in there but I'm not sure it's enough.
(0000793)
Rachael   
2017-02-27 00:30   
Well it works locally, I can tell you that much.

Over the network, however... well, it works for the most part... I can't reproduce what I did to get it to fluke, though.
(0000795)
Nash   
2017-02-27 02:14   
I tested with local multiplayer (2 instances of GZDoom, one with -host and the other with -join) and it seems to work. Should we assume that if it works in local multiplayer, it will work correctly in real multiplayer over the internet?
(0000796)
Rachael   
2017-02-27 03:34   
Yes. There is not enough motivation/interest in ZDoom's multiplayer to keep it maintained much beyond that.
(0000834)
Graf Zahl   
2017-03-02 03:01   
This should be correct now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
364 [Gameplay + OpenGL] Bug minor always 2017-03-01 22:12 2017-03-02 02:59
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cannot replace actors directly anymore
Description: If I load a pk3 file with a root decorate file that includes other decorate script files, and I load another pk3 file after the first one that has replacement files for some of the files loaded by the root decorate file of the first pk3, and there are no new actor classes in the files replaced by the second pk3, the replacements won't work if there is no decorate.txt in the second pk3.
Tags:
Steps To Reproduce:
  1. Load up Trailblazer_v1.4.ok3 and the fix from here.
  2. Give yourself either a Fleshrend or Leadspitter, and then the Kinetic Fist blueprint upgrade. (summon leadspitterpickup; summon kineticfistblueprintbringer; summon kineticfistblueprintbringer; summon kineticfistblueprintbringer)
  3. You will raise two leadspitters or fleshrends after punching, even though you only have one. This is what my patch is intended to fix.
Additional Information: I don't know if this change was intentional or not, but I use this feature a lot, because I use it to keep my version of WolfenDoom: Blade of Agony up to date, as well as fix a small problem with Trailblazer 1.4.

Doing this used to work with GZDoom 2.3.2, but now it doesn't.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
362 [Gameplay + OpenGL] Bug text N/A 2017-03-01 18:32 2017-03-02 02:13
Reporter: jpalomo Platform:  
Assigned To: _mental_ OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: OPTVAL_NO_DOORS in menu
Description: The new option for showtriggerlines displays as OPTVAL_NO_DOORS in the menu. The language entry, OPTVAL_NODOORS, is actually located in language.eng instead of language.enu.
Tags: localization
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000832)
_mental_   
2017-03-02 02:13   
Fixed in 384accb

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
357 [Gameplay + OpenGL] Bug minor always 2017-03-01 11:35 2017-03-01 13:53
Reporter: PillowBlaster Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [GLDEFS] Broken pulselights
Description: The pulselights seem to be a bit broken now. It goes from zero to full size instead of the intended vice versa. I thought that the values got reversed, so I tried to switch SecondarySize with Size... but it gave me the same, unintended effect anyway.
Tags:
Steps To Reproduce: Using this mod, switch to the cannon (slot 5) or supershotgun (slot 3), fire the projectiles anywhere in GZDoom. Been using the x64-g2.4pre-711-g0583691.

For a control version in which it worked fine, I used x64-g2.3pre-343-g49605bc. As a side note, in x64-2.3.2 official, the cannon one does not seem to appear at all.
Additional Information:
Attached Files:
Notes
(0000824)
Graf Zahl   
2017-03-01 13:53   
It should be noted that this was totally undefined behavior and you can consider yourself lucky that it was restorable.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
355 [Gameplay + OpenGL] Bug block always 2017-03-01 07:42 2017-03-01 13:21
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Mismatch loading errors
Description: Load D4D and immediately it gets "mismatch" errors that normally wouldn't be present.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
353 [Gameplay + OpenGL] Bug crash always 2017-02-28 19:49 2017-03-01 13:11
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Unable to save or load games
Description: Stack trace:

>	qzdoom.exe!FString::operator=(const char * copyStr) Line 222	C++
     qzdoom.exe!PString::ReadValue(FSerializer & ar, const char * key, void * addr) Line 1026	C++
     
qzdoom.exe!PStruct::ReadFields(FSerializer & ar, void * addr) Line 2345	C++
     qzdoom.exe!PClass::ReadAllFields(FSerializer & ar, void * addr) Line 2730	C++
     qzdoom.exe!FSerializer::ReadObjects(bool hubtravel) Line 1041	C++
     qzdoom.exe!G_SerializeLevel(FSerializer & arc, bool hubload) Line 932	C++
     qzdoom.exe!G_UnSnapshotLevel(bool hubLoad) Line 1601	C++
     qzdoom.exe!G_DoLoadLevel(int position, bool autosave) Line 1071	C++
     qzdoom.exe!G_DoLoadGame() Line 2056	C++
     qzdoom.exe!G_Ticker() Line 1102	C++
     qzdoom.exe!TryRunTics() Line 1949	C++
     qzdoom.exe!D_DoomLoop() Line 1029	C++
     qzdoom.exe!D_DoomMain() Line 2703	C++
     qzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035	C++
     qzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int nCmdShow) 
Line 1345	C++
     [External Code]	
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000815)
Rachael   
2017-02-28 19:51   
For an autosave:
>	qzdoom.exe!PName::WriteValue(FSerializer & ar, const char * key, const void * addr) Line 
1100	C++
     qzdoom.exe!PStruct::WriteFields(FSerializer & ar, const void * addr, const TArray<PField 
*,PField *> & fields) Line 2306	C++
     qzdoom.exe!RecurseWriteFields(const PClass * type, FSerializer & ar, const void * addr) Line 
2652	C++
     qzdoom.exe!RecurseWriteFields(const PClass * type, FSerializer & ar, const void * addr) Line 
2639	C++
     qzdoom.exe!RecurseWriteFields(const PClass * type, FSerializer & ar, const void * addr) Line 
2639	C++
     qzdoom.exe!FSerializer::WriteObjects() Line 973	C++
     qzdoom.exe!FSerializer::GetCompressedOutput() Line 1109	C++
     qzdoom.exe!G_SnapshotLevel() Line 1574	C++
     qzdoom.exe!G_DoSaveGame(bool okForQuicksave, FString filename, const char * description) Line 2275	
C++
     qzdoom.exe!G_DoAutoSave() Line 2185	C++
     qzdoom.exe!G_Ticker() Line 1112	C++
     qzdoom.exe!TryRunTics() Line 1949	C++
     qzdoom.exe!D_DoomLoop() Line 1029	C++
     qzdoom.exe!D_DoomMain() Line 2703	C++
     qzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035	C++
     qzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int nCmdShow) 
Line 1345	C++
     [External Code]	

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
349 [Gameplay + OpenGL] Bug major always 2017-02-27 16:06 2017-02-28 18:04
Reporter: Camaxide Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Flac playback stutters when looping.
Description: Previously I had some issues with Flac playback, but it was fixed by setting SND_STREAMBUFFERSIZE 128.
This fixed the streaming stutter but recently I've started playtesting again and realized I now have issues whenever the track loops. As I use Audio_loop Audio_Loop Wiki in pretty much all the music for my mod it breaks things up a good bit when it stutters every time the track loops. As I've been doing other work than playtesting recently I haven't really got a good idea of how long this problem has been present, but as I started to play through tracks again recently I notice it happening - and I believe it happens in every track, every time. I'm using the fmodex for audio in GzDoom.

I will do some testing on my older Gzdoom versions asap and see when the problem has started - but parhaps this is already a known issue, or that it like the other stutter has some setting that can be set to solve it?
Tags:
Steps To Reproduce: Have a regular large Flac file with LOOP_START and LOOP_END properly set to loop music and play it back in new versions of GzDoom using fmodex (I have set snd_streambuffersize to 128 on my end)
Additional Information:
Attached Files:
Notes
(0000808)
Graf Zahl   
2017-02-27 16:45   
Since the future of FModEx is somewhat in doubt due to the planned license change I see no reason to invest time here for now. The FLAC problem is just another nail in its coffin.
(0000812)
Camaxide   
2017-02-28 10:20   
is there any way to simply use the old FModEx versions with the new GzDoom version? since the old FModEx does not have any issues with this. or are there any other important changes that need the newer versions of FmodEx to function?
(0000813)
Graf Zahl   
2017-02-28 11:46   
I remember that there was a CVAR added to address the problem but right now I cannot remember which one.

About the old version, FModEX is unfortunately not ABI compatible, so it may work or it may not.
You can certainly try getting older DLLs from the download in the GZDoom archive and see if some of them work and solve the problem.
(0000814)
Camaxide   
2017-02-28 12:54   
After playing around a lot with snd_buffersize and snd_buffercount - which I had to set snd_buffersize to 5000 to have smooth playback I realized this wasn't the way to go - as it would also delay all ingame sounds with about a second.. I then fell back to the snd_streambuffersize and found that with default snd_buffersize and snd_buffercount - but snd_streambuffersize risen from 128 to 1024 would provide smooth playback..
I also found that Flac files of 20mb would play back and loop smooth with a value of 128, while files of 60mb would play back smooth with 128, but require 1024 to be able to loop smoothly as well..
I also found that it does not matter how much of the file is actually played.. even if a large 60mb file is set to loop only the first second of the track it will still skip if the snd_streambuffersize isnt set high enough.

I hope these finds will be of use if anyone else who use huge flac-files run into the same problem.

You can switch this into 'solved' now Graf :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
351 [Gameplay + OpenGL] Bug minor have not tried 2017-02-28 07:25 2017-02-28 11:47
Reporter: FishyClockwork01 Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ACS specials 'Round' and 'Ceil' order mismatch between p_acs.cpp and zspecial.acs
Description: What the title says.

According to this, Ceil comes first, then Round.
https://github.com/coelckers/gzdoom/blob/master/src/p_acs.cpp#L4372

But this has it the other way around.
https://github.com/rheit/acc/blob/master/zspecial.acs#L415
Tags: ACS
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
233 [Gameplay + OpenGL] Bug major always 2017-02-10 09:36 2017-02-28 05:41
Reporter: rex Platform:  
Assigned To: OS: Windows  
Priority: high OS Version: 7 Pro  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Setting Gravity Via MAPINFO Creates "Variable" Gravity In-Game
Description: When gravity is assigned to a map via MAPINFO (not via ACS), the initial gravity upon entering the map is excessively high. (It almost seems like zero gravity.) This continues to be the case until the game is saved and reloaded. At that point the gravity resets itself to the properly-defined value in MAPINFO.
Tags:
Steps To Reproduce: 1. Set gravity in map via MAPINFO
2. Start map and jump. [Ensure that the sector has an adequate ceiling height (e.g., 896 above floor).]
3. Save map
4. Reload saved game
5. Jump
Additional Information: Tested with gzdoom-x64-g2.4pre-387-gbe9b2b3

This does not happen when the gravity is assigned sector-specifically via ACS.
Attached Files:
Notes
(0000508)
_mental_   
2017-02-11 07:53   
I tried the following:
  1. Set gravity value to 100 for MAP30 of Doom II
  2. Verified that player jumps quite high in the icon of sin areas
  3. Saved the game, started new game and loaded saved one: player still jumps quite high
  4. Removed custom gravity for MAP30 to use default value (800)
  5. Loaded the game with low gravity (100) and player still jumps high
I must say that it works fine for me. Could you please provide a test sample with the problem you described?
I'm using the latest gzdoom-x64-g2.4pre-392-gd2affc7 at the moment.
(0000612)
Graf Zahl   
2017-02-15 16:11   
(Last edited: 2017-02-15 16:18)
The property definitely gets saved. And this looks like it's working correctly. Without a testable example I can't do much here. I suspect external interference but for that I need to have something that glitches.

(0000750)
Graf Zahl   
2017-02-24 12:18   
Ok, since nobody seem to be willing to say anything, I'm closing this now.
(0000811)
rex   
2017-02-28 05:41   
Sorry about being silent. I have been without computer access for about 2 weeks. I tested with gzdoom-x64-g2.4pre-681-gf9f9f2d.7z and all is well. Many thanks for taking care of this.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
347 [Gameplay + OpenGL] Bug minor always 2017-02-27 09:27 2017-02-27 15:55
Reporter: Da Spadger Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Launching wad with custom SBARINFO hud and using -warp 01 results in no hud until map01 is reloaded
Description: Title sums it up fairly well. See steps to reproduce for details.
Tags: GZDoom
Steps To Reproduce: 1: Download test wad included and make a shortcut with the parameters -file [path to test.wad] and -warp 01.
2: Run GZDoom using that shortcut.
3: No hud shows up. Use IDCLEV 01 to reload MAP01 or die to achieve the same effect.
4: Hud shows up.
Additional Information:
Attached Files: test.wad (669 bytes) 2017-02-27 09:27
https://mantis.zdoom.org/file_download.php?file_id=109&type=bug
Notes
(0000804)
Graf Zahl   
2017-02-27 11:08   
I cannot reproduce this. The HUD just appears normally when starting the game.
(0000806)
_mental_   
2017-02-27 14:42   
What's the version of GZDoom you are using? What's the value of screenblocks CVAR?
Or even better please attach your .ini file.
(0000807)
Da Spadger   
2017-02-27 15:51   
It does indeed work as intended with the latest devbuild release. I'll make sure to check for that next time.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
348 [Software Renderer] Bug crash always 2017-02-27 09:32 2017-02-27 11:16
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: Rachael OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash when opening automap
Description: In paletted, if transparency is set to "precise", QZDoom crashes whenever I bring up the automap.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: qzdoom-crash.log (14,637 bytes) 2017-02-27 09:32
https://mantis.zdoom.org/file_download.php?file_id=110&type=bug
Notes
(0000805)
Rachael   
2017-02-27 11:16   
Fixed. The automap was calling a function that was attempting to pass rgb888 colors into the rgb666 array, causing an out-of-bounds look-up.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
345 [Gameplay + OpenGL] Bug crash always 2017-02-27 05:34 2017-02-27 09:51
Reporter: ZZYZX Platform: x86_64  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Serializer doesn't check for ZScript class compatibility
Description: There should be something similar to ACS bytecode compatibility check in ZScript, since right now incompatible classes cause various problems (from undefined behavior to crashing), while expected behavior would be "fatal: can't unserialize incompatible zscript entity %classname%".
Tags:
Steps To Reproduce: 1. Load ZTEST02.wad
2. summon TestActor
3. Save the game
4. Load ZTEST01.wad

It will crash.
Additional Information:
Attached Files: ZTEST01.wad (327 bytes) 2017-02-27 05:54
https://mantis.zdoom.org/file_download.php?file_id=106&type=bug
ZTEST02.wad (417 bytes) 2017-02-27 05:54
https://mantis.zdoom.org/file_download.php?file_id=107&type=bug
Notes
(0000798)
ZZYZX   
2017-02-27 05:35   
(Last edited: 2017-02-27 05:49)
Note that this situation (with similarly named classes with completely different hierarchy/contents/whatever) is quite real for a large mod that updates frequently, like D4D, and even GZDoom's own classes should they ever be altered in the future.

(0000799)
Graf Zahl   
2017-02-27 07:55   
This problem has been present in one form or another since ZDoom was created. I see no urgency that suddenly has developed now.
(0000800)
Graf Zahl   
2017-02-27 08:16   
Fixed this particular crash which wasn't lack of handling in the serializer but the inability of the C runtime to handle an exception being called from within a destructor.
(0000801)
ZZYZX   
2017-02-27 09:01   
(Last edited: 2017-02-27 09:07)
>This problem has been present in one form or another since ZDoom was created. I see no urgency that suddenly has developed now.

ZScript was added. With DECORATE, the worst thing that could happen with altered class is messing up the states of the actor, while in ZScript it means that completely different objects are tried to be serialized with unpredictable effects on the mod logic.

This really needs to be handled on the GZDoom side rather than making people remember that savegames+different ZScript mod versions=nono.

(0000802)
Graf Zahl   
2017-02-27 09:51   
Maybe. I think there needs to be some hash over the actor defaults that gets stored in the savegame as well. But like I said: That has been an even worse problem with the old binary savegame format than it is now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
346 [Gameplay + OpenGL] Bug crash have not tried 2017-02-27 06:30 2017-02-27 07:53
Reporter: SanyaWaffles Platform: Windows  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Typo in DamageType definitions code causes crash
Description: at line 871, with the introduction of the OBITUARY definition in the MAPINFO way of defining damagetypes, it seems defining a FACTOR value crashes the game unless you change one line of code in info.cpp.
The Error Message:
Script error, "ddrama.pk7:mapinfo/cluster.txt" line 11:
Unexpected data (1.0) in damagetype definition.

I fixed the bug on my own custom build of GZDoom by changing Line 871 to an else if statement like so:
if (sc.Compare("FACTOR"))
{
    sc.MustGetStringName("=");
    sc.MustGetFloat();
    dtd.DefaultFactor = sc.Float;
    if (dtd.DefaultFactor == 0) dtd.ReplaceFactor = true;
}
else if (sc.Compare("OBITUARY"))
{
    sc.MustGetStringName("=");
    sc.MustGetString();
    dtd.Obituary = sc.String;
}

I used gzdoom-x64-g2.4pre-681-gf9f9f2d.7z and dragging and dropping a MAPINFO.txt file (which is just a file from part of my total conversion, albiet renamed) to test this.
Tags:
Steps To Reproduce: 1.) Load latest dev-build of GZDoom (gzdoom-x64-g2.4pre-681-gf9f9f2d.7z)
2.) Use ther attached MAPINFO.txt to test the game
3.) drag and drop my modded text-file onto gzdoom dev-build version indicated above
4.) Should crash with a similar error message
Additional Information:
System Description Enterprise
Attached Files: MAPINFO.txt (239 bytes) 2017-02-27 06:30
https://mantis.zdoom.org/file_download.php?file_id=108&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
325 [Gameplay + OpenGL] Bug major always 2017-02-23 08:03 2017-02-27 04:35
Reporter: ZZYZX Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Duplicate classes in old DECORATE mods cause fatal error
Description: Example wad: Zen Dynamics, which is a really classic wad and doesn't run in new GZDoom anymore solely because of this.
It's a good idea to have this as fatal error in ZScript, but doing it in DECORATE means breaking backwards compatibility.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: zendynx.png (23,965 bytes) 2017-02-23 08:03
https://mantis.zdoom.org/file_download.php?file_id=97&type=bug
png
Notes
(0000712)
ZZYZX   
2017-02-23 08:05   
(Last edited: 2017-02-23 08:09)
In this particular case it's not even mod author's fault, as this was caused by addition of previously Skulltag-exclusive Grenade actor in 2009: https://zdoom.org/wiki/Classes:Grenade

(0000715)
Xaser   
2017-02-23 09:54   
Though normally I adopt the "I'm cool with fixing the mod if it can't reasonably be done in the engine" stance, I have to draw the line somewhere. Zen is a few light-years on the other side of that line. :P
(0000720)
Graf Zahl   
2017-02-23 12:04   
Partially fixed. There is no 100% fix here because one of the conflicting types is of class ammunition, so some weapon may be broken.
(0000724)
Ed the Bat   
2017-02-23 13:34   
When I get some free time, I'll double-check my Revision of this mod to see if the problem still exists there. If not, I'll clean it up on my end.
(0000726)
Graf Zahl   
2017-02-23 16:07   
The 'Grenade' ammo type won't work and will have to be renamed. Although I can rename the duplicate class, it doesn't help here becausethe first one is a simple actor while the second one is a special type that gets referenced by other classes.
(0000730)
ZZYZX   
2017-02-24 01:00   
(Last edited: 2017-02-24 01:01)
Wasn't it getting fully replaced before ZScript if it encountered duplicates?
And when internal Grenade was replaced with other random Grenade, the internal ZDoom's C++ code wouldn't crash?

(0000797)
Graf Zahl   
2017-02-27 04:35   
The full replacement was also broken. In the end I had to decide between a design mistake that has been causing endless problems and would do so in the future if not removed or risking to break a handful of mods that depend on the bad implementation.

Unless a proper namespacing of class names that is compatible with all mods is implemented there is no way to completely resolve the problem for all mods - but the current way is definitely better than the old one and causes less problems overall.

Zendyn is the first mod that is really negatively affected by it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
342 [Gameplay + OpenGL] (No Category) minor always 2017-02-26 12:55 2017-02-27 00:33
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: TIF_NOTAKEINFINITE does not work if player has PowerInfiniteAmmo subclass.
Description: If the player has a powerup that is a subclass of PowerInfiniteAmmo, TIF_NOTAKEINFINITE does not prevent the ammo item from being taken away.
Tags:
Steps To Reproduce:
  1. Load up GZDoom with Trailblazer_v1.4.pk3 and an IWAD of your choice (except Strife).
  2. Get a Leadspitter (summon LeadspitterPickup).
  3. Get an Ammo Junkie powerup (summon AmmoJunkieItem/give PowerAmmoJunkie).
  4. Open fire.
  5. Your ammo loaded in the clip will be taken away, despite the fact that you have a powerup which is a subclass of PowerInfiniteAmmo (PowerAmmoJunkie).
Additional Information:
Attached Files:
Notes
(0000783)
Rachael   
2017-02-26 16:27   
(Last edited: 2017-02-26 16:28)
This bug was introduced in commit e6b31dde27b47f484c4d1073cc3760cab5b4b2a3 on 2017/feb/26

I tried fixing this bug, but was unsuccessful. This was my fix: (it did not work)

Note that replacing the FindInventory call with "1" works. "player" is not null. I do not know why it is not finding the subclass object like it should be.

p_mobj.cpp (line 904):
from:
    ((dmflags & DF_INFINITE_AMMO) || (player && FindInventory(NAME_PowerInfiniteAmmo))) && item->IsKindOf(NAME_Ammo))
to:
    ((dmflags & DF_INFINITE_AMMO) || (player && FindInventory(NAME_PowerInfiniteAmmo, true))) && item->IsKindOf(NAME_Ammo))

(0000789)
Graf Zahl   
2017-02-26 19:10   
That should work. Maybe FindInventory is broken as well...
(0000790)
Graf Zahl   
2017-02-26 19:19   
Well, the fix works for me.
(0000794)
Rachael   
2017-02-27 00:33   
Yeah, mistake on my part. I thought I had a PowerInfiniteAmmo in my inventory in my savegame I was using to test with but I didn't. When I did add it, it worked.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
343 [Gameplay + OpenGL] Bug minor always 2017-02-26 17:41 2017-02-26 18:59
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ASAN stack-buffer-overflow reported with gl code
Description: ASAN report:

=================================================================
==32127==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fffffffc929 at pc 0x7ffff6eda20b 
bp 0x7fffffffc610 sp 0x7fffffffbdb8
READ of size 13 at 0x7fffffffc929 thread T0
    #0 0x7ffff6eda20a in __interceptor_strlen (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x7020a)
    #1 0xb72711 in MakeKey(char const*) /home/edward-san/zdoom/gzdoom/trunk/src/c_dispatch.cpp:414
    0000002 0x118fb86 
in FTextureManager::CheckForTexture(char const*, int, unsigned int) /home/edward-san/zdoom/gzdoom/trunk/src/textures/texturemanager.cpp:170
    
0000003 0x8e42b1 in AdjustSpriteOffsets() 
/home/edward-san/zdoom/gzdoom/trunk/src/gl/data/gl_data.cpp:112
    0000004 
0x8e75c2 in gl_InitData() /home/edward-san/zdoom/gzdoom/trunk/src/gl/data/gl_data.cpp:573
    0000005 
0xabb40b in FGLInterface::Init() /home/edward-san/zdoom/gzdoom/trunk/src/gl/scene/gl_scene.cpp:1321
    
0000006 0xfad698 
in R_Init() /home/edward-san/zdoom/gzdoom/trunk/src/r_utility.cpp:347
    0000007 
0xbae6e9 in D_DoomMain() /home/edward-san/zdoom/gzdoom/trunk/src/d_main.cpp:2508
    0000008 0x634bdb 
in main /home/edward-san/zdoom/gzdoom/trunk/src/posix/sdl/i_main.cpp:259
    0000009 0x7ffff479582f 
in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    0000010 
0x625db8 in _start (/home/edward-san/zdoom/gzdoom/trunk/debug-asan/gzdoom+0x625db8)

Address 0x7fffffffc929 is located in stack of thread T0 at offset 585 in frame
    #0 0x8e40ea in AdjustSpriteOffsets() /home/edward-san/zdoom/gzdoom/trunk/src/gl/data/gl_data.cpp:98

  
This frame has 6 object(s):
    [32, 36) 'texno'
    [96, 100) 'lastlump'
    [160, 164) 'sprid'
    [224, 248) 'donotprocess'
    [288, 544) 'sc'
    [576, 585) 'str' <== Memory access at offset 585 overflows this variable
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
      
(longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow ??:0 __interceptor_strlen
Shadow bytes around the buggy address:
  0x10007fff78d0: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1
  0x10007fff78e0: 04 f4 f4 f4 f2 f2 f2 f2 04 f4 f4 f4 f2 f2 f2 f2
  0x10007fff78f0: 04 f4 f4 f4 f2 f2 f2 f2 00 00 00 f4 f2 f2 f2 f2
  0x10007fff7900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10007fff7910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x10007fff7920: f2 f2 f2 f2 00[01]f4 f4 f3 f3 f3 f3 00 00 00 00
  0x10007fff7930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10007fff7940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10007fff7950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10007fff7960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x10007fff7970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
==32127==ABORTING


gdb backtrace:

0000007  
0x0000000000b72712 in MakeKey (s=0x7fffffffc920 "MANFA8A2\300/C\001") at /home/edward-san/zdoom/gzdoom/trunk/src/c_dispatch.cpp:414

No locals.
0000008  0x000000000118fb87 
in FTextureManager::CheckForTexture (this=0x322be20 <TexMan>, name=0x7fffffffc920 "MANFA8A2\300/C\001", 
usetype=3, flags=0) at /home/edward-san/zdoom/gzdoom/trunk/src/textures/texturemanager.cpp:170
        i = -14688
        firstfound = -1
        firsttype = 13
0000009  0x00000000008e42b2 
in AdjustSpriteOffsets () at /home/edward-san/zdoom/gzdoom/trunk/src/gl/data/gl_data.cpp:112
        str = "MANFA8A2\300"
        texid = {texnum = 305}
        i = 1660
        lump = -14448
        lastlump = 0
        sprid = -13136
        donotprocess = {Nodes = 0x6020000f2af0, LastFree = 0x6020000f2b00, Size = 1, NumUsed = 0}
        numtex = 3618
0000010 
0x00000000008e75c3 in gl_InitData () at /home/edward-san/zdoom/gzdoom/trunk/src/gl/data/gl_data.cpp:573

No locals.
0000011 
0x0000000000abb40c in FGLInterface::Init (this=0x602000032610) at /home/edward-san/zdoom/gzdoom/trunk/src/gl/scene/gl_scene.cpp:1321

No locals.
0000012 
0x0000000000fad699 in R_Init () at /home/edward-san/zdoom/gzdoom/trunk/src/r_utility.cpp:347
No locals.


Looks like 'str' in function 'AdjustSpriteOffsets' isn't terminated properly, or in any case 'strlen' shouldn't be called on that name. It's a regression from this commit.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000788)
Graf Zahl   
2017-02-26 18:59   
Ouch. Why do people write crap code like that and then use it in too many places? :(

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
344 [Gameplay + OpenGL] Bug minor always 2017-02-26 18:32 2017-02-26 18:57
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: -file <directory> no longer works
Description: After this feature was added [ https://forum.zdoom.org/viewtopic.php?f=18&t=53522 ], using -file to load a directory on the hard disk no longer works.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000785)
Nash   
2017-02-26 18:47   
(Last edited: 2017-02-26 18:49)
Sorry, this report was a little misleading.

What I mean is, my game's IwADINFO has this:

// Must be sorted in identification order (easiest to recognize first!)

IWad
{
    Name = "Live Another Day"
    Autoname = "LADgame"
    Game = "Doom"
    Config = "LADgame"
    Mapinfo = "mapinfo/mindefaults.txt"
    MustContain = "LAD_IWAD"
    BannerColors = "a8 a8 a8", "2d 2d 2e"
}
    


Names
{
    "LADgame.pk3"
}

And LADgame.pk3 only contains that one lump (LAD_IWAD) to minimally let the engine start the game.

The actual data and game content that I work on is not inside LADgame.pk3, but rather, loose files on my hard disk. To start the game for testing, I use "LADgame.exe -file ./src", the directory where all my game assets are in. I work this way because repacking the LADgame.pk3 every single time takes WAY too long.

This system used to work before this, but not anymore.

(0000786)
Graf Zahl   
2017-02-26 18:50   
Oops. That new logic shouldn't trigger if the Zip only contains one lump.
(0000787)
Nash   
2017-02-26 18:57   
Thanks for the very fast fix!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
341 [Gameplay + OpenGL] Feature feature N/A 2017-02-26 05:13 2017-02-26 05:55
Reporter: jpalomo Platform:  
Assigned To: OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Menu specific opening sounds
Description: I'd like to be able to use different opening/closing sounds for a custom menu in one of my projects, but I don't want to replace the sound for all menus. Closing sounds aren't too difficult, but the sound that plays when you first open the menu doesn't seem to be replaceable using Zscript. This might require M_StartControlPanel to be scriptified.
Tags: ZScript
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000781)
Graf Zahl   
2017-02-26 05:55   
Sorry, but there would be too much mess involved here and it's not that easy because at the point where this gets called there is no menu so a virtual override is not possible.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
340 [Gameplay + OpenGL] Bug minor always 2017-02-25 22:06 2017-02-26 05:35
Reporter: Nash Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Used virtual does not work
Description: Try to use the ZombieMan, the function won't fire
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: use zombieman.pk3 (291 bytes) 2017-02-25 22:06
https://mantis.zdoom.org/file_download.php?file_id=105&type=bug
Notes
(0000776)
_mental_   
2017-02-26 03:41   
Fixed in c150f9d
When you were using that zombie the zombie used you ;)
(0000780)
Nash   
2017-02-26 05:35   
Much like situations in real-life, eh? ;)

Haha, thank you for the quick fix @_mental_ !

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
339 [Gameplay + OpenGL] Bug minor always 2017-02-25 21:39 2017-02-26 04:37
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: When too many EventHandlers are used, they become unreliable. gzdoom-x64-g2.4pre-620-g10c6b7a
Description: The more EventHandlers I add inside MAPINFO, the more likely the previous ones I made are to stop working.

Example PK3 sent via PM on the forum
Tags:
Steps To Reproduce: Bind a key to "netevent SprintKeyHandler" and try to use it in-game.

If I QUICKLY start a new game as soon as the program launches, and IMMEDIATELY hit the Sprint key; the sprinting will work and I can trigger it repeatedly.

If I take my time at the title screen, then press new game, then wait a few more seconds and try to Sprint... the sprint key won't work.

I was able to reproduce this repeatedly.
Additional Information: Here's what @ZZYZX said:

SprintKeyHandler is static, and if you put it in MAPINFO, it's supposed to be loaded at the start of the engine and persist.
Yet, for whatever reason it gets removed at exactly tic 40 in titlemap. Tested with WorldTick callback that outputs level.time.
No idea what causes this really, will build latest GZDoom later and test, if Graf can't help sooner.
I really think this might be related to the recent GC edit which made static handlers non-fixed, but as well might not be that. Looks too deterministic to be a problem with GC (it's always 40 tics...).

Can you send that archive to Graf as well pls :)
Attached Files:
Notes
(0000774)
Nash   
2017-02-25 21:41   
Sorry for the big package but whenever I tried to make minimal, isolated examples, the bug would not reproduce.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
338 [Gameplay + OpenGL] Bug minor always 2017-02-25 19:22 2017-02-26 04:05
Reporter: AFADoomer Platform: PC  
Assigned To: _mental_ OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Skill 'MustConfirm' value lookups break messagebox alignment
Description: Using MAPINFO to define a skill level, if you use the 'MustConfirm = "$Something"' syntax, the string will be looked up and parsed, but when drawn will be left aligned to the middle of the screen.
Tags:
Steps To Reproduce: See test .pk3. Start a new game; the skill select menu has been replaced.

The first skill has the MustConfirm message spelled out in MAPINFO.
The second skill has the MustConfirm referencing a LANGUAGE lump entry.
The third skill leaves the default message lookup ("NIGHTMARE") in place.
Additional Information: I think that somehow the message's (BrokenLines) StringWidth function isn't returning properly when the value is being parsed out...
Attached Files: MustConfirm.pk7 (561 bytes) 2017-02-25 19:22
https://mantis.zdoom.org/file_download.php?file_id=104&type=bug
Notes
(0000777)
_mental_   
2017-02-26 04:05   
Fixed in 76a44eb

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
334 [Gameplay + OpenGL] Bug major always 2017-02-24 16:08 2017-02-26 02:37
Reporter: Talon1024 Platform: Linux  
Assigned To: _mental_ OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cannot do anything in Strife conversations
Description: I can't select or activate any option in Strife conversations.
Tags:
Steps To Reproduce:
  1. Load up GZDoom with Strife: Quest for the Sigil, or any other mod that has Strife conversations.
  2. Try to talk to a character that can be talked to.
  3. You won't be able to use the keyboard or mouse to select another option, or activate any option.
Additional Information:
Attached Files:
Notes
(0000757)
_mental_   
2017-02-25 02:10   
(Last edited: 2017-02-25 02:14)
Works for me using 43c5fa9.
Conversation with Rowan (the first quest of Strife, MAP02 x:3135 y:4095) is functional using keyboard and mouse.

If you are using the same commit please specify version of GCC/Clang and all CMake options.

(0000759)
_mental_   
2017-02-25 03:56   
I have reproduced the problem using Release configuration. Tried with Debug initially but it works.
(0000760)
Graf Zahl   
2017-02-25 03:58   
Great. Release-only bugs are always a nightmare to find. :(
(0000761)
Graf Zahl   
2017-02-25 04:47   
(Last edited: 2017-02-25 04:48)
I just tried and wasn't able to reproduce this at all. Is this a non-Windows thing, maybe?

(0000762)
Nash   
2017-02-25 05:20   
Tormentor667 is having the same issue it seems: https://forum.zdoom.org/viewtopic.php?p=979772#p979772
(0000763)
_mental_   
2017-02-25 05:36   
It's GCC only so far, can't reproduce with Clang too.
(0000764)
Edward-san   
2017-02-25 08:52   
When did it break?
(0000767)
Talon1024   
2017-02-25 09:36   
Some time between 304e989 and bb6e667.
(0000773)
AFADoomer   
2017-02-25 19:11   
@Nash - that was an unrelated issue... I had moved the reply box around but hadn't updated the mouse event handling coordinates
(0000775)
_mental_   
2017-02-26 02:37   
Fixed in 6ae91ac

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
313 [Gameplay + OpenGL] Bug minor random 2017-02-20 11:05 2017-02-25 14:52
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: InputProcess EventHandlers randomly stops working
Description: According to ZZYZX, it has something to do with the GC: https://forum.zdoom.org/viewtopic.php?p=978648#p978648
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000711)
Nash   
2017-02-23 07:52   
(Last edited: 2017-02-23 08:23)
[Can't edit the original post... maybe the forum is better?]

Update: It's not just Inputprocess... basically any EventHandler can be affected.

Test class:

class BumiHandler : EventHandler
{
    int i;

    override void WorldTick(WorldEvent e)
    {
        i++;
        Console.Printf(String.Format("%d", i));
    }
}


(0000771)
Graf Zahl   
2017-02-25 14:52   
Should be fixed now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
336 [Gameplay + OpenGL] Feature minor N/A 2017-02-25 11:44 2017-02-25 14:51
Reporter: silentzora Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: suspended  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Mapinfo: RespawnChance
Description: Adjusts the chance that any monster will respawn. Would provide a bit of unpredictability for Nightmare-esque difficulty settings. No effect when RespawnTime is set to 0. Default (0) would mean "always respawn."
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000770)
Graf Zahl   
2017-02-25 14:50   
I don't think you really understand how this works. The current probability is 4/255 per tick. There isn't much room to decrease likelihood, and increasing the value will make things unplayable.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
337 [Gameplay + OpenGL] Feature feature N/A 2017-02-25 11:48 2017-02-25 14:41
Reporter: InsanityBringer Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Short form of info/linetarget as a parameter
Description: Originally Linetarget and info had different effects, with linetarget showing only a target's health and class name, and info showing more details. During some code cleanup, linetarget was made to show all the details of info, just with different conditions on what it can target. I typically would have a key bound to linetarget while doing gameplay testing, since this makes it easy to figure out how much damage something is doing to a target in a practical test. However, with the change to linetarget, this isn't practical anymore since the long output is much longer than can be shown in the message area.

Would it be possible to add a parameter to linetarget and info that makes them show the short form again?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000769)
Graf Zahl   
2017-02-25 14:37   
Done. Info will default to verbose, linetarget to brief. Both can be given a parameter to enable or disable verbose mode.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
335 [Gameplay + OpenGL] Feature minor always 2017-02-25 00:08 2017-02-25 08:55
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Thinkers that don't get destroyed between maps
Description: From https://forum.zdoom.org/viewtopic.php?p=979692#p979692

"This will need a small change to the thinker system to declare a statnum whose contents do not get deleted between maps."
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
315 [Gameplay + OpenGL] Bug minor always 2017-02-21 07:22 2017-02-24 14:47
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Player's BeginPlay called twice when traveling between levels
Description: See attached example. BeginPlay is being ran twice on the next level, when you exit the current level normally (not via IDCLEV). Open the console to see the message. Seems to behave the same whether the map is part of a hub or not.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: aaaaaaaaaa.pk3 (363 bytes) 2017-02-21 07:22
https://mantis.zdoom.org/file_download.php?file_id=92&type=bug
Notes
(0000704)
Graf Zahl   
2017-02-22 15:20   
That's because the map transition spawns a second, temporary player actor.

The thing is, I don't know if it's a good idea to disable the call for this temporary player.
(0000731)
Nash   
2017-02-24 01:50   
Would exposing a check to differentiate between the temporary actor and the real, playable actor be a good idea?
(0000733)
_mental_   
2017-02-24 02:49   
It's easier said than done because the first call during level change (with "dummy" player pawn) is the only one when new game is started.
In other words what call should trigger event callback, first or second?
Maybe there are other considerations but the mentioned one was enough to mark this issue with 'need more knowledge' label for me.
(0000738)
ZZYZX   
2017-02-24 04:42   
I had to deal with this in PlayerEntered callback in my event system. You might use that instead for player initialization; it's guaranteed to only call once and on the final player (non-temporary).
(0000739)
Nash   
2017-02-24 05:22   
@ZZYZX: that seems like a viable alternative solution but it also has its share of bugs. Will make a separate ticket for it
(0000745)
Graf Zahl   
2017-02-24 10:36   
In general I strongly recommend not to rely on PlayerPawn.BeginPlay for anything.
If the issue with the event system is merely the GC I'll have to check that and possibly fix it - if not the event needs to be more reliable. Player spawning is quite messy due to the need to handle voodoo dolls. I can remember that I once added an internal function that gets called after the map is fully loaded to do something with the real player. I think that is where a callback needs to be inserted for custom initialization.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
327 [Gameplay + OpenGL] Bug minor always 2017-02-23 09:06 2017-02-24 14:46
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: suspended  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Actor variables stored in PlayerPawn seem to be lost during level transition
Description: Sending a private link via PM on the forum. Example file has a player pawn which spawns a bunch of actors that are supposed to make up the various parts that'll be attached to the player sprite.

Sending it to Graf Zahl, _mental_ and also ZZYZX who might want to look at it due to usage of the Events system in the example

Use third person camera to see the problems because in first person, you can't see anything.

Several problems can be observed in that 1 example file:

1) When you move to the next level using the switch, the player parts disappear
2) The Unload event is only being ran on the first level, and not anymore after that
3) BeginPlay is ran twice (I have already reported it previously, but just listing it down here for completeness' sake)
Tags:
Steps To Reproduce:
Additional Information: EXPECTED BEHAVIOUR:

Player parts will successfully spawn only once per player spawn, so there should only ever be 10 parts attached to the player.

When the player dies, the parts are destroyed (this bit seems to be working as expected)

When player respawns, the 10 parts will successfully spawn again.

During level Unload, destroy the parts, because we do not want to leave stray "ghost" parts upon returning to this level later.

At the next level, the 10 parts are supposed to spawn, as was the case in the beginning of the previous level.
Attached Files: Screenshot_Doom_20170223_175453.png (1,102,315 bytes) 2017-02-23 09:56
https://mantis.zdoom.org/file_download.php?file_id=99&type=bug
Notes
(0000716)
ZZYZX   
2017-02-23 09:55   
Unload event is ran on every level, it just doesn't find anything on MAP02 for whatever reason.
(0000717)
ZZYZX   
2017-02-23 09:56   
Proofpic.
(0000721)
Graf Zahl   
2017-02-23 12:29   
This sounds suspiciously like "You did something wrong." I haven't had time for a deeper look yet.
(0000748)
Graf Zahl   
2017-02-24 10:57   
My guess this is entirely owed to the strange way in which players get spawned. Like I said elsewhere, do not use BeginPlay for PlayerPawns, it may do unpredictable things.

One important note: Your code contains a function named PlayerThink. This name is already in use by an internal function that will eventually be exported and cause a collision. Better rename it.
(0000753)
Nash   
2017-02-24 13:15   
Alright, understood about the name clash and your advice to not use BeginPlay for my use case.

Before I can declare this as resolved though, I need to be sure I can reliably use the PlayerEntered event to replace the BeginPlay stuff I used here. The GC fix still hasn't solved that issue (see other thread)
(0000754)
Nash   
2017-02-24 13:39   
I'd also like to add that after the GC fix, the SprintHandler EventHandler that I used for the private example PK3, can only be triggered once and then never again.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
332 [Gameplay + OpenGL] Bug minor always 2017-02-24 05:25 2017-02-24 14:46
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PlayerEntered event handler not consistent
Description: In the attached demo, the event seems to get fired off only sometimes. When transitioning between the levels repeatedly, sometimes the event will not fire (the console message won't appear).
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: player enter.pk3 (2,794 bytes) 2017-02-24 05:25
https://mantis.zdoom.org/file_download.php?file_id=102&type=bug
Notes
(0000744)
ZZYZX   
2017-02-24 08:36   
Might be related to GC, since randomly collected handlers randomly stop working.
(0000747)
Graf Zahl   
2017-02-24 10:52   
Can you please retry? I already had the GC code but it wasn't merged into master yet.
(0000752)
Nash   
2017-02-24 13:12   
Sorry, it still isn't working, even with the GC fix. In the example WAD, the message does not trigger when entering the second level.
(0000755)
Graf Zahl   
2017-02-24 14:24   
(Last edited: 2017-02-24 14:26)
Uh...
Excuse me?

// level.time is a hack to make sure that we don't call it on dummy player initialization during hub return.
if (!level.time) E_PlayerEntered(int(p - players), false);


That HACK blocks it. Interestingly, that alsp means that the ENTER script gets called for the wrong PlayerPawn...

The entire thing is totally broken by design...


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
309 [Gameplay + OpenGL] Bug minor always 2017-02-19 19:20 2017-02-24 12:00
Reporter: ZZYZX Platform: x86_64  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Portal-aware sight check fails if there are blocking lines in the area behind the portal
Description: See the example wad. The imp in the right room will wake up instantly, while the imp in the left room will only wake up after you shoot a gun.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: portals2.wad (12,081 bytes) 2017-02-19 19:20
https://mantis.zdoom.org/file_download.php?file_id=91&type=bug
Notes
(0000677)
ZZYZX   
2017-02-19 19:28   
(Last edited: 2017-02-19 19:31)
I think this also prevents using CheckSight with portals to hide/remove particles based on visibility to the player, because portals in most cases will have blocking lines around them.
At least I most definitely remember CheckSight not working properly in such cases which led me to the assumption that CheckSight is not portal-aware at all (but apparently it's a bug).

Also, making the blocking line (highlighted one here: http://i.imgur.com/uakCxCe.png) doublesided and passable solves the problem and the imp from the left room can see the player too.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
333 [Gameplay + OpenGL] (No Category) minor have not tried 2017-02-24 06:35 2017-02-24 10:46
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Regression] from 2.0.05 to 2.1.0: Certain linedef in Unloved2 no longer triggers
Description: On MAP06 (coords -2800, 808) line 2565 it has special(74,7,1) which is repeatable and triggered by "Use".

The issue is that this linedef no longer functions in recent versions of GZDoom. Suspect floatification to be the cause of this issue. Have not seen it anywhere else except this map so far - its mirror map, "Rusted Nails" (which is where you go after triggering special 74(7,1)) has the same issue.

Tags:
Steps To Reproduce:
Additional Information: Unloved II beta 1 downloadable here: https://forum.zdoom.org/viewtopic.php?f=42&t=27920
Attached Files:
Notes
(0000746)
Graf Zahl   
2017-02-24 10:46   
Behold:

map MAP06 "Doctor's House"
{
cluster =2
music ="D_WANDER"
nocrouch
nointermission
>>>checkswitchrange
evenlighting
fade = "10 09 07"
}

Seems this map became the victim of a bugfix from 2 years ago...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
330 [Gameplay + OpenGL] Bug major have not tried 2017-02-23 23:40 2017-02-24 02:18
Reporter: Matthew the Glutton Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [73cceea] A_DropInventory amount needs a default value or old mods break
Description: Anything that just says A_DropInventory("blah") won't start.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000732)
_mental_   
2017-02-24 02:18   
Fixed in 202c192

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
321 [Software Renderer] Bug minor always 2017-02-22 08:17 2017-02-23 18:11
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Slopes have bright stripes on low light in palette
Description: It's something weird I noticed on a couple custom maps. At low light levels, sloped floors/ceilings have some artifacts at specific angles and distance.

I've attached a test map and some screenshots of the issue.
Tags: GCC, Visual
Steps To Reproduce:
Additional Information:
System Description
Attached Files: Screenshot_Doom_20170222_151301.png (113,356 bytes) 2017-02-22 08:17
https://mantis.zdoom.org/file_download.php?file_id=93&type=bug
png

Screenshot_Doom_20170222_151317.png (69,710 bytes) 2017-02-22 08:17
https://mantis.zdoom.org/file_download.php?file_id=94&type=bug
png

slopetest.wad (6,231 bytes) 2017-02-22 08:17
https://mantis.zdoom.org/file_download.php?file_id=95&type=bug
Notes
(0000701)
dpJudas   
2017-02-22 14:44   
I'm not able to reproduce this. I tried on Windows 10 with MSVC and on my Mac with clang. In both cases I never saw anything like on the screenshots.

Could it be a gcc issue?
(0000705)
MarisaKirisame   
2017-02-22 15:39   
Yup, it's GCC being GCC again, built with Clang and the glitch is gone.
(0000728)
dpJudas   
2017-02-23 16:54   
I tried rewriting one of the functions. Did that fix the problem?
(0000729)
MarisaKirisame   
2017-02-23 17:17   
It indeed did.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
320 [Gameplay + OpenGL] Bug major always 2017-02-22 07:56 2017-02-23 16:11
Reporter: Edward-san Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Adventures of Square iwad regression - error during startup
Description:

Script error, "gzdoom.pk3:menudef.txt" line 42:
Unknown texture M_DOOM


Tested with g2.4pre-595-gb45418d . It doesn't happen in g2.3.2.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000694)
_mental_   
2017-02-22 09:43   
Fixed in 61de40c.
I'm filling a bit guilty for this because that was I who proposed this workaround instead of addition of dummy texture files.

As the side note: missing texture for menus were not errors before menu scriptification.
I don't know however was this change intentional or not.
(0000695)
Graf Zahl   
2017-02-22 09:54   
As it always is, an error is an error but you just can bet that some mod out there went ahead and did something wrong. :(
(0000718)
Xaser   
2017-02-23 10:01   
What was wrong on Square's side? We're replacing MainMenu entirely in MENUDEF, but it seems that didn't stop the validation from occurring on GZDoom's MENUDEF anyway. I don't see what we could've done otherwise aside from include a dummy M_DOOM in our IWAD, which would've been pretty silly.
(0000719)
_mental_   
2017-02-23 10:16   
Nothing wrong, just from two possibilities (null textures and dummy files) the selected one was broken.
(0000727)
Xaser   
2017-02-23 16:11   
Thanks for the fix, BTW. Just want to make sure we have all our geese in a row too. :P

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
329 [Gameplay + OpenGL] Bug minor always 2017-02-23 13:51 2017-02-23 15:10
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Bouncing Schutzstaffel
Description: When the Schutzstaffel fire, their sprite jumps up and down. This only happens in GL renderer, and if Sprite Clipping is set to None. Does not happen in QZDoom's software renderer, or if Sprite Clipping is set to Smart (default).
Tags:
Steps To Reproduce: From a clean installation, simply change Sprite Clipping from Smart to None. Visit MAP31 or MAP32 of Doom II to easily observe.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
328 [Gameplay + OpenGL] Bug crash random 2017-02-23 13:37 2017-02-23 15:01
Reporter: Ed the Bat Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Checking CVARs in ZScript can cause 'silent' crash
Description: If a CVAR is referenced in ZScript, the game window may close (though music may continue playing, and the .exe continues to run in the background, consuming resources).
Tags:
Steps To Reproduce: Run attached file -- may require multiple tries to experience the crash.
Additional Information:
Attached Files: cvartest.pk3 (363 bytes) 2017-02-23 13:37
https://mantis.zdoom.org/file_download.php?file_id=100&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
119 [Software Renderer] Bug minor always 2017-01-25 12:05 2017-02-23 14:58
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Software lights don't affect sprites
Description: Dynamic lights, whether it is in truecolor or in paletted, don't light up nearby sprites. This includes both actors in the world and the player's weapon sprite.

This is easily noticeable if one were to place objects in a pitch black sector that is illuminated only by lights.
Tags: Dynamic Light
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000684)
MarisaKirisame   
2017-02-21 08:15   
I think this should be re-classified as "Feature" since it really is just a missing feature, not really a bug.
(0000725)
MarisaKirisame   
2017-02-23 14:56   
(Last edited: 2017-02-23 14:58)
Fixed, at last!

One little problem, though. The player's weapon isn't lit up.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
324 [Gameplay + OpenGL] Feature minor always 2017-02-23 02:16 2017-02-23 12:26
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Export "gamestate" as read-only in ZScript
Description: Let modders read the gamestate variable so that they can do different things depending on what the current game state is in.

For example, my custom menu should not even be openable if the player is not currently playing. I need to check gamestate for that.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000710)
_mental_   
2017-02-23 04:45   
If Graf is OK with it I will add the variable along with the corresponding enumeration (without force wipe entries).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
319 [Gameplay + OpenGL] Bug minor always 2017-02-22 07:31 2017-02-23 02:46
Reporter: Lud Platform: Microsoft Windows  
Assigned To: OS: Windows  
Priority: high OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Projectiles always fire at the height of player's feet.
Description: Player projectiles ignore the Z offset and are instead spawned at floor height/player's feet. Unsure about monster projectiles.
Tags:
Steps To Reproduce:
Additional Information: Tested on gzdoom-x64-g2.4pre-595-gb45418d. Does not happen on previous build.
Attached Files: ZSCRIPT.txt (728 bytes) 2017-02-22 17:49
https://mantis.zdoom.org/file_download.php?file_id=96&type=bug
Notes
(0000707)
Graf Zahl   
2017-02-22 17:18   
Example, please!
(0000708)
Lud   
2017-02-22 17:49   
I can't seem to reproduce it anymore. What the hell? I tested the last 5 x64 builds and none of them had that problem. Well, uploaded file anyway.

give testshotgun
use testshotgun
fire

No guarantee it'll work. Might as well close this as 'can't reproduce'.

Weird, man...
(0000709)
_mental_   
2017-02-23 02:46   
I cannot reproduce this too. Please reopen the issue with more details if it will happen again.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
322 [Gameplay + OpenGL] Bug trivial always 2017-02-22 15:58 2017-02-22 17:17
Reporter: Lud Platform: Microsoft Windows  
Assigned To: Edward-san OS: Windows  
Priority: low OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: KILL scripts show up as (unknown) in console
Description: Title says it. Only visible if Developer Messages are set to Everything or whatever that is that shows script execution info.

Exact message: "Starting all scripts of type 17 (unknown)"
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000706)
Edward-san   
2017-02-22 16:24   
Should be fixed with this pull request.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
318 [Gameplay + OpenGL] Bug minor always 2017-02-21 14:59 2017-02-22 15:05
Reporter: Ed the Bat Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dynamic Lights called from ZScript don't appear
Description: Dynamic lights attached via GLDEFs appear normally, but lights called with the LIGHT keyword in ZScript (have not confirmed if DECORATE is affected) will not appear in-game. Issue is present in gzdoom-g2.4pre-593-gbb6e667, but was not present in gzdoom-g2.4pre-551-g0ffd475
Tags: Lighting, ZScript
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000692)
_mental_   
2017-02-22 04:26   
Please attach a testable sample.
(0000697)
Ed the Bat   
2017-02-22 10:09   
https://forum.zdoom.org/viewtopic.php?f=7&t=54239
See the example from the last time this bug existed.
(0000702)
_mental_   
2017-02-22 15:03   
Fixed in eb40e8b
(0000703)
Ed the Bat   
2017-02-22 15:05   
Thank you!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
311 [Gameplay + OpenGL] Bug minor always 2017-02-20 10:53 2017-02-22 14:30
Reporter: Nash Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Strife GLDEFS warning
Description: Script error, "lights.pk3:gldefs.txt" line 2654:
Warning: dynamic lights attached to non-existent actor StrifeZap1
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000683)
_mental_   
2017-02-21 02:34   
(Last edited: 2017-02-21 02:34)
For some reason StrifeZap1 was removed after scriptification in this commit. Maybe it's just an oversight.
Although this class is referenced in wiki and it might be used by some mods. I think it's better to restore it.

(0000696)
Graf Zahl   
2017-02-22 09:56   
I haven't seen a ZDoom-based Strife mod yet... ;)
(0000698)
_mental_   
2017-02-22 10:39   
So it will be enough to remove GLDEFS entry for StrifeZap1, right?
(0000699)
Graf Zahl   
2017-02-22 11:28   
Yes, it can be removed. This would never have shown anyway.
(0000700)
_mental_   
2017-02-22 14:30   
Fixed in 322aee9

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
299 [Gameplay + OpenGL] Bug crash random 2017-02-19 07:36 2017-02-22 04:25
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: _mental_ OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Sound crash on recent builds
Description: Whenever I'm playing anything, the game freezes after a while and then crashes, running it through a terminal shows this when that happens:

qzdoom: /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/s_sndseq.cpp:1048: DSeqNode* SN_CheckSequence(sector_t*, 
int): Assertion `node->IsKindOf(RUNTIME_CLASS(DSeqSectorNode))' failed.

It also happens in gzdoom. It can happen even with vanilla doom maps.
Tags:
Steps To Reproduce: Play anything, even vanilla doom. After a couple minutes the game should freeze and then quit.
Additional Information:
System Description
Attached Files:
Notes
(0000663)
Graf Zahl   
2017-02-19 11:28   
I have seen this once, too, but was unable to track down where the bogus pointer came from.
(0000686)
MarisaKirisame   
2017-02-21 12:38   
I really wish I could do anything to help debug this mess.
(0000688)
_mental_   
2017-02-21 14:44   
If you can reproduce this relatively easily please run the game under debugger, gdb or lldb.
I'm interested in the call stack and details about node pointer, debugger commands:
bt
p *node
p node->Class->TypeName.GetChars()
(0000689)
MarisaKirisame   
2017-02-21 14:51   
(Last edited: 2017-02-21 15:12)
Very well, here we go.

(gdb) bt
#0  0x00007ffff5ad104f in raise () from /usr/lib/libc.so.6
#1  0x00007ffff5ad247a in abort () from /usr/lib/libc.so.6
0000002  0x00007ffff5ac9ea7 
in __assert_fail_base () from /usr/lib/libc.so.6
0000003  0x00007ffff5ac9f52 
in __assert_fail () from /usr/lib/libc.so.6
0000004  
0x000000000069a8d4 in SN_CheckSequence (sector=0x922ee80, chan=2) at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/s_sndseq.cpp:1048

0000005  
0x000000000069ac10 in SN_StopSequence (sector=0x922ee80, chan=2) at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/s_sndseq.cpp:1086

0000006  
0x000000000096407e in DDoor::Tick (this=0x5cd8620) at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/p_doors.cpp:146

0000007  
0x00000000008ab9c9 in DThinker::CallTick (this=0x5cd8620) at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/dthinker.cpp:562

0000008  0x00000000008ab701 
in DThinker::TickThinkers (list=0x2251328 <DThinker::Thinkers+808>, dest=0x0) at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/dthinker.cpp:528

0000009  0x00000000008ab5c3 
in DThinker::RunThinkers () at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/dthinker.cpp:475

0000010 
0x0000000000a4bf56 in P_Ticker () at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/p_tick.cpp:133

0000011 
0x00000000008b8c17 in G_Ticker () at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/g_game.cpp:1207

0000012 
0x000000000088a7bb in TryRunTics () at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/d_net.cpp:1948

0000013 
0x000000000087fedd in D_DoomLoop () at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/d_main.cpp:1025

0000014 
0x0000000000884088 in D_DoomMain () at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/d_main.cpp:2695

0000015 
0x00000000005fca3f in main (argc=5, argv=0x7fffffffe258) at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/posix/sdl/i_main.cpp:259

(gdb) frame 4
0000004  
0x000000000069a8d4 in SN_CheckSequence (sector=0x922ee80, chan=2) at /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/s_sndseq.cpp:1048

1048	in /home/marisa/.cache/pacaur/gzdoom-git/src/gzdoom/src/s_sndseq.cpp
(gdb) p *node
$3 = {<DObject> = {_vptr.DObject = 0xca67d0 <vtable for DSeqSectorNode+16>, static RegistrationInfo 
= {MyClass = 0x276b210, Name = 0xcdf4a6 "DObject", ParentType = 0x0, _VMExport = 0x0, Pointers 
= 0x0, ConstructNative = 0x898d68 <DObject::InPlaceConstructor(void*)>, InitNatives = 0x0, SizeOf 
= 40, MetaClassNum = 0}, 
    static RegistrationInfoPtr = 0x1075220 <DObject::RegistrationInfo>, Class = 0x276c7f0, ObjNext 
= 0x2f65210, GCNext = 0x67e5bf0, ObjectFlags = 1}, static RegistrationInfo = {MyClass = 0x276c7f0, Name 
= 0xca57e7 "DSeqNode", ParentType = 0x1075220 <DObject::RegistrationInfo>, _VMExport 
= 0x0, 
    Pointers = 0x106e460 <DSeqNode::PointerOffsets>, ConstructNative = 0x6973fc <DSeqNode::InPlaceConstructor(void*)>, 
InitNatives = 0x0, SizeOf = 128, MetaClassNum = 0}, static RegistrationInfoPtr = 0x106e420 <DSeqNode::RegistrationInfo>, 
static PointerOffsets = {96, 104, 112, 120, 18446744073709551615}, 
  m_SequencePtr = 0x2ab1920, m_Sequence = 1, m_CurrentSoundID = {ID = 279}, m_StopSound = -1, m_DelayUntilTic 
= 0, m_Volume = 1, m_Atten = 1.00100005, m_ModeNum = 1, m_SequenceChoices = {Array = 0x81f70a0, Count 
= 0, Most = 0}, m_ChildSeqNode = {{p = 0x0, o = 0x0}}, m_ParentSeqNode = {{p = 0x0, o = 0x0}}, 
  static SequenceListHead = 0x5cd1f80, m_Next = 0x0, m_Prev = 0x0}
(gdb) p node->Class->TypeName.GetChars()
$4 = 0x27634ca "SeqNode"


(0000691)
_mental_   
2017-02-22 04:25   
Fixed in b45418d. Only debug configuration was affected.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
316 [Gameplay + OpenGL] Feature minor always 2017-02-21 10:50 2017-02-21 14:57
Reporter: Camaxide Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Sound handling in (Gz)Doom
Description: Ok, so this isn't truly a feature request or a bug - but more something I throw out there as I think it may be worth checking out. When I play Doom through GzDoom either my mod or in general on my office PC or most places, the sound is fine - though when I'm connecting it up to the home theatre and plays things surround with proper subwoofers I notice that Doom has Insane amounts of base - way more than any other game I've ever played on my home cinema. I have to actively lower both my subs to -12 DB output (as far as I can lower them) in order to not tear things down while playing at a medium-loud level. forgetting to turn the subs down before starting the game causes quite the heart-shake if the volume is up. I did a little bit of analyze of the sound output from Doom through GzDoom when I play it back - and it seem to have a very heavy bass indeed - and it peaks out below 50Hz.

http://i.imgur.com/yMWCvBk.jpg

This picture shows normal play (music volume 0.2, gamesounds volume 1.0) compared to a normal bass-filled music track. - the music track calms off the volume below 100hz a bit, while Doom seem to boost it quite alot all the way til the floor.

When played back at my computer speakers though it also have a sub - it does not sound anything special at all - but through the home cinema that is able to reproduce very low frequencies it shakes things up WAY more than it likely should. I also notice that even if capturing the sound 1-1 the sound-clip actually clips (meaning Doom seem to output volume that spikes through the 0)

Like I said, I don't know if this is something that can or should be fixed, and maybe it's just how Doom's sounds were mixed out with crazy low frequency bass that just never came to life until played on a system that can boom it? but the clipping I think is something that should likely be clamped :)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000690)
Graf Zahl   
2017-02-21 14:57   
I can only tell you this: I have stopped using my active subwoofer for anything but actual movies, because everything else seems to have exaggerated bass that sounds like shit.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
317 [Gameplay + OpenGL] Bug crash always 2017-02-21 13:12 2017-02-21 14:37
Reporter: SanyaWaffles Platform: Windows  
Assigned To: _mental_ OS: Windows  
Priority: high OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: UZSF/USDF lumps crash game engine
Description: Since the scriptification of the menus and dialogue stuff, GZDoom chokes when it loads my game mod - which has strife-like dialogue in several maps.
Tags:
Steps To Reproduce: https://drive.google.com/file/d/0B0puGKBHWAEZelFGUVl1a1NEaEU/view?usp=sharing
Download this and load using +map map01. It should crash immediately.
Additional Information: Sorry for the big file, right now I'm tired and not up to trying to re-create it using just Doom assets and a simple map.
System Description Enterprise
Attached Files:
Notes
(0000687)
_mental_   
2017-02-21 14:37   
Fixed in bdd20d3

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
314 [Gameplay + OpenGL] Bug minor always 2017-02-20 17:33 2017-02-20 17:50
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Sides with negative scale are misaligned
Description: On C1M5 in WolfenDoom: Blade of Agony, the door near (X: 2030, Y: 560, Z: 24) is misaligned if you use the g2.4-pre-529-304e989 build, but it is not misaligned if you use the g2.4-pre-310-gbecc00a build.

My best guess is that the issue is caused by the negative scale on the front sidedef of that line.
Tags:
Steps To Reproduce:
  1. Load up WolfenDoom: Blade of Agony
  2. Go to C1M5
  3. Enter the catacombs and go to the resistance hideout.


Additional Information: I have not been able to see whether this issue occurs on a more recent build, since it seems the more recent builds have trouble parsing USDF.
Attached Files:
Notes
(0000681)
Talon1024   
2017-02-20 17:36   
(Last edited: 2017-02-20 17:38)
Screenshot from g2.4-pre-529-g304e989
Screenshot from g2.4-pre-310-gbecc00a

(0000682)
Graf Zahl   
2017-02-20 17:49   
The alignment was changed because it was flipped along with the scale, which caused walls to scroll in the wrong direction. This was a discrepancy between the OpenGL and the software renderer.

This should be fixed in the maps, because reverting this change will bring back the other problem.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
297 [Gameplay + OpenGL] Bug block always 2017-02-19 06:00 2017-02-19 17:24
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Strife status bar regression when screenblocks is 11
Description: Loading any new strife game with g2.4pre-577-g3c8a5fd, when screenblocks is 11 the HUD appears completely different from 2.3:

- it's really tiny,
- more hud items are drawn when they should not.
- hud_scale doesn't fix the issue.

See the attached images for the effect in 2.3 and 2.4pre.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Screenshot_Strife_20170219_125029.png (75,114 bytes) 2017-02-19 06:00
https://mantis.zdoom.org/file_download.php?file_id=84&type=bug
png

Screenshot_Strife_20170219_125937.png (74,700 bytes) 2017-02-19 06:00
https://mantis.zdoom.org/file_download.php?file_id=85&type=bug
png

ini.zip (6,508 bytes) 2017-02-19 11:43
https://mantis.zdoom.org/file_download.php?file_id=88&type=bug
gzdoom_reduced.ini (13,557 bytes) 2017-02-19 15:12
https://mantis.zdoom.org/file_download.php?file_id=90&type=bug
Notes
(0000664)
Graf Zahl   
2017-02-19 11:31   
I cannot reproduce this, so you got to give me your .INI so that I can check what causes it.
(0000665)
Nash   
2017-02-19 11:43   
I'm getting the same problem as Edward san so here's my INI
(0000670)
Edward-san   
2017-02-19 15:12   
Here's my reduced ini, which still reproduces the issue for me.
(0000673)
Graf Zahl   
2017-02-19 17:24   
That code was just screaming 'ouch'. I have no idea how this could work when the data was split up between two classes, but merged into one it just screwed up.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
295 [Gameplay + OpenGL] Bug minor always 2017-02-18 23:23 2017-02-19 17:06
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cleric's flechette has reduced effective range
Description: The Cleric's flechette effect (poison gas cloud) has reduced effective range in recent dev builds, compared to the last official build. If you drop a flechette, but don't move, you won't suffer any damage; you won't be affected unless you step into the center of the cloud. Effective range against monsters has not been reduced as dramatically, but is still noticeably lower than before. It does seem like monsters do tend to suffer more damage from the cloud than before, but this may be a consequence of having to be closer to the center of the cloud in order to be affected.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000671)
Graf Zahl   
2017-02-19 15:21   
You must have a strange 'last official' build. I can reproduce this in ZDoom 2.8.0, but it's already incorrect in GZDoom 2.2.0.

So please, 'last official build' is a totally useless information!
(0000672)
MagicWazard   
2017-02-19 17:06   
Sorry, I meant as of 2.1.1. I largely skipped over 2.2.0 altogether until 2.3.x released and the bugtracker was opened.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
305 [Gameplay + OpenGL] Bug minor always 2017-02-19 13:00 2017-02-19 15:08
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: g2.4pre-587-g65f2433 clicking in menus unresponsive
Description: 2 situations:

- Using the mouse to click on [New Save] doesn't work
- When you go to the Player Menu and try to change your name by clicking with the mouse, the on-screen keyboard appears, but you cannot click on anything on the on-screen keyboard

Additionally, with the on-screen keyboard above, if you move the cursor using your keyboard to "end" and hit Enter, the game will boot you to the console.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
306 [Gameplay + OpenGL] Bug minor always 2017-02-19 14:23 2017-02-19 15:00
Reporter: Gutawer Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Issues to do with portals (water reverb, drowning and visual bugs)
Description: All described bugs can be observed in an attached wad -
First of all - portals exhibit some funky behavior when one portal sector has the waterzone flag - reverb starts not at eye level, but as soon as the bottom of the player's hitbox touches the portal. Second of all, if you start drowning inside the lower sector, and bring your eye level above the portal, you will carry on drowning as if your eye level is still underwater.
Finally, there is a visual quirk that appears on all portals, but can be very easily seen with a water sector - when you go into a portal, for 1 frame (I think) you can see your player sprite on the screen - this is very obvious when bobbing on water, since you are constantly exiting and entering the portal.
Tags: portals, reverb, sound, Visual
Steps To Reproduce: 1st issue - hold down fire on the pistol while out of water, and jump in - reverb starts before it should.
2nd issue - go into the water, and start drowning, bring eye level above water and you will keep drowning until you go through the portal.
3rd issue (OGL only) - go into the water and hold down space so you bob up and down, you should notice doomguy flashing on the screen every few frames.
Additional Information:
Attached Files: Portal Water Reverb.wad (5,198 bytes) 2017-02-19 14:23
https://mantis.zdoom.org/file_download.php?file_id=89&type=bug
Notes
(0000667)
Graf Zahl   
2017-02-19 14:30   
Putting a water boundary on a portal is unsupported. This cannot be fixed with how the code works.
(0000668)
Graf Zahl   
2017-02-19 14:35   
Fixed 3.
1+2 not really fixable.
(0000669)
Gutawer   
2017-02-19 15:00   
Fair enough then.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
302 [Gameplay + OpenGL] Bug minor always 2017-02-19 08:49 2017-02-19 11:27
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: g2.4pre-576-gc4a90f3 no on-screen keyboard for Player Menu's name box
Description: In the Player Menu, when you click the Name text box with the mouse, no on-screen keyboard appears like in the Load/Save UI.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
294 [Gameplay + OpenGL] (No Category) minor have not tried 2017-02-18 19:33 2017-02-19 11:15
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ListMenuItems cannot inherit from other items
Description: If you try plugging this into zscript and then plugging it into menudef, it'll error saying it does not recognize it. If you try giving it the exact same init and initdirect functions, it'll give a bunch of 'cannot convert <x> to <y>' error.

This leaves little choice but to continuously copy/paste the ListMenuItemTextItem itself directly with only one rename, and perform everything else from there, introducing lots of code bloat.

OptionMenuItems on the other hand don't have this problem.

Class ListMenuItemTextItemBlink : ListMenuItemTextItem
{
    const moveFraction = 7;
    const initialDirection = 0.1;
    double glowAlpha;
    double glowDir;
    double widest;
    int activeTimer;
    bool triggered;
        
    //==========================================================================
    // The following are vastly modified from their originals.
    //==========================================================================
    
    override void Drawer(bool selected)
    {
        if (glowDir == 0.0)
        {
            glowAlpha = 1.0;
            glowDir = -initialDirection;
        }
        
        screen.DrawText(mFont, mColor, mXpos, mYpos, mText, DTA_Clean, true);
        
        if (selected)
        {
            glowAlpha += glowDir;
            if (glowAlpha >= 1.0 || glowAlpha <= 0.0)
            {
                glowDir = -glowDir;
                glowAlpha += glowDir;
            }
            screen.DrawText(mFont, mColorSelected, mXpos, mYpos, mText, DTA_Clean, true, DTA_Alpha, glowAlpha);
        
}
        else
        {
            glowAlpha = 1.0;
            glowDir = -initialDirection;
        }
    }
    
    //==========================================================================
    //
    //==========================================================================
    
    override bool Activate()
    {
        let tm = ListMenuScroller(Menu.GetCurrentMenu());
        if (tm)
        {
            tm.TriggerMovement();
            triggered = true;
            return true;
        }
        else
        {
            triggered = false;
            return false;
        }
    }
    
    override void Ticker()
    {
        if (triggered)
        {
            if (activeTimer < moveFraction)
                activeTimer++;
            else
            {
                triggered = false;
                activeTimer = 0;
                Menu.SetMenu(mAction, mParam);
            }
        }
        Super.Ticker();
    }
}
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: TestMenu.pk3 (521 bytes) 2017-02-19 06:21
https://mantis.zdoom.org/file_download.php?file_id=86&type=bug
Notes
(0000652)
Major Cooke   
2017-02-18 19:33   
...completely forgot to set the categories, whoops.
(0000653)
Graf Zahl   
2017-02-19 02:51   
Please post testable examples, not code fragments!
(0000654)
Major Cooke   
2017-02-19 06:21   
Here. Download this file.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
303 [Gameplay + OpenGL] Bug minor always 2017-02-19 10:37 2017-02-19 11:11
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Menu graphics bug with OffsetPositionY
Description: Load the following file in Doom 2 and press escape. Open the options menu. Notice how everything goes up, except for the doom staticpatch.

Press escape again. It comes up from the bottom once more.

Now select Quit Game and press enter. Everything appropriately scrolls downwards, and back up again after hitting escape again.

I believe it's something to do with StaticPatch's Drawer code.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: TestMenu.pk3 (3,366 bytes) 2017-02-19 10:37
https://mantis.zdoom.org/file_download.php?file_id=87&type=bug
Notes
(0000659)
Major Cooke   
2017-02-19 10:38   
...Now I really wish there was an editing feature so I could change the title of this bug report.
(0000662)
Graf Zahl   
2017-02-19 11:11   
If you had bothered to look at the drawer code for this item, you might have noticed that the static patch treats negative coordinates differently. This is old and used by mods, so if you need it differently you have to create a child class and change it to your liking.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
296 [Gameplay + OpenGL] (No Category) minor have not tried 2017-02-19 05:31 2017-02-19 10:59
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "take weapons" after a restart causes crash
Description: Stack trace included
Tags:
Steps To Reproduce: 1) Start a game - E1M1 is fine.
2) Issue "restart" ccmd
3) Start a game again - E1M1 is still fine
4) Issue "take weapons" ccmd
5) Close the console
** Boom! **
Additional Information: Stack trace:

> qzdoom.exe!DBaseStatusBar::GetCurrentAmmo(AInventory * & ammo1, AInventory * & ammo2, int & ammocount1, int & ammocount2) Line 1310 C++
     qzdoom.exe!DSBarInfo::_Draw(EHudState state) Line 1075 C++
     qzdoom.exe!D_Display() Line 826 C++
     qzdoom.exe!D_DoomLoop() Line 1027 C++
     qzdoom.exe!D_DoomMain() Line 2698 C++
     qzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035 C++
     qzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int nCmdShow) Line 1345 C++
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
298 [Gameplay + OpenGL] Bug block always 2017-02-19 06:03 2017-02-19 10:30
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: suspended  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Quit confirmation keys 'y/n' not working anymore
Description: Happens with g2.4pre-577-g3c8a5fd , not with 2.3. Something wrong happened during the zscriptification of the menu.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000657)
Graf Zahl   
2017-02-19 10:30   
How is this a BLOCK???

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
290 [Gameplay + OpenGL] Feature feature have not tried 2017-02-17 13:10 2017-02-19 10:24
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Change menu coordinate points to doubles
Description: So I have this sine wave to demonstrate a moving menu, and while it works, there's a problem with it. It has a noticeable jaggedness when slowing down and speeding up, thanks to the fact that the x and y coordinates are all ints.

Would it be at all possible to switch the ints to doubles?
Tags:
Steps To Reproduce:
Additional Information:
Class ListMenuScroller : ListMenu
{
    double sineWave;
    Array<Double> px;
    bool saved;
    
    override void Ticker()
    {	
        if (px.Size() <= 0)
            px.Reserve(mDesc.mItems.Size());
        
        sineWave = (sineWave + (360.0 / 35.0)) % 360.0;
        
        for(int i=0; i < mDesc.mItems.Size(); i++)
        {
            if (!saved)
            {
                px[i] = mDesc.mItems[i].GetX();
            }
            mDesc.mItems[i].SetX(px[i] + sin(sineWave) * 5);
        }
        saved = true;
        Super.Ticker();
    }
}
Attached Files:
Notes
(0000645)
Nash   
2017-02-17 19:37   
Would be nice to have doubles for smoothly animated menus and visual effects.
(0000646)
Major Cooke   
2017-02-17 19:38   
Agreed.
(0000648)
Graf Zahl   
2017-02-18 04:50   
Should be possible, but I first need to export the entire ListMenu hierachy to ZScript. Otherwise it'd be too much mess.

Still 3 classes to convert first.
(0000656)
Major Cooke   
2017-02-19 09:29   
I'm looking forward to this one. Sine waves will be made all the better for it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
300 [Gameplay + OpenGL] Bug major always 2017-02-19 08:02 2017-02-19 09:09
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Broken save/load menu
Description: After scriptification of menus <New Save Game> entry is added to save and load menus as many time as game is saved.
It's possible to crash the game by manipulating with these extra entries.
Tags:
Steps To Reproduce: 1. Start new game
2. Save
3. Open load menu and notice <New Save Game> entry there
4. Open save menu and notice extra <New Save Game> entry there
Additional Information: The problem lies in changes of TextEnterMenu and SaveMenu cooperation.
Order of calls was swapped here in comparison with native menus.
Now SaveMenu instance can use text stored in TextEnterMenu object however Destroy was never called for the first object because of that.

I think that M_ClearMenus() function can be rewritten like this to fix the problem above:
void M_ClearMenus ()
{
    M_DemoNoPlay = false;
    while (CurrentMenu != nullptr)
    {
        DMenu* parent = CurrentMenu->mParentMenu;
        CurrentMenu->Destroy();
        CurrentMenu = parent;
    }
    V_SetBorderNeedRefresh();
    menuactive = MENU_Off;
}

Although this function called from many places and I cannot say that it's 100% safe to do so.
Attached Files:
Notes
(0000655)
Graf Zahl   
2017-02-19 09:08   
The fix looks ok, this should be done anyway, it was just lucky happenstance that with the internal menus it never caused issues.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
293 [Gameplay + OpenGL] Bug block have not tried 2017-02-17 23:25 2017-02-18 02:37
Reporter: Matthew the Glutton Platform: Debian Jessie  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [013e52fa] won't compile
Description: [ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_parse.cpp.o
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_oper.cpp:46:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
[ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_prepro.cpp.o
[ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_script.cpp.o
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_parse.cpp:48:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_prepro.cpp:56:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.cpp:48:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
[ 92%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_spec.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_variable.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/fragglescript/t_cmd.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/sprites.cpp.o
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_spec.cpp:44:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./files.h:7,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./resourcefiles/resourcefile.h:6,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_setup.h:26,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_script.h:40,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_variable.cpp:55:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_local.h:27,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/fragglescript/t_cmd.cpp:43:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/voxels.cpp.o
[ 93%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/renderstyle.cpp.o
[ 93%] In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/sprites.cpp:2:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
Building CXX object src/CMakeFiles/zdoom.dir/r_data/r_interpolate.cpp.o
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/sprites.cpp: In function ‘void R_InitSkins()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/sprites.cpp:805:86: error: cannot pass objects of non-trivially-copyable type ‘class FString’ through ‘...’
      Printf (PRINT_BOLD, "Skin %s (#%u) has no frames. Removing.\n", Skins[i].Name, i);
                                                                                      ^
src/CMakeFiles/zdoom.dir/build.make:8841: recipe for target 'src/CMakeFiles/zdoom.dir/r_data/sprites.cpp.o' failed
make[2]: *** [src/CMakeFiles/zdoom.dir/r_data/sprites.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./c_cvars.h:37,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/renderstyle.cpp:37:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./dobject.h:38,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./m_argv.h:37,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/voxels.cpp:42:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
In file included from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./doomtype.h:48:0,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./p_3dmidtex.h:5,
                 from /home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/r_data/r_interpolate.cpp:36:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h: In member function ‘FStringNoInit::operator FString&()’:
/home/mchan223/doom/gzdoom-013e52fabdac535bf17dbb64a1d2e8db1726313d/src/./zstring.h:458:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   return *reinterpret_cast<FString*>(&mem);
                                          ^
CMakeFiles/Makefile2:719: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000647)
_mental_   
2017-02-18 02:37   
Fixed in 0ffd475.

Looks like we need to setup Travis CI or any other free continuous integration platform that supports Linux/Mac targets.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
281 [Gameplay + OpenGL] Bug crash always 2017-02-16 14:23 2017-02-17 12:38
Reporter: Tormentor667 Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GZDoom instantly crashes at startup launching Blade of Agony
Description: GZDoom instantly crashes when starting with Blade of Agony and the latest versions of GZDoom. Unfortunately I only get a CrashReport.zip but no console information or anything else that could tell me what's going on.

https://github.com/Realm667/WolfenDoom

The report is attached, maybe it helps.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: CrashReport.zip (16,127 bytes) 2017-02-16 14:23
https://mantis.zdoom.org/file_download.php?file_id=80&type=bug
2017-02-16_211309.jpg (77,963 bytes) 2017-02-16 14:23
https://mantis.zdoom.org/file_download.php?file_id=81&type=bug
jpg
Notes
(0000624)
Graf Zahl   
2017-02-16 14:50   
Actually, the last error that got logged already points to the trouble spot. Obviously it should not crash, but "Super::Death+1" as a state jump destination is not allowed.
(0000641)
Tormentor667   
2017-02-17 11:00   
Thanks for the hint, we fixed the issue mod-wise, but a hint at the console instead would be helpful in this case.
(0000643)
Graf Zahl   
2017-02-17 12:38   
The crash is fixed, it will now be able to display the message.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
283 [Gameplay + OpenGL] Feature feature have not tried 2017-02-16 22:06 2017-02-17 07:51
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GetMousePosition for Menus
Description: Returns the vector2 of the mouse's placement on the screen.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000630)
Graf Zahl   
2017-02-17 04:58   
Every mouse event got its coordinates attached. Of course, if the user sets the mouse to touchscreen-like, you won't receive any mouse move events while the button is not pressed and that's entirely by design.

Before I even consider this, please show your use case.
(0000633)
Major Cooke   
2017-02-17 06:50   
(Last edited: 2017-02-17 06:53)
https://youtu.be/gPtpE8lgUIQ?t=220

A menu like this where you can move the mouse to, for example, one edge of the screen and have it 'mouse' over so the menu can scroll up, down, left or right through menus.

I.e. if you move the mouse close enough to the top, bottom, left or right, one can essentially use this for scrolling.

Also some menus have effects where if the mouse comes closer to certain buttons, the buttons will grow larger/smaller based on position.

(0000637)
Graf Zahl   
2017-02-17 07:50   
You get all relevant info through the MouseEvent function. But since you can set the menu to touchscreen-like I definitely won't add features that only work with hovering. These will break at the latest when the mod gets eventually played on a touchscreen device.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
286 [Gameplay + OpenGL] Feature feature have not tried 2017-02-17 07:13 2017-02-17 07:48
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GetCharPosition
Description: (String).GetCharPosition(int pos)

Say for example I have a string myString containing the word "choir".

myString.GetCharPosition(1) would return the x/y screen coordinates of the 'h' in choir.
myString.GetCharPosition(2) returns 'o', etc.

Useful if you want to draw a different color over that particular letter to indicate the menu shortcut key, for example, so users can push it and go straight to it.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000636)
Graf Zahl   
2017-02-17 07:48   
This would pretty much cut us off from future improvements of the font system, like TrueType support, so I have to ask you to do it inside the system with formatting characters that can be safely transitioned to different types of fonts. Even now you can run into the trap of incorrectly overlapping text.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
287 [Gameplay + OpenGL] Feature feature have not tried 2017-02-17 07:26 2017-02-17 07:48
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SetCharAt
Description: Following along with the idea of java's StringBuilder, setCharAt (in the answer box) would prove to be of great value, especially with 'glitch' text.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000634)
Graf Zahl   
2017-02-17 07:45   
The only way it could be done with FString is to manually split and reconstruct the string with Left() and Mid(), because strings are shared resources so I'll tag this as DIY.
(0000635)
Major Cooke   
2017-02-17 07:48   
Well I found Mid() but I'm not sure where Left() is.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
284 [Gameplay + OpenGL] Bug minor always 2017-02-17 04:46 2017-02-17 05:10
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Change control prompt missing
Description: Before scriptification, when you tried to change a key bind in the controls menu, the text at the top of the screen will change into a prompt "press new key for control, esc to cancel"... this prompt is missing in the latest revisions
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
285 [Gameplay + OpenGL] Bug minor always 2017-02-17 05:00 2017-02-17 05:04
Reporter: jewellds Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Menus are in the wrong aspect ratio.
Description: GZDoom stretches its graphics vertically by 20% to reproduce the non-square pixels of vanilla Doom. However, this scaling doesn't appear to happen in the menus, making the menu graphics appear squished.

This is irrespective of the screen's aspect ratio, as I tested this on both 4:3 and 16:9 resolutions.
Tags: GZDoom Menu
Steps To Reproduce: Press ESC.
Additional Information: Attached are two screenshots - the first is of the most current devbuild (gzdoom-g2.4pre-530-g59db1a8) displaying the menu with incorrect aspect ratio. The second is of prboom-plus demonstrating a menu with more accurate scaling.
Attached Files: gzdoom menu.PNG (355,992 bytes) 2017-02-17 05:04
https://mantis.zdoom.org/file_download.php?file_id=82&type=bug
prboomplus menu.PNG (227,656 bytes) 2017-02-17 05:04
https://mantis.zdoom.org/file_download.php?file_id=83&type=bug
png
Notes
(0000631)
Graf Zahl   
2017-02-17 05:01   
This is by design to allow clean pixel scaling. Stretching by a factor of 1.2 that doesn't look bad requires screen scaling factors that are a lot higher than the currently available 4 or 5.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
276 [Gameplay + OpenGL] Feature feature N/A 2017-02-15 22:32 2017-02-16 16:31
Reporter: RockstarRaccoon Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Action Special for Animated Doors which open without closing and can be closed manually.
Description: I'm using animated doors heavily, and would like a way to open or close them without the open-close stuff at will. This would be an action special, the same as 14: Door_Animated, but without the Delay, just Door_Animated_Open and Door_Animated_Close.

I want this because the animated doors are the most effective way to replicate Metroid Prime's hatch-doors, but having ones that stay open (like a blast cover which disappears permenantly when you blow it up) or suddenly shut behind you requires be to manually code in the animation...
Tags: Action Specials, Animated Doors, Effects
Steps To Reproduce: TLDR: I'm asking you to make a pair of Action Specials which split the existing one apart.
Additional Information:
Attached Files:
Notes
(0000614)
RockstarRaccoon   
2017-02-16 00:52   
(Last edited: 2017-02-16 01:51)
I think the permenant opening can be done just by going into p_doors.cpp , in the function DAnimatedDoor::Tick, and changing the code for the Waiting case to the following...
		if (m_delay != -1 && !m_Timer--)
        {
            if (!StartClosing())
            {
                m_Timer = m_Delay;
            }
        }

This would mean that an open-time of -1 would be permenant opening.

The closing would be more complicated, because I don't think just binding an action special to StartClosing() would do it. Either way, I'd like the ability to permenantly open an animated door. :3

(0000615)
RockstarRaccoon   
2017-02-16 01:55   
You could also add a separate case called "Open", which is turned to when the door is done opening with a delay of -1 or a Door_Animated_Open Action Special.
(0000617)
Graf Zahl   
2017-02-16 05:18   
Open shouldn't be a problem. Close I'm not so sure about, I'll have to check if the setup allows detecting that.
(0000619)
Graf Zahl   
2017-02-16 10:47   
Do you need this for UDMF or Hexen map format. Keep in mind that the amount of free specials for Hexen format is already very limited, we'd like to reserve these for really important things.
(0000621)
Graf Zahl   
2017-02-16 11:29   
Opening without closing can already be done by setting the delay to 0.
I added a new 'close' special for this type of door.
(0000627)
RockstarRaccoon   
2017-02-16 16:29   
I'm using UDMF: I'm a firm believer that everyone should use UDMF, because the drawbacks are so minor for a format which universalizes everything in such an elegant and easy to understand way.
(0000628)
RockstarRaccoon   
2017-02-16 16:30   
(Last edited: 2017-02-16 16:31)
That's awesome! Thanks so much! I look forward to using that in the next development release! :D

Edit: or, like, you know, whenever I get there. XD
But seriously, this is a good thing to add: animated doors have much more potential than we've given them the ability to achieve.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
282 [Gameplay + OpenGL] Bug minor have not tried 2017-02-16 15:16 2017-02-16 16:18
Reporter: FishyClockwork01 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Typo in p_doors.cpp DAnimatedDoor::Serialize
Description: https://github.com/coelckers/gzdoom/blob/master/src/p_doors.cpp#L542
I'm pretty sure 'tyoe' is supposed to be 'type', no?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
279 [Gameplay + OpenGL] Bug minor always 2017-02-16 11:12 2017-02-16 12:29
Reporter: simc Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: armor bug with dehacked patch
Description: It looks like the "Misc 0" line or section in the Dehacked lump is causing the Doom armors to bug: The green or the blue armor have no effect and the player gets hurt the same rate as without the armor. Also the armor points on the screen will stick constant at 100 or 200 even if the player gets hurt.

Just plain "Misc 0" line in the deh lump is enough. It doesn't need to follow any real commands. The misc section is for health, armor and infight setups. However, if you've no armor and you pick up only few armor bonuses any damage will wear them off as usual.
Tags:
Steps To Reproduce: Try the test wad for Doom2 MAP01. It has an embedded deh lump with just one line. Pick up the armor and use the nukage pool or the imp to get hurt. If you edit the wad and remove the dehacked lump the armors behave as usual.

This can be noticed in classic wads such as Knee Deep in ZDoom (kdizd.pk3/kdizd_12.pk3), RTC-3057 (3057hub1.wad), Nimrod and Dark7 mission pack1 with cw-sin1.wad (shipped in dark7mpk1.zip).
Additional Information: This occures with both 32/64-bit gzdoom-g2.4pre-521-gd8ebbcf (Feb 15th) and gzdoom-g2.4pre-310-gbecc00a (Feb 2nd) but not with the last ZDoom builds.
Attached Files: testwad_deh+armor.zip (583 bytes) 2017-02-16 11:12
https://mantis.zdoom.org/file_download.php?file_id=79&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
272 [Gameplay + OpenGL] Feature feature N/A 2017-02-15 09:47 2017-02-16 11:05
Reporter: Xaser Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "Scorch" property for railgun puffs
Description: Unlike hitscans, setting the "Scorch" property on a railgun puff does nothing. Would be super-handy if we could use it to control puffs on a per-attack basis.

Use case: I'm overlaying multiple rail attacks to achieve a certain effect (partial piercing), and there's currently no way to tell just one of the attacks to leave a scorch, so I get ten or so scorches overlaid. Yuck. :P

[There's likely an extensive list of things that were implemented for hitscan puffs for which equivalent railgun code was never written, but I'm not at a place time-wise to do a full audit.]
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000607)
Graf Zahl   
2017-02-15 14:12   
You can already do that, but the puff must have the FORCEDECAL flag.
For obvious reasons this cannot be changed now, even though the behavior is different than for normal hitscans.

(0000620)
Xaser   
2017-02-16 11:05   
Good to know! I'll add a note on the wiki for other folk.

[Also, why the fook did I forget the name of the "Decal" property? "Scorch" is a value, not a name :P]

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
278 [Gameplay + OpenGL] Feature minor have not tried 2017-02-16 09:01 2017-02-16 10:40
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Allow one-time definition of a custom OptionMenu class
Description: Currently the only way to get all of the menus to use your custom OptionMenu class is to copy and paste every menu from GZDoom's MENUDEF and then explicitly specifying your custom menu option class for each block.

I see there is a DefaultOptionMenu block in MENUDEF but putting the Class definition in there doesn't seem to globally replace all of the Option menu with your custom class.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
229 [Gameplay + OpenGL] Bug minor always 2017-02-10 05:01 2017-02-16 04:53
Reporter: drfrag Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: dissapearing weapons in BD 20 when killed changing weapon and then resurrect
Description: GZDoom 2.3.2 + brutalv20b.pk3 + brutalv20c_UP.pk3. I don't think this happened before: if you get killed while deselecting a weapon when you resurrect the new weapon appears briefly but then dissapears and you can't shoot nor change weapons. Reproducible with the kill command but not deselecting the chaingun, i guess becouse deselecting it is fast. This doesn't happen in vanilla.
http://www.moddb.com/mods/brutal-doom/addons/my-brutal-doom-v20c-unofficial-patch
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000488)
_mental_   
2017-02-10 06:32   
Works for me using 2.3.2 and the current devbuild.
I tried to issue kill CCMD during switching weapons several times and everything was functional after respawning.
(0000516)
drfrag   
2017-02-11 12:13   
Just retested, it happens on 2.3.2 but you need to load both pk3s i mentioned earlier. Probably you're being too slow killing yourself. Go to doom2 map01, type idfa. Then change from rifle to shotgun and again to rifle but you must be quick enough to enter the console before the weapon is completely lowered, type kill and then resurrect. It's there.
(0000529)
_mental_   
2017-02-12 08:32   
Steps to reproduce are time critical indeed.
GZDoom 2.2.0 has this issue too, 1.9.1 is free from it.
(0000530)
drfrag   
2017-02-12 11:50   
Yes but has happened to me several times during normal play. Thanks for looking into it.
(0000592)
_mental_   
2017-02-15 02:29   
The issue began to happen right from the first PSprites commit.
(0000594)
Graf Zahl   
2017-02-15 03:39   
Oh joy, that's gonna be fun... :(
(0000597)
Graf Zahl   
2017-02-15 05:43   
Sorry, not fixable. Most of the weapons' deselect states are badly defined and depend on side effects of how the weapon code works. Most importantly they nearly all end in a one-tic 'wait' loop without any call to A_Lower, and that's where it gets stuck in. When the player dies while the weapon lowers it just happens to run past the last A_Lower, because with a dead player A_Lower won't deselect the weapon. Unfortunately, unlike with a proper deselect state, it won't get stuck on a state with A_Lower on it but on one without any function call, so after resurrection there is no way for the code to recover - it needs that A_Lower call in there somewhere to properly deselect the weapon.

And this is far too inconsequential to risk more serious issues by trying to work around it.


(0000616)
drfrag   
2017-02-16 04:53   
Well it's a cheat after all, i guess we'll need to save often from now on. Anyway do you mean it can be avoided adding more A_Lower calls in decorate?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
142 [Gameplay + OpenGL] Bug minor always 2017-01-29 19:12 2017-02-15 17:30
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Non-blocking 3D floors and splashes 0000002
Description: Further to the fix for splashes on non-blocking 3D floors, their behaviour is still slightly different to an otherwise identical swimmable floor.

A swimmable floor will produce splashes with actors (enemies, blood spots, dropped items, the player, plasma bolts etc) and hitscan attacks. Non-blocking 3D floors only produce splashes with actors and not hitscans.

Shooting a 3D swimmable floor with the pistol/shotgun/chaingun will produce the small-type splashes for the terrain type. Shooting a non-blocking 3D floor will not produce any splash with the hitscan weapons.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000611)
Graf Zahl   
2017-02-15 16:05   
Added, but since I have no testing material I'll leave it to you...
(0000613)
Enjay   
2017-02-15 17:30   
Seems to be working just fine. Thank you very much. :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
234 [Gameplay + OpenGL] Bug minor always 2017-02-10 10:31 2017-02-15 15:49
Reporter: rex Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 7 Pro  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Fade-In & Fade-Out Seem to be Selectively Broken
Description: Fade-in & fade-out do not work as intended in a TITLEMAP. The opening fade-in works fine, but subsequent fades (via ACS) do not work.

Fade-in and fade-out (via ACS) work fine in other "regular" maps.
Tags:
Steps To Reproduce: 1. Start a game with a TITLEMAP that uses fades-in and fades-out. Paranoiac is a good example.
2. The initial fade-in works, but subsequent fades-in and -out do not work.
3. Open a map with ACS-created fades-in and -out. They work fine. [Map 16 of Paranoiac is a good example.]
Additional Information: This is happening on gzdoom-x64-g2.4pre-387-gbe9b2b3 (and some earlier dev builds as well)
It doesn't happen on v2.3.2
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
226 [Gameplay + OpenGL] Bug minor always 2017-02-09 17:04 2017-02-15 14:20
Reporter: FishyClockwork01 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Setting DamageFactor 0 on a PowerProtection item doesn't make you immune
Description: To be specific DamageFactor that is non-zero works as intended. It's just that, right now, it's impossible to be completely immune to a specific damage type.

For example, this should make you immune to melee damage, but it only minimizes it.
Class PowerT : PowerProtection
{
    Default
    {
        ActiveSound "pain/pain";
        DamageFactor "Melee", 0;
    }
}
Class T : InvulnerabilitySphere
{
    Default
    {
        Powerup.Type "PowerT";
    }
}
Tags:
Steps To Reproduce: Save the above code as zscript.txt and drag-drop it on gzdoom. Give yourself the T item, summon a Demon (Pinky) and let it bite you. It should cause some damage even though it's not supposed to.
Additional Information:
Attached Files:
Notes
(0000524)
LordMisfit   
2017-02-11 23:35   
Unfortunately I seem to be having this issue, and it sort of breaks my "evasion" mechanic which relies on setting Damagefactor to "0" as well, so I'm hoping this gets addressed soon. :o

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
247 [Gameplay + OpenGL] Bug minor have not tried 2017-02-11 16:43 2017-02-15 10:49
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Enemies can't cross steep slopes under 3D floors
Description: I think I've narrowed down the conditions that create this situation...

If an an enemy is trying to cross a 3D floor with a steep slope under it, the enemy will refuse to cross; even if the slopes are pretty small.

Tested in GZDoom 2.3.2 and a Git build from 11 Feb.

This represents a change in behaviour: the attached map behaves differently in ZDoom.
Tags:
Steps To Reproduce: Load the attached map. There is a shallow trench in the middle of the first room and a translucent 3D floor fills it so that the top of the 3D floor is the same as the room floor (height value 0). This should allow enemies to cross but they don't.

I have managed to recreate this reliably in some real maps with similar setups.

The trench is only 16 units deep but has a 45 degree slope (from -16 to -8) at the edge.

The next room is almost the same but the slopes have had their floor height lowered to -12 so that the gradient is now less than 45 degrees. The enemies in this room will walk across the 3D floor.

In ZDoom enemies will walk across the 3D floor in both rooms.

Removing the 3D floor makes the enemies in ZDoom behave the same as in GZDoom; i.e. in both ports the enemies don't go into the trench in the first room but they do in the second room. So, it would appear that the enemies in GZDoom are behaving as if the 3D floor was not providing a bridge over the slopes for them.
Additional Information:
Attached Files: FloorTest.zip (2,578 bytes) 2017-02-11 16:43
https://mantis.zdoom.org/file_download.php?file_id=67&type=bug
Notes
(0000537)
Graf Zahl   
2017-02-12 18:57   
Welcome to the mess of Doom's movement code. :(
I hope this can be fixed.
(0000598)
Graf Zahl   
2017-02-15 05:47   
You keep saying 'in ZDoom'. Which version? 2.8.1 or some devbuild?
(0000604)
Enjay   
2017-02-15 10:49   
Sorry, I should have been clear. ZDoom 2.8.1 I know it's old but I'm sort of using it as a baseline for the last official build before the recent major changes started.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
253 [Gameplay + OpenGL] Bug minor always 2017-02-12 15:21 2017-02-15 06:44
Reporter: GFD Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Player sounds cannot be changed
Description: Attempting to change the player sounds for a derivative player class made in DECORATE doesn't work anymore, where it did in 2.8.1.
Tags: DECORATE
Steps To Reproduce: The uploaded example tries to make the player sound like a Revenant using a new "DoomScreamer" player class with a "Screamer" sound class.
Additional Information:
Attached Files: gfdplayersound_test.pk3 (683 bytes) 2017-02-12 15:21
https://mantis.zdoom.org/file_download.php?file_id=71&type=bug
Notes
(0000599)
_mental_   
2017-02-15 06:44   
Graf fixed the bug in c8db1f1.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
188 [Software Renderer] Bug minor always 2017-02-05 02:34 2017-02-15 06:01
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Fog boundaries broken in Pal-Carmack renderer
Description: Fog boundaries do not render correctly in the 256-color classic renderer. This issue is not present in GZDoom.
Tags:
Steps To Reproduce: Screenshot: http://imgur.com/zRevQnn
Mod download: https://forum.zdoom.org/viewtopic.php?f=42&t=54708 (dead.air)
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
269 [Gameplay + OpenGL] Bug minor always 2017-02-15 01:08 2017-02-15 05:14
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cleric and Mage incorrectly use Fighter's player sounds
Description: Hexen's Cleric and Mage are currently not playing their unique sound effects (grunt, pain, death, etc.); they are playing those of the Fighter instead.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000593)
Graf Zahl   
2017-02-15 03:37   
This is the third report about player sound weirdness I got recently. Do you have any idea when this started?
(0000596)
_mental_   
2017-02-15 05:14   
This started from this commit.
The same applies to 0000253 as well.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
270 [Gameplay + OpenGL] Bug minor always 2017-02-15 01:17 2017-02-15 04:55
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Player Class setting in Player Setup doesn't show correct class
Description: When loading a saved game, the Player Class setting in the Player Setup screen will not update to show the class currently being used. If a new game has been started this session, it will instead show the last class selected. If no new game has been started this session, it will instead display the "default" player class (the Cleric if playing Hexen).
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000595)
Graf Zahl   
2017-02-15 03:53   
Congratulations for finding such an ancient bug. I just tested it with a few versions, this dates back from the very beginning of Hexen support, it seems. I was able to reproduce it with v 2.0.63a which is 13 years old...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
245 [Gameplay + OpenGL] Feature minor N/A 2017-02-11 14:57 2017-02-14 18:02
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Read custom UDMF values from ZScript
Description: I'd like to request the ability to read custom UDMF values entered into the map, in ZScript, just like how ACS' GetUDMF*** allows.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000518)
Lud   
2017-02-11 16:20   
Well, that's another way to ask for what I requested here: https://mantis.zdoom.org/view.php?id=171

Except this one's actually better. Other request can be closed if this makes it in first.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
237 [Gameplay + OpenGL] Feature minor N/A 2017-02-11 03:55 2017-02-14 17:41
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Used (?) virtual method
Description: I'd like to request a virtual method that gets run when an Actor gets +use'd. Currently the only way to do this that's supported by the engine - for non-talking Actors - is via +USESPECIAL but I do not want to assign specials to my Actors (also trying to avoid using ACS for this). Thanks!
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
246 [Gameplay + OpenGL] Bug major always 2017-02-11 15:14 2017-02-14 16:27
Reporter: Cherepoc Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Name properties throw "Numeric type expected" error
Description: g2.4pre-392-gd2affc7
When you use a name variable for property, assigning a value to it in the default block throws "Numeric type expected" error. String variables work fine.
Example:

class MyClass : Actor
{
    Name SomeName;
    property SomeName : SomeName;
    
    Default
    {
        MyClass.SomeName 'yay';
    }
}
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000536)
Graf Zahl   
2017-02-12 18:56   
Yeah, not implemented yet. Since Name is an int internally it gets caught in the wrong check.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
252 [Gameplay + OpenGL] Bug crash always 2017-02-12 15:19 2017-02-14 16:13
Reporter: Lud Platform: Microsoft Windows  
Assigned To: OS: Windows  
Priority: high OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash on using Line_SetPortalTarget with Interactive portals.
Description: What says on the tin. I've attached crash report and a test map.
Tags:
Steps To Reproduce: In the test maps, there are three rooms. Right in front of where you start is a portal line that leads to the room under the start one. In that room is a switch which activates a script that changes the portal target on the line behind you in the 2nd room to lead to a 3rd room which has SUPPORT2 texture on walls and floor/ceiling. However, it crashes upon pressing the switch.
Additional Information: This only happens for Interactive portals. Visual and Visual + Simple Teleporter work fine.
Attached Files: CrashReport.zip (29,750 bytes) 2017-02-12 15:19
https://mantis.zdoom.org/file_download.php?file_id=69&type=bug
LineSetPortalTest.wad (7,312 bytes) 2017-02-12 15:19
https://mantis.zdoom.org/file_download.php?file_id=70&type=bug
Notes
(0000531)
Lud   
2017-02-12 15:20   
Hm, forgot to set category to Bug. Could you please do that for me, Rachael? Thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
257 [Gameplay + OpenGL] Bug minor always 2017-02-13 00:50 2017-02-14 15:47
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Arc of Death projectile repeatedly plays sound after disappearing
Description: The Arc of Death projectile, after hitting a shootable object and then "dying", will continue to play a sound effect after it has disappeared. The sound will play about 10 times or so. The sound is played from the point where the projectile "died".

It sounds like the effect being played is "MageLightningZap" (lump "gntact1").

Reproduced using the most current dev build, gzdoom-x64-g2.4pre-394-g9482c3e.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
241 [Gameplay + OpenGL] Bug minor always 2017-02-11 09:40 2017-02-14 15:05
Reporter: Viggles Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Sprite clipping causes animation jitter in Minor Sprite Fixing Project
Description: GZDoom 2.3's sprite clipping causes jittery animation with the replacement Twitching Impaled Human (thingtype 26) sprite included in the Minor Sprite Fixing Project 1.8.

If sprite clipping is set to "never", "smart" or "smarter", the two-frame twitching animation jumps up and down by several pixels. The "always" setting stops the jittering. The jitter does not occur in GZDoom 1.x with any sprite clipping setting, nor does it occur in 2.3's software renderer.
Tags:
Steps To Reproduce: 1. Load the attached twitchtest.wad alongside D2SPFX18.WAD from the Minor Sprite Fixing Project 1.8, using DOOM2.WAD as the IWAD.
2. Set gl_spriteclip to 0 ("never"), 1 ("smart") or 3 ("smarter"). Sprite animation will jitter vertically by several pixels between frames.
3. Set gl_spriteclip to 2 ("always"). Sprite animation will stop jittering.
Additional Information: This appears to be triggered by the fact that only one of the animation frames is replaced in the sprite fixing PWAD: POL6A0, which in the fix PWAD is 38x66px with an offset of 19x, 62y. (In the original IWAD, POL6A0 is 35x66px with an offset of 17x, 62y.)

Its companion frame from the original IWAD, POL6B0, is 38x66px with an offset of 19x, 62y. Importing POL6B0 from the IWAD into the fix PWAD with the same size and offset causes the jitter to go away; even though nothing has changed in the graphic itself, something about having both sprites present in the PWAD fixes it.
Attached Files: twitchtest.wad.zip (428 bytes) 2017-02-11 09:40
https://mantis.zdoom.org/file_download.php?file_id=65&type=bug
Notes
(0000513)
Viggles   
2017-02-11 09:45   
Sorry, I should have been more precise with version numbers: the jitter is present in GZDoom 2.3.2, but not in GZDoom 1.9.1. I haven't tested any in-between versions.
(0000533)
Viggles   
2017-02-12 18:51   
There's some further discussion of this issue on the Minor Sprite Fixing Project thread here: https://www.doomworld.com/vb/wads-mods/62403-doom-2-minor-sprite-fixing-project-v1-8-release-updated-11-15-16/13/, including a link the commit that brought about the issue, and Revenant100 proposes a heuristic for avoiding these kinds of conflicts.

The sprite offset overrides added in https://github.com/coelckers/gzdoom/commit/834802def36d59ed34a76cdb83817a68546ee917 are only applied to sprites from the original IWAD; if a PWAD replaces one of these sprites, the offset defined in the PWAD is used for that sprite. However, the Minor Sprite Fixing Project PWAD does not replace every frame of every sprite animation: so the unmodified frames receive GZDoom's overridden offsets, while the replaced frames are left alone, resulting in jitter as it animates between the two.

Revenant100's proposal is for GZDoom to recognise sprite animations as a group: if any one sprite from a group is overridden in a PWAD, then no offset overrides should be applied to the other sprites in that animation group.
(0000584)
Graf Zahl   
2017-02-14 15:05   
I hope this works out.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
249 [Gameplay + OpenGL] Bug minor always 2017-02-12 07:30 2017-02-14 15:03
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GZDoom not good at detectng once you have left a swimmable 3D floor
Description: I accidentally made the attached setup in a real map (it wasn't quite what I intended) and noticed that there was some weirdness going on when I left the swimmable 3D floor. As long as I didn't break the surface of the 3D floor fully, GZDoom would continue to think that I was in a swimmable section even when I wasn't.

Noticed in the 12 Feb git build. 2.3.2 does not display this behaviour (i.e. it works as expected).
Tags:
Steps To Reproduce: Try the attached map. The only swimmable 3D floors are the ones in the pit and under the tunnel. The surrounding water is not set to be swimmable.

Jump into the 3D water then very carefully leave so that you don't jump up as you leave. If you manage this, then GZDoom will continue to think that you are in a swimmable sector even when you aren't. You can tell this by the slight drag that you can feel on the player movement and if you walk up to a wall, you can "climb" it and then remain floating as you move around the area. As long as you stay above the sector with the 3D water (which is non-swimmable BTW) then you can continue to float.

See this video for the technique to reproduce the bug.

https://youtu.be/pTCe7a131eQ

In the first and third attempts, I demonstrate the bug. In the second I jump up slightly as I leave the water and that's enough to cancel the swimming effect.
Additional Information:
Attached Files: swimming.zip (3,249 bytes) 2017-02-12 07:30
https://mantis.zdoom.org/file_download.php?file_id=68&type=bug
Notes
(0000539)
Graf Zahl   
2017-02-12 19:00   
I blame you for this, requesting that splash change. :P
(0000568)
Enjay   
2017-02-13 17:57   
Heh, I had a funny feeling that might be related - and that I'd get the blame. ;)
(0000581)
Graf Zahl   
2017-02-14 13:12   
I hope it's better now. But if this also doesn't work right I'll revert this entirely.
(0000583)
Enjay   
2017-02-14 15:03   
I just made a build and tested it in a few situations where I was experiencing the problem. It seems to be working as intended now. Thanks very much. :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
261 [Gameplay + OpenGL] Bug tweak always 2017-02-13 13:47 2017-02-14 14:11
Reporter: LadySlash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DrawNumber seems to work incorrectly with Powerups
Description: When used with "PowerupTime" value, DrawNumber always shows 1 for inactive powerups, whether or not "whennotzero" flag is set. Happens since g2.4pre-174 build
Tags:
Steps To Reproduce: Run GZDoom (g2.4pre-174 or later) with the attachment or any mod that uses such thing in its status bar (for instance, I had GZDoom running with "Hunter's Moon" mod)
Additional Information: (just a comment to file) The attachment features a status bar with only timers for all default time-limited powerups. The "whennotzero" flag is set for BlurSphere and RadSuit and not set for Invulnerability and Infrared
Attached Files: statBarPUTest.wad.bak (1,369 bytes) 2017-02-13 13:47
https://mantis.zdoom.org/file_download.php?file_id=76&type=bug
Notes
(0000582)
Graf Zahl   
2017-02-14 14:11   
Fixed. This code was doing some weird manipulation of the number that got lost when part of the code was moved into scripts.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
194 [Gameplay + OpenGL] Submission feature have not tried 2017-02-05 20:00 2017-02-14 12:13
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Event Handler System
Description: https://github.com/coelckers/gzdoom/pull/236

ZZYZX told me the system's ready for implementation and said I could post this on mantis.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000580)
Graf Zahl   
2017-02-14 12:13   
I think this is good to go.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
256 [Gameplay + OpenGL] Bug block always 2017-02-12 21:57 2017-02-14 12:07
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: NumberFields broken
Description: Try loading D4D. It will fail to load saying:

Script error, "D4D.pk3:menudef.txt" line 264:
Unknown CVar 0
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000544)
Major Cooke   
2017-02-13 06:34   
(Last edited: 2017-02-13 06:34)
	OptionMenuItemNumberField Init (String label, Name command, float minimum = 0, float maximum 
= 100, float step = 1, CVar graycheck = null)
    {
        Super.Init(label, command, graycheck);
        mMinimum = min(minimum, maximum);
        mMaximum = max(minimum, maximum);
        mStep = max(1, step);
        return self;
    }


Turns out this doesn't actually look for the cvar itself. This makes it impossible to use NumberFields entirely.

(0000562)
Graf Zahl   
2017-02-13 15:54   
You have an extraneous 0 there which triggers a newly added error check that was previously accepted silently.
Seems I have to demote it to a warning so that all those modders can conveniently ignore it. :(
(0000565)
Major Cooke   
2017-02-13 16:05   
(Last edited: 2017-02-13 16:06)
That extraneous 0 is for the increment count which aught to mean "use default", correct?

(0000566)
Graf Zahl   
2017-02-13 17:15   
No, that fourth number is extraneous. The third one is the increment counter.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
268 [Gameplay + OpenGL] Bug minor always 2017-02-14 10:20 2017-02-14 11:20
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Broken negative Y texture scale with OpenGL
Description: Walls with negative vertical texture scale are drawn incorrectly by hardware renderer.
Software one doesn't have this problem.
Tags:
Steps To Reproduce: Load attached map. Two affected walls will be filled with grey color instead of proper texture.
Additional Information:
Attached Files: neg_scale_test.wad (1,035 bytes) 2017-02-14 10:20
https://mantis.zdoom.org/file_download.php?file_id=77&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
264 [Gameplay + OpenGL] Bug minor have not tried 2017-02-13 19:54 2017-02-14 10:03
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Menu arrow keying doesn't play sound
Description: ..at least in D4D, open the menu and press the up or down keys. No sound plays.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
265 [Gameplay + OpenGL] Bug major always 2017-02-13 20:02 2017-02-14 09:50
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: D4D upgrade menu broken
Description: Chances are I'm going to be told to change the upgrade menu, but here goes...

Bind a key to UpgradeMenu, and try opening one of the weapon upgrades. Nothing happens.

OptionMenu "D4DUpgrade.Weapons"
{
    Title "Weapons"
    Command "Pistol", 			"test > $D4Pistol 0 \"openmenu D4DUpgrade.Pistol\" 
\"WNA\" "
    StaticText ""
    Command "Shotgun", 			"test > $D4Shotgun 0 \"openmenu D4DUpgrade.Shotgun\" 
\"WNA\" "
    StaticText ""
    Command "Super Shotgun", 	"test > $D4SuperShotgun 0 \"openmenu D4DUpgrade.SuperShotgun\" 
\"WNA\" "
    StaticText ""
    Command "Repeater", 		"test > $D4Repeater 0 \"openmenu D4DUpgrade.Repeater\" 
\"WNA\" "
    StaticText ""
    Command "H. A. R.", 		"test > $D4AssaultRifle 0 \"openmenu D4DUpgrade.HAR\" 
\"WNA\" "
    StaticText ""
    Command "Chaingun", 		"test > $D4Chaingun 0 \"CheckChgReq\" \"WNA\" 
"
    StaticText ""
    Command "Rocket Launcher", 	"test > $D4RocketLauncher 0 \"openmenu D4DUpgrade.RocketLauncher\" 
\"WNA\" "
    StaticText ""
    Command "Plasma Rifle", 	"test > $D4PlasmaRifle 0 \"openmenu D4DUpgrade.PlasmaRifle\" 
\"WNA\" "
    StaticText ""
    Command "Lightning Gun", 	"test > $D4LightningGun 0 \"openmenu D4DUpgrade.LightningGun\" 
\"WNA\" "
    StaticText ""
    Command "Vortex Rifle", 	"test > $D4VortexRifle 0 \"openmenu D4DUpgrade.VortexRifle\" 
\"WNA\" "
    StaticText ""
    Command "Static Rifle", 	"test > $D4StaticRifle 0 \"openmenu D4DUpgrade.StaticRifle\" 
\"WNA\" "
    StaticText ""
    Command "Gauss Cannon", 	"test > $D4GaussCannon 0 \"openmenu D4DUpgrade.GaussCannon\" 
\"WNA\" "
    StaticText ""
    Command "BFG", 				"test > $D4BFG 0 \"openmenu D4DUpgrade.BFG\" \"WNA\" 
"
    StaticText ""
    Command "Carrion Cannon", 	"test > $D4CarrionCannon 0 \"openmenu D4DUpgrade.CarrionCannon\" 
\"WNA\" "
}


Note, I'm willing to update the menu accordingly, Graf, but I need you to help me translate this. I still have no idea how to work with it.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000571)
Major Cooke   
2017-02-13 20:09   
Just to make sure my message at the bottom wasn't missed, I'm willing to change the menu around for the sake of following the latest standards. However, I'll need some help -- primarily an example -- on how to do this with ZScript.

Please and thank you.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
262 [Gameplay + OpenGL] Bug block always 2017-02-13 15:35 2017-02-14 08:47
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "Attempt to write to buffer of hardware canvas" fatal error when opening the menu
Description: When I press ESC while in game, the program gets the fatal error "Attempt to write to buffer of hardware canvas".

It happens with sw renderer on Linux, though I believe it happens also on Windows if vid_hw2d is disabled.

Stack trace:


#0  I_FatalError (error=0xd53820 "Attempt to write to buffer of hardware canvas") at /home/edward-san/zdoom/gzdoom/trunk/src/posix/sdl/i_system.cpp:178

#1  0x0000000000ad414a in DCanvas::DrawTextureParms (this=0x3fca7a0, img=0x299e410, parms=...) at /home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp:239

0000002  0x0000000000ad396b 
in DCanvas::DrawTexture (this=0x3fca7a0, img=0x299e410, x=94, y=2, args=...) at /home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp:162

0000003  0x0000000000ad3ca1 
in AF__Screen_DrawTexture (param=0x32dd310, defaultparam=..., numparam=6, ret=0x7fffffffc8c0, numret=0) 
at /home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp:175
0000004  
0x0000000000c1e5b9 in VMExec_Checked::Exec (stack=0x7ffff7f358a8, pc=0x2a2da44, ret=0x0, numret=0) at 
/home/edward-san/zdoom/gzdoom/trunk/src/scripting/vm/vmexec.h:657
0000005  
0x0000000000c3bb37 in VMFrameStack::Call (this=0x7ffff7f358a8, func=0x387a590, params=0x7fffffffca20, 
numparams=2, results=0x0, numresults=0, trap=0x0) at /home/edward-san/zdoom/gzdoom/trunk/src/scripting/vm/vmframe.cpp:466

0000006  
0x00000000006e0d8c in DMenuItemBase::Drawer (this=0x2f6c2f0, selected=false) at /home/edward-san/zdoom/gzdoom/trunk/src/menu/menu.cpp:1335

0000007  
0x00000000006d71ea in DListMenu::Drawer (this=0x34c1970) at /home/edward-san/zdoom/gzdoom/trunk/src/menu/listmenu.cpp:269

0000008  0x00000000006dcdba 
in AF_DMenu_Ticker (param=0x7fffffffcbb0, defaultparam=..., numparam=1, ret=0x0, numret=0) at /home/edward-san/zdoom/gzdoom/trunk/src/menu/menu.cpp:384

0000009  0x0000000000c3ba65 
in VMFrameStack::Call (this=0x7ffff7f358a8, func=0x28ce680, params=0x7fffffffcbb0, numparams=1, results=0x0, 
numresults=0, trap=0x0) at /home/edward-san/zdoom/gzdoom/trunk/src/scripting/vm/vmframe.cpp:443
0000010 
0x00000000006dcedf in DMenu::CallTicker (this=0x34c1970) at /home/edward-san/zdoom/gzdoom/trunk/src/menu/menu.cpp:393

0000011 
0x00000000006de9e3 in M_Ticker () at /home/edward-san/zdoom/gzdoom/trunk/src/menu/menu.cpp:872
0000012 
0x00000000008bb380 in TryRunTics () at /home/edward-san/zdoom/gzdoom/trunk/src/d_net.cpp:1945
0000013 
0x00000000008b0bc7 in D_DoomLoop () at /home/edward-san/zdoom/gzdoom/trunk/src/d_main.cpp:1017
0000014 
0x00000000008b4d75 in D_DoomMain () at /home/edward-san/zdoom/gzdoom/trunk/src/d_main.cpp:2687
0000015 
0x000000000061fd97 in main (argc=6, argv=0x7fffffffdeb8) at /home/edward-san/zdoom/gzdoom/trunk/src/posix/sdl/i_main.cpp:259

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000561)
Graf Zahl   
2017-02-13 15:46   
I have absolutely no idea how this happens. Is it something new and if so, since when?
(0000563)
Edward-san   
2017-02-13 15:56   
It happens since menu scriptification. I can't check which commit broke at the moment.
(0000570)
dpJudas   
2017-02-13 19:56   
You can solve this by adding a canvas lock(true) at the top of DCanvas::DrawTextureParms and an unlock() at the bottom. That's how I fixed it in QZDoom.
(0000572)
Graf Zahl   
2017-02-14 05:41   
That would solve it on all backends, except DirectDraw, which has quite a complex locking mechanism and requires somewhat involved logic to switch between 3D and 2D.

I am really wondering if it is finally time to dump this code, we have already done lots of changes to bring the engine forward, this is really the last remaining piece of cruft for ancient hardware. Or may this break too many users on really old hardware? Currently the minimum system requirement is Windows XP SP3 which should be recent enough to assume that those machines have a basically functional 3D graphics card with first generation shader support.

I'd expect some people who actively try to make the engine work on Windows 98 not to be thrilled by such an outlook but this is a piece of code nobody here is willing to maintain anymore
(0000573)
Graf Zahl   
2017-02-14 06:23   
Fixed. This was caused by the Ticker method calling a draw function, which is not allowed. In the 2D subsystem of the engine these events require strict separation.

@dpJudas, please remove your hotfix again, it will only hide genuine problems from anybody using the system later and not result in stable execution.
(0000574)
dpJudas   
2017-02-14 08:15   
(Last edited: 2017-02-14 08:34)
Okay, I changed my hotfix into an I_FatalError assertion checking if the canvas has been locked. Unfortunately this assertion triggers still after your Ticker fix was merged into QZDoom.

Call stack is as follows:
SWCanvas::DrawTexture(DCanvas*, FTexture*, DrawParms&) + 57
DCanvas::DrawTextureParms(FTexture*, DrawParms&) + 9
DCanvas::DrawTexture(FTexture*, double, double, int, ...) + 171
DSBarInfo::DrawGraphic(FTexture*, SBarInfoCoordinate, SBarInfoCoordinate, int, int, double, bool, bool, 
bool, int, bool, int, int, double const*, bool) const + 2736
CommandDrawImage::Draw(SBarInfoMainBlock const*, DSBarInfo const*) + 512
DSBarInfo::_Draw(EHudState) + 479
D_Display() + 1417
D_DoomLoop() + 383
D_DoomMain() + 8719


(0000575)
dpJudas   
2017-02-14 08:31   
(Last edited: 2017-02-14 08:47)
About the DirectDraw code: I know half the code in that target is more or less dormant because all places call Lock with a true to that 'buffered' argument. That's one of the reasons I decided just doing the lock always would be harmless, even if it wasn't the cleanest way of fixing this problem.

About removing DirectDraw: Since Windows 98 did support Direct3D 9 the only ones affected would be people with hardware having no GPU capabilities at all. But even half the Direct3D 9 code is a convoluted mess that cannot be touched because it is fallback code to dinosaur shader models that I personally have no way of testing. It was the primary reason I could not finish that viewport patch, because changing how this code works in any way whatsoever involved abandoning the legacy support.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
240 [Gameplay + OpenGL] Feature minor N/A 2017-02-11 09:30 2017-02-13 17:59
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Export SingleActorFromTID to ZScript
Description: For situations where you want to do things in ZScript based on things with TIDs.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000545)
ibm5155   
2017-02-13 09:52   
Isn't that related to this one? https://mantis.zdoom.org/view.php?id=145
(0000554)
Xaser   
2017-02-13 14:40   
I'd even be hesitant to add something like this to the standard ZScript library (once that becomes a thing), since there isn't a good general-case answer to the question "which actor do I choose if there's more than one?" ActorIterator has a learning curve, but it's worth learning.
(0000560)
Graf Zahl   
2017-02-13 15:39   
No need. You can use an ActorIterator and just get the first return from it, that's exactly what this native function does. It's essentially:

let it = ActorIterator.Create(tid);
let ac = it.Next();
(0000569)
Nash   
2017-02-13 17:59   
Okay got it, thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
250 [Gameplay + OpenGL] Bug minor always 2017-02-12 07:51 2017-02-13 15:17
Reporter: rex Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 7 Pro  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Selectively Setting Up Fog in Maps?
Description: I have a map that has fog (via an OPEN Script using Sector_SetFade) in some areas only. [FYI, these are meant to represent large, walk-in freezers.] This effect worked perfectly until recently. I believe the introduction of a defaultmap definition in MAPINFO may be causing the freezer fog to be over-ridden. In other words, I can get a default fog value for all maps, or I can get it selectively in various sectors in each map. But I can't get both.
Tags:
Steps To Reproduce: 1. Open map
2. Walk to freezer area & see no fog
3. Repeat
Additional Information: From Graf in this thread:
The problem is simply that the fog density being set in MAPINFO is map global and will affect all fogged sectors. If you do not want that you have to resort to a post 2.3 feature which allows setting this per sector via UDMF or ACS.
And:
If you just need an automated way to convert light levels into sector colors, I guess the only way to do that is to define a ZSCRIPT actor that scans the entire sector array in its Tick function and converts the light level into sector color.

Is the ZSCRIPT route the only solution, or will this be addressed in any upcoming GZDooM official release?
Attached Files:
Notes
(0000547)
Graf Zahl   
2017-02-13 13:12   
Checking the implementation, the global setting for fog has no effect on black fog (i.e. light diminishing.) I think the only option you really need is to disable light diminishing per map, right?
(0000556)
Rachael   
2017-02-13 14:54   
Turning off light diminishing while keeping fog for the freezer sections would be ideal.
(0000558)
Graf Zahl   
2017-02-13 15:17   
Done.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
259 [Gameplay + OpenGL] Bug crash always 2017-02-13 08:41 2017-02-13 13:06
Reporter: LadySlash Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: g2.4pre-412 builds crash upon mouse movement in menu
Description: The mouse movement/click on Main, New Game (and its submenus) and Game Files menus cause a crash on g2.4pre-412 builds. When a different menu is selected, no crashes occur.
A report is attached as well
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: CrashReport_g2.4pre-412_doom2_mainMenu_mouseMove.zip (22,763 bytes) 2017-02-13 08:41
https://mantis.zdoom.org/file_download.php?file_id=74&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
255 [Software Renderer] Bug minor always 2017-02-12 17:09 2017-02-13 09:15
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Some graphics have mangled colors in palette rendering with OpenGL 2
Description: Exactly what it says on the tin. Small font, console, numbers in HUD (but not the percent sign), all have screwed up color. I'm attaching a screenshot of it happening.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: 2017-02-13-000734.png (42,600 bytes) 2017-02-12 17:09
https://mantis.zdoom.org/file_download.php?file_id=72&type=bug
png

2017-02-13-000743.png (87,880 bytes) 2017-02-12 17:09
https://mantis.zdoom.org/file_download.php?file_id=73&type=bug
png
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
230 [Gameplay + OpenGL] Bug minor always 2017-02-10 05:42 2017-02-12 18:49
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Assertion failure during garbage collection
Description: Starting from this commit the following assertion failure triggered quite often during loading/saving and even opening console.
Assertion failed: (lobj == nullptr || !(lobj->ObjectFlags & OF_Released)), function Mark, 
file src/dobjgc.cpp, line 281.

(it's the same thing as in 000214)
Tags:
Steps To Reproduce: The most simple case:
  1. Start Doom II without any mods and warp to MAP30
  2. Save game in the corresponding menu
  3. Load game from the corresponding menu
  4. Open save game menu again

Additional Information: I'm pretty sure it's related to PowerupGiver.PowerupType member.
The offending offset in flat pointers list is the same and assert() is always caused by a powerup.
Attached Files:
Notes
(0000505)
Graf Zahl   
2017-02-11 04:35   
Correct, that declaration needs to go.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
236 [Software Renderer] Bug minor always 2017-02-10 12:52 2017-02-12 17:01
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Yet another OpenGL 2 crash
Description: Came across another GL2-related crash on my laptop.
I've reproduced it on my desktop by passing -glversion 2 on launch, and attached the crash log. Only palette mode is affected, truecolor has no problems.

I could try to recompile with debug info to pinpoint the exact line of code where it's crashing on.
Tags:
Steps To Reproduce: Launch on a system with only OpenGL 2.x support, or just use -glversion 2.
Additional Information: QZDoom q1.3pre-664-gad1092c67
GCC 6.3.1
Clang 3.9.1
System Description
Attached Files: qzdoom-crash.log (10,102 bytes) 2017-02-10 12:52
https://mantis.zdoom.org/file_download.php?file_id=63&type=bug
qzdoom-crash-2.log (23,333 bytes) 2017-02-11 16:25
https://mantis.zdoom.org/file_download.php?file_id=66&type=bug
Notes
(0000507)
MarisaKirisame   
2017-02-11 06:11   
(Last edited: 2017-02-11 07:50)
The value of vid_hw2d does not influence the conditions of the crash, so I don't think this is a duplicate of 238.

However, it seems related as the crash is in the same location.

(0000517)
dpJudas   
2017-02-11 16:16   
(Last edited: 2017-02-11 16:17)
I probably need a better stack trace to figure this one out. If you could recompile it in debug mode and get it to crash again that'd be much appreciated. :)

(0000519)
MarisaKirisame   
2017-02-11 16:25   
(Last edited: 2017-02-11 16:25)
There you go, straight away.

Apparently the colormap is a null pointer.

(0000522)
dpJudas   
2017-02-11 20:27   
It was indeed that the colormap was null.
(0000532)
MarisaKirisame   
2017-02-12 17:01   
Sadly, a new bug has surfaced after this was fixed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
150 [Gameplay + OpenGL] Bug tweak always 2017-01-31 19:59 2017-02-12 03:33
Reporter: Autz Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Voxel and negative heights problem
Description: When a voxel actor is on a sector with a negative height, the actor is not being rendered completely. Instead, only a portion of the voxels is being rendered (the portion that is above 0 on SectorHeight).

https://s23.postimg.org/k9xcx29kr/Screenshot_Doom_20170131_215034.png
Tags: voxel
Steps To Reproduce: Run the GTest.wad and spawn a 'CMPE' actor on the first sector. Then go to the other sectors (which height >= 0) and spawn the same actor again.
Additional Information:
Attached Files: GTest.wad (42,817 bytes) 2017-01-31 19:59
https://mantis.zdoom.org/file_download.php?file_id=38&type=bug
Notes
(0000307)
Autz   
2017-01-31 20:00   
(Last edited: 2017-01-31 20:01)
https://s23.postimg.org/k9xcx29kr/Screenshot_Doom_20170131_215034.png

If you can't see the picture: Link here.

And BTW, i made that model lel.

(0000315)
Graf Zahl   
2017-02-01 03:03   
(Last edited: 2017-02-01 03:05)
Problem with the software renderer only.

(0000526)
_mental_   
2017-02-12 03:33   
Fixed in 9482c3e

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
248 [Gameplay + OpenGL] Bug minor always 2017-02-11 19:33 2017-02-12 03:27
Reporter: Enjay Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Secret Sound weirdness
Description: When you find a secret, the sound isn't always audible. I *think* the sound is being played at a particular location (coordinate 0,0 perhaps, or perhaps the location of the player start?).
Tags:
Steps To Reproduce: Wander around MAP01 in Doom2 finding the secrets. Some should be audible, some not. If you go into the outside area where the imps and shotgun are and run quickly towards the water and to the right (south west-ish) as soon as you enter the sector, you can hear the secret sound getting louder as you run.
Additional Information:
Attached Files:
Notes
(0000521)
Enjay   
2017-02-11 19:34   
Should have said, this is with the 11 Feb git build. 2.3.2 is OK.
(0000525)
_mental_   
2017-02-12 03:27   
Fixed in c01107

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
238 [Software Renderer] Bug minor have not tried 2017-02-11 04:26 2017-02-11 20:29
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "vid_hw2d false" causes crash
Description: Happens after switching from swtruecolor "on" to "off".
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000504)
Rachael   
2017-02-11 04:28   
Stack trace:
>	qzdoom.exe!swrenderer::DrawColumnPalCommand::Execute(DrawerThread * thread) Line 929	C++
     
qzdoom.exe!DrawerCommandQueue::Push<swrenderer::DrawColumnPalCommand,swrenderer::SpriteDrawerArgs 
const & __ptr64>(const swrenderer::SpriteDrawerArgs & <args_0>) Line 178	C++
     qzdoom.exe!swrenderer::SpriteDrawerArgs::DrawMaskedColumn(swrenderer::RenderThread * thread, int 
x, int iscale, FTexture * tex, int col, double spryscale, double sprtopscreen, bool sprflipvert, const 
short * mfloorclip, const short * mceilingclip, bool unmasked) Line 122	C++
     qzdoom.exe!DCanvas::DrawTextureParms(FTexture * img, DrawParms & parms) Line 333	C++
     qzdoom.exe!D3DFB::DrawTextureParms(FTexture * img, DrawParms & parms) Line 2823	C++
     qzdoom.exe!DCanvas::DrawTexture(FTexture * img, double x, double y, int tags_first, ...) Line 152	
C++
     qzdoom.exe!DCanvas::FlatFill(int left, int top, int right, int bottom, FTexture * src, bool local_origin) 
Line 287	C++
     qzdoom.exe!D3DFB::FlatFill(int left, int top, int right, int bottom, FTexture * src, bool local_origin) 
Line 3017	C++
     qzdoom.exe!V_DrawBorder(int x1, int y1, int x2, int y2) Line 1782	C++
     qzdoom.exe!DBaseStatusBar::RefreshBackground() Line 557	C++
     qzdoom.exe!DBaseStatusBar::Draw(EHudState state) Line 742	C++
     qzdoom.exe!DSBarInfoWrapper::Draw(EHudState state) Line 1619	C++
     qzdoom.exe!D_Display() Line 820	C++
     qzdoom.exe!D_DoomLoop() Line 1019	C++
     qzdoom.exe!D_DoomMain() Line 2690	C++
     qzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035	C++
     qzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int nCmdShow) 
Line 1345	C++
(0000523)
dpJudas   
2017-02-11 20:29   
Seems this was actually a duplicate of 0000236. At least it isn't crashing anymore when I'm testing it on my Mac.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
235 [Gameplay + OpenGL] Bug major always 2017-02-10 11:13 2017-02-11 19:09
Reporter: rex Platform:  
Assigned To: OS: Windows  
Priority: high OS Version: 4 Pro  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Mass of Existing Actor Has Vanished
Description: The Gargantua in Paranoid has a Mass 0xFFFFFFFFF in DECORATE. In v2.3.2 and earlier, the actor behaves properly. In gzdoom-x64-g2.4pre-387-gbe9b2b3 a single shotgun blast sends it sliding back dozens of feet along the floor. This suggests that the mass of this actor is being affected by the newest build.
Tags:
Steps To Reproduce: 1. Start Paranoid using v2.3.2 and play against the Gargantua. It exhibits normal behavior.
2. Start Paranoid using gzdoom-x64-g2.4pre-387-gbe9b2b3 and play against the Gargantua. Shoot it with a lighter weapon, and see it being pushed back like it has no mass.
Additional Information: Happens on gzdoom-x64-g2.4pre-387-gbe9b2b3
Does not happen on v2.3.2
Does not happen with other land enemies (and none has a mass as great as the Gargantua)
Attached Files:
Notes
(0000496)
Edward-san   
2017-02-10 15:16   
(Last edited: 2017-02-11 02:37)
What happens if the mass is changed to 0x7FFFFFFF?

(0000497)
Graf Zahl   
2017-02-10 16:15   
The problem comes from mass being signed. 0xffffffff is a mass of -1, i.e. less than nothing.
Up to two weeks ago the ZScript parser clobbered any integer value larger than 0x8000000 on Windows because it used a signed int function that clamped the result if it got too large.

Sorry, can't revert because the old behavior was broken. You have to lower the mass to 0x7fffffff.
(0000498)
rex   
2017-02-10 19:51   
That is a shitty solution. This behavior was consistent with the setup from 7 years ago. Basically, you're saying that you can't fix a problem that was created earlier. In other words, retroactive compatibility is the lowest priority. Not a way to promote a long-term way of doing business. While I respect your need to ensure no broken code going forward, this is basically fucking up anything that was previously developed in compliance with parameters of the game engine from an earlier era. I completely disagree, and will need to re-evaluate how I want to handle this.

For the record, I think that you're being dictatorial and don't give a fuck for retroactive compatibility. I realize you're on the Paranoiac Team, but you don't seem to be promoting the needs of this project. Regardless, thanks for your input.
(0000499)
rex   
2017-02-10 20:03   
Incidentally, it turns out that this problem applies just to the Gargantua, so it might be a relatively easy fix.
(0000501)
rex   
2017-02-10 20:18   
Incidentally, tried the 0x7FFFFFFFF, but the actor still seems to be pushed back significantly with a minor projectile attack. I thought this was an easy fix, but apparently not.
(0000502)
_mental_   
2017-02-11 00:57   
It should be 0x7FFFFFFF, with seven 'F' characters instead of eight.
(0000520)
rex   
2017-02-11 19:09   
@ _mental_ and Edward-san: Thanks for giving me the proper definition. It works just as intended now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
231 [Gameplay + OpenGL] Bug crash always 2017-02-10 07:27 2017-02-11 05:03
Reporter: Major Cooke Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Trying to use null in Class<Actor> property causes crash
Description:
Class<Actor> OldMonster;
    Class<Actor> NewMonster;
    property OldMonster: OldMonster;
    property NewMonster: NewMonster;
    Default 
    {
        D4DMonsterSpawner.OldMonster null;
        D4DMonsterSpawner.NewMonster null;


This will cause a crash at start-up, though it shouldnt. While I can simply just not use what's in the Default block, if we want to have another inheriting actor wipe out the old/newmonster properties, using null will cause a crash.

The last thing it reads before the crash is "Cannot convert to string".
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000489)
_mental_   
2017-02-10 08:24   
Crash is fixed in d2affc7.
'Cannot convert to string' error is still here, I'm not sure how this should work to be honest.
(0000490)
_mental_   
2017-02-10 08:30   
Most likely there is no need to add anything to Default in this case. Those members will be initialized with null anyway.
(0000491)
Major Cooke   
2017-02-10 08:53   
(Last edited: 2017-02-10 08:54)
The main problem is inheriting from an actor which it's defined in and I want to get rid of the definition. I.e. they have a Zombieman and I want it null in the child of the class that has said Zombieman defined.

(0000493)
_mental_   
2017-02-10 09:18   
I cannot say for sure why null doesn't work (i.e. is it intentional or not) but "None" does.
(0000495)
_mental_   
2017-02-10 09:49   
I believe the given assignment doesn't work because it's impossible to assign null to a string variable in general.
(0000506)
Graf Zahl   
2017-02-11 05:03   
All this stuff hasn't received any real testing yet, I was planning to do that after scriptifying the menu and export as many actor properties as possible to the custom system instead of hard coding them in the engine.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
225 [Gameplay + OpenGL] Bug major always 2017-02-09 15:24 2017-02-10 16:16
Reporter: rex Platform:  
Assigned To: OS: Windows  
Priority: high OS Version: 7 Pro  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Saved Games Don't "Remember" Gravity Settings
Description: Loading up a saved game of maps with gravity settings (implemented via ACS) makes GZDooM forget that the maps had gravity. Problem occurs on GZDooM v2.3.2. I just tested with GZDooM v1.8.10 and the game remembered the gravity setting. This problem appears to have been introduced with newer GZDooM versions.
Tags:
Steps To Reproduce: 1. Entered map with gravity
2. Saved game & exited
3. Loaded saved game to find no gravity implemented
4. Repeated steps 1-3 with same result
Additional Information:
Attached Files:
Notes
(0000478)
rex   
2017-02-09 15:51   
Here's a new, but related, issue: I used MAPINFO to define the gravity for a given map. [This is not my preference, as I need different levels of gravity in different parts of the map. However, I did it for testing purposes.] When I saved a game an returned to it the gravity settings are "remembered" by GZDooM. However, the initial gravity that the player encounters when entering the map is too low. [My MAPINFO has gravity = 160, which is 20% of "normal" DooM gravity.] Therefore, the player is able to jump extremely high. Upon saving and reloading the map, the jump height appears to be proper. This is an inconsistency that might be considered a bug.
(0000480)
Graf Zahl   
2017-02-09 17:30   
I need some small test maps. Paranoiac is far too large to test these things.
(0000481)
LordMisfit   
2017-02-09 17:43   
(Last edited: 2017-02-09 17:46)
I thought this was covered and fixed before. See @ https://mantis.zdoom.org/view.php?id=47 for what I mean. Unless something ELSE broke gravity settings again. The maps I used for testing should still be there, if Graf requires testing maps though. I haven't tested them again though to see if the gravity broke, but this is a bit odd to be seeing again. :V

EDIT: Just checked my gravitytest.wad, and I'm not seeing issues on my end with save/loads. Using 2.4pre359

(0000484)
Graf Zahl   
2017-02-10 03:27   
Hm, so this wasn't even tested with a more recent devbuild?
(0000494)
rex   
2017-02-10 09:27   
I just tested it with gzdoom-x64-g2.4pre-387-gbe9b2b3 The saved games *do* remember the gravity settings. There is another gravity-related issue, which I will report separately.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
222 [Gameplay + OpenGL] Bug minor always 2017-02-09 09:41 2017-02-10 06:34
Reporter: ZZYZX Platform: x86_64  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dynamic light is mis-clipped
Description: In certain situations (I personally couldn't reproduce it with my own geometry, but it happens in a reliable fashion while copying the example map geometry around, so not a nodebuilding issue).
Tags:
Steps To Reproduce: See the example wad, the problematic light is right in front of the player spawn.
Additional Information:
Attached Files: minimal-example.wad (134,622 bytes) 2017-02-09 09:41
https://mantis.zdoom.org/file_download.php?file_id=61&type=bug
Screenshot_Doom_20170209_173845.png (299,465 bytes) 2017-02-09 09:41
https://mantis.zdoom.org/file_download.php?file_id=62&type=bug
Notes
(0000477)
Graf Zahl   
2017-02-09 14:48   
looks correct for me in today's build. What version was this tested with?
(0000487)
ZZYZX   
2017-02-10 05:45   
(Last edited: 2017-02-10 05:49)
With my thereisnospoon branch which roughly corresponds to f368e70 :)
I haven't changed anything renderer-wise in it though, so reported without checking.
Going to check on latest devbuild. Also, would be nice to have "engine version" field in the tracker.
update: Doesn't reproduce on latest devbuild.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
224 [Gameplay + OpenGL] Bug minor sometimes 2017-02-09 15:14 2017-02-09 18:58
Reporter: DoomKrakken Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Tried to register <classname> more than once...
Description: I run mods that have share class names, and GZDoom used to be able to run them together, and even renamed them. However, that's not happening anymore... it ends with an "Execution could not continue" error.

Is this a new feature, or is it a bug?


I'm running GZDoom x64 3.4 pre-381.
Tags: Execution Could Not Continue..., GZDoom, Shared Classnames
Steps To Reproduce: Run two mods that share at least one class name between their actors... or, I guess, attempt to create two different actors within the same mod who share the same class name...
Additional Information:
Attached Files:
Notes
(0000479)
Graf Zahl   
2017-02-09 17:28   
ZScript is very strict here, this is intentional. It was a bad idea to allow duplicate names, the serializer is completely incapable of restoring objects of the hidden class and would cause bad crashes.

DECORATE tries renaming one of the class to at least allow naming accidents to pass.
This is a fundamentally unsolvable problem because the class system is nearly incapable of managing namespaces.
(0000482)
DoomKrakken   
2017-02-09 18:58   
Well then... looks like I've got no choice but to merge Guncaster and Brutal Doom into its own sub mod...

Thanks anyway... :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
217 [Software Renderer] Bug minor have not tried 2017-02-09 05:21 2017-02-09 15:58
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Carmack] Masked wall drawer issues
Description: KZIZD - Z1M1

"warp 1203 -2045"

It seems that sometimes they can be drawn in the wrong order, and in the wrong position.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: Screenshot_Doom_20170209_061756.png (323,524 bytes) 2017-02-09 05:21
https://mantis.zdoom.org/file_download.php?file_id=60&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
223 [Gameplay + OpenGL] Bug crash always 2017-02-09 13:16 2017-02-09 14:11
Reporter: Kappes Buur Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: reverbedit causes crash
Description: In recent builds, calling reverbedit causes a crash

http://i.imgur.com/w4tZLL9.png
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000476)
Graf Zahl   
2017-02-09 14:10   
Not for me.
Works fine in both windowed and fullscreen.
I suspect this was related to the garbage collection issues that appeared due to the refactoring.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
214 [Gameplay + OpenGL] Bug major always 2017-02-08 21:45 2017-02-09 09:11
Reporter: DoomKrakken Platform:  
Assigned To: OS:  
Priority: urgent OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Guncaster not working on the latest 2.8 build...
Description: I'm getting hit with a massive blizzard of error messages whenever I run Guncaster. I'm using GZDoom x64 2.4 pre-359.

Here are a few examples...

- Unknown class name <insert classname> of type 'Inventory'
- Truncation of floating point constant <insert float number>
- Self pointer used in ambiguous context; VM execution may abort!

A few specific ones...

Class PowerRunDamage1 referenced but not defined
Class PowerTomeEffect referenced but not defined
Class PowerGunzerking referenced but not defined
Class PowerBerserkDamage referenced but not defined

Execution could not continue.

4 errors during actor postprocessing

Help? :(
Tags: DECORATE, Guncaster, ZScript
Steps To Reproduce: Simple. Run the latest version of Guncaster with the latest version of GZDoom.
Additional Information: Could all of this be due to the new ZScript format?
Attached Files:
Notes
(0000454)
Lud   
2017-02-09 03:11   
That's anything but an engine bug. And shouldn't be marked with urgent. You can fix these mod-side.
(0000455)
DoomKrakken   
2017-02-09 03:48   
(Last edited: 2017-02-09 03:52)
Then I'm sure you can tell me what the hell just happened... 'cuz I have absolutely no clue!

I didn't change anything between switching GZDoom versions, and it ran in the version I was using before (and still runs)... but now that I switched GZDoom up and craps out on me. If you're saying I can fix it via simple modding, then how do I do it?

(0000456)
_mental_   
2017-02-09 04:06   
(Last edited: 2017-02-09 04:21)
Using the latest commit it starts fine.
Lots of warnings are still there but most likely they need to be fixed in the mod itself.
'Most likely' because using Debug configuration I'm getting this:
Assertion failed: (lobj == nullptr || !(lobj->ObjectFlags & OF_Released)), function Mark, 
file src/dobjgc.cpp, line 289.

It's not related to Guncaster and will be fixed in the engine.

(0000458)
Graf Zahl   
2017-02-09 04:26   
That assert means that some unmanaged object slipped back into the garbage collector.
(0000459)
_mental_   
2017-02-09 04:35   
The assert happens without any mods, just finish a level in any game and it will be triggered.
(0000460)
Graf Zahl   
2017-02-09 04:44   
The breaking issue was fixed, the assert will have to wait until I see it myself - if it wasn't the ReadyWeapon issue I last fixed yesterday evening.
(0000461)
Graf Zahl   
2017-02-09 04:45   
If you get the assert again, please try to find out a bit more about the object that triggered it and where the call originated.
(0000463)
DoomKrakken   
2017-02-09 04:49   
(Last edited: 2017-02-09 04:53)
Can I download that version of GZDoom, then? If so, where?

Or is it not available yet?

Thanks for getting to this... :D

(0000464)
_mental_   
2017-02-09 04:59   
Here is the callstack I've got upon entering Doom II MAP02 from MAP01:
GC::Mark(obj=0x00000001050ef028) + 113 at dobjgc.cpp:289
DObject::PropagateMark(this=0x00000001050eec00) + 133 at dobject.cpp:407
DThinker::PropagateMark(this=0x00000001050eec00) + 305 at dthinker.cpp:580
AActor::PropagateMark(this=0x00000001050eec00) + 120 at a_dynlight.cpp:783
GC::PropagateMark() + 135 at dobjgc.cpp:194
GC::SingleStep() + 94 at dobjgc.cpp:438
GC::FullGC() + 111 at dobjgc.cpp:539
DThinker::DestroyAllThinkers() + 132 at dthinker.cpp:431
P_FreeLevelData() + 135 at p_setup.cpp:3451
P_SetupLevel(lumpname="MAP02", position=0) + 763 at p_setup.cpp:3632
G_DoLoadLevel(position=0, autosave=true) + 1060 at g_level.cpp:1015
G_DoWorldDone() + 127 at g_level.cpp:1175
G_Ticker() + 654 at g_game.cpp:1102
TryRunTics() + 1147 at d_net.cpp:1947
D_DoomLoop() + 638 at d_main.cpp:1017
D_DoomMain() + 6803 at d_main.cpp:2687

Actor's class is Pistol.
(0000471)
_mental_   
2017-02-09 08:51   
It's a sort of double free issue: GC::Mark() is called twice at least for inventory classes.
The first one is from player's garbage collection:
GC::Mark(obj=0x00007fff5fbfc730) + 116 at dobjgc.cpp:289
GC::Mark<AWeapon>(obj=0x0000000100d0ff70) + 35 at dobject.h:322
player_t::PropagateMark(this=0x0000000100d0fea0) + 105 at p_user.cpp:467
GC::MarkRoot() + 353 at dobjgc.cpp:367
GC::FullGC() + 93 at dobjgc.cpp:548
DThinker::DestroyAllThinkers() + 132 at dthinker.cpp:431
P_FreeLevelData() + 135 at p_setup.cpp:3451
P_SetupLevel(lumpname="E1M2", position=0) + 763 at p_setup.cpp:3632
G_DoLoadLevel(position=0, autosave=true) + 1060 at g_level.cpp:1015
G_DoWorldDone() + 127 at g_level.cpp:1175

The second one is from flat pointers list:
GC::Mark(obj=0x000060800010b728) + 116 at dobjgc.cpp:289
DObject::PropagateMark(this=0x000060800010b6d0) + 133 at dobject.cpp:407
GC::PropagateMark() + 135 at dobjgc.cpp:194
GC::SingleStep() + 94 at dobjgc.cpp:450
GC::FullGC() + 111 at dobjgc.cpp:551
DThinker::DestroyAllThinkers() + 132 at dthinker.cpp:431
P_FreeLevelData() + 135 at p_setup.cpp:3451
P_SetupLevel(lumpname="E1M2", position=0) + 763 at p_setup.cpp:3632
G_DoLoadLevel(position=0, autosave=true) + 1060 at g_level.cpp:1015
G_DoWorldDone() + 127 at g_level.cpp:1175

Is it correct behavior to collect those objects twice?
(0000472)
Graf Zahl   
2017-02-09 09:09   
GC::Mark can be called many times for the same actor. It shouldn't do anything when trying to mark an already marked object again.


And can we please do this on a separate ticket? This one has been resolved.
(0000473)
Graf Zahl   
2017-02-09 09:11   
And if I am not mistaken I got this already fixed. AActor declared 2 pointers to classes which I missed when deleting the others.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
204 [Gameplay + OpenGL] Bug minor always 2017-02-07 18:19 2017-02-09 07:47
Reporter: theleo_ua Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Sprites (except monsters) and 3d models are disappearing in close range (GZDoom 2.3.2 x64)
Description: Sprites (except monsters) and 3d models are disappearing in close range (GZDoom 2.3.2 x64)
Tags:
Steps To Reproduce: 1) Go to any decoration actor, for example barrel

Actual result: it disappears in close range
Expected result: it shouldn't disappear

Video demonstration: https://www.youtube.com/watch?v=bh-P-UOtxBQ&index=6&list=PL5QwAqOy7WABpsDsuzSKwTk2S8QnzsLg5#t=1h14m41s (watch at 1:14:41)
Additional Information: Reproduced in GZDoom 2.3.2 x64
Not reproduced in GZDoom 2.2.0 x64
Attached Files: gzdoom-1.ini (15,660 bytes) 2017-02-07 18:19
https://mantis.zdoom.org/file_download.php?file_id=58&type=bug
Notes
(0000425)
Graf Zahl   
2017-02-07 18:23   
What's your graphics hardware? This sounds like a driver related issue.
(0000426)
theleo_ua   
2017-02-07 19:03   
Asus GeForce GTX 770 2GB OC
Driver version = 378.49
(0000429)
_mental_   
2017-02-08 02:19   
How can I reproduce the issue? Please provide the list of loaded WADs/PK3s.
Does it happen with Heretic IWAD only?
(0000439)
theleo_ua   
2017-02-08 15:51   
_mental_ wrote

How can I reproduce the issue? Please provide the list of loaded WADs/PK3s.


https://drive.google.com/file/d/0BygbyP4_qEiTcFdMaE1TRVY2LVE/view?usp=sharing

Run _DISAPPEARING_SPRITES_BUG_TEST.BAT from archive and try e1m1 (try with barrels located near yellow door at start of the map, should be reproducible both with sprites and models)

NOTE that my mod use randomspawner, so if you want to test with sprites and only models are spawned near you, just restart e1m1 unless sprites are spawned. To avoid this mess with randomspawner, you can reproduce this bug for example with SerpentTorch (there are no any 3d models for serpent torches) on e4m2, but please note, that bug is not reproducible with some actors, for example FireBrazier

_mental_ wrote

Does it happen with Heretic IWAD only?


Yes
(0000443)
Graf Zahl   
2017-02-08 17:15   
I cannot reproduce it with Heretic IWAD only, only with all the stuff loaded but finding out what causes the problem with such a mass of data is close to impossible.
(0000445)
theleo_ua   
2017-02-08 18:12   
(Last edited: 2017-02-08 18:14)
Graf Zahl, version with minimum amount of data: https://drive.google.com/file/d/0BygbyP4_qEiTOXJFN0hnSjJMeEk/view?usp=sharing

Reproduced with doom iwad too

Contains next decorate code:

ACTOR Barrel2 : Barrel replaces Barrel // Wooden barrel
{ +FORCEYBILLBOARD
}

ACTOR ExplosiveBarrel_TEST : ExplosiveBarrel replaces ExplosiveBarrel // Doom Explosive Barrel
{ +FORCEYBILLBOARD
}

(0000462)
Graf Zahl   
2017-02-09 04:46   
No, does not happen for me. I guess you are still loading something else or have some setting that's off.
(0000466)
_mental_   
2017-02-09 05:22   
I can reproduce it with the given decorate mod only: Doom's explosive barrel or Heretic's wooden one are disappearing if they are very close to a player.
Apparently it's something with FORCEYBILLBOARD flag.
(0000467)
_mental_   
2017-02-09 07:47   
Fixed in 14ca635.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
216 [Software Renderer] Bug minor have not tried 2017-02-09 03:38 2017-02-09 05:19
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Player crouch sprites no longer show.
Description: With the software renderer enabled - use "chase" to go third person mode, then use "+crouch" to begin crouching.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
198 [Gameplay + OpenGL] Feature minor N/A 2017-02-07 03:37 2017-02-09 05:03
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ZScript version of ACS' ReplaceTextures
Description: The only missing piece left before I can convert my Bumi weather system to be fully written in ZScript is ReplaceTextures. I use this to bulk-change the textures in the entire level, depending on what in-game season it is (so during winter, the level textures will swap to snowy variants of themselves)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000420)
ZZYZX   
2017-02-07 04:15   
(Last edited: 2017-02-07 04:16)
You will be able to do that once proper sector/line iteration is in.
Proper sector/line iteration is still not in though -_-

(0000465)
Graf Zahl   
2017-02-09 04:59   
(Last edited: 2017-02-09 05:03)
Added to TexMan.

@ZZYZX: Such iterators won't be added because all they can do is emulate a for loop that can already be done. It can already be done in script code, but of course that could be slow. ReplaceTextures was added to do such bulk changes in an optimized fashion.
Since this merely required adding a script wrapper for an already existing function, it wasn't really an issue.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
215 [Gameplay + OpenGL] Submission feature always 2017-02-09 01:12 2017-02-09 04:24
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DontCullBackfaces MODELDEF flag
Description: https://github.com/coelckers/gzdoom/pull/245
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
212 [Gameplay + OpenGL] Bug major have not tried 2017-02-08 19:19 2017-02-09 04:23
Reporter: Lud Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A_Teleport not jumping to state.
Description: Tested on 2.3.2, issue is present.
Tested on g2.4pre-359-gf6d6f31 (x64), issue still present.

A_Teleport is not in an Anonymous Function. Attached file.
Tags:
Steps To Reproduce: 1. Load DECORATE.txt
2. 'give testpistol'
3. 'use testpistol'
4. Fire.

Firing should teleport you forward and go into the TestFire state which is basically the Shotgun's fire state. However, it fails to do so.
Additional Information:
Attached Files: DECORATE.txt (986 bytes) 2017-02-08 19:19
https://mantis.zdoom.org/file_download.php?file_id=59&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
152 [Gameplay + OpenGL] Bug minor always 2017-02-01 01:23 2017-02-09 04:13
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Fade color/artifacts displayed on sides of title menus when using 17:10 ratio
Description: From 2.2.0 onwards, if using the 17:10 ratio, artifacts will be displayed on the sides of the title menus after invoking any menu options. (No artifacts will be displayed if the title screen is left undisturbed.) The artifacts will initially take the form of the menu fade color. If you actually begin gameplay, and then exit back to the title menu, the artifacts will take the form of whatever pixels were being rendered by the game in that spot before exiting.

This only seems to occur when using the 17:10 ratio. I'm using a resolution of 1920x1080.

The title menus don't seem to Alt+PrtScr or Ctrl+PrtScr, so I had to get a cellphone photo.

This did not occur in 2.1.0.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: WP_20161229_001.jpg (1,130,859 bytes) 2017-02-01 01:24
https://mantis.zdoom.org/file_download.php?file_id=40&type=bug
Notes
(0000313)
_mental_   
2017-02-01 02:41   
The issue can be reproduced using particular resolution (720x480 for example) without forcing aspect ratio:
-iwad doom2 +fullscreen 0 +vid_defwidth 720 +vid_defheight 480
(0000457)
MagicWazard   
2017-02-09 04:13   
I'm not seeing this on the title screens anymore, but I am seeing this on Hexen's intermission screens still. I'm using the latest debug build (as of the 8th).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
213 [Gameplay + OpenGL] Bug minor have not tried 2017-02-08 21:13 2017-02-09 02:16
Reporter: Major Cooke Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: D4D upgrade purchasing broken
Description: Using this commit, summon C100000 and try upgrading a weapon of sorts. Then close the menu. Then re-open the menu and attempt to repurchase it -- you can, but you shouldn't be able to.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000449)
Major Cooke   
2017-02-08 21:59   
Found it. This here's the culprit commit.

https://zdoom.org/Changelog/c77f663/files

Fun fact, give weapons cheat is completely broken too.
(0000453)
_mental_   
2017-02-09 02:16   
Fixed in 4dd7e02.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
183 [Software Renderer] Bug crash random 2017-02-04 13:21 2017-02-08 23:08
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: dpbjgc.cpp:PropagateMark() crash (seems to happen on exit)
Description: Seems to happen when exiting the game using the software renderer.

Stack trace:

> qzdoom.exe!GC::PropagateMark() Line 194 C++
     qzdoom.exe!GC::FullGC() Line 546 C++
     qzdoom.exe!P_FreeLevelData() Line 3452 C++
     qzdoom.exe!P_Shutdown() Line 4200 C++
     qzdoom.exe!call_terms() Line 225 C++
     qzdoom.exe!__crt_seh_guarded_call<int>::operator()<<lambda_e24bbb7b643b32fcea6fa61b31d4c984>,<lambda_275893d493268fdec8709772e3fcec0e> & __ptr64,<lambda_9d71df4d7cf3f480f8d633942495c3b0> >(__acrt_lock_and_call::__l3::<lambda_e24bbb7b643b32fcea6fa61b31d4c984> && setup, _execute_onexit_table::__l22::<lambda_275893d493268fdec8709772e3fcec0e> & action, __acrt_lock_and_call::__l4::<lambda_9d71df4d7cf3f480f8d633942495c3b0> && cleanup) Line 199 C++
     qzdoom.exe!_execute_onexit_table(_onexit_table_t * table) Line 222 C++
     qzdoom.exe!common_exit(const int return_code, const _crt_exit_cleanup_mode cleanup_mode, const _crt_exit_return_mode return_mode) Line 215 C++
     qzdoom.exe!Cmd_quit(FCommandLine & argv, APlayerPawn * who, int key) Line 108 C++
     qzdoom.exe!C_DoCommand(const char * cmd, int keynum) Line 627 C++
     qzdoom.exe!AddCommandString(char * cmd, int keynum) Line 728 C++
     qzdoom.exe!C_HandleKey(event_t * ev, FCommandBuffer & buffer) Line 1593 C++
     qzdoom.exe!D_ProcessEvents() Line 285 C++
     qzdoom.exe!NetUpdate() Line 981 C++
     qzdoom.exe!D_Display() Line 894 C++
     qzdoom.exe!D_DoomLoop() Line 1019 C++
     qzdoom.exe!D_DoomMain() Line 2687 C++
     qzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035 C++
     qzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int nCmdShow) Line 1345 C++
     [External Code]
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000375)
Rachael   
2017-02-04 13:26   
This may be a GZDoom issue as well, because I am getting problems there also, even with the hardware renderer activated.
(0000376)
dpJudas   
2017-02-04 15:02   
A garbage collector crash could be caused by all kinds of things. It *could* be the software renderer, but only if there's a buffer overrun somewhere that ran over some GC memory.

Unless you got this crash when running with r_scene_multithreaded enabled. In that case all bets are off and I wouldn't be surprised to see this kind of crash.
(0000404)
Graf Zahl   
2017-02-05 16:52   
These are normally missing write barriers. The menu code could cause them but I believe I plugged them all yesterday evening.
(0000452)
dpJudas   
2017-02-08 23:08   
Marking this one as fixed because of what Graf said.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
210 [Software Renderer] Bug major always 2017-02-08 17:27 2017-02-08 22:58
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Portals and mirrors no longer show player
Description: Example wad found here:

http://www.tdgmods.net/smf/viewtopic.php?style=11&f=26&t=2661
Tags:
Steps To Reproduce: The player should be visible in the infinite hallway. He/she is not unless Chasecam mode is activated.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
211 [Software Renderer] Bug minor have not tried 2017-02-08 18:57 2017-02-08 22:43
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Carmack] BSP drawn in wrong order in some cases
Description: Not sure what is triggering this. KDIZD's Z1M1 demonstrates the problem pretty well, though. Happens even if you turn r_multithreaded off.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
206 [Gameplay + OpenGL] Bug minor always 2017-02-08 06:18 2017-02-08 16:30
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: No voices in Strife title screen
Description: I honestly have no memory of how long this has been a thing, but Strife has no narration in the title screen slideshow, and there are no voices during the quit messages either. Voices work in-game, though, so it's not an issue of voices.wad not being loaded.

This can be compared, for example, against chocolate strife, where it works as expected.
Tags: OpenAL
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000431)
MarisaKirisame   
2017-02-08 06:43   
I see this when I open the console: "Received AL error Invalid Value (0xA003), oalsound.cpp:1597"

I suspect that it might be an OpenAL bug then. Also, a Windows user has told me that voices work. I'll check with fmodex.
(0000432)
MarisaKirisame   
2017-02-08 07:04   
(Last edited: 2017-02-08 07:06)
This is weird, if I launch the game while fmodex is enabled, and then I switch to openal and reset, voices still work.

(0000440)
Graf Zahl   
2017-02-08 16:17   
Here's something weird: If I start a release build on Windows it works, if I start a debug build it doesn't. Sound system is irrelevant.
(0000441)
Graf Zahl   
2017-02-08 16:30   
fixed. It was an uninitialized variable which explains the erratic behavior.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
208 [Gameplay + OpenGL] Bug minor always 2017-02-08 07:27 2017-02-08 16:02
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SetCamera doesn't work
Description:
DEFINE_ACTION_FUNCTION(AActor, SetCamera)
{
    PARAM_ACTION_PROLOGUE(AActor);
    PARAM_OBJECT(cam, AActor);
    PARAM_BOOL_DEF(revert);

    if (self->player == nullptr || self->player->mo != self) return 0;

    if (camera == nullptr)
    {
        camera = self;
        revert = false;
    }
    AActor *oldcamera = self->player->camera;
    self->player->camera = camera;
    if (revert) self->player->cheats |= CF_REVERTPLEASE;

    if (oldcamera != camera)
    {
        R_ClearPastViewer(camera);
    }
    return 0;
}


Not once is 'cam' used, but 'camera' is. Also the definition inside of SetCamera is also 'cam'.

native void SetCamera(Actor cam, bool revert = false);
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000433)
Major Cooke   
2017-02-08 08:32   
(Last edited: 2017-02-08 08:32)
Fixed it on my end. https://github.com/coelckers/gzdoom/pull/243


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
168 [Gameplay + OpenGL] Bug minor always 2017-02-03 08:03 2017-02-07 08:38
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: D4D's Syphon Grenade Not Giving Armor
Description: I'm not sure what's happened but all I can say is, I didn't touch the syphon grenade anytime soon, nor did I touch the armor values. It would be appreciated if I could have some help investigating this since something caused the grenade to stop working correctly.

I don't know how long this has been that way but I just know I did nothing on my end to change that.
Tags:
Steps To Reproduce: Load up D4D and start a game on Nightmare difficulty or greater. Throw a syphon grenade at some enemies and watch how your armor meter never rises.
Additional Information:
Attached Files:
Notes
(0000340)
Major Cooke   
2017-02-03 08:05   
https://forum.zdoom.org/viewtopic.php?f=19&t=54843&p=967174#p967174

Download D4D here.
(0000348)
_mental_   
2017-02-04 02:41   
A little bit off-topic but still...
Bleeding edge version asserts at src/scripting/vm/vmbuilder.cpp:285:
Assertion failed: (locp->Tag == tag), function GetConstantAddress
It's somehow related to null values in the array declared in D4D/ZD4D/Pickups.txt:378
(0000349)
_mental_   
2017-02-04 02:49   
Forgot to mention the most important thing: it works for me with .pk3's from here using the latest commit d5962b2.
I tried on Doom II MAP01, Nightmare: two zombiemen gave me 40 armor points.
What's the commit you are using?
(0000357)
Major Cooke   
2017-02-04 07:31   
The same one.

Are you using Bleeding Edge?
(0000358)
_mental_   
2017-02-04 07:46   
Yes, D4D.pk3 has been updated since I tried but the grenade still works with the new one.
I tried with own 64-bit macOS build and with 32-bit Windows devbuild from DRD, without .ini in both cases.
(0000360)
Major Cooke   
2017-02-04 08:36   
(Last edited: 2017-02-04 08:37)
I'm using RelWithDebInfo currently. Hmm... I don't know what to say about the assertion thing.

Also Windows 10 Pro x64.

(0000368)
Graf Zahl   
2017-02-04 09:58   
The assert is a bug, thanks to some very shortsighted design in the VM with those stupid pointer tags. It's a perfectly harmless condition aside from that debug code that raises an alert. I have been thinking about removing that stuff anyway, as it inflates runtime data structures and other stuff for some very minor debugging aid during compiler development. Originally this had a lot more pointer tags but as it turned out the system was totally unusable because it couldn't always keep track of them.
(0000369)
Graf Zahl   
2017-02-04 10:09   
I'm sorry that I have to say it this bluntly, but you are essentially asking to have your code debugged. This is first and foremost your own responsibility to ensure that it all works as you wish.

This is simply not what the bug tracker is there for.

If you can pinpoint a specific cause that's engine related, please report back but I really need to work on other things than debugging code I do not even fully understand how it's supposed to work.

(0000370)
_mental_   
2017-02-04 10:47   
Just checked with 64-bit Windows RelWithDebInfo configuration and bleeding edge .pk3's downloaded a few minutes ago. It still works for me. No .ini, no other WADs, Doom II MAP01.
(0000371)
Major Cooke   
2017-02-04 10:56   
It's strange because I never changed anything on my end, I was wondering if the armor scriptifying had something to do with it.

Also I forgot to mention it's sporadic when it decides to stop working. I'm trying to investigate it as thoroughly as possible.
(0000423)
Major Cooke   
2017-02-07 07:58   
I cannot reproduce this anymore so go ahead and close it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
197 [Gameplay + OpenGL] Bug major always 2017-02-06 19:16 2017-02-07 06:20
Reporter: DavidN Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Linedefs with "transparent" flag are opaque
Description: GZDoom g2.3.2: Linedefs with the TRANSPARENT flag are rendered as opaque. Other transparency-related flags appear to work.
Tags:
Steps To Reproduce: See attached PK3 with:

- Linedef with TRANSLUCENT flag
- Linedef with TRANSPARENT flag
- Linedef with a transparent PNG texture
- Linedef with an alpha value
Additional Information:
Attached Files: trans1.png (454,293 bytes) 2017-02-06 19:16
https://mantis.zdoom.org/file_download.php?file_id=55&type=bug
trans2.png (471,592 bytes) 2017-02-06 19:16
https://mantis.zdoom.org/file_download.php?file_id=56&type=bug
transparenttest.pk3 (46,171 bytes) 2017-02-06 19:16
https://mantis.zdoom.org/file_download.php?file_id=57&type=bug
Notes
(0000419)
Graf Zahl   
2017-02-07 03:46   
Was already fixed before this report got made.
(0000422)
DavidN   
2017-02-07 06:20   
Super-efficient :) Thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
177 [Gameplay + OpenGL] Bug minor always 2017-02-04 04:44 2017-02-06 17:40
Reporter: MagicWazard Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cleric's Firestorm spams flame trails on death when fizzling out
Description: When shooting the Cleric's Firestorm, if no target or level geometry is hit and the projectile "fizzles" out, the projectile will spam flame trail actors at its point of death.

This doesn't occur when the projectile hits a target or level geometry.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000367)
Graf Zahl   
2017-02-04 09:55   
Can't be fixed. In this case the missile never explodes, there's no way to detect this case. From the looks of it this behavior originates from Hexen itself.
(0000380)
MagicWazard   
2017-02-04 19:33   
(Last edited: 2017-02-04 21:17)
This doesn't happen on 2.1.1, however.

And just to clarify, this behavior is observed when not using any autoloads.

(0000405)
MagicWazard   
2017-02-05 21:07   
This also doesn't happen on 2.2.0. It's a regression in behavior.
(0000414)
_mental_   
2017-02-06 14:17   
I'm reopening the issue because it worked fine in 2.2.0 indeed but it's not in 2.3.x and the current devbuild.
(0000417)
Graf Zahl   
2017-02-06 17:40   
Ok, looks like this was something different than what I assumed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
196 [Gameplay + OpenGL] Bug tweak always 2017-02-06 13:23 2017-02-06 17:31
Reporter: ZZYZX Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Sector_Set3DFloor allows setting 3D floor for tag 0
Description: https://github.com/jewalky/GZDoom-Builder-Bugfix/issues/30

People keep reporting it as GZDB bug that this is not supported.
According to your own (Graf's) post this is a bug in GZDoom and should have been fixed ASAP, but apparently that ASAP didn't happen yet, so reporting it here.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000416)
Graf Zahl   
2017-02-06 17:28   
Damnit. I must have completely forgotten this...

What I wonder is, what are people expecting of using tag 0 here...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
191 [Software Renderer] Bug major always 2017-02-05 09:16 2017-02-06 10:30
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Linux build error
Description: Building latest comes up with this:

In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/polyrenderer/poly_renderer.h:34:0,
                 
from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_swrenderer.cpp:51:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_renderthread.h:64:33: error: declaration 
of ‘std::unique_ptr<swrenderer::Clip3DFloors> swrenderer::RenderThread::Clip3DFloors’ [-fpermissive]
   
std::unique_ptr<Clip3DFloors> Clip3DFloors;
                                 ^~~~~~~~~~~~
In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/scene/r_opaque_pass.h:20:0,
                 
from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/things/r_visiblesprite.h:18,
                 from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/things/r_playersprite.h:16,
                 
from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_swrenderer.cpp:37:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/scene/r_3dfloors.h:67:8: error: changes 
meaning of ‘Clip3DFloors’ from ‘class swrenderer::Clip3DFloors’ [-fpermissive]
  class Clip3DFloors
        ^~~~~~~~~~~~
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000407)
dpJudas   
2017-02-06 05:43   
I don't understand this error message. Could you paste the full build log? It currently compiles fine on both clang and msvc.
(0000408)
MarisaKirisame   
2017-02-06 05:52   
I should have probably mentioned I build with gcc, then.
(0000409)
_mental_   
2017-02-06 08:42   
Most likely GCC complains because RenderThread::Clip3DFloors member variable has the same name as class Clip3DFloors.
(0000410)
dpJudas   
2017-02-06 09:04   
Good catch. Renamed the variable. Should work now I hope. :)
(0000411)
MarisaKirisame   
2017-02-06 09:39   
It's all fine now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
189 [Gameplay + OpenGL] Bug major always 2017-02-05 06:49 2017-02-05 15:25
Reporter: Edward-san Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GCC 6 compile error - ParseDrawTextureTags
Description: It happens only with GCC version 6.


/home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp: In member function ‘void DCanvas::DrawTexture(FTexture*, 
double, double, int, ...)’:
/home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp:136:76: error: no matching function for call to ‘DCanvas::ParseDrawTextureTags(FTexture*&, 
double&, double&, int&, va_list, DrawParms*, bool)’
  bool res = ParseDrawTextureTags(img, x, y, tags_first, tags, &parms, false);
                                                                            ^
In file included from /home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp:41:0:
/home/edward-san/zdoom/gzdoom/trunk/src/v_video.h:287:7: note: candidate: bool DCanvas::ParseDrawTextureTags(FTexture*, 
double, double, DWORD, T&, DrawParms*, bool) const [with T = __va_list_tag [1]; DWORD = unsigned 
int]
  bool ParseDrawTextureTags(FTexture *img, double x, double y, DWORD tag, T& tags, DrawParms *parms, 
bool fortext) const;
       ^~~~~~~~~~~~~~~~~~~~
/home/edward-san/zdoom/gzdoom/trunk/src/v_video.h:287:7: note:   no known conversion for argument 5 from 
‘va_list {aka __va_list_tag [1]}’ to ‘__va_list_tag (&)[1]’
/home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp: At global scope:
/home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp:949:15: error: template-id ‘ParseDrawTextureTags<va_list>’ 
for ‘bool DCanvas::ParseDrawTextureTags(FTexture*, double, double, DWORD, __va_list_tag (&)[1], 
DrawParms*, bool) const’ does not match any template declaration
 template bool DCanvas::ParseDrawTextureTags<va_list>(FTexture *img, double x, double y, DWORD 
tag, va_list& tags, DrawParms *parms, bool fortext) const;
               ^~~~~~~
In file included from /home/edward-san/zdoom/gzdoom/trunk/src/v_draw.cpp:41:0:
/home/edward-san/zdoom/gzdoom/trunk/src/v_video.h:287:7: note: candidate is: template<class T> 
bool DCanvas::ParseDrawTextureTags(FTexture*, double, double, DWORD, T&, DrawParms*, bool) const
  
bool ParseDrawTextureTags(FTexture *img, double x, double y, DWORD tag, T& tags, DrawParms *parms, 
bool fortext) const;
       ^~~~~~~~~~~~~~~~~~~~



/home/edward-san/zdoom/gzdoom/trunk/src/v_text.cpp: In member function ‘void DCanvas::DrawChar(FFont*, 
int, double, double, int, int, ...)’:
/home/edward-san/zdoom/gzdoom/trunk/src/v_text.cpp:71:76: error: no matching function for call to ‘DCanvas::ParseDrawTextureTags(FTexture*&, 
double&, double&, int&, va_list, DrawParms*, bool)’
   bool res = ParseDrawTextureTags(pic, x, y, tag_first, tags, &parms, false);
                                                                            ^
In file included from /home/edward-san/zdoom/gzdoom/trunk/src/v_text.cpp:42:0:
/home/edward-san/zdoom/gzdoom/trunk/src/v_video.h:287:7: note: candidate: bool DCanvas::ParseDrawTextureTags(FTexture*, 
double, double, DWORD, T&, DrawParms*, bool) const [with T = __va_list_tag [1]; DWORD = unsigned 
int]
  bool ParseDrawTextureTags(FTexture *img, double x, double y, DWORD tag, T& tags, DrawParms *parms, 
bool fortext) const;
       ^~~~~~~~~~~~~~~~~~~~
/home/edward-san/zdoom/gzdoom/trunk/src/v_video.h:287:7: note:   no known conversion for argument 5 from 
‘va_list {aka __va_list_tag [1]}’ to ‘__va_list_tag (&)[1]’
/home/edward-san/zdoom/gzdoom/trunk/src/v_text.cpp: In member function ‘void DCanvas::DrawText(FFont*, 
int, int, int, const char*, int, ...)’:
/home/edward-san/zdoom/gzdoom/trunk/src/v_text.cpp:106:78: error: no matching function for call to ‘DCanvas::ParseDrawTextureTags(std::nullptr_t, 
int, int, int&, va_list, DrawParms*, bool)’
  bool res = ParseDrawTextureTags(nullptr, 0, 0, tag_first, tags, &parms, true);
                                                                              ^
In file included from /home/edward-san/zdoom/gzdoom/trunk/src/v_text.cpp:42:0:
/home/edward-san/zdoom/gzdoom/trunk/src/v_video.h:287:7: note: candidate: bool DCanvas::ParseDrawTextureTags(FTexture*, 
double, double, DWORD, T&, DrawParms*, bool) const [with T = __va_list_tag [1]; DWORD = unsigned 
int]
  bool ParseDrawTextureTags(FTexture *img, double x, double y, DWORD tag, T& tags, DrawParms *parms, 
bool fortext) const;
       ^~~~~~~~~~~~~~~~~~~~
/home/edward-san/zdoom/gzdoom/trunk/src/v_video.h:287:7: note:   no known conversion for argument 5 from 
‘va_list {aka __va_list_tag [1]}’ to ‘__va_list_tag (&)[1]’
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000384)
_mental_   
2017-02-05 07:31   
(Last edited: 2017-02-05 07:49)
Will it work if tags will be passed by value, like in this commit?

This fixes compilation errors with GCC 6.3 but because of unrelated problems I cannot test it at runtime.

(0000385)
Graf Zahl   
2017-02-05 10:04   
I seriously have to wonder here: What were those idiots smoking when they made va_list an array? This breaks so much code it's almost unbelievable.

Is there any sane way to pass this to a function without some compiler getting the hiccups?

As it stands, some systems need a pass by reference, others need a pass by value so what to do?
(0000388)
_mental_   
2017-02-05 11:09   
Pass by value works in Clang too. I didn't try in MSVC yet but it should work everywhere.
(0000391)
Graf Zahl   
2017-02-05 11:26   
It originally was pass by value until you changed it.
(0000392)
_mental_   
2017-02-05 11:30   
No, it was in mixed form but va_list value could not be bound to a reference.
(0000393)
Edward-san   
2017-02-05 11:40   
Yeah, that seems to work with GCC 6.
(0000394)
_mental_   
2017-02-05 11:48   
(Last edited: 2017-02-05 11:48)
I think I was wrong when changed tags param of this function to reference type.
Most likely all other usages of va_list should be changed to values instead.
This need some testing though.

(0000395)
Edward-san   
2017-02-05 11:51   
Right, sorry, I didn't check that actually it fails at linking time.
(0000397)
_mental_   
2017-02-05 13:47   
Anyway it's impossible to use values everywhere because bunch of functions modifies their parameter.
Googling the problem revealed that only a pointer to va_list is portable way to do this.
(0000399)
_mental_   
2017-02-05 14:42   
Edward-san, could you please try this commit with GCC 6?
(0000401)
Graf Zahl   
2017-02-05 14:45   
By now I believe that the only safe way is to put the va_list into a struct and pass references to that around.
(0000402)
Graf Zahl   
2017-02-05 14:54   
If you can confirm that my last commit works, feel free to close this report.
(0000403)
Edward-san   
2017-02-05 15:24   
Yeah, it works now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
193 [Gameplay + OpenGL] Bug major always 2017-02-05 14:28 2017-02-05 14:43
Reporter: printz Platform: any  
Assigned To: OS: any  
Priority: high OS Version: any  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Nightmare respawn doesn't use UDMF thing health modifier
Description: Things respawned in nightmare mode don't restore their health to the one modified from UDMF (if set), but simply to their DECORATE health. This is unlike other places, such as archvile resurrection, where their UDMF modified health is used.

I asked on the forums about this and Graf Zahl confirmed it must be some bug, so I'm reporting it here.
Tags: UDMF
Steps To Reproduce: Create a Doom (2) UDMF map with a former human and set his health property to 5. Start a nightmare skill game with this wad and kill the zombieman. It should take about 10 bullets. Wait till he resurrects. Killing him again will only take 2 bullets.
Additional Information:
Attached Files: testhealth.wad (1,909 bytes) 2017-02-05 14:28
https://mantis.zdoom.org/file_download.php?file_id=54&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
186 [Gameplay + OpenGL] Bug minor always 2017-02-05 00:43 2017-02-05 14:39
Reporter: worm318 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Moving dynamics lights not illuminating correctly
Description: I set up a circular hallway sector with dynamic lights going along it. It works fine in GZDoom 2.2.0, but in latest version GZDoom 2.3.2 the lights don't illuminate their surrounding correctly as they go with the lighting stopping in random lines. I move the dynamic lights using warp.

I updated graphic card drivers and reset GZDoom to the default config to no effect. I provide screenshots of the issue and a test wad with my setup.
Tags:
Steps To Reproduce: 1. Use GZDoom version 2.3.2
2. Make a circular hallway
3. Put dynamic lights on it
4. Create an ENTER ACS script that moves them around
Additional Information:
Attached Files: litemup_test.wad (78,353 bytes) 2017-02-05 00:43
https://mantis.zdoom.org/file_download.php?file_id=51&type=bug
GZDoom 220 Ex1.png (515,143 bytes) 2017-02-05 00:43
https://mantis.zdoom.org/file_download.php?file_id=52&type=bug
GZDoom232 Ex1.png (564,248 bytes) 2017-02-05 00:43
https://mantis.zdoom.org/file_download.php?file_id=53&type=bug
Notes
(0000383)
_mental_   
2017-02-05 06:50   
I managed to trace it down to initial ZScript merge in c3fb43d.
Changes in src/gl directory don't look suspicious though.
(0000398)
Graf Zahl   
2017-02-05 14:39   
This was just a lost 'virtual' on an AActor method that got accidentally deleted when merging in the ZScript code.

It took two hours to manually bisect this code. :(

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
187 [Gameplay + OpenGL] Bug minor always 2017-02-05 02:25 2017-02-05 12:02
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Regression - floors incorrect lighting in Unloved.
Description: It seems like in the latest devbuilds, GZDoom does not take a certain combination of lighting effects in GL_Lightmode 8 correctly, causing spans to be incorrectly too bright.
Tags:
Steps To Reproduce: Mod download: https://forum.zdoom.org/viewtopic.php?f=42&t=25358 (unloved.pk3)
Screenshot A: http://imgur.com/2egJcM3 (Proper, earlier versions)
Screenshot B: http://imgur.com/fJsgb70 (Broken - current devbuild)

gl_lightmode 8
Additional Information:
Attached Files:
Notes
(0000396)
Graf Zahl   
2017-02-05 12:02   
For me the lighting looks exactly the same with a recent devbuild than with 2.1.0, using light mode 8. I suspect you got a config with altered light sizes in the old one if it makes such a difference

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
185 [Gameplay + OpenGL] Bug minor always 2017-02-04 22:43 2017-02-05 11:46
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Some menu graphics and text enlarge after using Alt+Enter to go into windowed mode
Description: When using Alt+Enter to toggle from fullscreen to windowed mode, some menu graphics and UI text will become enlarged. This includes:
*Menu options
*Game title
*Quicksave/quickload/quit game text

The UI elements will not resize back to normal when using Alt+Enter to revert back to fullscreen. Changing the screen resolution to a different value will reset the UI elements' size, however.
Tags:
Steps To Reproduce: 1. Launch GZDoom in fullscreen mode.
2. On title screen, press a key to invoke the menu. Observe the size of the menu text and graphics.
3. Begin game. In-game, press F10 to bring up the "quit game" dialog. Observe the size of the text.
4. Press Alt+Enter to toggle from fullscreen to windowed.
5. Press "Esc" to invoke the menu. Observe that the menu text and graphics are larger than before.
6. During gameplay, press F10 to bring up the "quit game" dialog. Observe the text is larger than before.
7. Press Alt+Enter to toggle back to fullscreen.
8. Invoke one of the prior UI elements. Observe that they are still larger than normal.
Additional Information:
Attached Files:
Notes
(0000382)
MagicWazard   
2017-02-04 22:47   
Note: I'm using 1920x1080 as my general display resolution. Toggling to a lower resolution, then back, resolves the issue.
(0000390)
Graf Zahl   
2017-02-05 11:24   
(Last edited: 2017-02-05 11:46)
This fell into some logic hole for low resolutions which is now disabled.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
170 [Gameplay + OpenGL] Feature feature have not tried 2017-02-03 12:27 2017-02-05 10:17
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SetCamera for ZScript
Description: Like ChangeCamera but using a pointer instead of a TID. This is for the sake of not creating cameras with conflicting TIDs at the same time which, for my project, can happen.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
182 [Gameplay + OpenGL] Feature minor have not tried 2017-02-04 12:03 2017-02-04 16:39
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Hitscans aren't blocked when Walkable Middle Texture is ticked on the line
Description: When you tick "Walkable Middle Texture" on a line, projectiles like rockets and plasmas will explode when you shoot at the non-transparent parts of the line, however hitscans will continue to pass through unaffected.

HOWEVER; if you tick "block hitscans" on the line, the hitscans will be blocked infinitely, even when there's empty space on the texture.
Tags:
Steps To Reproduce: Example file included. If you fire the rocket directly on the marble door, it will explode. If you fire it above the marble door, the rocket will fly over into the next room. Chaingun shots, however, will go right through the marble door regardless of where you fire it.
Additional Information:
Attached Files: PolySwingDoors.wad (12,384 bytes) 2017-02-04 12:03
https://mantis.zdoom.org/file_download.php?file_id=49&type=bug
Notes
(0000372)
Graf Zahl   
2017-02-04 12:52   
It has always been like this and won't be changed. It's just like non-shootable actors, where hitscans are also passing through.
(0000374)
Nash   
2017-02-04 13:06   
Understandable... so what other options would I have? I really need these swinging doors to block hitscans, but not infinitely in height, because I plan to use these doors on 3D floors.
(0000377)
arkore   
2017-02-04 16:39   
People use this exploit to hide behind railings and attack with hitscans to defeat difficult bosses in CDI. Given the comments here so far, it sounds like it will stay like this for no good reason. Shame.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
176 [Gameplay + OpenGL] Bug minor always 2017-02-04 04:31 2017-02-04 09:44
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Hexen melee attacks don't rotate player towards target
Description: When using a melee attack in Hexen, the player's view won't necessarily be rotated towards the target. Sometimes it will be rotated away from the target. The direction of rotation appears somewhat random. Consecutive melee attacks will cause the player's view to continue to rotate in the same direction as before.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
173 [Gameplay + OpenGL] Bug minor always 2017-02-04 02:59 2017-02-04 09:37
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: duplicate  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cleric's mace can strike multiple actors at once
Description: If there are multiple hittable actors within striking range of the Cleric's mace, they will all be struck at once. This includes enemies as well as breakable/strikable decorations.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000351)
MagicWazard   
2017-02-04 03:05   
(Last edited: 2017-02-04 05:24)
Also reproducible with the Fighter's weapons. If the Fighter strikes two targets at once in this way with his Gauntlets, it'll count as two punches towards his Mighty Blow punch.

This doesn't appear to occur with Doomguy's Fist or Corvus' Staff from Heretic.

Note that this can occur if the strikable actors are next to each other, or if they are in a line, but whether or not it occurs in those cases seems a bit random. This occurs 100% if objects are stacked, however. You can stack 2 Potterys on top of each other, for example, and break them both with one attack.

(0000366)
Graf Zahl   
2017-02-04 09:36   
If this mainly happens with potterys it's the same one as the fighter hammer. Summoning 3 Ettins into the same place does not trigger this.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
180 [Gameplay + OpenGL] Feature minor have not tried 2017-02-04 08:54 2017-02-04 09:30
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Make MoveDir auto-resolve to [0,7]
Description: Currently, if MoveDir is checked during a chase to be > 7, it quits the game and goes full console saying "Weird movedir!" or something like that.

I don't really think this is necessary anymore when it can just be modulated by 8 instead, internally.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000361)
Graf Zahl   
2017-02-04 09:27   
Cannot be done because 8 = DI_NODIR is a valid value here.
Of course the fatal error is stupid and all invalid values will now be treated as DI_NODIR.
(0000362)
Major Cooke   
2017-02-04 09:28   
Okay, when it comes to 8, perhaps it can find the nearest 45 degree angle itself there?
(0000363)
Graf Zahl   
2017-02-04 09:30   
All I am willing to do is to treat bad values as DI_NODIR. If you are having problems with this, fix your code, it's clearly broken.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
174 [Gameplay + OpenGL] Bug minor always 2017-02-04 03:08 2017-02-04 09:23
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Fighter throws a hammer projectile when striking and breaking a pottery object with hammer's melee
Description: If the Fighter uses his hammer's melee attack to strike and break a pottery object, he will throw a hammer afterwards, consuming mana.

This doesn't happen when striking and "killing" a breakable tree. Doesn't appear to happen when killing an enemy with a melee attack, either.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
169 [Software Renderer] Bug trivial always 2017-02-03 08:53 2017-02-03 13:34
Reporter: Hellser Platform:  
Assigned To: Rachael OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: devbuilds - User .ini file included
Description: Since January 29th, I am guessing Eruanna's qzdoom-Rachael.ini has been included with QZDoom's Devbuilds. If this belongs in the drdteam.org (site) section - then sorry. :D
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000342)
Rachael   
2017-02-03 13:34   
Ugh. I set the build script to delete any .ini files it finds.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
167 [Gameplay + OpenGL] Bug minor always 2017-02-02 21:36 2017-02-03 03:41
Reporter: MTrop Platform:  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SBARINFO "DrawBar" with PowerupTime does not Reflect Correct Remaining Time
Description: Using SBARINFO's DrawBar stays "full" until maybe the last 15-ish seconds of the powerup time, and then it starts to shrink.
Tags:
Steps To Reproduce: Run latest GZDoom Git Build (gzdoom-g2.4pre-310-gbecc00a) with square1.pk3 as an IWAD. Summon a powerup ("summon devilsphere"). Collect it. Bar does not start depleting until the last 15-or-so seconds. Happens for all powerups.
Additional Information: This did not occur in v2.3.2.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
165 [Gameplay + OpenGL] Bug minor always 2017-02-02 16:28 2017-02-03 03:11
Reporter: Mikk- Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dynamic Light Size Rollover >255
Description: Dynamic Point Lights size value rolls over at numbers greater than 255.

A light with a value of 256 will be equal to that of a value of 1.
Tags: Dynamic Light
Steps To Reproduce: Load the attached file [GLTEST.pk3] and enter MAP01 - there are two actors on the map SimpleActor1 [Right] & SimpleActor2 [Left]. Note that there is no light coming from the right actor.
Additional Information:
Attached Files: gltest.pk3 (1,119 bytes) 2017-02-02 16:28
https://mantis.zdoom.org/file_download.php?file_id=47&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
154 [Gameplay + OpenGL] Bug minor random 2017-02-01 01:51 2017-02-03 00:54
Reporter: MagicWazard Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Menu pointer jumps to mouse position with no mouse input
Description: Here's an odd one which I've been experiencing for a while, both with ZDoom and GZDoom, and I've been wondering if it's a hardware issue or a software issue...

Periodically, (G)ZDoom will get into a state where the menu pointer will almost continuously jump to wherever the mouse position happens to be, even when the mouse is not moving. Likewise, the mouse cursor will be visible pretty much constantly while in menus, even if the mouse has not been moved (the mouse cursor normally only appears with mouse input). This makes navigating menus using just the keyboard pretty much impossible, because every time I move the pointer using a key, it jumps back to where the mouse cursor is. This occurs from the time (G)ZDoom is launched until the time it's exited. Whether this happens or not seems to be entirely random, but it happens almost 50% of the time. There doesn't seem to be any method of recovery, apart from rebooting my entire PC and hoping it doesn't happen again--simply exiting the game doesn't fix the issue. If GZDoom is experiencing this behavior, then so is ZDoom, and vice versa.

My initial thought was maybe it was a hardware issue of some sort. However, the strange thing is that this behavior will continue to occur even after I completely disconnect my mouse (or my pen tablet) from my PC! In these cases, there's literally no physical hardware to send any kind of mouse input signals, yet (G)ZDoom seems to think that there's continual mouse input being applied.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: DxDiag.txt (31,697 bytes) 2017-02-01 01:51
https://mantis.zdoom.org/file_download.php?file_id=41&type=bug
DxDiag64.txt (42,600 bytes) 2017-02-01 01:51
https://mantis.zdoom.org/file_download.php?file_id=42&type=bug
msinfo.txt (1,446,778 bytes) 2017-02-01 01:51
https://mantis.zdoom.org/file_download.php?file_id=43&type=bug
Notes
(0000317)
Graf Zahl   
2017-02-01 04:26   
I cannot fix this. Some hardware continuously sends mouse events, even if there's no actual input. The only remedy is to set the mouse input for the menu to 'touchscreen-like' so that this doesn't get in the way of normal operations.

I changed the default but since you already started the game you will have to manually change it.

(0000325)
MagicWazard   
2017-02-01 16:30   
I can try that. How can I manually change the mouse input style? What side effects might there be from doing so?
(0000327)
_mental_   
2017-02-02 02:17   
Set m_use_mouse CVAR to 2.
(0000328)
Graf Zahl   
2017-02-02 03:05   
The effects of changing this is that mouse events are only being processed if the left mouse button is down, so mere mouse movement won't trigger any actions.
(0000337)
MagicWazard   
2017-02-03 00:54   
I set the CVAR as recommended, and it does indeed resolve the menu issues! However, the mouse still operates as "normal" (that is, both in menus and in-game) without having to hold down the left mouse button. This works out just fine for me, but it's not quite what you described. Do you suppose the phantom mouse events are responsible for this?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
161 [Software Renderer] Bug minor always 2017-02-02 01:40 2017-02-02 15:34
Reporter: Hellser Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Flickering wall brightness
Description: Was testing QZDoom (QZDoom-q1.3pre-542-g226e5238f to be precise). I noticed the steps in E1M1 (as provided in the screenshot) started to flicker from its normal brightness to a lower one. Only seems to increase in severity as I approach it.

256-Color mode, Classic Software Renderer.
Tags:
Steps To Reproduce: Launch E1M1, approach the zig-zag floor room with the nukage. It should start flickering.
Additional Information:
Attached Files: Screenshot_Doom_20170202_023358.png (348,178 bytes) 2017-02-02 01:40
https://mantis.zdoom.org/file_download.php?file_id=46&type=bug
Notes
(0000326)
dpJudas   
2017-02-02 02:02   
Odd bug - I've only really seen it happen on E1M1 in that exact room. And on my computer it only happens when I move. Probably an uninitialized variable related to the light/colormap code.
(0000331)
Hellser   
2017-02-02 14:53   
Yeah, same here - it only happens when moving. I was lucky to get a screenshot of it in a low brightness level. If this is fixed, then awesome - and thank you. Keep up the good work.
(0000332)
dpJudas   
2017-02-02 15:34   
Yep, should be fixed now (next nightly should contain the fix). And you're welcome. :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
155 [Gameplay + OpenGL] Bug minor always 2017-02-01 09:39 2017-02-01 12:24
Reporter: _mental_ Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Assertion failure in ADynamicLight::UpdateLocation()
Description: The same old assertion fails again while playing dead.wire:
Assertion failed: (radius >= m_currentRadius * 2), function UpdateLocation, file src/gl/dynlights/a_dynlight.cpp, 
line 394.

I was on the latest commit b77a0eb at the moment. lights.pk3 was not loaded.
Tags:
Steps To Reproduce: Load attached saved game along with xa-dwire.wad and press fire.
Additional Information:
Attached Files: save888.zds (154,156 bytes) 2017-02-01 09:39
https://mantis.zdoom.org/file_download.php?file_id=44&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
158 [Gameplay + OpenGL] Submission minor have not tried 2017-02-01 11:21 2017-02-01 12:12
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: INTERPOLATE Actor Flag
Description: https://github.com/coelckers/gzdoom/pull/238

Re-enables the interpolated code on actors with the INTERPOLATE flag.

Useful for things like cameras and smoothing turning.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
151 [Gameplay + OpenGL] Bug crash always 2017-02-01 01:10 2017-02-01 06:21
Reporter: Toaster_King Platform: Linux x64  
Assigned To: _mental_ OS: Fedora  
Priority: high OS Version: 25  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Game crashes on when running (Release & Debug). Vertex shader output error.
Description: When running alpha versions of GZDoom on Fedora 25 x64, the game will crash and throw the following error:

Warning: 'Object' is freed outside the GC process.
Init Shader 'fogboundary':
Linking:
error: vertex shader output `glowdist' declared as type `vec3', but fragment shader input declared as 
type `vec2'
.

This occurs on both release and debug versions
Tags:
Steps To Reproduce: 1. Compile GZdoom on Fedora as per https://zdoom.org/wiki/Compile_GZDoom_on_Linux
2. Run game using any IWAD.
Additional Information: Crash reproduced on my Thinkpad T420 using i7-2620M (GL_VERSION: 3.0), NVS 4200M GL_VERSION: 4.5) and seperate desktop with an i5-4440 (GL_VERSION 4.3).
Attached Files: gzdoomdebug.log (79,581 bytes) 2017-02-01 01:10
https://mantis.zdoom.org/file_download.php?file_id=39&type=bug
Notes
(0000311)
_mental_   
2017-02-01 02:07   
Should be fixed in 1fd37ff.
(0000320)
Toaster_King   
2017-02-01 06:21   
Can confirm fix. Thanks dev!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
149 [Gameplay + OpenGL] Bug minor always 2017-01-31 19:36 2017-02-01 04:20
Reporter: silentzora Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PowerUp.Color Colormaps Not Rendering
Description: While InverseMap appears to be rendering correctly when assigned to a powerup with PowerUp.Color, the remaining color maps listed on the ZDoom Wiki are not rendering at all when the powerup is collected.
Tags:
Steps To Reproduce: 1.) Summon one powerup supplied in the test WAD, and collect it.
2.) Verify that the colormap is displaying correctly.
3.) Start new game from the main menu.
4.) Summon next powerup and collect it.
4.) Continue steps 2-4 until all powerups have been collected.

InverseMap will render correctly, but GoldMap, RedMap, BlueMap, and GreenMap will not.
Additional Information: Decorate code supplied in test wad below:
actor NewInvulnInverse : InvulnerabilitySphere
{
    Powerup.Color InverseMap
}

actor NewInvulnRed : InvulnerabilitySphere
{
    Powerup.Color RedMap
}

actor NewInvulnGreen : InvulnerabilitySphere
{
    Powerup.Color GreenMap
}

actor NewInvulnGold : InvulnerabilitySphere
{
    Powerup.Color GoldMap
}

actor NewInvulnBlue : InvulnerabilitySphere
{
    Powerup.Color BlueMap
}
Attached Files: powerupColorTest.wad (417 bytes) 2017-01-31 19:36
https://mantis.zdoom.org/file_download.php?file_id=37&type=bug
Notes
(0000308)
silentzora   
2017-01-31 21:38   
Forgot to mention in the original report. This bug is present in the latest Git build, g2.4pre-289-ga188a88.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
42 [zdoom.org (Site)] Feature minor have not tried 2017-01-13 08:35 2017-01-31 23:31
Reporter: Major Cooke Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Allow editing/closing/deleting of self-submitted issues
Description: Github allowed it. That way if we accidentally mess up something we can fix it and give proper information.

I.e. I nearly had a bad copy/paste accident that would've been embarrassing but thankfully I caught myself from doing so.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000060)
Rachael   
2017-01-13 10:22   
If you can find me a config option or extension, this will be added. Otherwise - there's no chance of this happening.

(I will not modify the base installation, because that makes it very upgrade non-friendly)
(0000061)
Xaser   
2017-01-13 10:38   
(Last edited: 2017-01-13 18:00)
Holy geeze, I hadn't noticed this -- that's an extreme monkey wrench. O_O

I don't guess there's anything that can be done about it at this point (see https://www.mantisbt.org/bugs/view.php?id=8141 -- it's still not an official feature), but goddamn.


[EDIT] v... like so. ;)

(0000062)
Rachael   
2017-01-13 10:50   
The problem is that issue trackers are still relatively new and untested. And it doesn't help that they aren't that popular. I would not be against forking Mantis, though, if it starts to prove that the problems are too numerous to just let be.
(0000074)
Xaser   
2017-01-13 17:59   
Just tried on my other open issue: I don't seem to be able to edit the report itself, but I can edit my own notes, which is a step up... ^

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
148 [Gameplay + OpenGL] Bug major always 2017-01-31 16:53 2017-01-31 18:12
Reporter: Kappes Buur Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: braindrain from MAP23 Paranoiac
Description: I noticed this first while populating Rex's Paranoiac Map23, that the scientists would abandon the map in droves.

https://www.youtube.com/watch?v=m8t-EwOKuc8

I made a small testmap, which still needs the Paranoiac files.

http://www.mediafire.com/file/bqx6pw9q15t9t6s/the_braindrain.wad
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000306)
Graf Zahl   
2017-01-31 18:11   
Their brain gets drained because they look for enemies to attack and if they find one they are so scared that they just disappear, because they have no See state.

Sorry, this is a clear definition bug.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
146 [Gameplay + OpenGL] Bug crash always 2017-01-31 05:17 2017-01-31 17:20
Reporter: ibm5155 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: zscript vm - camera crash with divide by zero error.
Description: if a camera's travel time is zero, the vm will stop the game returning an error.
before zscript code it didn't crashed, but it also made another glitch.

I belive this is a valid case because you can just travel by a "void" area without any kind of delay, like a large black corridor with 0 bright where the camera cannot see anything
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000300)
Graf Zahl   
2017-01-31 06:51   
Make a demo, please!
Or at least post the error message you got.
Reports like this one only force me to do some unnecessary work.
(0000304)
ibm5155   
2017-01-31 10:35   
Ops.
Here's the test wad wiht a Picture of the error http://www.mediafire.com/file/8m2hl51t2cpp7zj/CameraBug.7z
There are 3 câmeras, the first one is valid, the second one has a travel time 0 and the last one ehm is the last one
(0000305)
Graf Zahl   
2017-01-31 17:20   
Fixed the division by zero but no guarantee that it's glitch-free.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
115 [Gameplay + OpenGL] Feature feature have not tried 2017-01-24 09:52 2017-01-31 09:15
Reporter: Major Cooke Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "protected" CVARINFO key word
Description: An idea: Protected cvars cannot be altered by the console unless sv_cheats is set to true regardless of difficulty. They can, however, be changed with ACS.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000297)
_mental_   
2017-01-31 03:09   
In the first approach it's something like this.
Although I called the flag 'cheat' to do not introduce confusion with existing protected CVARs that can be set from command line but not in console.
(0000302)
_mental_   
2017-01-31 07:30   
Added in 6225f60
(0000303)
Major Cooke   
2017-01-31 09:15   
Thanks! :D

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
101 [Gameplay + OpenGL] Bug crash always 2017-01-21 21:37 2017-01-31 06:48
Reporter: Rachael Platform:  
Assigned To: Graf Zahl OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash in restart ccmd
Description: This one is more complicated to reproduce than the previous ones. I think I tried to look at it before but immediately got confused because I am not familiar with the game setup code yet.

Tags:
Steps To Reproduce: To reproduce, do the following:
> gzdoom -iwad doom2.wad -warp 1 // (Important in this step: open a level first)
Then open the console:
] restart -iwad doom2.wad
] map map01
// boom!

This effect does not occur unless a level has been previously loaded, first.
Additional Information:
Attached Files:
Notes
(0000200)
Edward-san   
2017-01-22 03:25   
To me it crashes while restarting.

Valgrind reports this:

==10873== Invalid read of size 4
==10873==    at 0x8CD70C: GC::Mark(DObject**) (dobjgc.cpp:282)
==10873==    by 0x8CC72B: DObject::PropagateMark() (dobject.cpp:397)
==10873==    by 0x8CD53E: GC::PropagateMark() (dobjgc.cpp:195)
==10873==    by 0x8CDB95: GC::SingleStep() (dobjgc.cpp:445)
==10873==    by 0x8CDCEF: GC::Step() (dobjgc.cpp:498)
==10873==    by 0x8B9D33: GC::CheckGC() (dobject.h:293)
==10873==    by 0x8BB680: NetUpdate() (d_net.cpp:947)
==10873==    by 0x8BDB2C: TryRunTics() (d_net.cpp:1950)
==10873==    by 0x8B34A4: D_DoomLoop() (d_main.cpp:1017)
==10873==    by 0x8B7623: D_DoomMain() (d_main.cpp:2678)
==10873==    by 0x620434: main (i_main.cpp:259)
==10873==  Address 0xe0c9f90 is 6,048 bytes inside an unallocated block of size 15,296 in arena "client"



gdb backtrace:


#0  0x00000000008cd70c in GC::Mark (obj=0xe143390) at /home/edward-san/zdoom/gzdoom/trunk/src/dobjgc.cpp:282
        
lobj = 0xe0c9f70
#1  0x00000000008cc72c in DObject::PropagateMark (this=0xe1432d0) at /home/edward-san/zdoom/gzdoom/trunk/src/dobject.cpp:397
        
offsets = 0x15804098
        info = 0xf9767e0
0000002  0x00000000008cd53f 
in GC::PropagateMark () at /home/edward-san/zdoom/gzdoom/trunk/src/dobjgc.cpp:195
        obj = 0xe1432d0
        __PRETTY_FUNCTION__ = "size_t GC::PropagateMark()"
0000003  0x00000000008cdb96 
in GC::SingleStep () at /home/edward-san/zdoom/gzdoom/trunk/src/dobjgc.cpp:445
        __PRETTY_FUNCTION__ = "size_t GC::SingleStep()"
0000004  
0x00000000008cdcf0 in GC::Step () at /home/edward-san/zdoom/gzdoom/trunk/src/dobjgc.cpp:498
        lim = 4000
        olim = 4000
        __PRETTY_FUNCTION__ = "void GC::Step()"
0000005  
0x00000000008b9d34 in GC::CheckGC () at /home/edward-san/zdoom/gzdoom/trunk/src/./dobject.h:293
No locals.
0000006  
0x00000000008bb681 in NetUpdate () at /home/edward-san/zdoom/gzdoom/trunk/src/d_net.cpp:947
        lowtic = 0
        nowtime = 8966409
        newtics = 0
        i = 0
        j = 0
        realstart = 869981916
        cmddata = 0x22663a0 <netcmds> ""
        resendOnly = false
        count = 9366813
        quitcount = 0
0000007  
0x00000000008bdb2d in TryRunTics () at /home/edward-san/zdoom/gzdoom/trunk/src/d_net.cpp:1950
        i = 8
        lowtic = 17
        realtics = 3646
        availabletics = 17
        counts = 16
        numplaying = 1
        doWait = true


problematic line:

0x00000000008cd70c in GC::Mark (obj=0xe143390) at /home/edward-san/zdoom/gzdoom/trunk/src/dobjgc.cpp:282

282			if (lobj->ObjectFlags & OF_EuthanizeMe)
(0000201)
Graf Zahl   
2017-01-22 05:22   
Somewhere a stale pointer to a deleted object seems to remain. I haven't found it yet, though.
(0000215)
_mental_   
2017-01-23 07:16   
The first culprit is static pointer in AInventory::CallTryPickup() function. I assume it was done this way for optimization purposes.
The second one is FraggleScript's variables being destructed twice: implicitly by GC::FullGC() at d_main.cpp:2720 and explicitly by DFsScript::ClearVariables() during exiting after restart.
(0000298)
Graf Zahl   
2017-01-31 06:48   
I hope I got all pending issues here.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
144 [Gameplay + OpenGL] Bug major always 2017-01-30 10:32 2017-01-31 01:13
Reporter: Kinsie Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: CustomInventory Jump Regressions
Description: A piece of code I've been using for inventory items that use a shared ammo pool, which works fine in the stable 2.3.2 release, is suddenly no longer functioning correctly in the latest devbuilds.

View the code here. The pertinent code in this case is the second actor, HandGrenade.

In GZDoom 2.3.2, and in gzdoom-x64-g2.4pre-186-g0376c8b (Jan 19) and earlier, the item will jump to the "Fire" state if you have more than 1 GrenadeAmmo. If you don't, it will go to the "Failure" state.

In gzdoom-x64-g2.4pre-198-g02cfdbc (Jan 20), using the item caused a Very Fatal Error once, then seemingly rendered me unable to use the InvUse command on that build ever again. Very strange.

In gzdoom-x64-g2.4pre-219-g4dc1d11 (Jan 21), it seems to ignore the check and goes straight to the "Failure" state. I have reworded it in a number of ways using CheckInv, and gotten the same result.
Tags:
Steps To Reproduce:
  1. Open the code in GZDoom (you can grab a GitHub build of the mod it's part of here)
  2. Enter the IDKFA cheat code to get all inventory items and a bunch of GrenadeAmmo.
  3. Press the Use Inventory key.
Additional Information:
Attached Files:
Notes
(0000291)
Graf Zahl   
2017-01-30 11:18   
This was broken until Jan 22, so please try a newer version.
(0000295)
Kinsie   
2017-01-30 20:10   
Thanks for the heads-up.

New development builds past Jan 21 haven't been posted on the DRDTeam site, once they do I'll check again and keep you posted. :)
(0000296)
Kinsie   
2017-01-31 01:05   
Confirming that this works as of gzdoom-x64-g2.4pre-288-g0e5aee4, feel free to close this. Sorry for the hassle!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
141 [Gameplay + OpenGL] Bug major always 2017-01-29 15:08 2017-01-30 15:24
Reporter: Kappes Buur Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: screen blacks out during game
Description: This happens with every GZDoom pre2.3 and pre2.4 and 2.3.2 with Eex's WIP map MAP23.
And it happens always at the same spots.

https://www.youtube.com/watch?v=I1eqR7mx0Fg

When played with versions gzdoom-bin-2-2-0-x64 or GZDoom-ZScript-g2.3pre-884 this does not happen.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000285)
Graf Zahl   
2017-01-29 17:17   
I cannot debug a video. Is there any script trigger at that point? If it's always in the same spot chances are likely that there's some bogus ACS action going on.
(0000286)
Enjay   
2017-01-29 19:04   
Looks like the same thing as being discussed here: http://forum.drdteam.org/viewtopic.php?f=199&t=7444

I too posted a video in that thread. Paranoiac does seem to trigger it very easily.

As far as I can tell no particular script is causing this. However, as mentioned in the thread, if I load up Paranoiac and warp to map21, the blackness effect happens within seconds for me.

I think you (Graf) have access to the Paranoiac WIP files. If not, I'm sure they can be got to you.
(0000294)
Graf Zahl   
2017-01-30 15:24   
The ultimate cause here was a bad fog definition in MAPINFO but the bad values are now weeded out before they can cause problems.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
143 [Gameplay + OpenGL] Feature minor have not tried 2017-01-30 07:02 2017-01-30 13:30
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Make roll interpolation toggleable
Description: In D4D, if you set the bullet trails to Particle Trails, and fire the shotgun, you'll notice some nasty 1-tic momentary roll interpolation.

I believe this is why we have A_SetRoll's SPF_INTERPOLATE flag. Can this just be done that way instead of applying it across the board?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000288)
Major Cooke   
2017-01-30 07:06   
Specifically, go to D4D Mod Options -> Display Option -> Bullet Tracer Effects option and set it to Particle Trail.
(0000289)
Graf Zahl   
2017-01-30 07:14   
(Last edited: 2017-01-30 07:15)
Looks like the SPF_INTERPVIEW flag is only affecting the player but not regular actors. The engine code itself is fine, but the implementation of A_SetAngle, A_SetPitch and A_SetRoll do not really disable angular interpolation if not desired.

I think I remove the angular interpolation code again, because a quick look shows that the entire engine needs to be reviewed for this which is not really something I want to do.

(0000292)
Nash   
2017-01-30 12:42   
Ah, what a shame. I was actually about to send a PR that adds interpolation in gl_models.cpp but I realized that it only works for things that are P_Thing_Warp'd and yet player model rotation is STILL jittery.

Maybe I could volunteer to take a look at A_SetAngle/Pitch/Roll and see if we can fix this inconsistency once and for all.
(0000293)
Graf Zahl   
2017-01-30 13:30   
It's not A_Set* what's causing problems but the general assumptzion of the game code that the angle is very liberally modified everywhere. This all needs to be carefully reviewed before it can be activated and right now that simply exceeds the free time I have.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
140 [Gameplay + OpenGL] Bug crash always 2017-01-29 12:39 2017-01-29 17:27
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 0-length lines cause crash
Description: If you try to load a map with 0-length lines, the game will crash.
Tags:
Steps To Reproduce: 1. Load up a recent build of Freedoom: Phase 2
2. Go to map06 or map22
3. The game will crash
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
133 [Gameplay + OpenGL] Feature major always 2017-01-28 01:26 2017-01-29 15:05
Reporter: Nash Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 3D player model angle rotation is not interpolated with cl_capfps = 0
Description: Example file is attached.

3D player models are not angle-interpolated, which is obvious in multiplayer or if you are playing with the chasecam.
Tags:
Steps To Reproduce: Load example file, go into chasecam mode, move the mouse left and right to see the jittery model rotation
Additional Information: Is not evident with capped framerate obviously; this is only a problem with uncapped frame rate
Attached Files: 3d player model.pk3 (282,374 bytes) 2017-01-28 01:26
https://mantis.zdoom.org/file_download.php?file_id=33&type=bug
Notes
(0000276)
Graf Zahl   
2017-01-29 06:13   
May I ask why you tagged such a small issue as "Major"?
(0000284)
Nash   
2017-01-29 15:05   
Sorry, I'll be more careful next time.

But this issue hasn't been fully been fixed yet. It looks like interpolation is missing for models. Please check with the file in the attachment and rotate the player around with the chasecam turned on. The model still looks jittery.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
138 [Software Renderer] Bug crash always 2017-01-29 05:01 2017-01-29 11:56
Reporter: unRyker Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [x64 Version] Particles instigate engine crash in OpenGL Render
Description: Particles cause the sourceport to crash in OpenGL mode in the x64 version of QZDoom in OpenGL mode. Software mode is fine when rendering particles using the same version.

Occurred in QZDoom-q1.3pre-487-g162f46963-x64
Tags:
Steps To Reproduce: 1. Set anything to render particles in Display Mode
2. Force whatever you set to render particles to happen
3. Imminent crash
Additional Information: Someone's qzdoom.ini file is accidentally included in the build.
Attached Files: CrashReport.zip (22,293 bytes) 2017-01-29 05:01
https://mantis.zdoom.org/file_download.php?file_id=34&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
139 [Gameplay + OpenGL] Bug minor always 2017-01-29 05:48 2017-01-29 11:46
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Non solid 3D floors do not generate splashes
Description: Unlike most times when splashable flats (e.g. water flats in Heretic) are hit, non-solid 3D floors do not generate splashes on their surface.

I was trying to make a map that has water in it that I wanted to be a translucent visual effect but with no physics effects (no blocking, no swimmable effect) but I wanted the water to splash when things ended up in it. At present, this does not seem to be possible.
Tags:
Steps To Reproduce: Load the attached map. It's for Heretic.

Load it up and fire the wand at the water surfaces. Only one pool does not splash. Unfortunately, it's the pool with the visuals and physics that I want. :(

As the switches tell you,

  1. the pool on the left is a normal floor and it splashes
  2. the next pool uses transfer heights and, as a result, is non-blocking but it splaches
  3. the next pool uses a solid 3D floor (advantage: it can be translucent) and it splashes
  4. the next pool uses a swimable 3D floor (advantage: translucent, disadvantage in some situtions: physics (e.g. this is the only deep pool in the map that you can get out of without jumping) and it splashes
  5. the final pool uses a non-solid 3D floor (advantage, it's purely visual, which can be desirable) but it does not splash.
Additional Information: Thread where I asked the editing question about this issue:

https://forum.zdoom.org/viewtopic.php?f=3&t=55106
Attached Files: splashtest.zip (4,225 bytes) 2017-01-29 05:48
https://mantis.zdoom.org/file_download.php?file_id=35&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
135 [Gameplay + OpenGL] Bug minor always 2017-01-28 12:24 2017-01-29 11:32
Reporter: silentzora Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Custom Statbar Failing to Render When Loading With Warp/Skill Params
Description: Starting with the g2.4pre-198-g02cfdbc build of GZDoom, the custom statbar in Doomzone no longer displays when starting a new game with the -warp or -skill parameters. Starting a new game from the New Game option displays the statbar fine.

Builds prior to Jan 20 do not exhibit this behavior.
Tags:
Steps To Reproduce: Load Doomzone via command line with the -warp or -skill parameter (or level/skill selection in your launcher of choice). Precisely which level or skill does not matter. Game should start, but no statbar will be drawn.
Additional Information: The last build of Doomzone can be obtained here for testing.
Attached Files:
Notes
(0000270)
_mental_   
2017-01-29 04:19   
(Last edited: 2017-01-29 04:20)
The issue is caused by inconsistency between DBaseStatusBar::Scaled and DSBarInfo::Scaled.
Call to DSBarInfoWrapper::SetScaled() sets both of them however there is an additional check in DBaseStatusBar::SetScaled() which isn't exist in DSBarInfo::_SetScaled().
IMHO to make those values synchronized DSBarInfoWrapper::SetScaled() should use value of Scaled from its parent class:
void DSBarInfoWrapper::SetScaled(bool scale, bool force)
{
    Super::SetScaled(scale, force);
    core->_SetScaled(Scaled);
}


(0000279)
Graf Zahl   
2017-01-29 11:32   
Indeed. That's what I wanted to do there, it seems like the autocomplete screwed me over and picked the wrong variable.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
132 [Gameplay + OpenGL] Bug crash always 2017-01-27 23:54 2017-01-29 11:29
Reporter: ZZYZX Platform:  
Assigned To: Graf Zahl OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ZScript VM doesn't seem to initialize scripted fields in subclasses properly
Description: Basically, I have a native class defined in these files

https://github.com/jewalky/gzdoom/blob/thereisnospoon/src/events.h
https://github.com/jewalky/gzdoom/blob/thereisnospoon/src/events.cpp
https://github.com/jewalky/gzdoom/blob/thereisnospoon/wadsrc/static/zscript/events.txt

Then I create a subclass, for example like this: http://pastebin.com/6XpEE33W
The field "myS" is never initialized to a proper string: when trying to access it, then in debug mode, it's 00000000 (assertion failed: Chars != null), and in release mode it just crashes to desktop.

Is this a problem with my code or with GZDoom?

Note: providing a struct there, e.g. like this http://pastebin.com/WNWMZyLT, does not crash.
Also, if I do this in Actor, it seems to work alright (i.e. inheriting actor and putting a string field in it works).

Made a bug because otherwise Graf keeps forgetting.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: crash.pk3 (669 bytes) 2017-01-29 06:49
https://mantis.zdoom.org/file_download.php?file_id=36&type=bug
Notes
(0000263)
ZZYZX   
2017-01-27 23:56   
Struct link: http://pastebin.com/WNWMZyLT
Broke in the bug.
(0000273)
Graf Zahl   
2017-01-29 05:34   
Do you have a complete, ready to test, example for this? I am still trying to wrap my head around these fragments.
(0000277)
ZZYZX   
2017-01-29 06:49   
Make a build of https://github.com/jewalky/gzdoom/tree/thereisnospoon
Then take this pk3 and run it, it will crash upon entering the map.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
134 [Gameplay + OpenGL] Bug trivial always 2017-01-28 07:14 2017-01-29 05:43
Reporter: illuknisaa Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Plat_UpByValue has wrong sound
Description: When the platform comes down it uses floor/ceiling move sound instead of platform sound.
https://zdoom.org/wiki/Plat_UpByValue
Tags:
Steps To Reproduce: http://www.mediafire.com/file/1hx2f84g5z58ogm/plat_upbyvalue.wad

Uses a simple walk over line activation. Smaller platform is for Plat_UpWaitDownStay which behaves normally
Additional Information:
Attached Files:
Notes
(0000274)
Graf Zahl   
2017-01-29 05:43   
I won't change established behavior. This has been like it is forever and is consistent with all other one-time plat movers.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
137 [Gameplay + OpenGL] Bug crash always 2017-01-29 01:03 2017-01-29 04:58
Reporter: Talon1024 Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dynamic light assertion
Description: gzdoom/src/gl/dynlights/a_dynlight.cpp:212: virtual void ADynamicLight::Activate(AActor*): Assertion `m_currentRadius > 0' failed.
Tags:
Steps To Reproduce: 1. Load up WolfenDoom: Blade of Agony
2. Go to C1M2
3. The game will crash with this assertion when the map is loaded.
Additional Information:
Attached Files:
Notes
(0000269)
_mental_   
2017-01-29 02:21   
Thing #3272 of type PointLightFlicker has zero base radius (fourth) argument.
Probably this assertion needs to be replaced with a warning. So author will be aware of the problem and fix his/her map.
(0000271)
Graf Zahl   
2017-01-29 04:55   
(Last edited: 2017-01-29 04:58)
I added some clamps to ensure that the value remains positive. Normally 0 should be fine, though, the assert was a leftover from some testing, but it can cause problems with the sector links.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
57 [Gameplay + OpenGL] Feature minor have not tried 2017-01-15 19:52 2017-01-29 04:43
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Lift 'Take' command limit to INT_MAX
Description: It would be appreciated if the take console command would no longer be limited to just 32767. Currently trying to develop a few things in D4D (which relies upon the take command via menus) with higher costs than 32767 but that sadly cannot work out very well due to this limitation. Can this be lifted?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
130 [Gameplay + OpenGL] Bug major always 2017-01-27 15:19 2017-01-28 05:19
Reporter: Cherepoc Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Decorate: A_GiveInventory does not work with PowerupGiver
Description: Here's the decorate code:


ACTOR pinv : CustomInventory
{
    States
    {    
    Pickup:
        TNT1 A 1 A_GiveInventory("pgiver", 1)  
        Stop
    }
}

ACTOR pgiver : PowerupGiver
{
    +INVENTORY.PERSISTENTPOWER
    +INVENTORY.AUTOACTIVATE
    +INVENTORY.ALWAYSPICKUP
    Powerup.Type PowerFly
    States
    {
    Spawn:
        TNT1 A 5
        Loop
    }
}

ACTOR PowerFly : PowerFlight
{
    Powerup.Duration 0x7FFFFFFF
    Powerup.Color 0, 0, 0, 0
    +INVENTORY.HUBPOWER
    +INVENTORY.PERSISTENTPOWER  
}


Start the game, open console, type "give pinv". In gzdoom 2.3.2 this results in getting flight powerup. In 2.4pre-219 no powerup is given. Specifying "PowerFly" directly in A_GiveInventory works correctly.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000264)
_mental_   
2017-01-28 05:19   
Works fine with the latest code at c923f8c.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
129 [Gameplay + OpenGL] Bug minor always 2017-01-27 13:08 2017-01-27 13:29
Reporter: yoshi314 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Project Brutality mod 2.03 is broken with current git
Description: GZDoom g2.4pre-261-g949862f78 - 2017-01-24 14:18:11 -0500 - SDL version
Compiled on Jan 26 2017

M_LoadDefaults: Load system defaults.
Please select a game wad (or 0 to exit):
1. DOOM 2: Hell on Earth (doom2.wad)
2. Final Doom: Plutonia Experiment (plutonia.wad)
3. Final Doom: TNT - Evilution (tnt.wad)
4. The Ultimate DOOM (doom.wad)
5. Heretic: Shadow of the Serpent Riders (heretic.wad)
6. Hexen: Beyond Heretic (hexen.wad)
7. Hexen: Deathkings of the Dark Citadel (hexdd.wad)
8. Strife: Quest for the Sigil (strife1.wad)
9. Chex(R) Quest 3 (chex3.wad)
10. Action Doom 2: Urban Brawl (action2.wad)
11. Hacx 2.0 (hacx.wad)
Which one? 1
W_Init: Init WADfiles.
 adding /usr/share/games/gzdoom/gzdoom.pk3, 680 lumps
 adding /data/emu/pc/gamedata/doom-data/doom2.wad, 2919 lumps
 adding mods/project-brutality/Project Brutality 2.03.pk3, 20476 lumps
 adding mods/project-brutality/Project Brutality 2.03.pk3:e2m8.wad, 11 lumps
 adding mods/project-brutality/Project Brutality 2.03.pk3:e3m8.wad, 11 lumps
 adding mods/project-brutality/Project Brutality 2.03.pk3:terrain.wad, 260 lumps
 adding mods/project-brutality/Project Brutality 2.03.pk3:titlemap.wad, 7 lumps
 adding mods/project-brutality/Project Brutality 2.03.pk3:xhairs.wad, 94 lumps
 adding maps/maps-of-chaos/mapsofchaos-hc.wad, 678 lumps
I_Init: Setting up machine state.
CPU Vendor ID: AuthenticAMD
  Name: AMD A10-6700 APU with Radeon(tm) HD Graphics
  Family 21 (21), Model 19, Stepping 1
  Features: MMX MMX+ SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
I_InitSound: Initializing FMOD
FMOD Sound System, copyright � Firelight Technologies Pty, Ltd., 1994-2009.
Loaded FMOD version 4.38.02
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ANIMDEFS: Can't find FWATER02
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
Script warning, "Project Brutality 2.03.pk3:strailgun.txt" line 1361:
Tried to define class 'RailgunInfrared' more than once. Renaming class to 'RailgunInfrared@Project Brutality 2.03.pk3@strailgun.txt'
Bad hex number: no
Bad hex number: no
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 547:
Truncation of floating point constant 1.200000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 547:
Truncation of floating point constant -1.200000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 558:
Truncation of floating point constant 0.600000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 558:
Truncation of floating point constant -0.600000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 719:
Truncation of floating point constant 2.350000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 719:
Truncation of floating point constant -2.450000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 731:
Truncation of floating point constant 1.850000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 731:
Truncation of floating point constant -1.850000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 782:
Truncation of floating point constant 2.150000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 782:
Truncation of floating point constant -2.200000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 812:
Truncation of floating point constant 1.500000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 812:
Truncation of floating point constant -1.500000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 870:
Truncation of floating point constant 2.850000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 870:
Truncation of floating point constant -2.940000
Script warning, "Project Brutality 2.03.pk3:minigun.txt" line 880:
Truncation of floating point constant 2.520000
Script warning, "Project Brutality 2.03.pk3:particles.txt" line 111:
Truncation of floating point constant 1.500000
Script warning, "Project Brutality 2.03.pk3:particles.txt" line 111:
Truncation of floating point constant -1.500000
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 440:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 551:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 683:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 711:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 726:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 779:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 823:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 839:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 857:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1043:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1087:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1149:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1213:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1256:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1356:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1422:
Unknown identifier 'acsFatality'
Script warning, "Project Brutality 2.03.pk3:newplaye.txt" line 1477:
Numeric type expected, got "SMASH1"
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1510:
Unknown identifier 'acsFatality'
Script warning, "Project Brutality 2.03.pk3:newplaye.txt" line 1531:
Numeric type expected, got "DSSALUTE"
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1581:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1616:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1751:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1783:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1842:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1877:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 1981:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2192:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2217:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2299:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2398:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2468:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2561:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2601:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2628:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2679:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2817:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2841:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2881:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2933:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 2975:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3062:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3100:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3258:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3333:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3462:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3610:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3680:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3740:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3780:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3818:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3861:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3929:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 3967:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4002:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4154:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4190:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4231:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4267:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4285:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4304:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4322:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4341:
Unknown identifier 'acsFatality'
Script error, "Project Brutality 2.03.pk3:newplaye.txt" line 4359:
Unknown identifier 'acsFatality'
Script warning, "Project Brutality 2.03.pk3:cyberknight.txt" line 708:
Numeric type expected, got "caco/ballloop"
Script warning, "Project Brutality 2.03.pk3:revolver.txt" line 160:
Truncation of floating point constant -1.150000
Script warning, "Project Brutality 2.03.pk3:revolver.txt" line 160:
Truncation of floating point constant 0.850000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 331:
Truncation of floating point constant -0.450000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 331:
Truncation of floating point constant 0.920000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 356:
Truncation of floating point constant -0.130000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 356:
Truncation of floating point constant 0.610000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 380:
Truncation of floating point constant -0.150000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 380:
Truncation of floating point constant 0.500000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 402:
Truncation of floating point constant -0.150000
Script warning, "Project Brutality 2.03.pk3:uacsmg.txt" line 402:
Truncation of floating point constant 0.500000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 204:
Truncation of floating point constant 5.840000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 204:
Truncation of floating point constant 6.450000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 204:
Truncation of floating point constant 5.200000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 204:
Truncation of floating point constant 6.750000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 205:
Truncation of floating point constant 5.850000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 205:
Truncation of floating point constant 6.650000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 205:
Truncation of floating point constant 5.320000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 205:
Truncation of floating point constant 6.750000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 208:
Truncation of floating point constant -0.650000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 208:
Truncation of floating point constant 0.500000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 239:
Truncation of floating point constant 5.840000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 239:
Truncation of floating point constant 6.450000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 239:
Truncation of floating point constant 5.200000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 239:
Truncation of floating point constant 6.750000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 240:
Truncation of floating point constant 5.850000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 240:
Truncation of floating point constant 6.650000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 240:
Truncation of floating point constant 5.320000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 240:
Truncation of floating point constant 6.750000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 243:
Truncation of floating point constant -0.650000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 243:
Truncation of floating point constant 0.500000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 289:
Truncation of floating point constant -0.650000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 289:
Truncation of floating point constant 0.500000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 335:
Truncation of floating point constant -0.650000
Script warning, "Project Brutality 2.03.pk3:autoshotgun.txt" line 335:
Truncation of floating point constant 0.500000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 99:
Truncation of floating point constant 5.850000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 99:
Truncation of floating point constant 6.650000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 99:
Truncation of floating point constant 5.320000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 99:
Truncation of floating point constant 6.750000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 100:
Truncation of floating point constant 6.840000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 100:
Truncation of floating point constant 7.450000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 100:
Truncation of floating point constant 5.300000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 100:
Truncation of floating point constant 6.800000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 147:
Truncation of floating point constant 5.850000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 147:
Truncation of floating point constant 6.650000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 147:
Truncation of floating point constant 5.320000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 147:
Truncation of floating point constant 6.750000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 148:
Truncation of floating point constant 6.840000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 148:
Truncation of floating point constant 7.450000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 148:
Truncation of floating point constant 5.300000
Script warning, "Project Brutality 2.03.pk3:dualautosg.txt" line 148:
Truncation of floating point constant 6.800000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 218:
Truncation of floating point constant -0.170000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 218:
Truncation of floating point constant 0.120000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 251:
Truncation of floating point constant -0.050000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 251:
Truncation of floating point constant 0.130000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 283:
Truncation of floating point constant -0.080000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 283:
Truncation of floating point constant 0.160000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 300:
Truncation of floating point constant -0.120000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 300:
Truncation of floating point constant 0.180000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 317:
Truncation of floating point constant -0.150000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 317:
Truncation of floating point constant 0.200000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 349:
Truncation of floating point constant -0.015000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 349:
Truncation of floating point constant 0.010000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 354:
Truncation of floating point constant -0.010000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 354:
Truncation of floating point constant 0.010000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 377:
Truncation of floating point constant -0.010000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 377:
Truncation of floating point constant 0.010000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 382:
Truncation of floating point constant -0.010000
Script warning, "Project Brutality 2.03.pk3:carbine.txt" line 382:
Truncation of floating point constant 0.010000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 442:
Truncation of floating point constant 0.360000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 442:
Truncation of floating point constant 0.380000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 537:
Truncation of floating point constant 0.360000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 537:
Truncation of floating point constant 0.380000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 572:
Truncation of floating point constant 0.360000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 572:
Truncation of floating point constant 0.380000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 593:
Truncation of floating point constant 0.360000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 593:
Truncation of floating point constant 0.380000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 614:
Truncation of floating point constant 0.360000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 614:
Truncation of floating point constant 0.380000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 635:
Truncation of floating point constant 0.360000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 635:
Truncation of floating point constant 0.380000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 656:
Truncation of floating point constant 0.360000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 656:
Truncation of floating point constant 0.380000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 790:
Truncation of floating point constant 0.560000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 790:
Truncation of floating point constant 0.580000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 860:
Truncation of floating point constant 0.560000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 860:
Truncation of floating point constant 0.580000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 890:
Truncation of floating point constant 0.560000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 890:
Truncation of floating point constant 0.580000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 907:
Truncation of floating point constant 0.560000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 907:
Truncation of floating point constant 0.580000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 924:
Truncation of floating point constant 0.560000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 924:
Truncation of floating point constant 0.580000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 941:
Truncation of floating point constant 0.560000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 941:
Truncation of floating point constant 0.580000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 958:
Truncation of floating point constant 0.560000
Script warning, "Project Brutality 2.03.pk3:hmgweapon.txt" line 958:
Truncation of floating point constant 0.580000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 301:
Truncation of floating point constant 1.010000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 301:
Truncation of floating point constant -0.870000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 328:
Truncation of floating point constant 0.790000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 328:
Truncation of floating point constant -0.640000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 357:
Truncation of floating point constant 1.010000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 357:
Truncation of floating point constant -0.870000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 383:
Truncation of floating point constant 0.790000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 383:
Truncation of floating point constant -0.640000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 413:
Truncation of floating point constant 0.850000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 413:
Truncation of floating point constant -0.440000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 440:
Truncation of floating point constant 0.250000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 440:
Truncation of floating point constant -0.340000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 472:
Truncation of floating point constant 0.850000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 472:
Truncation of floating point constant -0.440000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 500:
Truncation of floating point constant 0.250000
Script warning, "Project Brutality 2.03.pk3:lmg.txt" line 500:
Truncation of floating point constant -0.140000
Script warning, "Project Brutality 2.03.pk3:supergl.txt" line 2483:
Truncation of floating point constant 2.250000
Script warning, "Project Brutality 2.03.pk3:supergl.txt" line 2483:
Truncation of floating point constant 2.500000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 551:
Truncation of floating point constant -0.150000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 551:
Truncation of floating point constant -0.250000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 566:
Truncation of floating point constant -3.500000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 566:
Truncation of floating point constant 3.500000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 566:
Truncation of floating point constant -1.600000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 566:
Truncation of floating point constant 1.600000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 568:
Truncation of floating point constant -0.150000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 568:
Truncation of floating point constant -0.250000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 623:
Truncation of floating point constant -0.150000
Script warning, "Project Brutality 2.03.pk3:demontech.txt" line 623:
Truncation of floating point constant -0.250000
Script warning, "Project Brutality 2.03.pk3:quadbarrel.txt" line 119:
Truncation of floating point constant -12.500000
Script warning, "Project Brutality 2.03.pk3:quadbarrel.txt" line 119:
Truncation of floating point constant -6.500000
Script warning, "Project Brutality 2.03.pk3:quadbarrel.txt" line 184:
Truncation of floating point constant 2.500000
Script warning, "Project Brutality 2.03.pk3:quadbarrel.txt" line 210:
Truncation of floating point constant -2.500000
Script warning, "Project Brutality 2.03.pk3:triteelem.txt" line 160:
Numeric type expected, got "fleshimpact"
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 287:
Truncation of floating point constant 1.200000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 287:
Truncation of floating point constant -1.200000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 372:
Truncation of floating point constant 2.350000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 372:
Truncation of floating point constant -2.450000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 384:
Truncation of floating point constant 1.850000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 384:
Truncation of floating point constant -1.850000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 436:
Truncation of floating point constant 1.850000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 436:
Truncation of floating point constant -1.600000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 445:
Truncation of floating point constant 1.850000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 445:
Truncation of floating point constant -1.600000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 480:
Truncation of floating point constant 2.850000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 480:
Truncation of floating point constant -2.940000
Script warning, "Project Brutality 2.03.pk3:vanillaminigun.txt" line 490:
Truncation of floating point constant 2.520000
61 errors while parsing DECORATE scripts
-------------------------------------------------------------


Tags:
Steps To Reproduce: gzdoom -file mods/project-brutality/Project\ Brutality\ 2.03.pk3 -file maps/maps-of-chaos/mapsofchaos-hc.wad


➜ doom md5sum mods/project-brutality/Project\ Brutality\ 2.03.pk3
7480e2f6b3a7d35ff77906aeaa5c95cc mods/project-brutality/Project Brutality 2.03.pk3
➜ doom md5sum maps/maps-of-chaos/mapsofchaos-hc.wad
be80f438c227dca41a418b30deb6bd80 maps/maps-of-chaos/mapsofchaos-hc.wad



if necessary, i can upload the files somewhere.
Additional Information:
Attached Files:
Notes
(0000261)
Graf Zahl   
2017-01-27 13:29   
Was already fixed before this report was made.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
125 [Gameplay + OpenGL] Bug minor always 2017-01-27 10:35 2017-01-27 11:03
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [PR] More bouncing bugfixes
Description: https://github.com/coelckers/gzdoom/pull/232

After this commit, I did some digging around and found out that P_ExplodeMissile is supposed to be passing the BlockingMobj to the actor responsible for making it explode.

if (BlockingMobj)
                {
                    if (mo->BounceFlags & BOUNCE_Actors)
                    {
                        // Bounce test and code moved to P_BounceActor
                        if (!P_BounceActor(mo, BlockingMobj, false))
                        {	// Struck a player/creature
                            P_ExplodeMissile (mo, NULL, BlockingMobj);
                        }
                        return Oldfloorz;
                    }
                }


As you can see, the new behavior in the commit above passes true right off the bat and does not transfer BlockingMobj.

While doing some digging into P_ExplodeMissile I also discovered that HITTARGET/MASTER/TRACER was also misbehaving because of the checks added onto the target actor so it truly sets the appropriate pointers now. It was meant to set the target/master/tracer to EVERYTHING that makes it explode, not just shootable entities.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000257)
Major Cooke   
2017-01-27 10:45   
(Last edited: 2017-01-27 10:46)
I just realized something. Taking the pasted code from above and looking at P_BounceActor a little more closely...
if (!P_BounceActor(mo, BlockingMobj, false))
This should be factoring in when on top of an actor, shouldn't it?
if (!P_BounceActor(mo, BlockingMobj, (mo->flags2 & MF2_ONMOBJ)))



View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
104 [Gameplay + OpenGL] Bug crash always 2017-01-22 11:23 2017-01-27 05:04
Reporter: Lud Platform: Microsoft Windows  
Assigned To: Graf Zahl OS: Winddows 10  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash on loading save after changing ACS
Description: Used to be you'd get an error. Now you just crash. Attached crash report.
Tags:
Steps To Reproduce:
Additional Information: Tested on GZDoom 2.3.2.
Attached Files: CrashReport.zip (28,792 bytes) 2017-01-22 11:23
https://mantis.zdoom.org/file_download.php?file_id=29&type=bug
Notes
(0000202)
Lud   
2017-01-22 11:25   
Damn it, this was supposed to be a GZDoom report. But I reckon the crash might also happen in QZDoom, too. Haven't tested.
(0000203)
Rachael   
2017-01-22 11:32   
No worries. I moved it for you.
(0000204)
Graf Zahl   
2017-01-22 13:07   
I cannot reproduce this with a simple test case - that errors out with the proper message so I'm going to need the map and savegame which caused the crash.
(0000206)
Lud   
2017-01-22 13:36   
Hmmmm...

Okay, so this only happens if I have Droplets (Red) and Droplets (Splattered), both of which can be downloaded from here: https://forum.zdoom.org/viewtopic.php?f=46&t=46509

I don't know how, I don't know why, but messing with any ACS in any way and then loading a save made prior to those edits will always result in a crash.

Important note: While Droplets is the cause, it only seems to happen if you have shot any enemy and spawned some blood on the floor. Otherwise the normal console error appears without any crashes.

Steps to reproduce:
1. Load these:
   1. Droplets (Red edition)
   2. Droplets (Splattered)
   3. Test wad with some ACS variables or whatever
2. Start new game.
3. Shoot any monster so blood can drop.
4. Save game.
5. Edit test ACS so it's not the same.
6. Load save.
7. Crash.
(0000208)
Graf Zahl   
2017-01-22 14:22   
Sorry, but no crash. I think there is some interference between just the ACS you change yourself, so I'm afraid, I'm going to need the map and the savegame that cause the crash.

(0000210)
Lud   
2017-01-22 14:25   
Alright, I'll PM them to you in the forum. It's a mod, actually. And it happens on any map. More instructions in PM.
(0000246)
Graf Zahl   
2017-01-27 05:04   
The ACS check itself was ok, but since it caused an error exception within the serializer, some other data's assumptions about being properly initialized were no longer true and then caused the crash.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
33 [zdoom.org (Site)] Bug minor have not tried 2017-01-11 12:59 2017-01-27 04:09
Reporter: Rachael Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [MantisBT] Email broken on some clients
Description: Mantis emails show HTML codes on some clients.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000244)
Rachael   
2017-01-27 04:09   
This was caused by the BBCode plugin. This isn't how I wanted to solve this issue, but it'll have to do.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
110 [Software Renderer] Bug crash always 2017-01-23 16:56 2017-01-25 17:59
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash on launch on OpenGL 2.1 system
Description: Running QZDoom crashes instantly on my laptop. I built with debugging to provide as much info as possible. I personally have no idea what the problem is, but here's the log anyway:

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x4

System: Linux Tomoko 4.4.43-1-lts #1 SMP Sun Jan 15 15:03:41 CET 2017 x86_64 GNU/Linux

QZDoom version q1.3pre-412-g6586877ac (6586877ac542c26ae0828258f11743eaa5415a7c)
Compiler version: 6.3.1 20170109

Command line: /usr/lib/qzdoom/qzdoom

Wad 0: qzdoom.pk3
Wad 1: doom2.wad

Not in a level.

Executing: gdb --quiet --batch --command=gdb-respfile-t0iUNI
[New LWP 27081]
[New LWP 27082]
[New LWP 27083]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fc7cdb0eafb in waitpid () from /usr/lib/libpthread.so.0

* Loaded Libraries
From                To                  Syms Read   Shared Object Library
0x00007fc7cdd32de0  0x00007fc7cddeddf6  Yes (*)     /usr/lib/libSDL2-2.0.so.0
0x00007fc7cdb03a50  0x00007fc7cdb107f1  Yes (*)     /usr/lib/libpthread.so.0
0x00007fc7cd8f80d0  0x00007fc7cd8faecf  Yes (*)     /usr/lib/librt.so.1
0x00007fc7cd6e14f0  0x00007fc7cd6ee327  Yes (*)     /usr/lib/libz.so.1
0x00007fc7cd479020  0x00007fc7cd4b4570  Yes (*)     /usr/lib/libjpeg.so.8
0x00007fc7cd266700  0x00007fc7cd272340  Yes (*)     /usr/lib/libbz2.so.1.0
0x00007fc7cd01f0d0  0x00007fc7cd04e8a2  Yes (*)     /usr/lib/libgme.so.0
0x00007fc7cce14d80  0x00007fc7cce1593e  Yes (*)     /usr/lib/libdl.so.2
0x00007fc7ccba28b0  0x00007fc7ccbf2000  Yes (*)     /usr/lib/libsndfile.so.1
0x00007fc7cc942060  0x00007fc7cc97ccae  Yes (*)     /usr/lib/libmpg123.so.0
0x00007fc7cc640850  0x00007fc7cc6f0019  Yes         /usr/lib/libstdc++.so.6
0x00007fc7cc2b6670  0x00007fc7cc32294a  Yes (*)     /usr/lib/libm.so.6
0x00007fc7cc09ca90  0x00007fc7cc0ac8a5  Yes         /usr/lib/libgcc_s.so.1
0x00007fc7cbd1b8f0  0x00007fc7cbe44d53  Yes (*)     /usr/lib/libc.so.6
0x00007fc7ce035b70  0x00007fc7ce050bc0  Yes (*)     /lib64/ld-linux-x86-64.so.2
0x00007fc7cba8f430  0x00007fc7cbaf0ced  Yes (*)     /usr/lib/libFLAC.so.8
0x00007fc7cb880bd0  0x00007fc7cb8830b5  Yes (*)     /usr/lib/libogg.so.0
0x00007fc7cb6558e0  0x00007fc7cb66bd8d  Yes (*)     /usr/lib/libvorbis.so.0
0x00007fc7cb3b2b90  0x00007fc7cb3b51a7  Yes (*)     /usr/lib/libvorbisenc.so.2
0x00007fc7cb17f200  0x00007fc7cb194932  Yes (*)     /usr/lib/libudev.so.1
0x00007fc7caf732b0  0x00007fc7caf77745  Yes (*)     /usr/lib/libnss_compat.so.2
0x00007fc7cad5dfd0  0x00007fc7cad692d1  Yes (*)     /usr/lib/libnsl.so.1
0x00007fc7cab500e0  0x00007fc7cab563f7  Yes (*)     /usr/lib/libnss_nis.so.2
0x00007fc7ca93e1d0  0x00007fc7ca943e91  Yes (*)     /usr/lib/libnss_files.so.2
0x00007fc7ca0e3470  0x00007fc7ca40c659  Yes (*)     /usr/lib/libgtk-3.so.0
0x00007fc7c9da9ec0  0x00007fc7c9e0fe61  Yes (*)     /usr/lib/libgdk-3.so.0
0x00007fc7c9b81180  0x00007fc7c9b82085  Yes (*)     /usr/lib/libgmodule-2.0.so.0
0x00007fc7c9977960  0x00007fc7c997c716  Yes (*)     /usr/lib/libpangocairo-1.0.so.0
0x00007fc7c9651b90  0x00007fc7c96d88f4  Yes (*)     /usr/lib/libX11.so.6
0x00007fc7c9425380  0x00007fc7c942fbd7  Yes (*)     /usr/lib/libXi.so.6
0x00007fc7c921e630  0x00007fc7c9220966  Yes (*)     /usr/lib/libXfixes.so.3
0x00007fc7c9017530  0x00007fc7c90184c9  Yes (*)     /usr/lib/libcairo-gobject.so.2
0x00007fc7c8cfa1f0  0x00007fc7c8dcedf8  Yes (*)     /usr/lib/libcairo.so.2
0x00007fc7c8ac65b0  0x00007fc7c8adb7a9  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x00007fc7c88a4630  0x00007fc7c88b0b93  Yes (*)     /usr/lib/libatk-1.0.so.0
0x00007fc7c8674700  0x00007fc7c8688ab9  Yes (*)     /usr/lib/libatk-bridge-2.0.so.0
0x00007fc7c83ce020  0x00007fc7c8410006  Yes (*)     /usr/lib/libepoxy.so.0
0x00007fc7c8168320  0x00007fc7c817088d  Yes (*)     /usr/lib/libpangoft2-1.0.so.0
0x00007fc7c7f22530  0x00007fc7c7f41886  Yes (*)     /usr/lib/libpango-1.0.so.0
0x00007fc7c7cd81a0  0x00007fc7c7cf7dda  Yes (*)     /usr/lib/libfontconfig.so.1
0x00007fc7c7973f00  0x00007fc7c7a4ea8e  Yes (*)     /usr/lib/libgio-2.0.so.0
0x00007fc7c76f5ed0  0x00007fc7c77268e6  Yes (*)     /usr/lib/libgobject-2.0.so.0
0x00007fc7c73f2cd0  0x00007fc7c746aac9  Yes (*)     /usr/lib/libglib-2.0.so.0
0x00007fc7c71d5ba0  0x00007fc7c71d6494  Yes (*)     /usr/lib/libXinerama.so.1
0x00007fc7c6fcbdd0  0x00007fc7c6fd1ec5  Yes (*)     /usr/lib/libXrandr.so.2
0x00007fc7c6dc1b70  0x00007fc7c6dc6677  Yes (*)     /usr/lib/libXcursor.so.1
0x00007fc7c6bbcd00  0x00007fc7c6bbd715  Yes (*)     /usr/lib/libXcomposite.so.1
0x00007fc7c69b9c90  0x00007fc7c69ba5bb  Yes (*)     /usr/lib/libXdamage.so.1
0x00007fc7c677d640  0x00007fc7c67984da  Yes (*)     /usr/lib/libxkbcommon.so.0
0x00007fc7c6572270  0x00007fc7c6573e01  Yes (*)     /usr/lib/libwayland-cursor.so.0
0x00007fc7c636f6e0  0x00007fc7c636f8d6  Yes (*)     /usr/lib/libwayland-egl.so.1
0x00007fc7c6165750  0x00007fc7c6169fef  Yes (*)     /usr/lib/libwayland-client.so.0
0x00007fc7c5f51970  0x00007fc7c5f5b74f  Yes (*)     /usr/lib/libXext.so.6
0x00007fc7c5c99630  0x00007fc7c5d11ac5  Yes (*)     /usr/lib/libfreetype.so.6
0x00007fc7c5a702d0  0x00007fc7c5a82185  Yes (*)     /usr/lib/libxcb.so.1
0x00007fc7c57c6900  0x00007fc7c584ad10  Yes (*)     /usr/lib/libpixman-1.so.0
0x00007fc7c558ffc0  0x00007fc7c55aab99  Yes (*)     /usr/lib/libEGL.so.1
0x00007fc7c5357e20  0x00007fc7c537ab9f  Yes (*)     /usr/lib/libpng16.so.16
0x00007fc7c514ee70  0x00007fc7c514f983  Yes (*)     /usr/lib/libxcb-shm.so.0
0x00007fc7c4f454d0  0x00007fc7c4f49df8  Yes (*)     /usr/lib/libxcb-render.so.0
0x00007fc7c4d36bf0  0x00007fc7c4d3cc45  Yes (*)     /usr/lib/libXrender.so.1
0x00007fc7c4adbd80  0x00007fc7c4b1a552  Yes (*)     /usr/lib/libGL.so.1
0x00007fc7c48a1fb0  0x00007fc7c48b36d8  Yes (*)     /usr/lib/libatspi.so.0
0x00007fc7c4650590  0x00007fc7c467af44  Yes (*)     /usr/lib/libdbus-1.so.3
0x00007fc7c43c3140  0x00007fc7c440bf09  Yes (*)     /usr/lib/libharfbuzz.so.0
0x00007fc7c41b3040  0x00007fc7c41b6a93  Yes (*)     /usr/lib/libthai.so.0
0x00007fc7c3f8aed0  0x00007fc7c3fa3559  Yes (*)     /usr/lib/libexpat.so.1
0x00007fc7c3d73970  0x00007fc7c3d7fa42  Yes (*)     /usr/lib/libresolv.so.2
0x00007fc7c3b2dcb0  0x00007fc7c3b5c6b9  Yes (*)     /usr/lib/libmount.so.1
0x00007fc7c391aac0  0x00007fc7c391f424  Yes (*)     /usr/lib/libffi.so.6
0x00007fc7c36a7700  0x00007fc7c36f9b71  Yes (*)     /usr/lib/libpcre.so.1
0x00007fc7c34a2f20  0x00007fc7c34a3b9c  Yes (*)     /usr/lib/libXau.so.6
0x00007fc7c329d520  0x00007fc7c329eeb8  Yes (*)     /usr/lib/libXdmcp.so.6
0x00007fc7c309a5b0  0x00007fc7c309a6cb  Yes (*)     /usr/lib/libX11-xcb.so.1
0x00007fc7c2e96a00  0x00007fc7c2e97b25  Yes (*)     /usr/lib/libxcb-dri2.so.0
0x00007fc7c2c8fe30  0x00007fc7c2c92365  Yes (*)     /usr/lib/libxcb-xfixes.so.0
0x00007fc7c2a8ad90  0x00007fc7c2a8b543  Yes (*)     /usr/lib/libxcb-dri3.so.0
0x00007fc7c2887e50  0x00007fc7c28886d6  Yes (*)     /usr/lib/libxcb-present.so.0
0x00007fc7c2682440  0x00007fc7c2684492  Yes (*)     /usr/lib/libxcb-sync.so.1
0x00007fc7c247d9d0  0x00007fc7c247dcbc  Yes (*)     /usr/lib/libxshmfence.so.1
0x00007fc7c2272b00  0x00007fc7c2277825  Yes (*)     /usr/lib/libgbm.so.1
0x00007fc7c2063c10  0x00007fc7c2069a1f  Yes (*)     /usr/lib/libwayland-server.so.0
0x00007fc7c1e50e90  0x00007fc7c1e586a0  Yes (*)     /usr/lib/libdrm.so.2
0x00007fc7c1c282e0  0x00007fc7c1c33330  Yes (*)     /usr/lib/libglapi.so.0
0x00007fc7c1a0d720  0x00007fc7c1a157c5  Yes (*)     /usr/lib/libxcb-glx.so.0
0x00007fc7c17fd080  0x00007fc7c17ff988  Yes (*)     /usr/lib/libXxf86vm.so.1
0x00007fc7c15ef1e0  0x00007fc7c15f3fdd  Yes (*)     /usr/lib/libsystemd.so.0
0x00007fc7c13bf880  0x00007fc7c13e0b98  Yes (*)     /usr/lib/libgraphite2.so.3
0x00007fc7c11b6420  0x00007fc7c11b98ad  Yes (*)     /usr/lib/libdatrie.so.1
0x00007fc7c0f78140  0x00007fc7c0fa1909  Yes (*)     /usr/lib/libblkid.so.1
0x00007fc7c0d6b5b0  0x00007fc7c0d6cc81  Yes (*)     /usr/lib/libuuid.so.1
0x00007fc7c07960b0  0x00007fc7c07981c0  Yes (*)     /usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so

0x00007fc7c0590ca0  0x00007fc7c059225e  Yes (*)     /usr/lib/libcanberra-gtk3.so.0
0x00007fc7c03804c0  0x00007fc7c0389a9a  Yes (*)     /usr/lib/libcanberra.so.0
0x00007fc7c01760d0  0x00007fc7c017a49c  Yes (*)     /usr/lib/libvorbisfile.so.3
0x00007fc7bff615a0  0x00007fc7bff6cef8  Yes (*)     /usr/lib/libtdb.so.1
0x00007fc7bfd56520  0x00007fc7bfd5a8e2  Yes (*)     /usr/lib/libltdl.so.7
0x00007fc7bf861d60  0x00007fc7bf8bafbc  Yes (*)     /usr/lib/libopenal.so.1
0x00007fc7bf61b890  0x00007fc7bf63ede8  Yes (*)     /usr/lib/libjack.so.0
0x00007fc7bf34b4e0  0x00007fc7bf378189  Yes (*)     /usr/lib/libpulse.so.0
0x00007fc7bf0cff00  0x00007fc7bf1147b9  Yes (*)     /usr/lib/pulseaudio/libpulsecommon-10.0.so
0x00007fc7beeb4360  0x00007fc7beeb69b8  Yes (*)     /usr/lib/libasyncns.so.0
0x00007fc7be3d4710  0x00007fc7be46a3f5  Yes (*)     /usr/lib/libasound.so.2
0x00007fc7bc959520  0x00007fc7bcea1639  Yes (*)     /usr/lib/xorg/modules/dri/i965_dri.so
0x00007fc7bc604200  0x00007fc7bc6c4818  Yes (*)     /usr/lib/libgcrypt.so.20
0x00007fc7bc3d8110  0x00007fc7bc3ed972  Yes (*)     /usr/lib/libdrm_intel.so.1
0x00007fc7bc1cea70  0x00007fc7bc1d294f  Yes (*)     /usr/lib/libdrm_nouveau.so.2
0x00007fc7b7df5800  0x00007fc7b7dfd12a  Yes (*)     /usr/lib/libdrm_radeon.so.1
0x00007fc7b7be2b70  0x00007fc7b7bec2c9  Yes (*)     /usr/lib/libgpg-error.so.0
0x00007fc7b79d8430  0x00007fc7b79dc895  Yes (*)     /usr/lib/libpciaccess.so.0
0x00007fc7b77d17c0  0x00007fc7b77d43e7  Yes (*)     /usr/lib/libtxc_dxtn.so
(*): Shared library is missing debugging information.

* Threads
  Id   Target Id         Frame 
* 1    Thread 0x7fc7ce24db80 (LWP 27066) "qzdoom" 0x00007fc7cdb0eafb in waitpid () from /usr/lib/libpthread.so.0
  
2    Thread 0x7fc7be36e700 (LWP 27081) "qzdoom" 0x00007fc7cbddb48d in poll () from /usr/lib/libc.so.6
  
3    Thread 0x7fc7beeb2700 (LWP 27082) "SDLTimer" 0x00007fc7cdb0d4f7 in do_futex_wait.constprop 
() from /usr/lib/libpthread.so.0
  4    Thread 0x7fc7bda54740 (LWP 27083) "qzdoom" 0x00007fc7cd8fabe5 in ?? () from /usr/lib/librt.so.1


* FPU Status
  R7: Empty   0x00000000000000000000
  R6: Empty   0x00000000000000000000
  R5: Empty   0x00000000000000000000
  R4: Empty   0x00000000000000000000
  R3: Empty   0x00000000000000000000
  R2: Empty   0x00000000000000000000
  R1: Empty   0x00000000000000000000
=>R0: Empty   0x00000000000000000000

Status Word:         0x0000                                            
                       TOP: 0
Control Word:        0x037f   IM DM ZM OM UM PM
                       PC: Extended Precision (64-bits)
                       RC: Round to nearest
Tag Word:            0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer:     0x00:0x00000000
Opcode:              0x0000

* Registers
rax            0xfffffffffffffe00	-512
rbx            0x6afc	27388
rcx            0x7fc7cdb0eafb	140496126143227
rdx            0x0	0
rsi            0x10d474c	17647436
rdi            0x6afc	27388
rbp            0x10d474c	0x10d474c <altstack+7148>
rsp            0x10d4710	0x10d4710 <altstack+7088>
r8             0x0	0
r9             0x7fc7ce24db80	140496133741440
r10            0x0	0
r11            0x246	582
r12            0x0	0
r13            0xc00	3072
r14            0x31e87b0	52332464
r15            0x8	8
rip            0x7fc7cdb0eafb	0x7fc7cdb0eafb <waitpid+107>
eflags         0x246	[ PF ZF IF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0

* Backtrace

Thread 4 (Thread 0x7fc7bda54740 (LWP 27083)):
#0  0x00007fc7cd8fabe5 in  () at /usr/lib/librt.so.1
#1  0x00007fc7cdb05454 in start_thread () at /usr/lib/libpthread.so.0
0000002  0x00007fc7cbde47df 
in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fc7beeb2700 (LWP 27082)):
#0  0x00007fc7cdb0d4f7 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1  0x00007fc7cdb0d5a4 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
0000002  0x00007fc7cdde7bae 
in  () at /usr/lib/libSDL2-2.0.so.0
0000003  0x00007fc7cdde7d05 
in  () at /usr/lib/libSDL2-2.0.so.0
0000004  
0x00007fc7cdd9869c in  () at /usr/lib/libSDL2-2.0.so.0
0000005  
0x00007fc7cdd982dc in  () at /usr/lib/libSDL2-2.0.so.0
0000006  
0x00007fc7cdde78a9 in  () at /usr/lib/libSDL2-2.0.so.0
0000007  
0x00007fc7cdb05454 in start_thread () at /usr/lib/libpthread.so.0
0000008  0x00007fc7cbde47df 
in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc7be36e700 (LWP 27081)):
#0  0x00007fc7cbddb48d in poll () at /usr/lib/libc.so.6
#1  0x00007fc7be3f965e in  () at /usr/lib/libasound.so.2
0000002  0x00007fc7be3f992b 
in snd_pcm_wait () at /usr/lib/libasound.so.2
0000003  0x00007fc7bf8afb41 
in  () at /usr/lib/libopenal.so.1
0000004  
0x00007fc7bf8ba6c7 in  () at /usr/lib/libopenal.so.1
0000005  
0x00007fc7cdb05454 in start_thread () at /usr/lib/libpthread.so.0
0000006  
0x00007fc7cbde47df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc7ce24db80 (LWP 27066)):
#0  0x00007fc7cdb0eafb in waitpid () at /usr/lib/libpthread.so.0
#1  0x0000000000532abd in crash_catcher (signum=11, siginfo=<optimized out>, context=<optimized 
out>) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/crashcatcher.c:252
        status = 0
        dbg_pid = 27388
        fd = {17, 18}
0000002  0x00007fc7cdb0f080 
in <signal handler called> () at /usr/lib/libpthread.so.0
0000003  0x000000000070812a 
in OpenGLSWFrameBuffer::BindFBBuffer() (this=0x4a8a530) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/gl/system/gl_swframebuffer.cpp:1297
        
usage = 35048
        pixelsize = 1
        size = 307200
0000004  
0x0000000000708247 in OpenGLSWFrameBuffer::Lock(bool) (this=0x4a8a530, buffered=<optimized out>) 
at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/gl/system/gl_swframebuffer.cpp:1101
        __PRETTY_FUNCTION__ = "virtual bool OpenGLSWFrameBuffer::Lock(bool)"
0000005  
0x0000000000596444 in swrenderer::RenderScene::ScreenResized() (this=<optimized out>) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/scene/r_scene.cpp:254
        
trueratio = 1.33333337
0000006  
0x000000000057abf7 in FSoftwareRenderer::OnModeSet() (this=<optimized out>) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_swrenderer.cpp:242

0000007  
0x000000000090c4d4 in V_UpdateModeSize(int, int) (width=640, height=480) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.cpp:1495
        
cx1 = 2
        cx2 = 2
        __PRETTY_FUNCTION__ = "void V_UpdateModeSize(int, int)"
0000008  0x000000000090c642 
in V_DoModeSetup(int, int, int) (width=<optimized out>, width@entry=640, height=<optimized out>, 
height@entry=480, bits=bits@entry=24) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.cpp:1443
        
buff = <optimized out>
0000009  0x000000000053d970 
in SDLGLVideo::SetResolution(int, int, int) (this=<optimized out>, width=640, height=480, bits=24) 
at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:272
0000010 
0x000000000090bf7b in V_Init2() () at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.cpp:1713
        
__PRETTY_FUNCTION__ = "void V_Init2()"
        width = 640
        height = 480
        gamma = 1
0000011 
0x0000000000752eaf in D_DoomMain() () at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/d_main.cpp:2602
        
iwad = {Chars = 0x10d0aac <FString::NullString+12> "", static NullString = {Len = 0, 
AllocLen = 2, RefCount = 10007, Nothing = "\000"}}
        iwad_info = <optimized out>
        exec = <optimized out>
        probe = <optimized out>
        p = <optimized out>
        v = <optimized out>
        wad = <optimized out>
        execFiles = <optimized out>
        pwads = {Array = 0x0, Count = 0, Most = 0}
        args = 0x0
        iwad_man = 0x0
        batchout = <optimized out>
        logfile = {Chars = 0x10d0aac <FString::NullString+12> "", static NullString = 
{Len = 0, AllocLen = 2, RefCount = 10007, Nothing = "\000"}}
        basewad = {Chars = 0x31e878c "/usr/lib/qzdoom/qzdoom.pk3", static NullString = {Len 
= 0, AllocLen = 2, RefCount = 10007, Nothing = "\000"}}
0000012 
0x000000000053b0fe in main(int, char**) (argc=1, argv=0x7ffdd8a0e948) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/i_main.cpp:259
        
program = "/usr/lib/qzdoom/\000zdoom\000\000\003\000\000\000\307\177\000\000\000\260\"\000\000\000\000\000\000\320\"\000\000\000\000\000\020\303\"\000\000\000\000\000\030\303\"\000\000\000\000\000\000\260\002\000\000\000\000\000\353\272\003\316\307\177\000\000\000P 
\000\000\000\000\000\000Ù \330\375\177\000\000HÛ \330\375\177\000\000\210Û \330\375\177\000\000\000P\000\000\000\000\000\000\004", 
'\000' <repeats 15 times>, "\260\233%\316\307\177\000\000\tÙ \330\375\177\000\000\000Ù \330\375\177\000\000\240Ú \330\375\177\000\000F\300\003\316\307\177\000\000\000\000\000\000\000\000\000\000X\002\004\316\307\177\000\000\330)%\316\307\177\000\000\033\000\000\000\000\000\000\000"...

Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000219)
MarisaKirisame   
2017-01-23 16:59   
The game is launched in a clean setup (qzdoom.ini deleted), by the way.
(0000220)
dpJudas   
2017-01-23 17:33   
in OpenGLSWFrameBuffer::BindFBBuffer() at qzdoom/src/gl/system/gl_swframebuffer.cpp:1297
	int usage = UseMappedMemBuffer ? GL_DYNAMIC_DRAW : GL_STREAM_DRAW;

    int pixelsize = IsBgra() ? 4 : 1;
    int size = Width * Height * pixelsize;

>	if (FBTexture->Buffers[0] == 0)
    {
        glGenBuffers(2, (GLuint*)FBTexture->Buffers);
        glBindBuffer(GL_PIXEL_UNPACK_BUFFER, FBTexture->Buffers[1]);
Accessing null+4. Buffers[0] is 4 bytes into HWTexture. FBTexture is probably null.

Callstack:
  1. in OpenGLSWFrameBuffer::BindFBBuffer() at gl_swframebuffer.cpp:1297
  2. in OpenGLSWFrameBuffer::Lock(bool) at gl_swframebuffer.cpp:1101
  3. in swrenderer::RenderScene::ScreenResized() at r_scene.cpp:254
  4. in FSoftwareRenderer::OnModeSet() at r_swrenderer.cpp:242
  5. in V_UpdateModeSize(int, int) (width=640, height=480) at v_video.cpp:1495
  6. in V_DoModeSetup(int, int, int) at v_video.cpp:1443
  7. in SDLGLVideo::SetResolution in sdlglvideo.cpp:272
  8. in V_Init2() at v_video.cpp:1713
  9. in D_DoomMain() at d_main.cpp:2602
  10. in main(int, char**) at i_main.cpp:259
(0000221)
dpJudas   
2017-01-23 21:46   
I checked in some code that hopefully should fix this.
(0000222)
MarisaKirisame   
2017-01-24 01:40   
(Last edited: 2017-01-24 01:40)
Build failed.


In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/hardware.cpp:46:0:

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlvideo.h:33:14: error: ‘SDL_Window* 
SDLFB::GetSDLWindow()’ marked ‘override’, but does not override
  SDL_Window *GetSDLWindow() override { return Screen; }
              ^~~~~~~~~~~~


(0000227)
MarisaKirisame   
2017-01-24 15:06   
Some more build errors after your fix.

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlvideo.cpp: In constructor ‘SDLFB::SDLFB(int, 
int, bool, bool, SDL_Window*)’:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlvideo.cpp:113:4: error: type ‘DFrameBuffer’ 
is not a direct base of ‘SDLFB’
  : DFrameBuffer (width, height, bgra)
    ^~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/zdoom.dir/build.make:372: src/CMakeFiles/zdoom.dir/posix/sdl/sdlvideo.cpp.o] 
Error 1
make[2]: *** Waiting for unfinished jobs....
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp: In member function ‘virtual 
DFrameBuffer* SDLGLVideo::CreateFrameBuffer(int, int, bool, bool, DFrameBuffer*)’:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:177:11: error: ‘int DCanvas::Width’ 
is protected within this context
   if (fb->Width == width &&
           ^~~~~
In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:9:0:

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.h:272:6: note: declared protected here
  
int Width;
      ^~~~~
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:178:8: error: ‘int DCanvas::Height’ 
is protected within this context
    fb->Height == height)
        ^~~~~~
In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:9:0:

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.h:273:6: note: declared protected here
  
int Height;
      ^~~~~~
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp: In constructor ‘SDLGLFB::SDLGLFB(void*, 
int, int, int, int, bool, bool)’:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:329:4: error: type ‘DFrameBuffer’ 
is not a direct base of ‘SDLGLFB’
  : DFrameBuffer (width, height, bgra)
    ^~~~~~~~~~~~

They just keep comin'
(0000229)
dpJudas   
2017-01-25 00:29   
Should be building now.
(0000232)
MarisaKirisame   
2017-01-25 05:19   
Builds, and runs.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
112 [Gameplay + OpenGL] Bug crash always 2017-01-24 00:48 2017-01-25 03:34
Reporter: PlutonicOverkill Platform:  
Assigned To: OS: Windows 10  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash on calling ACS library functions
Description: Calling certain functions in an ACS library causes the game to crash. This is the code I tested with, although it would probably reproducible with something similar (the while loop seems to be necessary for a crash to occur):
function bool crash(void)
{
    return (0 & 0) && !(0 & 0);
}

function void test(void) // call this function from a script
{
    while(!crash()) {
        Delay(1);
    }
}

Tested with g2.4pre-219-g4dc1d11 x64, and ACS scripts compiled with gdcc-acc v0.11.0.
Tags: ACS
Steps To Reproduce: Open the attached file "crash.pk3" in GZDoom, type "map map01" in the console and watch the game crash.
Additional Information:
Attached Files: CrashReport.zip (33,389 bytes) 2017-01-24 00:48
https://mantis.zdoom.org/file_download.php?file_id=30&type=bug
crash.pk3 (2,912 bytes) 2017-01-24 00:48
https://mantis.zdoom.org/file_download.php?file_id=31&type=bug
Notes
(0000223)
Graf Zahl   
2017-01-24 04:47   
(Last edited: 2017-01-24 05:01)
What did you compile this with?
It crashes because you used 'delay' inside a function which does not work.
Regular ACC refuses to compile the 'test' function after removing the incompatible parts of the library script.

(0000228)
PlutonicOverkill   
2017-01-24 21:52   
The scripts were compiled with gdcc-acc v0.11.0. That's interesting - I knew that delays weren't allowed inside functions, but I didn't know that they could actually crash the engine.
(0000230)
Graf Zahl   
2017-01-25 03:33   
Stock ACC doesn't allow this, it errors out with a message 'latent functions not allowed outside scripts' or similar. This is clearly an oversight in gdcc then and needs to be reported there. On the engine side I did what I could by erroring out and producing a meaningful message instead of a crash. When the problem is being detected it's too late trying to continue gracefully, the ACS VM's state is already trashed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
46 [Software Renderer] Bug minor always 2017-01-13 15:19 2017-01-24 11:42
Reporter: Lars Platform:  
Assigned To: dpJudas OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Fullbright Weapon sprites are not drawn fullbright (Software renderer)
Description: Fullbright Weapon sprites are not drawn fullbright
Tags:
Steps To Reproduce: Fire a weapon with a fullbright sprite in a dark area
Additional Information:
Attached Files: Screenshot_Doom_20170113_220558.png (233,125 bytes) 2017-01-13 15:19
https://mantis.zdoom.org/file_download.php?file_id=15&type=bug
png

NewFweapAxe.wad (62,656 bytes) 2017-01-21 06:04
https://mantis.zdoom.org/file_download.php?file_id=25&type=bug
Notes
(0000071)
Rachael   
2017-01-13 17:19   
Are you using softpoly?
(0000077)
Lars   
2017-01-14 02:13   
No just regular ol software in truecolor!
(0000185)
Lars   
2017-01-21 06:04   
Update

The issue shows up in softpoly as well.
I also included an demo file of my own improved Timon's Axe, that makes the glow bright!
(0000225)
Lars   
2017-01-24 11:22   
It looks like the issue has been resolved in the newest development version. You should probably consider it resolved!
(0000226)
dpJudas   
2017-01-24 11:42   
Oh, excellent! Seems refactoring things auto-fixed this one. :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
114 [Gameplay + OpenGL] Feature feature always 2017-01-24 09:33 2017-01-24 10:59
Reporter: Rachael Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Submission] Palette tonemap tweaks
Description: CVAR(Float, gl_paltonemap_powtable, 2.0f, CVAR_ARCHIVE)
CVAR(Bool, gl_paltonemap_reverselookup, true, CVAR_ARCHIVE)

These variables change the way the palette tonemap table is generated. Their default values have also been changed to be more "id-like" - since id Software used a "last-first" algorithm in generating the default COLORMAP lumps.
Tags:
Steps To Reproduce:
Additional Information: https://github.com/coelckers/gzdoom/pull/230
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
111 [Gameplay + OpenGL] Bug minor always 2017-01-23 21:49 2017-01-24 03:05
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DUMP 2 console spam
Description: Using DUMP 2, https://forum.zdoom.org/viewtopic.php?t=51072 DECORATE now spams a lot of warnings.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
11 [Gameplay + OpenGL] Bug minor have not tried 2017-01-09 14:58 2017-01-23 17:12
Reporter: Graf Zahl Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Make A_SetSize work for players
Description: Values get clobbered by crouching code.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000034)
Matthew the Glutton   
2017-01-10 15:23   
While this is being looked at, could it be possible also to have a +nocrouch or similar flag for some playerpawns? Combining such disabling with letting A_SetSize for players can give more flexible control over how crouching works (e.g., a Metroid mod that lets you turn into a ball, or a blob protagonist that can change height but stays the same volume, or a player that can only crouch so low while using certain equipment)
(0000035)
Matthew the Glutton   
2017-01-10 15:43   
One possibility also is to make A_SetSize only work for playerpawn actors that have crouch disabled, and ignored in playerpawns otherwise - that way there's no need to worry about how they interact with each other.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
109 [Gameplay + OpenGL] Bug block have not tried 2017-01-23 12:32 2017-01-23 16:07
Reporter: Matthew the Glutton Platform:  
Assigned To: _mental_ OS: Debian Jessie  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [b3aa7c6] Won't compile
Description: [ 94%] Building CXX object src/CMakeFiles/zdoom.dir/r_data/r_interpolate.cpp.o
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp: In function ‘void R_InitSpriteDefs()’:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds]
     if (name[j] >= '0' && name[j] <= '9')
               ^
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds]
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds]
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds]
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/r_data/sprites.cpp:319:15: warning: array subscript is above array bounds [-Warray-bounds]
[ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/thingdef.cpp.o
[ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/thingdef_data.cpp.o
[ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/thingdef_properties.cpp.o
[ 94%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/codegeneration/codegen.cpp.o
[ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/codegeneration/dynarrays.cpp.o
[ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/olddecorations.cpp.o
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp: In function ‘void Handler_colormap_FFFfff_Inventory(AInventory*, PClassActor*, Baggage&, FPropParam*)’:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:2180:50: warning: ‘BlendColor.PalEntry::<anonymous>.PalEntry::<anonymous union>::d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  defaults->ColorVar(NAME_BlendColor) = BlendColor;
                                                  ^
In file included from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:42:0:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./d_player.h: In function ‘void Handler_colorsetfile_ISSI_PlayerPawn(APlayerPawn*, PClassActor*, Baggage&, FPropParam*)’:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./d_player.h:50:8: warning: ‘color.FPlayerColorSet::FirstColor’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct FPlayerColorSet
        ^
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:2391:18: note: ‘color.FPlayerColorSet::FirstColor’ was declared here
  FPlayerColorSet color;
                  ^
In file included from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:42:0:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./d_player.h:50:8: warning: ‘color.FPlayerColorSet::LastColor’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct FPlayerColorSet
        ^
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/thingdef_properties.cpp:2391:18: note: ‘color.FPlayerColorSet::LastColor’ was declared here
  FPlayerColorSet color;
                  ^
[ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/thingdef_exp.cpp.o
[ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/thingdef_parse.cpp.o
[ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/decorate/thingdef_states.cpp.o
[ 95%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmbuilder.cpp.o
[ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmdisasm.cpp.o
In file included from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./doomtype.h:46:0,
                 from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./dobject.h:38,
                 from /home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/vm/vmdisasm.cpp:34:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./zstring.h: In function ‘void VMDisasm(FILE*, const VMOP*, int, const VMScriptFunction*)’:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/./zstring.h:159:40: warning: ‘callfunc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  const char *GetChars() const { return Chars; }
                                        ^
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/vm/vmdisasm.cpp:263:14: note: ‘callfunc’ was declared here
  VMFunction *callfunc;
              ^
[ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmexec.cpp.o
[ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/vm/vmframe.cpp.o
[ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/zscript/ast.cpp.o
[ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/zscript/zcc_compile.cpp: In member function ‘bool ZCCCompiler::CompileFields(PStruct*, TArray<ZCC_VarDeclarator*>&, PClass*, PSymbolTable*, bool, bool)’:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/zscript/zcc_compile.cpp:1039:43: error: conversion from ‘FName’ to non-scalar type ‘FString’ requested
   FString str = FName(field->Names[0].Name);
                                           ^
[ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_parser.cpp.o
src/CMakeFiles/zdoom.dir/build.make:9301: recipe for target 'src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o' failed
make[2]: *** [src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:719: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000218)
Edward-san   
2017-01-23 13:31   
Please use the `code` tag for the compiler messages.

Anyway, the error is just this one:


/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/zscript/zcc_compile.cpp: 
In member function ‘bool ZCCCompiler::CompileFields(PStruct*, TArray<ZCC_VarDeclarator*>&, 
PClass*, PSymbolTable*, bool, bool)’:
/home/mchan223/doom/gzdoom-b3aa7c61a9f6dac4a0d4a5e4e780591e13890d8a/src/scripting/zscript/zcc_compile.cpp:1039:43: 
error: conversion from ‘FName’ to non-scalar type ‘FString’ requested
   FString str = FName(field->Names[0].Name);
                                           ^


'str' is not used, so it could be removed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
18 [Software Renderer] Bug minor always 2017-01-09 17:15 2017-01-23 12:26
Reporter: dpJudas Platform:  
Assigned To: dpJudas OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Floor brightness affects sprites not in sector
Description: Running zoon_v3.wad with the latest official build, there are a few stalactite objects in the first room of MAP02 that in some instances appear to be shown as fullbright, as though illuminated by the fullbright floor of the liquid sector below.

http://forum.drdteam.org/viewtopic.php?f=207&t=7479
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
106 [Gameplay + OpenGL] Bug minor always 2017-01-22 18:45 2017-01-23 05:19
Reporter: Lud Platform: Microsoft Windows  
Assigned To: _mental_ OS: Windows 10  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ID(K)FA gives 200 green armor with 0 savepercent
Description: What says on the tin. Tested on g2.4pre-219-g4dc1d11 x64.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000214)
_mental_   
2017-01-23 05:19   
Fixed in db4c5e0

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
107 [Gameplay + OpenGL] Bug block have not tried 2017-01-22 23:10 2017-01-23 03:22
Reporter: Matthew the Glutton Platform:  
Assigned To: _mental_ OS: Debian Jessie  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [5a4a5a1] Won't compile
Description: [quote=][ 96%] Building CXX object src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o
In file included from /home/mchan223/doom/gzdoom-5a4a5a17db9c612f5265d19aaa5dd22ae408cf34/src/scripting/zscript/zcc_compile.cpp:46:0:
/home/mchan223/doom/gzdoom-5a4a5a17db9c612f5265d19aaa5dd22ae408cf34/src/scripting/zscript/zcc_compile.h:95:10: error: extra qualification ‘ZCCCompiler::’ on member ‘StringConstFromNode’ [-fpermissive]
  FString ZCCCompiler::StringConstFromNode(ZCC_TreeNode *node, PStruct *cls);
          ^
src/CMakeFiles/zdoom.dir/build.make:9301: recipe for target 'src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o' failed
make[2]: *** [src/CMakeFiles/zdoom.dir/scripting/zscript/zcc_compile.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:719: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
[/quote]
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000213)
_mental_   
2017-01-23 03:22   
Fixed in d0565ca

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
53 [zdoom.org (Site)] Bug tweak always 2017-01-15 09:36 2017-01-22 20:20
Reporter: BFeely Platform:  
Assigned To: Marisa OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Add www.zdoom.org to certificate
Description: This one is a bit of an oversight, but the HTTPS certificate is currently missing the www subdomain.
All it means is that when requesting a Let's Encrypt certificate, in the list of domains enter both zdoom.org and www.zdoom.org so that both are issued. (as well as of course forum, mantis, and remilia).
Tags:
Steps To Reproduce: Running the test at https://www.ssllabs.com/ssltest/analyze.html?d=www.zdoom.org will display "Certificate name mismatch"
Most web browsers will also display an error if attempting to open the URL https://www.zdoom.org
Additional Information:
Attached Files:
Notes
(0000212)
Marisa   
2017-01-22 20:20   
Added www. to the certificate.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
103 [Gameplay + OpenGL] Bug major always 2017-01-22 08:12 2017-01-22 14:12
Reporter: Gutawer Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 10 Home 64-Bit  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Actor with +PICKUP not picking up items
Description: When playing A Boy and His Barrel (https://forum.zdoom.org/viewtopic.php?f=19&t=53399) on recent devbuilds, Violet will not pick up medikits. This mechanic works fine on GZDoom 2.3.2, leading me to believe this is a bug in GZDoom. Relevant code starts at line 152 of ZSC_ITEM.zsc and line 8 of ZSC_OBJ.zsc.
Tags: ZScript
Steps To Reproduce: Go into the first map, take damage, press USE on Violet to heal yourself, depleting her health, then summon a Medikit and push violet over it - this will heal Violet on 2.3.2, but not g2.4pre-219.
Additional Information:
Attached Files:
Notes
(0000207)
Graf Zahl   
2017-01-22 14:12   
No problems with a current build. Looks like it got fixed already.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
102 [Gameplay + OpenGL] Bug major always 2017-01-22 03:07 2017-01-22 13:13
Reporter: Edward-san Platform: Linux  
Assigned To: OS: Ubuntu  
Priority: normal OS Version: 16.04 x86-64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [sw renderer] 'vis->gpos' uninitialized in R_DrawVisSprite
Description: It happens in the same code line as ticket 0000064.

Valgrind:

==10873== Conditional jump or move depends on uninitialised value(s)
==10873==    at 0x6A9631: TVector3<float>::operator!=(TVector3<float> const&) const (vectors.h:376)

==10873==    by 0x69EF38: swrenderer::R_DrawVisSprite(swrenderer::vissprite_t*) (r_things.cpp:401)
==10873==    by 0x6A34B2: swrenderer::R_DrawPSprite(DPSprite*, AActor*, float, float, double, double, 
double) (r_things.cpp:1539)
==10873==    by 0x6A3A72: swrenderer::R_DrawPlayerSprites() (r_things.cpp:1655)
==10873==    by 0x6A5B88: swrenderer::R_DrawMasked() (r_things.cpp:2457)
==10873==    by 0x68DA85: swrenderer::R_RenderActorView(AActor*, bool) (r_main.cpp:921)
==10873==    by 0x662ED4: FSoftwareRenderer::RenderView(player_t*) (r_swrenderer.cpp:165)
==10873==    by 0x8B294A: D_Display() (d_main.cpp:778)
==10873==    by 0x8B34AE: D_DoomLoop() (d_main.cpp:1021)
==10873==    by 0x8B7623: D_DoomMain() (d_main.cpp:2678)
==10873==    by 0x620434: main (i_main.cpp:259)
==10873==  Uninitialised value was created by a heap allocation
==10873==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10873==    by 0x4C2FDEF: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10873==    by 0x913287: M_Realloc_Dbg(void*, unsigned long, char const*, int) (m_alloc.cpp:150)
==10873==    by 0x6AA380: TArray<swrenderer::vissprite_t, swrenderer::vissprite_t>::DoResize() 
(tarray.h:424)
==10873==    by 0x6AA089: TArray<swrenderer::vissprite_t, swrenderer::vissprite_t>::Grow(unsigned 
int) (tarray.h:348)
==10873==    by 0x6A9A5D: TArray<swrenderer::vissprite_t, swrenderer::vissprite_t>::Reserve(unsigned 
int) (tarray.h:374)
==10873==    by 0x6A274B: swrenderer::R_DrawPSprite(DPSprite*, AActor*, float, float, double, double, 
double) (r_things.cpp:1300)
==10873==    by 0x6A3A72: swrenderer::R_DrawPlayerSprites() (r_things.cpp:1655)
==10873==    by 0x6A5B88: swrenderer::R_DrawMasked() (r_things.cpp:2457)
==10873==    by 0x68DA85: swrenderer::R_RenderActorView(AActor*, bool) (r_main.cpp:921)
==10873==    by 0x662ED4: FSoftwareRenderer::RenderView(player_t*) (r_swrenderer.cpp:165)
==10873==    by 0x8B294A: D_Display() (d_main.cpp:778)
==10873== 


And this is the gdb backtrace:


#1  0x000000000069ef39 in swrenderer::R_DrawVisSprite (vis=0xe9329d0) at /home/edward-san/zdoom/gzdoom/trunk/src/r_things.cpp:401
        
frac = 0
        tex = 0x300000000
        x2 = 0
        stop4 = 268125712
        xiscale = 244525692
        mode = (swrenderer::DoDraw0 | swrenderer::DoDraw1)
        ispsprite = false
        centeryfrac = 1
0000002  0x00000000006a34b3 
in swrenderer::R_DrawPSprite (pspr=0xffb4ce0, owner=0x10af6550, bobx=0, boby=0, wx=0, wy=32, ticfrac=1) 
at /home/edward-san/zdoom/gzdoom/trunk/src/r_things.cpp:1539
        tx = 23
        x1 = 329
        x2 = 448
        sx = 0
        sy = 32.375
        sprdef = 0x10876154
        sprframe = 0xe859070
        picnum = {texnum = 256}
        flip = 0
        tex = 0xdda80d0
        vis = 0xe9329d0
        noaccel = false
        avis = {Array = 0xe9329d0, Count = 1, Most = 16}
        colormap_to_use = 0x223de00 <NormalLight>
0000003  0x00000000006a3a73 
in swrenderer::R_DrawPlayerSprites () at /home/edward-san/zdoom/gzdoom/trunk/src/r_things.cpp:1655
        centerhack = 210
        wy = 32
        boby = 0
        wx = 0
        bobx = 0
        i = 2122787455
        lightnum = 112
        psp = 0xffb4ce0
        weapon = 0xffb4ce0
        sec = 0xe39fbe0
        tempsec = {planes = {{xform = {xOffs = 0, yOffs = 0, baseyOffs = 0, xScale = 0, yScale = 0, Angle 
= {Degrees = 0}, baseAngle = {Degrees = 0}}, Flags = 0, Light = 0, alpha = 0, TexZ = 0, GlowColor = {{{b 
= 0 '\000', g = 0 '\000', r = 0 '\000', a = 0 '\000'}, d = 0}}, GlowHeight = 0, Texture = {texnum = 0}}, 
{xform = {xOffs = 0, yOffs = 0, baseyOffs = 0, xScale = 0, yScale = 0, Angle = {Degrees = 0}, baseAngle 
= {Degrees = 0}}, Flags = 0, Light = 0, alpha = 0, TexZ = 0, GlowColor = {{{b = 0 '\000', g = 0 '\000', 
r = 0 '\000', a = 0 '\000'}, d = 0}}, GlowHeight = 0, Texture = {texnum = 0}}}, floorplane = {normal 
= {X = 0, Y = 0, Z = 0}, D = 0, negiC = 0}, ceilingplane = {normal = {X = 0, Y = 0, Z = 0}, D = 0, negiC 
= 0}, ColorMap = 0x0, SoundTarget = {{p = 0x0, o = 0x0}}, special = 0, lightlevel = 0, seqType = 0, sky 
= 0, SeqName = {<FName> = {Index = 0, static NameData = {Blocks = 0x104db140, NameArray = 0xe8009d0, 
NumNames = 8723, MaxNames = 8932, Buckets = {8567, 8654, 6010, 8274, 8363, 8236, 8040, 7990, 8548, 8617, 
6934, 7624, 7751, 7464, 8413, 6244, 8495, 8632, 8219, 5739, 8672, 8706, 7744, 7747, 8220, 8386, 6106, 
8004, 7483, 7853, 7854, 8225, 8132, 7210, 8247, 8249, 7577, 8474, 8510, 7965, 7670, 6162, 8679, 8059, 
7137, 8526, 6499, 7475, 8620, 6389, 7732, 8405, 8193, 8650, 6742, 8652, 4386, 6463, 8189, 8464, 8009, 
7622, 8109, 7976, 8394, 7874, 5805, 8705, 7417, 8619, 7278, 6417, 8686, 7948, 7772, 8080, 4806, 7284, 
8633, 8021, 4986, 2724, 7679, 3984, 8579, 8558, 7391, 8473, 7221, 8538, 7769, 8699, 5371, 8140, 8691, 
7966, 8659, 8509, 6095, 7188, 7944, 8433, 8646, 7833, 8226, 8570, 7195, 6759, 8383, 8533, 8387, 7038, 
8330, 8613, 8537, 8435, 7523, 7706, 7597, 7942, 7368, 4644, 8357, 7678, 7102, 6689, 8364, 7981, 7059, 
6714, 7835, 8717, 8658, 7242, 5760, 5883, 5579, 8690, 7448, 8415, 8677, 7694, 8372, 8701, 8550, 6013, 
3845, 7090, 8700, 7520, 8104, 8722, 6059, 8138, 8056, 8176, 8712, 8621, 8243, 7020, 8627, 7922, 8362, 
8609, 6474, 7789, 8466, 8465, 8222, 7777, 8295, 7737, 8644, 6033, 8030, 8584, 8343, 5574, 8422, 8496, 
8643, 8204, 8392, 6238, 8218, 5544, 8318, 8671, 5856, 5861, 7048, 8375, 8337, 7533, 8714, 8656, 7468, 
8275, 7587, 8630...}, static Inited = true}}, <No data fields>}, centerspot = {X = 0, Y = 0}, validcount 
= 0, thinglist = 0x0, friction = 0, movefactor = 0, terrainnum = {0, 0}, floordata = {{p = 0x0, o = 0x0}}, 
ceilingdata = {{p = 0x0, o = 0x0}}, lightingdata = {{p = 0x0, o = 0x0}}, interpolations = {{{p = 0x0, 
o = 0x0}}, {{p = 0x0, o = 0x0}}, {{p = 0x0, o = 0x0}}, {{p = 0x0, o = 0x0}}}, prevsec = 0, nextsec = 
0, soundtraversed = 0 '\000', stairlock = 0 '\000', Lines = {Array = 0x0, Count = 0}, heightsec = 0x0, 
bottommap = 0, midmap = 0, topmap = 0, touching_thinglist = 0x0, sectorportal_thinglist = 0x0, touching_renderthings 
= 0x0, gravity = 0, damagetype = {<FName> = {Index = 0, static NameData = {Blocks = 0x104db140, 
NameArray = 0xe8009d0, NumNames = 8723, MaxNames = 8932, Buckets = {8567, 8654, 6010, 8274, 8363, 8236, 
8040, 7990, 8548, 8617, 6934, 7624, 7751, 7464, 8413, 6244, 8495, 8632, 8219, 5739, 8672, 8706, 7744, 
7747, 8220, 8386, 6106, 8004, 7483, 7853, 7854, 8225, 8132, 7210, 8247, 8249, 7577, 8474, 8510, 7965, 
7670, 6162, 8679, 8059, 7137, 8526, 6499, 7475, 8620, 6389, 7732, 8405, 8193, 8650, 6742, 8652, 4386, 
6463, 8189, 8464, 8009, 7622, 8109, 7976, 8394, 7874, 5805, 8705, 7417, 8619, 7278, 6417, 8686, 7948, 
7772, 8080, 4806, 7284, 8633, 8021, 4986, 2724, 7679, 3984, 8579, 8558, 7391, 8473, 7221, 8538, 7769, 
8699, 5371, 8140, 8691, 7966, 8659, 8509, 6095, 7188, 7944, 8433, 8646, 7833, 8226, 8570, 7195, 6759, 
8383, 8533, 8387, 7038, 8330, 8613, 8537, 8435, 7523, 7706, 7597, 7942, 7368, 4644, 8357, 7678, 7102, 
6689, 8364, 7981, 7059, 6714, 7835, 8717, 8658, 7242, 5760, 5883, 5579, 8690, 7448, 8415, 8677, 7694, 
8372, 8701, 8550, 6013, 3845, 7090, 8700, 7520, 8104, 8722, 6059, 8138, 8056, 8176, 8712, 8621, 8243, 
7020, 8627, 7922, 8362, 8609, 6474, 7789, 8466, 8465, 8222, 7777, 8295, 7737, 8644, 6033, 8030, 8584, 
8343, 5574, 8422, 8496, 8643, 8204, 8392, 6238, 8218, 5544, 8318, 8671, 5856, 5861, 7048, 8375, 8337, 
7533, 8714, 8656, 7468, 8275, 7587, 8630...}, static Inited = true}}, <No data fields>}, damageamount 
= 0, damageinterval = 0, leakydamage = 0, ZoneNumber = 0, MoreFlags = 0, Flags = 0, SecActTarget = {{p 
= 0x0, o = 0x0}}, Portals = {0, 0}, PortalGroup = 0, sectornum = 0, e = 0x0, reflect = {0, 0}, transdoor 
= false, subsectorcount = 0, transdoorheight = 0, subsectors = 0x0, portals = {0x0, 0x0}, lighthead = 
0x0, vboindex = {0, 0, 0, 0}, vboheight = {0, 0}, vbocount = {0, 0}}
        floorlight = 112
        ceilinglight = 112
        rover = 0x0


The problematic data:

(gdb) p vis->gpos
$1 = {X = 0, Y = 3.15700449e-31, Z = 0}
Tags:
Steps To Reproduce: valgrind gzdoom -iwad DOOM2.WAD -warp 01 -nosound
Additional Information:
System Description
Attached Files:
Notes
(0000205)
Graf Zahl   
2017-01-22 13:13   
I just changed it to memset the entire thing, just to avoid another one of this kind.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
100 [Gameplay + OpenGL] Bug minor always 2017-01-21 18:57 2017-01-22 05:26
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Strife Inquisitor slows down
Description: When the Inquisitor first appears, it moves quickly and behaves normally but it very quickly slows down to the point that it can hardly move. I think it might be something to do with the flight code but it affects both walking and flying.
Tags:
Steps To Reproduce: Summon an Inquisitor and watch it or watch this video:

https://youtu.be/lqfmgrBAXF4
Additional Information:
Attached Files:
Notes
(0000191)
Enjay   
2017-01-21 20:11   
(Last edited: 2017-01-21 20:12)
My guess it's the zscript for A_InquisitorJump. By my reading of the Wiki, this is supposed to reduce horizontal velocity to 2/3 normal (I can't figure out where it gets restored to normal though - if it needs to be). Anyway, it seems to be reducing the speed every time the enemy jumps/flies and so after a few jumps, the speed has become very slow or effectively 0.

Commenting out the line that does the speed reduction prevents the slowdown but, obviously, there is an impact on the behaviour elsewhere (it flies too fast).

(0000199)
FishyClockwork01   
2017-01-22 02:49   
I took a look at the old, now non-existent version and noticed that 'speed' is a local variable. I think the Inquisitor's 'Speed' property was never meant to be altered directly.

Is ZScript case insensitive? If it is, maybe it's best to use a local variable called 'flyspeed' or similar?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
64 [Gameplay + OpenGL] Bug major always 2017-01-16 16:58 2017-01-22 03:08
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [sw renderer] 'vis->Sector' uninitialized in R_DrawVisSprite
Description: Valgrind report:


==21052== Conditional jump or move depends on uninitialised value(s)
==21052==    at 0x62DF56: swrenderer::R_DrawVisSprite(swrenderer::vissprite_t*) (r_things.cpp:401)
==21052==    by 0x632032: swrenderer::R_DrawPSprite(DPSprite*, AActor*, float, float, double, double, 
double) (r_things.cpp:1538)
==21052==    by 0x6324C5: swrenderer::R_DrawPlayerSprites() (r_things.cpp:1654)
==21052==    by 0x622FA7: swrenderer::R_RenderActorView(AActor*, bool) (r_main.cpp:921)
==21052==    by 0x609F92: FSoftwareRenderer::RenderView(player_t*) (r_swrenderer.cpp:165)
==21052==    by 0x75B207: D_Display() (d_main.cpp:778)
==21052==    by 0x75BB7E: D_DoomLoop() (d_main.cpp:1021)
==21052==    by 0x75D214: D_DoomMain() (d_main.cpp:2678)
==21052==    by 0x5ECDEE: main (i_main.cpp:259)
==21052==  Uninitialised value was created by a heap allocation
==21052==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21052==    by 0x4C2FDEF: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21052==    by 0x7976E8: M_Realloc_Dbg(void*, unsigned long, char const*, int) (m_alloc.cpp:150)
==21052==    by 0x6351D0: TArray<swrenderer::vissprite_t, swrenderer::vissprite_t>::DoResize() 
(tarray.h:424)
==21052==    by 0x6349B0: TArray<swrenderer::vissprite_t, swrenderer::vissprite_t>::Reserve(unsigned 
int) (tarray.h:374)
==21052==    by 0x63187D: swrenderer::R_DrawPSprite(DPSprite*, AActor*, float, float, double, double, 
double) (r_things.cpp:1300)
==21052==    by 0x6324C5: swrenderer::R_DrawPlayerSprites() (r_things.cpp:1654)
==21052==    by 0x622FA7: swrenderer::R_RenderActorView(AActor*, bool) (r_main.cpp:921)
==21052==    by 0x609F92: FSoftwareRenderer::RenderView(player_t*) (r_swrenderer.cpp:165)
==21052==    by 0x75B207: D_Display() (d_main.cpp:778)
==21052==    by 0x75BB7E: D_DoomLoop() (d_main.cpp:1021)
==21052==    by 0x75D214: D_DoomMain() (d_main.cpp:2678)
Tags:
Steps To Reproduce: valgrind gzdoom -iwad DOOM2.WAD -warp 01 -nosound
Additional Information:
Attached Files:
Notes
(0000104)
Edward-san   
2017-01-16 17:08   
Forgot to add the gdb backtrace:


#0  0x00000000006a64eb in swrenderer::R_DrawVisSprite (vis=0x1017d8c0) at /home/edward-san/zdoom/gzdoom/trunk/src/r_things.cpp:401
        
frac = 0
        tex = 0x300000000
        x2 = 0
        stop4 = 270531408
        xiscale = 269998444
        mode = (swrenderer::DoDraw0 | swrenderer::DoDraw1)
        ispsprite = false
        centeryfrac = 1
#1  0x00000000006aaa8f in swrenderer::R_DrawPSprite (pspr=0x10200160, owner=0xf971640, bobx=0, boby=0, 
wx=0, wy=32, ticfrac=1) at /home/edward-san/zdoom/gzdoom/trunk/src/r_things.cpp:1538
        tx = 23
        x1 = 329
        x2 = 448
        sx = 0
        sy = 32.375
        sprdef = 0x12020de4
        sprframe = 0x102df040
        picnum = {texnum = 256}
        flip = 0
        tex = 0xf6bbc40
        vis = 0x1017d8c0
        noaccel = false
        avis = {Array = 0x1017d8c0, Count = 1, Most = 16}
        colormap_to_use = 0x2257660 <NormalLight>
0000002  0x00000000006ab04f 
in swrenderer::R_DrawPlayerSprites () at /home/edward-san/zdoom/gzdoom/trunk/src/r_things.cpp:1654
        centerhack = 210
        wy = 32
        boby = 0
        wx = 0
        bobx = 0
        i = -895919595
        lightnum = 112
        psp = 0x10200160
        weapon = 0x10200160
        sec = 0xe654330

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
71 [Gameplay + OpenGL] Bug minor always 2017-01-18 16:19 2017-01-22 02:30
Reporter: AkiraZXE Platform:  
Assigned To: _mental_ OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Hardware renderer only] Cursor vanishing on Mint 18.1
Description: On startup, the cursor simply does not show. It won't show at all until the game is started. Once you've started the game, it will show up if you open the menu.

If you change the resolution, the cursor vanishes again, and won't reappear until you close and reopen the menu.

If you go into fullscreen, the cursor disappears. Next time you open the menu, it's there again, but it's misaligned. At the top of the screen, it's close, and it gets worse as it moves towards the bottom.

I think this may be relevant as well: If GZDoom locks up, it holds on to the cursor even if it's no longer in focus.
Tags:
Steps To Reproduce:
Additional Information: I'm using the Cinnamon desktop, if it's relevant. I have no idea if these are separate issues either. Less than a week on Mint, no idea what's relevant here.
Attached Files:
Notes
(0000124)
Graf Zahl   
2017-01-18 18:40   
Needs someone with an affected system to look into.
(0000132)
_mental_   
2017-01-19 02:21   
(Last edited: 2017-01-19 02:21)
It might be caused by these lines. If you are building GZDoom from sources you can try to remove them to verify this guess.

(0000138)
AkiraZXE   
2017-01-19 14:48   
(Last edited: 2017-01-19 14:48)
I wasn't, but I went ahead and just the instructions on the wiki to give it a shot. Unfortunately I can't tell what the change did because I got a totally unrelated error on startup:

LoadActors: Load actor definitions.
gzdoom.pk3:zscript/inventory/stateprovider.txt, line 16: Unknown native class CustomInventory
1 errors, 0 warnings while compiling gzdoom.pk3:zscript/chex/chexplayer.txt

I don't know if this should be reported as a separate bug or if I just screwed something up, and this ZScript stuff is new to me so I have no idea what's wrong anyways. Chances are being any more useful is a bit beyond me at the moment.

(0000141)
AkiraZXE   
2017-01-19 19:50   
Nevermind, I am a deluxe idiot. I did get it to work, and commenting that bit out does solve the cursor problems.
(0000144)
_mental_   
2017-01-20 03:22   
Those lines are remnants of SDL 1.2 backend. I think we can remove them if this change will be verified on different distros, on other desktop environments in particular.
(0000170)
Talon1024   
2017-01-20 14:17   
(Last edited: 2017-01-20 14:22)
This bug also affects me on Ubuntu 16.04, as well as Elementary OS 0.4 Loki.

(0000171)
_mental_   
2017-01-20 14:26   
Can you check my "guessing game" solution with removal of SDL_ShowCursor() call? If you can build from source of course.
(0000192)
Talon1024   
2017-01-21 20:45   
Confirmed. Removing that SDL_ShowCursor() call fixes this problem.
(0000197)
_mental_   
2017-01-22 02:29   
(Last edited: 2017-01-22 02:30)
Mouse cursor wasn't visible even on macOS with SDL backend. Also verified the fix using GNOME on Debian.

Fixed in da4981e.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
94 [Gameplay + OpenGL] Bug major always 2017-01-20 23:59 2017-01-21 18:28
Reporter: Matthew the Glutton Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: CustomInventory does not check inventory count
Description: In a DECORATE CustomInventory item, if there's an A_JumpIfInventory in the use state it would in the past check the player's inventory for the thing. This check appears to be broken now.
Tags:
Steps To Reproduce: In Hideous Destructor, spawn as a roboticist and attempt to deploy any robot. They will all return error messages saying you don't have enough of something.
Additional Information:
Attached Files:
Notes
(0000183)
Graf Zahl   
2017-01-21 05:36   
How do I deploy a robot? Please do not assume that I have ever played this mod.
(0000184)
Graf Zahl   
2017-01-21 05:38   
Best make a small test mod where the overall action of the mod doesn't constantly get in the way of testing. This thing constantly runs through all the functions I need to debug which makes it extremely hard to narrow down the problem spot.
(0000190)
Matthew the Glutton   
2017-01-21 16:59   
actor clipbomb:custominventory{
    +inventory.invbar
    inventory.icon MEDIA0
    states{
    use:
        TNT1 A 0 A_JumpIfInventory("Clip",1,2)
        TNT1 A 0 A_Log("NO.")
        fail
        TNT1 A 0 A_Explode
        stop
    }
}

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
98 [Gameplay + OpenGL] Bug major always 2017-01-21 15:09 2017-01-21 16:27
Reporter: Player701 Platform: PC  
Assigned To: OS: Windows  
Priority: high OS Version: 7 (64-bit)  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [ZScript] Custom class properties referring to DECORATE actors cause a crash
Description: A custom property of type class<Actor> will cause a crash if the value of the property is set to a DECORATE-defined actor class. The crash happens as soon as an attempt is made to read the value of the property.

I was converting a project of mine to ZScript and ran into this issue. Sometimes the value of the property was null when it was read, but in a test case I've made (and attached to this report) it doesn't happen.
Tags:
Steps To Reproduce: Load the attached PK3, open any map and type "summon a" in the console. BOOM - crash. Tested on gzdoom-x64-g2.4pre-219-g4dc1d11.
Additional Information: If the property type itself refers to a class defined in DECORATE, the script will fail to compile. I have no idea whether it is a bug or a feature.
Attached Files: proptest.pk3 (397 bytes) 2017-01-21 15:09
https://mantis.zdoom.org/file_download.php?file_id=27&type=bug
Notes
(0000189)
Graf Zahl   
2017-01-21 16:06   
The class type must be known at compile time. You cannot reference DECORATE classes from ZScript by type because they get defined later in a separate pass.

Crash will be investigated.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
97 [Gameplay + OpenGL] Bug minor always 2017-01-21 11:47 2017-01-21 13:15
Reporter: PutANameHere Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Old version saves won't get deleted
Description: Old version saves won't get deleted when deleting them from the ingame save/load menu. They'll disappear from the UI, but the files themselves won't get deleted and the saves reappear after restarting the game.

Here's one of the saves for testing.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: save3.zds (99,046 bytes) 2017-01-21 11:47
https://mantis.zdoom.org/file_download.php?file_id=26&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
96 [Gameplay + OpenGL] Bug minor always 2017-01-21 10:28 2017-01-21 12:55
Reporter: silentzora Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A_SkullAttack Ignores Target Z-Position
Description: In GZDoom v2.3.2, A_SkullAttack appears not to take the target's Z-position into consideration when attacking. Instead, the attacker moves in a straight line toward the target, but in most cases, harmlessly flies overhead when "Actors Are Infinitely Tall" is set to False.
Tags:
Steps To Reproduce: 1.) Summon LostSoul at a height far greater than the player (use Fly cheat)
2.) Back away from LostSoul, disable fly
3.) Wait for LostSoul to attack

LostSoul should pass harmlessly over the player's head, its Z-position only adjusting when it nears the player.
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
30 [Gameplay + OpenGL] Bug minor always 2017-01-11 07:42 2017-01-21 09:13
Reporter: Edward-san Platform: Linux  
Assigned To: Edward-san OS: Ubuntu  
Priority: normal OS Version: 16.04 x86-64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Link from GZDoom to GL libraries not fully dynamic
Description: See from this to this.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000043)
Graf Zahl   
2017-01-11 08:45   
Please do a pull request if you want it changed. On Windows this is a non-issue and I cannot test the Linux code myself.
(0000044)
Edward-san   
2017-01-11 11:41   
https://github.com/coelckers/gzdoom/pull/213

Needs opinion from Blzut3 and __mental__.
(0000117)
_mental_   
2017-01-18 10:10   
Blzut3, could you please check the latest version of the PR?
(0000129)
Blzut3   
2017-01-18 23:02   
I can actually test and merge it tomorrow, but visually I don't see anything wrong with the latest version.
(0000142)
Blzut3   
2017-01-19 20:04   
OK, there is a functional issue in that DYN_GL does nothing. This is because the variable doesn't change anything in gl_load.c.
(0000145)
Edward-san   
2017-01-20 04:26   
So you mean that I should add a new DYN_OPENGL macro definition and use it in gl_load.c?

If yes, in which part of the expression:

#if defined(__sgi) || defined(__sun) | defined(__unix__)


should I put it?

In any case, I'm not fully convinced we need DYN_GL at all, unless you know about a situation for which it must be disabled?
(0000175)
Blzut3   
2017-01-20 16:42   
I have no issues with the DYN_GL option just being removed. If someone needs it, they can add it.
(0000176)
Edward-san   
2017-01-20 19:57   
Updated the pull request.
(0000177)
Rachael   
2017-01-21 00:25   
Has this been tested on Windows? I am now getting linker errors for unresolved externals, all pointing to gl_load and various other GL files.
(0000178)
Edward-san   
2017-01-21 02:01   
(Last edited: 2017-01-21 02:01)
Can you list the unresolved externals?

(0000181)
_mental_   
2017-01-21 03:45   
opengl32.lib and glu32.lib are now missing from linked libraries list.
win32gliface.obj : error LNK2019: unresolved external symbol __imp__wglCreateContext@4 referenced 
in function "public: bool __thiscall Win32GLVideo::InitHardware(struct HWND__ *,int)" (?InitHardware@Win32GLVideo@@QAE_NPAUHWND__@@H@Z)

win32gliface.obj : error LNK2019: unresolved external symbol __imp__wglDeleteContext@4 referenced in 
function "protected: bool __thiscall Win32GLVideo::SetPixelFormat(void)" (?SetPixelFormat@Win32GLVideo@@IAE_NXZ)

win32gliface.obj : error LNK2019: unresolved external symbol __imp__wglGetProcAddress@4 referenced in 
function "public: __thiscall Win32GLFrameBuffer::Win32GLFrameBuffer(void *,int,int,int,int,bool)" 
(??0Win32GLFrameBuffer@@QAE@PAXHHHH_N@Z)
gl_load.obj : error LNK2001: unresolved external symbol __imp__wglGetProcAddress@4
win32gliface.obj : error LNK2019: unresolved external symbol __imp__wglMakeCurrent@8 referenced in function 
"public: bool __thiscall Win32GLVideo::InitHardware(struct HWND__ *,int)" (?InitHardware@Win32GLVideo@@QAE_NPAUHWND__@@H@Z)

(0000182)
Edward-san   
2017-01-21 05:14   
Does it still happen with this commit?
(0000186)
Rachael   
2017-01-21 09:02   
@Edward-san: Everything seems to be ok now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
95 [Gameplay + OpenGL] Bug minor always 2017-01-21 02:48 2017-01-21 06:13
Reporter: huearmy Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: If i set stealing health with fist i can heal hitting team mate if no team damage.
Description: Problem came from here http://zandronum.com/tracker/view.php?id=2990

Since gzdoom is not multiplayer not sure you have point in fixing it.
Anyway for zandronum the feature for life steal is broken.

It sucks because people will abuse the bug in game to gain never ending source of health you hit your teammate and heal on him but he does not take damage since friendly fire damage factor is 0.
Tags:
Steps To Reproduce: punch with this code team mate.


ACTOR Fist2 : Weapon replaces Fist
{
  Weapon.SelectionOrder 3700
  Weapon.Kickback 100
  Obituary "$OB_MPFIST"
  Tag "$TAG_FIST"
  +WEAPON.WIMPY_WEAPON
  +WEAPON.MELEEWEAPON
  States
  {
  Ready:
    PUNG A 1 A_WeaponReady
    Loop
  Deselect:
    PUNG A 1 A_Lower
    Loop
  Select:
    PUNG A 1 A_Raise
    Loop
  Fire:
    PUNG B 4
    PUNG C 4 4 A_CustomPunch( 10, TRUE, 0, "", 100, 0.5 )
    PUNG D 5
    PUNG C 4
    PUNG B 5 A_ReFire
    Goto Ready
  }
}
Additional Information: What happened to bug I reported on gzdoom and was acknowledged. You just deleted all the stuff?
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
91 [Gameplay + OpenGL] Bug minor always 2017-01-20 16:50 2017-01-21 03:56
Reporter: Enjay Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Rail does not respect floor clip
Description: The railgun visual effect and aiming does not lower when stepping on a floor with a floorclip value.
Tags:
Steps To Reproduce: Load up the attached zip and type "give testrail" at the console.

Try not to move the up/down aiming of the weapon.

Fire the weapon and note that the rail trail and decal appear at a suitable height/point.

Step into the water and fire the weapon again. This time the rail trail will be too high versus the player view. The decal appears in the correct position relative to the trail. Note the height where the decal appears.

Step onto the wooden platform in the water. This is at the same height as the water but is not floorclipped. Fire the weapon and note that the rail trail appears correct versus the player view. The trail and decal appear at the same height as when you were in the water.

Repeat the above with another weapon (e.g. the standard pistol) and note that, unlike the rail, when in the water the decal appears lower than when on the wooden platform. i.e. the pistol respects the viewheight and the aim lowers appropriately in a floor-clipped sector but the rail visual effect and aiming does not.
Additional Information:
Attached Files: railclip.zip (1,848 bytes) 2017-01-20 16:50
https://mantis.zdoom.org/file_download.php?file_id=24&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
93 [Gameplay + OpenGL] Bug minor have not tried 2017-01-20 23:55 2017-01-21 03:44
Reporter: Matthew the Glutton Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Can't drop anything
Description: Pick up chainsaw.

Type "drop chainsaw" in console.

Nothing happens.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000179)
_mental_   
2017-01-21 03:24   
Moreover the game crashes if drop CCMD is used right after picking up
DObject* GC::ReadBarrier<DObject>(obj=0x00000001207f7db0) + 29 at dobject.h:282
VMExec_Checked::Exec(stack=0x0000600000231360, pc=0x000000010c828bc0, ret=0x00007fff5fbfc9d8, numret=1) 
+ 12572 at vmexec.h:203
VMFrameStack::Call(this=0x0000600000231360, func=0x0000608000d72480, params=0x00007fff5fbfca30, numparams=1, 
results=0x00007fff5fbfc9d8, numresults=1, trap=0x0000000000000000) + 611 at vmframe.cpp:490
AActor::DropInventory(this=0x00000001207f7800, item=0x000000012177b000) + 398 at p_mobj.cpp:1046
Net_DoCommand(type=34, stream=0x00007fff5fbfcff0, player=0) + 2046 at d_net.cpp:2290
RunNetSpecs(player=0, buf=21) + 167 at d_protocol.cpp:466
G_Ticker() + 1081 at g_game.cpp:1155
TryRunTics() + 1147 at d_net.cpp:1947
D_DoomLoop() + 638 at d_main.cpp:1017
D_DoomMain() + 6756 at d_main.cpp:2678

It seems to be a dangling pointer in *obj.
(0000180)
_mental_   
2017-01-21 03:44   
Fixed in 5158b1c

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
36 [zdoom.org (Site)] Feature minor have not tried 2017-01-11 13:08 2017-01-20 20:05
Reporter: Rachael Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [MantisBT] Change workflow
Description: Add in status for "Needs Feedback", "Needs Review", "Needs Testing", etc.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
90 [Gameplay + OpenGL] Bug crash have not tried 2017-01-20 10:39 2017-01-20 19:12
Reporter: Major Cooke Platform:  
Assigned To: Graf Zahl OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: AActor::RemoveInventory crash
Description: Load up D4D. Summon C100000 in console.

Open the upgrade menu and purchase any upgrade. Instant crash.

Tags:
Steps To Reproduce:
Additional Information: > gzdoom.exe!AActor::RemoveInventory(AInventory * item) Line 842 C++
     gzdoom.exe!APlayerPawn::RemoveInventory(AInventory * item) Line 904 C++
     gzdoom.exe!AF_AActor_TakeInventory(VMValue * param, TArray<VMValue,VMValue> & defaultparam, int numparam, VMReturn * ret, int numret) Line 868 C++
     gzdoom.exe!VMExec_Unchecked::Exec(VMFrameStack * stack, const VMOP * pc, VMReturn * ret, int numret) Line 635 C++
     gzdoom.exe!VMFrameStack::Call(VMFunction * func, VMValue * params, int numparams, VMReturn * results, int numresults, VMException * * trap) Line 490 C++
     gzdoom.exe!cht_Take(player_t * player, const char * name, int amount) Line 599 C++
     gzdoom.exe!Net_DoCommand(int type, unsigned char * * stream, int player) Line 2207 C++
     gzdoom.exe!RunNetSpecs(int player, int buf) Line 466 C++
     gzdoom.exe!G_Ticker() Line 1155 C++
     gzdoom.exe!TryRunTics() Line 1948 C++
     gzdoom.exe!D_DoomLoop() Line 1020 C++
     gzdoom.exe!D_DoomMain() Line 2684 C++
     gzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035 C++
     gzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int CmdShow) Line 1345 C++

Attached Files:
Notes
(0000160)
Major Cooke   
2017-01-20 10:46   
If you need a download link to D4D again: https://forum.zdoom.org/viewtopic.php?f=43&t=54843
(0000173)
Major Cooke   
2017-01-20 15:04   
Nevermind, close this. I thought it was still crashing when I forgot to change my reset commit to hard from mixed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
77 [Gameplay + OpenGL] Bug crash sometimes 2017-01-19 11:06 2017-01-20 15:43
Reporter: Xaser Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [v2.3.2] ARGENT Rocket Suicide Crash
Description: In the current ZScript-build of ARGENT (see here: http://static.angryscience.net/pub/doom/mods/argent/pre/xa-argen_0.4.0_pre-5aabc1f.pk3 ), suiciding via the the Rocket Launcher's Remote Detonate can sometimes crash the game with an Access Violation.

Probable self-diagnosis: Line 289 in zscript/argent/weapons/rocket.txt is suspect, since it's running on the same tic the A_Explode calls happen, meaning the player may die before the loop is complete; are the 'player.rockets' and 'player.numRockets' variables getting trashed when the player dies, causing shenanigans?

tl;dr: The actual crash source is likely a case of [User Error], but Crashes Suck(tm) so if there's any way to turn it into a VM abort or something similar, that'd be nice.


[Self-musing: I can likely work around this by delaying the A_Explode calls one tic, or just moving all the rocket handling out of the PlayerPawn like I've been planning on doing for a bit now.]
Tags:
Steps To Reproduce: Summon "ArgRocketLauncher" and an "ArgModKit"; use the kit (INVUSE) and select the Remote Detonation mod (+ATTACK with the Rocket Launcher selected). Fire a rocket (+ATTACK) and immediately detonate it in your face (+ALTATTACK); repeat until dead. The game will sometimes crash with an access violation when the player dies.
Additional Information:
System Description
Attached Files:
Notes
(0000165)
Graf Zahl   
2017-01-20 13:32   
This is a bad case of uncontrolled state function chaining due to having no delays. Sorry, but it's unfixable - I cannot even trace where the bogus value comes from, it looks like some things overwriting each other.

Surely are crashes bad, but with this setup they are inevitable. If you start an action that may kill the caller, there *MUST* be a one frame delay between the state jump and the action, otherwise all bets are off.

The crash doesn't even happen in the VM, it happens in the GL renderer because the weapon sprite data is broken, presumably because the death action interrupts the A_Overlay call that starts the detonation.
(0000174)
Xaser   
2017-01-20 15:43   
Well, color me stumped -- I still get the crash even after delaying the rocket's A_Explode calls by a tic. The Arg_A_DetonateRockets function won't retrigger more than once per +ALTATTACK hold, so it ought not be conflicting anymore; is the call to Arg_A_SynthAltFire 1 tic later ('Mod1DetonateHold' label) causing the blowup instead? That function causes a state jump if the player isholding +ALTATTACK... though that ought not be happening if they're dead. :P

I do plan on refactoring all this code anyway (including adding a little animation to the overlay when detonating), so hopefully that means the issue will go 'poof', but that leaves me with unease still as I don't yet know what's caused the problem (and how to avoid it in the future).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
50 [zdoom.org (Site)] Feature feature N/A 2017-01-14 12:02 2017-01-20 15:10
Reporter: Xaser Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [MantisBT] 'On Hold' status
Description: See Graf's post here: https://forum.zdoom.org/viewtopic.php?p=970188&f=1#p970188

An 'On Hold' status will allow the devs to filter issues out of sight while still keeping them around for alter -- "Not right now, but maybe later" is an important indicator to have, else they'll be in the same bucket as the "No"s, and "No" means "Never" more or less.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000090)
Edward-san   
2017-01-15 13:53   
In any case there's also 'suspended' as a resolution option. Could that be done instead of adding 'on hold'?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
79 [Gameplay + OpenGL] Bug block always 2017-01-19 15:24 2017-01-20 13:14
Reporter: PutANameHere Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: not fixable  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Fatal Error when starting Happy Time Circus 2 (circus2.wad)
Description: Happy Time Circus 2 won't start on the newer builds of GZDoom. I don't know when exactly it broke, but I tried both the latest stable build (2.3.2) and latest dev build (gzdoom-x64-g2.4pre-186-g0376c8b) and it didn't work in both.

Here's the error the launcher gives:
[code=]Script error, "circus2.wad:DECORATE" line 377: State GreenDropSpawn.8 links to a state with incompatible restrictions. Execution could not continue. 1 errors during actor postprocessing[/code]

Don't know much about modding, just some simple stuff, so I can't comment on what is or isn't wrong with the code, but the mod used to work.

Link to WAD: https://www.doomworld.com/idgames/levels/doom2/Ports/a-c/circus2
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000143)
LordMisfit   
2017-01-19 20:56   
I'm not 100% sure what changes borks it up, but when I was working on my Circus2 patch for Aetherius, I think I came upon this issue and manually changed the DECORATE.

Go to the Pain state of "GreenDropSpawn" and change "Goto See + 10" to "Goto See". I believe it's referencing an invalid state position which wasn't being treated as a crash in previous versions. :o

Something tells me that whatever change caused this issue to crop up isn't going to be reversed though, and this is probably a modder's error. :V
(0000163)
Graf Zahl   
2017-01-20 13:11   
You got that last part absolutely right. This is a mod error after all, and not handling such an error can cause a lot more trouble than breaking a single mod.

The error check for this situation was simply missing before, this could have crashed randomly during gameplay.
(0000164)
PutANameHere   
2017-01-20 13:14   
Thanks, that worked.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
88 [Gameplay + OpenGL] Bug minor always 2017-01-20 09:56 2017-01-20 13:01
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: duplicate  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Morph pickups not working
Description: In D4D, summon baronrune and walk over it. You should be able to morph without issue if you're a) not morphed and b) not invulnerable. But it doesn't work at all.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
83 [Gameplay + OpenGL] Bug crash always 2017-01-20 06:44 2017-01-20 13:00
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: (give|pickup) Berserk (crash|assertion failure)
Description:

gzdoom: /home/edward-san/zdoom/gzdoom/trunk/src/p_actionfunctions.cpp:226: int AF_ACustomInventory_CallStateChain(VMValue*, 
TArray<VMValue>&, int, VMReturn*, int): Assertion `param[paramnum].Type == REGT_INT' failed.



See the attached log with the backtrace. It happens in current HEAD (g314e49f).
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: gdb_backtrace_83.txt (62,641 bytes) 2017-01-20 06:45
https://mantis.zdoom.org/file_download.php?file_id=22&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
82 [Gameplay + OpenGL] Bug crash always 2017-01-20 01:02 2017-01-20 13:00
Reporter: Matthew the Glutton Platform:  
Assigned To: OS: Debian  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash on entering game on Hideous Destructor
Description: Seems to be related to scriptification of inventory.

19b1c10 does not crash.
1750ded is the earliest commit that crashes like this.
7c6542e didn't recognize CustomInventory so I could not test it.
Tags:
Steps To Reproduce: 1. Load HD
2. Attempt to enter a map
Additional Information: Link to my WIP of the next HD release - the latest released version should still show the crash but it won't work because the BFG contains an A_ClearRefire call:
http://members.shaw.ca/vaecrius/hd/hd20170119db.7z
Attached Files: gzdoom-crash.log.7z (3,803 bytes) 2017-01-20 01:02
https://mantis.zdoom.org/file_download.php?file_id=21&type=bug
Notes
(0000162)
Graf Zahl   
2017-01-20 13:00   
Seems to work after fixing a CustomInventory bug.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
78 [Gameplay + OpenGL] Feature feature N/A 2017-01-19 11:17 2017-01-20 10:40
Reporter: Xaser Platform: PC  
Assigned To: OS: Windows  
Priority: normal OS Version: 7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Return reference to actors spawned via action functions
Description: It'd be great if functions like A_SpawnItemEx, A_SpawnProjectile, et.al in ZScript could return a pointer to the spawned actor so we can do further things with it.

Though we can now call Spawn() directly in ZScript and obtain an actor reference that way, going that route means reimplementing a bunch of stuff that these action functions already do, which is not particularly elegant. I'd rather not have to reinvent a perfectly good wheel in order to be able to tinker with it later.

[For things like A_SpawnItemEx that already have a non-void return type, an 'out' parameter would suffice as well.]
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000139)
Graf Zahl   
2017-01-19 14:49   
No need for 'out'. ZScript supports multiple return values on a function.
(0000147)
Graf Zahl   
2017-01-20 05:30   
Added to A_SpawnProjectile, A_FireProjectile, A_SpawnItem, A_SpawnItemEx and A_ThrowGrenade.

NOT added to the compatibility wrappers A_CustomMissile and A_FireCustomMissile.
(0000159)
Xaser   
2017-01-20 10:40   
Fantastic! Thanks for the add.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
84 [Gameplay + OpenGL] Bug major always 2017-01-20 06:57 2017-01-20 10:23
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: `Unknown code pointer 'Lower'` with dehacked patches
Description: Recent git commits (tested with g314e49f) seem to have affected the behavior when loading some wads containing dehacked patches.

For example, if you load DVII-1u.wad or Valiant.wad, you get this:


Script error, "gzdoom.pk3:dehsupp.txt" line 22:
Unknown code pointer 'Lower'

Could not load DEH support data


And a bunch of things stopped working properly, like the bushes in Deus Vult 2, which now are solid, while they shouldn't be.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
86 [Gameplay + OpenGL] Bug major always 2017-01-20 07:37 2017-01-20 08:27
Reporter: MarisaKirisame Platform: x86_64  
Assigned To: Edward-san OS: Arch Linux  
Priority: normal OS Version: N/A  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Build failed with latest git master (314e49f)
Description: The build error is "src/g_shared/sbarinfo.h:134:2: error: ‘DSBarInfo’ does not name a type"

Sounds like a typo to me, judging from the code.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0000149)
Edward-san   
2017-01-20 07:58   
Fixed with https://github.com/coelckers/gzdoom/pull/226 .
(0000150)
MarisaKirisame   
2017-01-20 08:27   
Thank you. It built now.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
81 [Gameplay + OpenGL] Bug minor have not tried 2017-01-20 00:27 2017-01-20 04:59
Reporter: Matthew the Glutton Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A_ClearRefire no longer recognized
Description: "Invalid parameter 'a_clearrefire'"
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000146)
Graf Zahl   
2017-01-20 04:59   
Was copied to the wrong class by accident.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
80 [Gameplay + OpenGL] Bug crash have not tried 2017-01-19 16:00 2017-01-19 17:59
Reporter: Major Cooke Platform:  
Assigned To: Rachael OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Remove broken + crash
Description: See "Additional Information" for the code.

How remove command is BROKEN:
Summon twifly, close the console, reopen it and type "remove twifly".

0 actors removed but it's actually still there. (Change the sprite in Twifly to PLAY A 0 if you want proof)

How remove command CRASHES:
Summon twifly, close the console, reopen it and type "remove twiwing".
Instant crash points to the new code introduced in an effort to prevent inventory items from being removed.
Tags:
Steps To Reproduce:
Additional Information: Class Twifly : Actor
{
    const Xoff = 0.0;
    const Yoff = 2.0;
    const Zoff = 0.0;
    TwiWing left;
    TwiWing right;
    Default
    {
        Radius 1;
        Height 1;
        Scale 0.22;
        +NOINTERACTION
        +NOBLOCKMAP
        //+BRIGHT
    }
    
    override void PostBeginPlay()
    {
        double wingpos;
        right = TwiWing(Spawn("TwiWing",pos));
        if (right)
        {
            right.master = self;
            right.scale = scale;
            right.A_Warp(DefPtr,Xoff,Yoff,Zoff,0,WARPF_NOCHECKPOSITION);
        }
        left = TwiWing(Spawn("TwiWing",pos));
        if (left)
        {
            left.master = self;
            left.scale = scale;
            left.other = true;
            left.A_Warp(DefPtr,Xoff,-Yoff,Zoff,0,WARPF_NOCHECKPOSITION);
        }
        Super.PostBeginPlay();
    }
    
    override void OnDestroy()
    {
        if (left) left.Destroy();
        if (right) right.Destroy();
        return;
    }
    
    States
    {
    Spawn:
        N073 ABCD 4;
        Loop;
    }
}

Class TwiWing : Actor
{
    bool other;
    Default
    {
        +NOINTERACTION
        +NOBLOCKMAP
        //+BRIGHT
        Scale 0.22;
    }
    States
    {
    Spawn:
        N082 A 0 NoDelay
        {
            StateLabel next = "S1";
            if (other) { next = "S2"; }
            return ResolveState(next);
        }
    S1:
        N082 ABCDEFGH 2;
        Loop;
    S2:
        N082 IJKLMNOP 2;
        Loop;
    }
}
Attached Files:
Notes
(0000140)
Rachael   
2017-01-19 17:59   
Fixed

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
75 [Gameplay + OpenGL] Bug minor have not tried 2017-01-19 05:24 2017-01-19 09:42
Reporter: Major Cooke Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Remove ccmd takes inventory unintentionally
Description: When I designed this function I didn't realize that it could get into inventory actors owned already, and unfortunately I don't know how to check and make sure the item isn't owned before removing it.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000135)
Rachael   
2017-01-19 05:39   
Have a look at the actorlist commands. They check for an inventory owner by looking for ->Owner reference. Look here: https://github.com/coelckers/gzdoom/blob/master/src/c_cmds.cpp#L929
(0000136)
Rachael   
2017-01-19 06:29   
Fixed

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
72 [Software Renderer] Bug feature always 2017-01-18 18:17 2017-01-19 02:12
Reporter: Autz Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: duplicate  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: QZDoom crash at ClearInventory()
Description: QZDoom crash each time the ClearInventory() function is used on ACS.
Tags:
Steps To Reproduce: Load the GTest.wad file on QZDoom.
Additional Information:
Attached Files: GTest.wad (222 bytes) 2017-01-18 18:17
https://mantis.zdoom.org/file_download.php?file_id=19&type=bug
Notes
(0000125)
Autz   
2017-01-18 19:40   
And also, i tested it on QZDoom 1.3pre-318-g590781d4a.
(0000127)
dpJudas   
2017-01-18 20:28   
Sounds like a duplicate of 0000069
(0000128)
Autz   
2017-01-18 21:08   
On the "Official" 1.2.2 doesn't happend, but on the Git builds it does.
(0000131)
_mental_   
2017-01-19 02:12   
Fixed in 9333ce1

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
69 [Gameplay + OpenGL] Bug crash always 2017-01-17 16:30 2017-01-19 02:11
Reporter: Enjay Platform:  
Assigned To: Graf Zahl OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Game locks up with map (detailed in description)
Description: Loading this mod:
http://www.mediafire.com/file/4oxecp8o56o8v5n/USCM_Arsenal_alpha01.zip

From this thread:
https://forum.zdoom.org/viewtopic.php?f=19&t=54961

Hangs the game and I have to use ctrl-alt-del to call up the task manager to force GZDoom to quit.

Does not happen in 2.3.2 official
Tags:
Steps To Reproduce: It's actually not the mod that shows the problem but the testmap included in the zip. Load it with or without the rest of the mod and the hang/crash will happen.

All you have to do is walk forward to cross the first linedef in front of the player start.
Additional Information:
Attached Files:
Notes
(0000108)
Enjay   
2017-01-17 16:31   
Sorry, forgot to say that this was with gzdoom-x64-g2.4pre-164-gc4aaeef (DRD git build from Jan 17th).
(0000109)
Enjay   
2017-01-17 17:55   
Just noticed that there is a script in this map and the problem seems to relate to it. I suspect ClearInventory.

The following is enough to cause a lock-up in any map:

#include "zcommon.acs"

script 1 (void)
{
    ClearInventory();
    GiveInventory("Fist", 1);
}
(0000115)
_mental_   
2017-01-18 09:32   
Graf, could you please check the proposed fix here ?
I don't use boolean return value to avoid possible confusion with its meaning.
(0000116)
Graf Zahl   
2017-01-18 09:55   
I chose a different fix. What you did would have clashed with scriptification of the inventory code.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
73 [Gameplay + OpenGL] Bug block have not tried 2017-01-18 21:53 2017-01-19 02:09
Reporter: Matthew the Glutton Platform:  
Assigned To: _mental_ OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [9f55094] Won't compile
Description: CMake shows this:

[code=]CMake Error at src/CMakeLists.txt:1230 (add_executable): Cannot find source file: g_inventory/a_armor.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx[/code]


Attempting to run make anyway gives:
make: *** No targets specified and no makefile found. Stop.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000130)
_mental_   
2017-01-19 02:09   
Fixed in 0376c8b

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
70 [Gameplay + OpenGL] Bug minor always 2017-01-18 06:20 2017-01-18 18:39
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Wrong loop in P_SetRenderSector
Description: In commit https://github.com/coelckers/gzdoom/commit/b9ac44e8f21a8c751b53aad7f41a44045e9bdc9e , the structure of the loop in P_SetRenderSector got changed, but one inner loop kept the same counter variable as the outer loop, leading to the outer loop to terminate unexpectedly early.

Could this have something to do with all the crashes which happened recently?
Tags:
Steps To Reproduce:
Additional Information: Noticed because GCC reported this in Release mode:


/home/edward-san/zdoom/gzdoom/trunk/src/p_glnodes.cpp: In function ‘void P_SetRenderSector()’:
/home/edward-san/zdoom/gzdoom/trunk/src/p_glnodes.cpp:1441:16: warning: assuming signed overflow does 
not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
  for (i = 0; i < numsegs; i++)
              ~~^~~~~~~~~
Attached Files:
Notes
(0000123)
Graf Zahl   
2017-01-18 18:39   
The loops shouldn't be nested at all, they need to run in sequence.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
67 [Gameplay + OpenGL] Bug minor always 2017-01-17 01:36 2017-01-17 18:45
Reporter: FishyClockwork01 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Strife] A_AlienSpectreDeath should check sigil health
Description: Right now, killing the Loremaster's spectre will always get you the "You wield the complete Sigil" message regardless how many Sigil pieces you have.
https://github.com/coelckers/gzdoom/blob/master/wadsrc/static/zscript/strife/alienspectres.txt#L169
Since 'NumPieces' no longer exists, I think the commented out part should be
&& sigl.health == 5
Tags:
Steps To Reproduce: Simply load Strife, start any map, open the console, type "summon AlienSpectre5" then "kill AlienSpectre5"
Additional Information:
Attached Files:
Notes
(0000111)
Graf Zahl   
2017-01-17 18:45   
Fixed. I must have forgotten that part after finishing the refactoring.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
60 [Gameplay + OpenGL] Bug major always 2017-01-16 11:11 2017-01-17 03:28
Reporter: Edward-san Platform: Linux  
Assigned To: _mental_ OS: Ubuntu  
Priority: normal OS Version: 16.04 x86-64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [OpenAL] No music played with deus vult 2
Description: If I load gzdoom with doom2 + dvii-1u.wad, with openal enabled, I get no music when I open the first map.
Tags:
Steps To Reproduce:
Additional Information: OpenAL version 1.16.0-3
libsndfile version 1.0.25-10
libmpg123 version 1.22.4-1

All from official Ubuntu packages.
System Description
Attached Files:
Notes
(0000097)
Graf Zahl   
2017-01-16 13:46   
This is most likely because you did not have a working MIDI device set. Without any setup OPL will be the only one that works.
(0000098)
Edward-san   
2017-01-16 14:06   
No, I cannot get music neither with OPL. I tried with all the midi devices, nothing worked. I just need to mention that with FMod it works fine.
(0000100)
_mental_   
2017-01-16 14:26   
Deus Vult II uses MP3 music so MIDI device(s) configuration doesn't matter.
However I can confirm that there is no music using OpenAL with mpg123.
I'll double check my setup of course but I'm pretty sure that all dependencies are in place.
Moreover if sound backend has been switched to OpenAL and back to FMOD Ex music is no longer present.
(0000101)
_mental_   
2017-01-16 14:40   
Most likely the problem is in our MPG123Decoder because it fails on the first frame (doesn't read it correctly in fact).
I assume that it's not urgent so I'll check it tomorrow.
(0000103)
Edward-san   
2017-01-16 16:27   
(Last edited: 2017-01-16 16:31)
It doesn't like the bytes containing 0x0 before the header (in fact it plays fine with O_MESSAG, O_DOOM2 and O_AMPIE , which look okay in the hex editor). Does it really work in Windows, too?

(0000106)
_mental_   
2017-01-17 03:28   
Fixed in c4aaeef

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
68 [Gameplay + OpenGL] Bug minor always 2017-01-17 02:17 2017-01-17 03:02
Reporter: FishyClockwork01 Platform:  
Assigned To: Edward-san OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Strife gold pickup messages broken
Description: The pickup messages for subclasses of 'Coin' seem to be broken.
Picking up 'Gold10' gets you "You picked up 1d gold."
Picking up 'Gold25' gets you "You picked up 2d gold."
And picking up 'Gold50' gets you "You picked up 5d gold."

My guess is it's Coin's PickupMessage() that's broken here.
Tags:
Steps To Reproduce: Summon Gold10 and pick it up. Repeat for Gold25 and Gold50.
Additional Information:
Attached Files:
Notes
(0000105)
Edward-san   
2017-01-17 03:00   
The 'Replace' FString action function did never work properly. Should be fixed with this pr.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
59 [Gameplay + OpenGL] Bug crash always 2017-01-16 08:11 2017-01-16 13:45
Reporter: jpalomo Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Custom Property crash on unknown class
Description: Using the new property definition available, you can cause a crash if you specify a class that doesn't exist. Example:
Class CrashTestDummy : Actor
{
    Class<Actor> NonExistentActor;
    Property TestPropterty: NonExistentActor;
    
    Default
    {
        CrashTestDummy.TestPropterty "ThisActorShouldCauseACrash"; // Needs to error with non-existent 
class, but crashes instead.
    }
}


This is most likely intended to error out instead of crash.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: noclass crash.pk3 (286 bytes) 2017-01-16 08:11
https://mantis.zdoom.org/file_download.php?file_id=17&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
22 [Software Renderer] Bug crash always 2017-01-10 07:51 2017-01-16 09:07
Reporter: Lars Platform:  
Assigned To: dpJudas OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [QZDoom] Crash when running
Description: The game crashes when running in truecolor mode
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: CrashReport.zip (23,661 bytes) 2017-01-10 07:51
https://mantis.zdoom.org/file_download.php?file_id=6&type=bug
CrashReport-2.zip (24,880 bytes) 2017-01-10 10:11
https://mantis.zdoom.org/file_download.php?file_id=9&type=bug
CrashReport-3.zip (24,440 bytes) 2017-01-10 10:23
https://mantis.zdoom.org/file_download.php?file_id=11&type=bug
Notes
(0000015)
Rachael   
2017-01-10 10:07   
Please try again with q1.3pre-148-g866ee43 after it is uploaded. The attached log version is too old to be useful to me right now.
(0000016)
Lars   
2017-01-10 10:11   
Alright! Here's the newest one, still same result
(0000017)
Lars   
2017-01-10 10:13   
Sorry I was a bit fast there, just ignore the last note!
(0000018)
Lars   
2017-01-10 10:23   
It occasionally runs now, about a every second time
(0000019)
Rachael   
2017-01-10 10:44   
(This is by request from dpJudas)

> qzdoom.exe!DrawerCommandQueue::QueueCommand<swrenderer::DrawColumnTranslatedLLVMCommand>() Line 205 C++
     qzdoom.exe!swrenderer::R_DrawMaskedColumn(int x, int iscale, FTexture * tex, int col, double spryscale, double sprtopscreen, bool sprflipvert, const short * mfloorclip, const short * mceilingclip, bool unmasked) Line 709 C++
     qzdoom.exe!DCanvas::DrawTextureParms(FTexture * img, DrawParms & parms) Line 283 C++
     qzdoom.exe!D3DFB::DrawTextureParms(FTexture * img, DrawParms & parms) Line 2824 C++
     qzdoom.exe!DCanvas::DrawText(FFont * font, int normalcolor, int x, int y, const char * string, int tag_first, ...) Line 165 C++
     qzdoom.exe!DFrameBuffer::DrawRateStuff() Line 1041 C++
     qzdoom.exe!D3DFB::Update() Line 1120 C++
     qzdoom.exe!V_DoModeSetup(int width, int height, int bits) Line 1445 C++
     qzdoom.exe!IVideo::SetResolution(int width, int height, int bits) Line 1586 C++
     qzdoom.exe!V_Init2() Line 1713 C++
     qzdoom.exe!D_DoomMain() Line 2606 C++
     qzdoom.exe!DoMain(HINSTANCE__ * hInstance) Line 1035 C++
     qzdoom.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * nothing, char * cmdline, int nCmdShow) Line 1345 C++
(0000020)
dpJudas   
2017-01-10 11:27   
Okay, fixed this (https://github.com/raa-eruanna/qzdoom/commit/4be291fb617ec8ae361e22eeb2d74ae0ab9bb6be).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
43 [Gameplay + OpenGL] Bug major always 2017-01-13 09:47 2017-01-16 01:26
Reporter: Edward-san Platform: Linux  
Assigned To: Blzut3 OS: Ubuntu  
Priority: normal OS Version: 16.04 x86-64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Dynamic library handling libraries not always added (aka 'error adding symbols: DSO missing from command line')
Description: If DYN_FLUIDSYNTH is disabled, gzdoom won't link:


/usr/bin/ld: CMakeFiles/zdoom.dir/i_module.cpp.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line


Depending on the other DYN_ options, it's possible to see the same report with other files.

The problem is that ${CMAKE_DL_LIBS} is included in the libs list only if DYN_FLUIDSYNTH is true ( src/CMakeLists.txt line 615 ).

If you change the code by moving away that code and close it in a conditional block like 'if( DYN_FLUIDSYNTH OR DYN_OPENAL OR DYN_GTK )', it should compile fine, but i_module.cpp is unconditionally defined and uses dlclose.
Tags:
Steps To Reproduce: Configure with 'cmake -DDYN_FLUIDSYNTH=OFF [path to src]' and compile.
Additional Information:
System Description
Attached Files:
Notes
(0000063)
Edward-san   
2017-01-13 11:01   
Would it be alright to include the ${CMAKE_DL_LIBS} unconditionally? How badly would this affect the program?
(0000089)
Blzut3   
2017-01-15 12:35   
Shouldn't have any side effects since as you mentioned we now have i_module unconditionally using the symbols even if they never get called. Could be patched to not be the case, but honestly libdl isn't really adding a dependency so it's not really worth keeping track of when it can be excluded. I'll take care of it.
(0000096)
Blzut3   
2017-01-16 01:26   
Fixed in changeset ae7b95fc52a7a77d49eeaefba551c9415ec5faff.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
55 [zdoom.org (Site)] Bug tweak always 2017-01-15 19:43 2017-01-15 20:37
Reporter: wildweasel Platform: Google Chrome 55.0.2883.87 m  
Assigned To: Rachael OS: Windows  
Priority: normal OS Version: 8.1 64-bit  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ZDoom Blue (v3) forum theme - attachment box color
Description: On the ZDoom Blue (v3) forum theme, the container box for attached files is searingly bright.

Example post: https://forum.zdoom.org/viewtopic.php?p=970732#p970732
Example image:
https://i.imgur.com/2bGF7aQ.png
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000094)
Rachael   
2017-01-15 20:37   
fixed

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
51 [Gameplay + OpenGL] Bug minor always 2017-01-14 21:00 2017-01-15 03:47
Reporter: Major Cooke Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Pointer issues
Description: Image

D4D.pk3
D4DResources.pk3

The pinatas from killing enemies with the chainsaw altfire just hang around instead of disappearing.

The code:




Class D4PinataBorder : Actor
{
    Default
    {
        +NOINTERACTION
        +BRIGHT
        +FORCEXYBILLBOARD
        Scale 0.3;
        DistanceCheck "user_MaxDrawDistance";
    }
    States
    {
    Spawn:
        TNT1 A 0 NoDelay
        {
            if (!master) { OnDestroy(); return ResolveState(null); }
            if (master.GetClass() == "D4PinataArmor") { return ResolveState(1); }
            if (master.GetClass() == "D4PinataHealth") { return ResolveState(2); }
            if (master is "D4Carrion") { return ResolveState(3); }
            if (master is "D4BFGAmmo") { return ResolveState(4); }
            if (master is "Ammo") { return ResolveState(3); }
            return ResolveState("Null");
        }
        PIN3 ABDH 0 A_Jump(256,"Enact");
    Enact:
        "####" "#" 1
        {
            if (!master) { OnDestroy(); return; }
            A_Warp(MasterPtr,0,0,5,0,WARPF_NOCHECKPOSITION|WARPF_INTERPOLATE|WARPF_COPYVELOCITY,"Null");
        }
        Loop;
    }
}
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000083)
Major Cooke   
2017-01-14 21:01   
Forgot to set this as 'major' instead of 'minor'.
(0000084)
Major Cooke   
2017-01-14 21:42   
...Hmmm. I think it's something to do with the recent Ammo scriptifying.
(0000085)
Major Cooke   
2017-01-14 22:06   
Okay, updated to the latest with the health changes. It happens to those too.
(0000086)
Graf Zahl   
2017-01-15 02:38   
You have to call 'Destroy' not 'OnDestroy'. 'OnDestroy' is just a callback to report that the item is about to be destroyed but does nothing itself, hence the 'On...' in the name. For technical reasons it is not possible to make 'Destroy' itself virtual because that'd badly crash an engine shutdown.
(0000087)
Edward-san   
2017-01-15 03:24   
The original problem was solved, so it could be possible to try again to make Destroy virtual...
(0000088)
Graf Zahl   
2017-01-15 03:47   
I already solved the problem by making the cleanup function something that is being called by the actual Destroy method.

This is absolutely necessary here, because Destroy can be called after the class table cleanup where a virtual scripted call will thoroughly crash the engine if not done properly and that means keeping code execution under tight control.

The original implementation was something I never liked because it depended on everybody implementing it properly, if just one intermediate class forgets to call the super method big problems would ensue. This cannot happen anymore.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
45 [zdoom.org (Site)] Bug minor always 2017-01-13 15:06 2017-01-14 13:04
Reporter: Xaser Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [MantisBT] Users cannot comment on closed issues
Description: See title.

For Eruanna, if this change is considered -- relevant snippet from the admin guide: https://mantis.zdoom.org/doc/en-US/Admin_Guide/html-single/index.html

Section 4.3.2 seems relevant. From some quick research, there's a list of statuses which auto-mark the thread "readonly", and these are configurable in "Manage > Manage Configuration > Workflow Thresholds" in admin-land.


I know some folk are not fond of discussion happening in closed suggestions, but it's really easy for devs to filter out resolved statuses and the value of closing comments cannot be understated from a user perspective (e.g. earlier I was trying to post a code snippet for Major Cooke but got thread-sniped by an issue closure because "code it yourself" -- irony. :P ).
Tags: MantisBT
Steps To Reproduce: Try and respond to a closed thread. No dice.
Additional Information:
Attached Files:
Notes
(0000070)
Rachael   
2017-01-13 15:20   
(Last edited: 2017-01-13 15:20)
See forum. https://forum.zdoom.org/viewtopic.php?p=970073&f=3#p970073

(0000073)
Xaser   
2017-01-13 17:58   
Hmm, almost there. I'm able to add a note to "resolved" issues, but not to "closed" ones.

[For the self-edit stuff, gonna post that in the other issue for topicalness' sake]
(0000078)
Rachael   
2017-01-14 11:19   
Can you try now? I think I pretty much nullified the effect of read-only entirely now.
(0000080)
Xaser   
2017-01-14 11:57   
Works! See https://mantis.zdoom.org/view.php?id=2

Thanks for the tweaking! One step closer to a well-oiled system.
(0000081)
Rachael   
2017-01-14 13:04   
One down, many more to go...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
44 [zdoom.org (Site)] Feature minor always 2017-01-13 11:21 2017-01-13 17:56
Reporter: Edward-san Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Use the 'Z' logo in mantis.zdoom.org , too
Description: Sorry, Mantis-kun, but you shouldn't be there.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000072)
Xaser   
2017-01-13 17:56   
Funny, I lost track of the Mantis tab I had open right when this change was made because it got buried next to a few forum posts. :P

[Just testing writing a response to resolved issues. Don't mind me. ;]

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
47 [Gameplay + OpenGL] Bug major always 2017-01-13 16:08 2017-01-13 16:30
Reporter: LordMisfit Platform:  
Assigned To: OS: Windows 7  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: "Sector_SetGravity" settings on individual sectors are unset when reloading a saved game.
Description: Basically maps like Happy Time Circus [both of them, and likely other maps] have areas where the gravity is set low so you can make really high jumps, so this bug will causing areas like that to become unbeatable without using noclip or fly to get to the higher ledges.
Tags: Sector_SetGravity
Steps To Reproduce: - Load gravitytest.wad [MAP01].
- The green sector is 12% normal gravity, blue sector is 25%, orange is 50% and red is 2x gravity.
- Save the game and reload the file.
- The gravity will be unset [1x] in all of the sectors that should be affected.
Additional Information: The Sector_SetGravity commands in this situation are set via ACS, not sure if there're other way to set gravity besides the ACS commands.
Attached Files: gravitytest.wad (5,718 bytes) 2017-01-13 16:08
https://mantis.zdoom.org/file_download.php?file_id=16&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
12 [Software Renderer] Bug minor always 2017-01-09 14:59 2017-01-13 09:23
Reporter: Graf Zahl Platform:  
Assigned To: dpJudas OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Software] BOOM Transfer Sky Texture, Tall Sky Bug
Description: Cross posting from ZDoom Forums: https://forum.zdoom.org/viewtopic.php?f=2&t=52271

I'm creating a map for BOOM and due to the nature of how we got the maps set up, we have to use "Transfer Sky Texture to Tagged Sectors" action (271 and 272). I dislike how ZDoom was handling the stretched sky so I 'borrowed' the sky textures from Skulltag to make a quick sky replacement for Doom. Was looking good until I looked all the way up.

If this is something that the QZDoom team can instead of fixing it in the base Source Port, I'll send this issue over to them.

Test Map
What happens
What it's suppose to look like
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000024)
dpJudas   
2017-01-10 13:06   
This is caused by a mysterious -28 offset in this line: https://github.com/coelckers/gzdoom/blob/master/src/r_plane.cpp#L1382

If it is removed, this bug goes away. I tried launching Doom and Doom 2 with this offset removed and the top of the sky texture then matches perfectly the top of the screen, which I assume is how it worked in original DOS Doom. Anyone know why such an offset is needed?
(0000027)
Graf Zahl   
2017-01-10 13:24   
That line of code, including the comment above for 'careful positioning' originates directly from MBF so this will require some careful (heh) comparison to ensure that changing it won't break compatibility with Boom maps.
(0000032)
dpJudas   
2017-01-10 14:38   
I can see that in r_sky.cpp that constant is used again, but only applied if the texture is exactly between 128 and 199 in height.

One possibility is that the constant was moved at some point and then mistakenly applied to the sky linedef case. Or it might be that it should also only be applied for the 128-199 range here.

If someone could check if some Boom maps (especially with sky textures less tall than 200 pixels) broke or not in the next nightly build of QZDoom, then that'd be really nice. (yes, I'm too lazy to check it myself ;))
(0000040)
Graf Zahl   
2017-01-11 03:15   
Boom never had tall skies, so the bug here is that an adjustment needed for 128 pixel skies is applied to all ones. This should use the same positioning logic as all the rest, of course.
(0000053)
Hellser   
2017-01-12 14:39   
Using q1.3pre-194-g1b750c1 for QZDoom, the issue has been fixed. Thanks for finally fixing this!
(0000059)
dpJudas   
2017-01-13 09:22   
You're welcome, Hellser. Going to mark this one as resolved then.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
20 [Gameplay + OpenGL] Bug crash always 2017-01-10 01:42 2017-01-13 05:03
Reporter: Matthew the Glutton Platform:  
Assigned To: Edward-san OS: Debian Jessie  
Priority: normal OS Version: 3.16.0-4-amd64  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash if quit while in possession of PowerFrightener
Description: Was issue 0000199 on the old git bugtracker. Graf's last message on that thread suggested this was a rather deep structural problem with the exit code.

As before, the crash happens with a release and a relwithdebinfo build, but not debug. I am unable to attach the crash logs for some reason.
Tags:
Steps To Reproduce: tried with 46179936ec
gzdoom -warp 01 -nomusic -noautoload
give powerfrightener;wait 1;quit
Additional Information: I was able to get a similar crash recently doing something else but I cannot remember or replicate that.
Attached Files: crashlogs.zip (11,187 bytes) 2017-01-10 01:42
https://mantis.zdoom.org/file_download.php?file_id=4&type=bug
Notes
(0000008)
Matthew the Glutton   
2017-01-10 01:42   
Trying again.
(0000009)
Matthew the Glutton   
2017-01-10 01:45   
Uh, sorry can someone move this to GZDoom? This interface is really messing me up a lot
(0000055)
Edward-san   
2017-01-13 03:40   
(Last edited: 2017-01-13 04:32)
Valgrind report:


==3834== Invalid read of size 8
==3834==    at 0xA9270F: VMFrameStack::Alloc(int) (vmframe.cpp:342)
==3834==    by 0xA92828: VMFrameStack::AllocFrame(VMScriptFunction*) (vmframe.cpp:302)
==3834==    by 0xA92C51: VMFrameStack::Call(VMFunction*, VMValue*, int, VMReturn*, int, VMException**) 
(vmframe.cpp:486)
==3834==    by 0x987F2C: CallEndEffect (a_artifacts.cpp:283)
==3834==    by 0x987F2C: APowerup::OnDestroy() (a_artifacts.cpp:297)
==3834==    by 0x7C6AEC: DObject::Destroy() (dobject.cpp:365)
==3834==    by 0x8C4EF6: AActor::DestroyAllInventory() (p_mobj.cpp:949)
==3834==    by 0x8D7438: AActor::OnDestroy() (p_mobj.cpp:4929)
==3834==    by 0x7C6AEC: DObject::Destroy() (dobject.cpp:365)
==3834==    by 0x7DA50C: DestroyThinkersInList (dthinker.cpp:447)
==3834==    by 0x7DA50C: DThinker::DestroyAllThinkers() (dthinker.cpp:426)
==3834==    by 0x8F1A38: P_FreeLevelData() (p_setup.cpp:3430)
==3834==    by 0x8F213F: P_Shutdown() (p_setup.cpp:4188)
==3834==    by 0x54F2D1: call_terms() (i_main.cpp:127)
==3834==  Address 0xe6cba90 is 16 bytes inside a block of size 4,096 free'd
==3834==    at 0x4C2F74B: operator delete[](void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

==3834==    by 0xA92B57: VMFrameStack::~VMFrameStack() (vmframe.cpp:273)
==3834==    by 0x73C95FE: __call_tls_dtors (cxa_thread_atexit_impl.c:155)
==3834==    by 0x73C8F26: __run_exit_handlers (exit.c:40)
==3834==    by 0x73C9044: exit (exit.c:104)
==3834==    by 0x554B4F: ST_Endoom() (st_start.cpp:353)
==3834==    by 0x616BC4: DQuitMenu::HandleResult(bool) (messagebox.cpp:416)
==3834==    by 0x616710: DMessageBoxMenu::Responder(event_t*) (messagebox.cpp:250)
==3834==    by 0x60933A: M_Responder(event_t*) (menu.cpp:540)
==3834==    by 0x7A592F: D_ProcessEvents() (d_main.cpp:287)
==3834==    by 0x7AE6A9: NetUpdate() (d_net.cpp:980)
==3834==    by 0x7B0AE9: TryRunTics() (d_net.cpp:1835)
==3834==  Block was alloc'd at
==3834==    at 0x4C2E80F: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

==3834==    by 0xA92764: VMFrameStack::Alloc(int) (vmframe.cpp:363)
==3834==    by 0xA92828: VMFrameStack::AllocFrame(VMScriptFunction*) (vmframe.cpp:302)
==3834==    by 0xA92C51: VMFrameStack::Call(VMFunction*, VMValue*, int, VMReturn*, int, VMException**) 
(vmframe.cpp:486)
==3834==    by 0x996124: AWeapon::GetUpState() (a_weapons.cpp:853)
==3834==    by 0x8DAFFC: P_BringUpWeapon(player_t*) (p_pspr.cpp:506)
==3834==    by 0x8D57A1: P_SpawnPlayer(FPlayerStart*, int, int) (p_mobj.cpp:5189)
==3834==    by 0x8D659E: P_SpawnMapThing(FMapThing*, int) (p_mobj.cpp:5453)
==3834==    by 0x8EF615: SpawnMapThing (p_setup.cpp:1648)
==3834==    by 0x8EF615: P_SpawnThings(int) (p_setup.cpp:1851)
==3834==    by 0x8F6B9E: P_SetupLevel(char const*, int) (p_setup.cpp:4011)
==3834==    by 0x7F06A8: G_DoLoadLevel(int, bool) (g_level.cpp:1008)
==3834==    by 0x7AA824: D_DoomMain() (d_main.cpp:2646)
==3834== 


So yeah, GCC -O3 changes the dtor order.

Unless somebody can investigate it better, the workaround is using clang in place of GCC.

[edit] No, actually also the debug mode executes the dtor in that order. I'm starting to suspect that VMFrameStack::~VMFrameStack is miscompiled. The reason is that in VMFrameStack::Alloc Blocks isn't NULL when it should be when everything is going to be destroyed.

(0000056)
Edward-san   
2017-01-13 04:44   
I managed to fix with https://github.com/coelckers/gzdoom/pull/214 . Not sure to know why GCC did that miscompilation...
(0000057)
Graf Zahl   
2017-01-13 05:03   
Good to see that it was a compiler error. It really had me stumped and I was already thinking there was an actual problem with the engine shutdown procedure.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
39 [Gameplay + OpenGL] Bug crash always 2017-01-11 22:03 2017-01-12 08:28
Reporter: Major Cooke Platform:  
Assigned To: _mental_ OS:  
Priority: high OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PartnerSegs crash. Again.
Description: Download the beta here: https://www.doomworld.com/vb/wads-mods/91319-newgothic-movement-2-public-beta/

Load map05. Crashes immediately.

in p_glnodes.cpp:
[code=C++] for (i = 0; i < numsegs; i++) { if (segs[i].PartnerSeg != nullptr && segs[i].PartnerSeg->PartnerSeg != &segs[i]) { segs[i].PartnerSeg = nullptr; } }[/code]
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000049)
Major Cooke   
2017-01-12 07:20   
This still crashes even after updating.
(0000052)
_mental_   
2017-01-12 08:28   
Fixed in de6a668

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
35 [zdoom.org (Site)] Bug minor have not tried 2017-01-11 13:04 2017-01-11 21:50
Reporter: Rachael Platform:  
Assigned To: Marisa OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [MantisBT] Fix HTTPS support
Description: Needs a new self-signed certificate.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000048)
Marisa   
2017-01-11 21:50   
The domain mantis.zdoom.org has been added to the certificate.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
34 [zdoom.org (Site)] Bug minor have not tried 2017-01-11 13:00 2017-01-11 17:58
Reporter: Rachael Platform:  
Assigned To: Rachael OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: [Forum] zdoom_blue style - reverse hover colors
Description: Make hovering over subforums/topics show more contrast, not less.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000046)
Rachael   
2017-01-11 17:58   
Tormentor resolved most of the problems with this style. https://github.com/raa-eruanna/zdoom-styles/commits/d461d3035c5cee7990695b519e957d5d02d036d6

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
27 [Gameplay + OpenGL] Bug crash always 2017-01-10 17:26 2017-01-11 05:45
Reporter: Edward-san Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 'null seg->PartnerSeg->sidedef' crash with deus vult 2
Description: Load DVII-1u.wad map19 or map20. It'll crash right during the map loading.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: gzdoom-crash.log (21,263 bytes) 2017-01-10 17:33
https://mantis.zdoom.org/file_download.php?file_id=13&type=bug
Notes
(0000037)
Graf Zahl   
2017-01-10 18:35   
Thanks for making it needlessly hard for me to fix this. The least you could have done was post the source line where it crashes. :(
(0000038)
Edward-san   
2017-01-10 19:13   
But it's written in the crash log! :(
(0000039)
Major Cooke   
2017-01-10 22:17   
He means taking a screenshot of the stack trace.
(0000041)
_mental_   
2017-01-11 03:28   
(Last edited: 2017-01-11 03:29)
Crash at p_glnodes.cpp:1491:
if(seg->sidedef && (seg->PartnerSeg == nullptr || seg->sidedef->sector!=seg->PartnerSeg->sidedef->sector))

seg->PartnerSeg is valid but its sidedef is nullptr.

It's related to this commit, the same seg->PartnerSeg was nullptr when I tried to reproduce the crash with it.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
5 [Gameplay + OpenGL] Feature feature have not tried 2017-01-09 14:51 2017-01-10 14:32
Reporter: Graf Zahl Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: DamageMobj virtual function
Description: For actors, it calls their version of DamageMobj that can be overridden.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
13 [Gameplay + OpenGL] Feature feature have not tried 2017-01-09 15:00 2017-01-10 13:50
Reporter: Graf Zahl Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: RandomSpawner "PostSpawn" Virtual Function
Description: Called just after the spawning of the actor, allowing for modders to gain access to the spawned actor. Useful for things like transferring different pointers.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000026)
Graf Zahl   
2017-01-10 13:15   
Feature added.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
19 [Gameplay + OpenGL] Feature feature N/A 2017-01-09 18:03 2017-01-10 13:49
Reporter: Lud Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A_CustomRailgun customizable fire delay
Description: I reported this in GitHub a few days ago and Graf mentioned that it's possible.

What I possibly need it for: using A_CustomRailgun to make lighting-like attacks that shoot down missiles. Currently, the railgun fires behind the projectile if it is not flying directly at the source of the attack.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000025)
Graf Zahl   
2017-01-10 13:08   
added as a new parameter to A_CustomRailgun.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
9 [Gameplay + OpenGL] Feature feature have not tried 2017-01-09 14:56 2017-01-10 13:48
Reporter: Graf Zahl Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: NOWARNING Powerup Flag
Description: Disables the rapid blinking warning for when a powerup is about to expire. Useful for whenever people want to implement their own type of warning.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000022)
Graf Zahl   
2017-01-10 12:58   
added as IF_NOSCREENBLINK

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
21 [Gameplay + OpenGL] Bug crash always 2017-01-10 04:42 2017-01-10 09:42
Reporter: AkiraZXE Platform:  
Assigned To: _mental_ OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: (As of 2.4 pre-68) dead.air beta v2 crashes on map load
Description: dead.air (http://forum.zdoom.org/viewtopic.php?f=42&t=54708) crashes when loading either the titlemap or map01. This only happens on the most recent version, dead.air worked as of 2.4 pre-53. Also, the crash report prompt only appears in the 64-bit version. The 32-bit version crashes with no prompt. It happens with no preloads, including lights.pk3 and brightmap.pk3, and it happens in both hardware and software mode.
Tags:
Steps To Reproduce: Attempt to load dead.air and off you go.
Additional Information:
Attached Files: CrashReport.zip (19,781 bytes) 2017-01-10 04:42
https://mantis.zdoom.org/file_download.php?file_id=5&type=bug
Notes
(0000010)
Graf Zahl   
2017-01-10 06:41   
How about 2.4pre75? I suspect something that got fixed yesterday evening but I am not able to test right now.
(0000011)
_mental_   
2017-01-10 07:32   
Nope, here is the callstack:
''
vertex_t::fX(this=0x0000000000000038) const + 12 at r_defs.h:116
CheckForMissingSegs() + 195 at p_glnodes.cpp:145
P_CheckForGLNodes() + 239 at p_glnodes.cpp:197
P_CheckNodes(map=0x00006180001c4b00, rebuilt=false, buildtime=0) + 49 at p_glnodes.cpp:973
P_SetupLevel(lumpname="TITLEMAP", position=0) + 5837 at p_setup.cpp:3960
G_DoLoadLevel(position=0, autosave=false) + 1060 at g_level.cpp:1008
G_InitNew(mapname="TITLEMAP", bTitleLevel=true) + 1526 at g_level.cpp:543
D_DoAdvanceDemo() + 180 at d_main.cpp:1255
TryRunTics() + 1062 at d_net.cpp:1941
D_DoomLoop() + 638 at d_main.cpp:1017
D_DoomMain() + 6756 at d_main.cpp:2678
''
seg->v1 is nullptr at p_glnodes.cpp:145
(0000013)
_mental_   
2017-01-10 09:17   
Fixed in https://github.com/coelckers/gzdoom/commit/d9efeb206d872e4c5c958e3ba12c1a656fb8f5ae

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
3 [zdoom.org (Site)] Bug minor have not tried 2017-01-09 09:32 2017-01-09 20:52
Reporter: Major Cooke Platform:  
Assigned To: Rachael OS:  
Priority: none OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Code test
Description:
if (orange)
{
     banana = apple + apple;
}
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000002)
Rachael   
2017-01-09 10:09   
Not sure what to do with this, really. We'll find something - or we may just have to look at the MantisBT manual for it.
(0000007)
Rachael   
2017-01-09 20:52   
Just paste your code in.

  for example like this

all the spacing is preserved just fine.