MantisBT - Zandronum
View Issue Details
0001987Zandronum[All Projects] Bugpublic2014-11-03 17:332014-11-19 15:09
arkore 
 
highmajoralways
closedno change required 
2.0-beta 
 
0001987: Bosses have infinite health.
In Bosses from Hell, the bosses now have infinite health.
Attack any boss, and notice that the health does not decrease.
After further investigation, the cause of this bug is when using SetActorProperty() for "APROP_DamageFactor" with a non-fixed value. In Zan2.0, a non-fixed value will now result in the actor becoming immune(same behaviour as if a setting of 0 was used (according to the docs:'http://zdoom.org/wiki/Actor_properties#DamageFactor [^]'))

See attached test wad (switch #1 for broken Cyberdemon, switch 0000002 for normal Cyberdemon). Open in DoomBuilder to see the ACS.

This bug does not occur in zdoom 2.3.1, but does occur in zdoom 2.4. As well, this bug does not occur in zan 1.2, 1.3, but does occur in ZandroDev2.0-131223-1820 and above.

---

Although using a non-fixed value is at fault, the fact that Zan1.2, and 1.3 is at fault as well. Either we require mods to be fixed, or we have Zan2.0 carry over this fault from previous versions.
No tags attached.
? test-damagefactor.wad (10,519) 2014-11-03 17:33
/tracker/file_download.php?file_id=1322&type=bug
Issue History
2014-11-03 17:33arkoreNew Issue
2014-11-03 17:33arkoreFile Added: test-damagefactor.wad
2014-11-03 19:50Torr SamahoNote Added: 0010816
2014-11-04 02:49arkoreNote Added: 0010823
2014-11-18 15:26WatermelonNote Added: 0010901
2014-11-18 15:26WatermelonStatusnew => feedback
2014-11-18 16:49arkoreNote Added: 0010903
2014-11-18 16:49arkoreStatusfeedback => new
2014-11-18 17:59Edward-sanNote Added: 0010904
2014-11-18 20:28arkoreNote Added: 0010906
2014-11-18 22:10Edward-sanNote Added: 0010907
2014-11-19 15:00DuskNote Added: 0010909
2014-11-19 15:03DuskNote Edited: 0010909bug_revision_view_page.php?bugnote_id=10909#r5983
2014-11-19 15:09DuskNote Edited: 0010909bug_revision_view_page.php?bugnote_id=10909#r5984
2014-11-19 15:09DuskStatusnew => closed
2014-11-19 15:09DuskResolutionopen => no change required

Notes
(0010816)
Torr Samaho   
2014-11-03 19:50   
So Zandronum 2.0 behaves exactly like recent ZDoom versions in this regard?
(0010823)
arkore   
2014-11-04 02:49   
Yes, except zdoom 2.3.1.
(0010901)
Watermelon   
2014-11-18 15:26   
Since you said this occurs in ZDoom 2.4 onwards, does it get fixed in 2.6? 2.7? Or never?
(0010903)
arkore   
2014-11-18 16:49   
Confirmed. No, it does not get fixed in those versions, or ever.
(0010904)
Edward-san   
2014-11-18 17:59   
Can you confirm it does not work on the last zdoom beta from'http://devbuilds.drdteam.org/zdoom/ [^]' (ignore the x64 build for now)?
(0010906)
arkore   
2014-11-18 20:28   
Confirmed.
(0010907)
Edward-san   
2014-11-18 22:10   
Can you report at the zdoom bugs forum?
(0010909)
Dusk   
2014-11-19 15:00   
(edited on: 2014-11-19 15:09)
To me this sounds like ZDoom introduced another breaking change in 2.4/2.5 (the other being GetCVar returning fixed point with float-cvars). I don't think there's much we can do here..

EDIT: Actually, Zandronum 1.4 doesn't even have APROP_DamageFactor to begin with. So how come it works prior to 2.0?

EDIT 2: Confirmed for wad error. Nothing to do here.