QW-Group / ezquake-source

main ezQuake source code base
https://www.ezquake.com/
GNU General Public License v2.0
270 stars 123 forks source link

BUG: If someone grabs quad in same mvd frame they die, pickup is not detected #519

Open meag opened 3 years ago

meag commented 3 years ago

ezQuake version: All (up to 3.6-alpha7)

Describe the bug Between mvd frames, the player grabs quad but also dies. mvd stats code to detect pickups only runs for live players, so pickup isn't detected, client-side game stats etc incorrect.

To Reproduce Attached .mvd ztn.zip First quad pickup not detected

Expected behavior All item pickups should be detected using KTX notifications if they are available (they are in example demo) Attempt should also be made for older demos by checking newly-dead players for powerups/armors

hemostx commented 3 years ago

Quad & ring pickups should be detected using KTX notifications if they are available We didn't quite get to notice it as blatanly in that demo, but could this also happen with any item besides powerups? There are stats for armours and weapons which could get misrepresented too.

meag commented 3 years ago

You're right hemo - I said powerups/armors in the next line but really everything should go through KTX notifications if they're active.