MantisBT - Zandronum
View Issue Details
0003050Zandronum[All Projects] Bugpublic2017-04-09 13:062020-11-29 20:31
Korshun 
Dusk 
normalmajoralways
needs testingopen 
MicrosoftWindowsXP/Vista/7
2.1 
 
0003050: Actor health above 32767 is incorrectly transmitted to clients and causes weapon sprite desync for players
Actor healths are apparently transmitted to clients as 16-bit signed integers, just like tids and inventory item counts were in 2.1.2.

Setting it to a value above 32767 may cause clients to think it's negative and desync weapon sprite while keeping the game playable.

This bug happens in both 2.1.2 and 3.0


1) load the attached wad which sets player health to 100000
2) note that the client thinks health is negative and breaks weapon sprite
No tags attached.
? hpdesync.wad (349) 2017-04-09 13:06
https://zandronum.com/tracker/file_download.php?file_id=2057&type=bug
Issue History
2017-04-09 13:06KorshunNew Issue
2017-04-09 13:06KorshunFile Added: hpdesync.wad
2017-04-09 13:55WaTaKiDProduct Version3.0-beta => 2.1
2019-06-03 12:51IvanNote Added: 0020714
2019-06-04 18:43DuskNote Added: 0020718
2019-06-04 18:43DuskAssigned To => Dusk
2019-06-04 18:43DuskStatusnew => acknowledged
2020-11-29 20:31Torr SamahoNote Added: 0021571
2020-11-29 20:31Torr SamahoStatusacknowledged => needs testing

Notes
(0020714)
Ivan   
2019-06-03 12:51   
Anything planned to be done about this?
(0020718)
Dusk   
2019-06-04 18:43   
I'll have to take a look into this.
(0021571)
Torr Samaho   
2020-11-29 20:31   
I added Kaminski's patch for this.