MantisBT - Zandronum
View Issue Details
0003050Zandronum[All Projects] Bugpublic2017-04-09 13:062022-10-14 01:44
Korshun 
Dusk 
normalmajoralways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
2.1 
3.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
2022-10-14 01:43WaTaKiDNote Added: 0022443
2022-10-14 01:44WaTaKiDStatusneeds testing => resolved
2022-10-14 01:44WaTaKiDResolutionopen => fixed
2022-10-14 01:44WaTaKiDFixed in Version => 3.1

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.
(0022443)
WaTaKiD   
2022-10-14 01:43   
'https://hg.osdn.net/view/zandronum/zandronum-stable/rev/4a8b819263ca [^]' was added and ive found the example wad to work fine with quick tests on windows and tspg linux servers

marking as resolved