MantisBT - Zandronum
View Issue Details
0003103Zandronum[All Projects] Bugpublic2017-04-28 17:522018-11-25 15:12
Filystea 
 
lowminoralways
newopen 
2.1 
 
0003103: Wound health probably broken
This was happening in 2.1.2 and till newest beta. I ignored it since I thought I have some broken decorate code. Well today I decided to change it a bit and it's not decorate code bug it is zandro imho broken here.

What seems to be happening is that you can't leave wound state unless you stop moving.

If you consider this is a bug ( maybe this is how it is supposed to work ) I will make you a wad example.
I have in my mode this:

Enter wound state below 40 hp and regenerate 1 health after some tics.
If i keep running I will heal to like for example 47 hp not 40. When I stop it seems I actually leave the wound state and than I stop healing.
ZandroDev3.0-170416-0710linux-x86_64

uname -a
Linux huenix 4.9.22 #1-NixOS SMP Wed Apr 12 10:41:42 UTC 2017 x86_64 GNU/Linux

nixos-version
17.03.994.67c6638b08 (Gorilla)
No tags attached.
? testw.pk3 (1,215) 2017-04-30 07:23
/tracker/file_download.php?file_id=2088&type=bug
Issue History
2017-04-28 17:52FilysteaNew Issue
2017-04-28 17:54FilysteaNote Added: 0017386
2017-04-29 10:43Torr SamahoProduct Version => 2.1
2017-04-29 10:43Torr SamahoDescription Updatedbug_revision_view_page.php?rev_id=10447#r10447
2017-04-29 10:44Torr SamahoNote Added: 0017396
2017-04-29 10:44Torr SamahoStatusnew => feedback
2017-04-30 07:23FilysteaFile Added: testw.pk3
2017-04-30 07:30FilysteaNote Added: 0017434
2017-04-30 07:30FilysteaStatusfeedback => new
2017-04-30 07:30FilysteaNote Edited: 0017434bug_revision_view_page.php?bugnote_id=17434#r10476
2017-04-30 20:22Edward-sanNote Added: 0017471
2017-04-30 23:53FilysteaNote Added: 0017476
2018-11-25 15:12FilysteaNote Added: 0020185

Notes
(0017386)
Filystea   
2017-04-28 17:54   
This:

"This was happening in 2.1.2 and till newest beta. I ignore it since I thought I have some broken decorate code. Well today I decided to change it a bit and it is broken."

Should be:

"This was happening in 2.1.2 and till newest beta. I ignored it since I thought I have some broken decorate code. Well today I decided to change it a bit and it's not decorate code bug it is zandro imho broken here."
(0017396)
Torr Samaho   
2017-04-29 10:44   
Is this any different in GZDoom 1.8.6? If not, is it different in the latest GZDoom version?
(0017434)
Filystea   
2017-04-30 07:30   
I uploaded example. Unfortunately i could not find linux binary of gzdoom 1.8.6. I can compile but it's not in the sources list. Pick one you are interested in
'https://gzdoom.drdteam.org/archive/src/ [^]' and I will compile it and test it.
Linux binary is not prefered since on nixos i need to refer to tricks to start such one. Tho it's not a problem. If you find 1.8.6 binary I will test on it.

Anyway example I uploaded did fail on newest gzdoom and newest zandronum compiled from source. ( downloaded yesterday so I woulds say fresh ).

There are two bugs that show up. One is new one.
You start with 20 hp and you do not enter wound state you enter it after you get hit. So You won't start regenerating until hit. Secondly to leave wound state you need to stop moving. Else you will keep regenerating.

In my example you get one hp per wound state loop. I would expect to leave the state after reached enought hp.

(0017471)
Edward-san   
2017-04-30 20:22   
Quote
Unfortunately i could not find linux binary of gzdoom 1.8.6. I can compile but it's not in the sources list. Pick one you are interested in
'https://gzdoom.drdteam.org/archive/src/ [^]' [^] and I will compile it and test it.
Linux binary is not prefered since on nixos i need to refer to tricks to start such one. Tho it's not a problem. If you find 1.8.6 binary I will test on it.


Doesn't this do what you need? The link is present in the Rules page.
(0017476)
Filystea   
2017-04-30 23:53   
Got it thx.

Checked now on gzdoom 1.8.6 the wound state seem to not work in sens it's not even entered. Like it is not existing,
(0020185)
Filystea   
2018-11-25 15:12   
This still does not work.