MantisBT - Zandronum
View Issue Details
0003161Zandronum[All Projects] Bugpublic2017-06-20 14:082024-03-01 16:33
Korshun 
 
lowmajoralways
closedno change required 
2.1 
 
0003161: Weapons with custom attack buttons not implemented using A_WeaponReady cause desyncs
Zandronum 2.1.2 didn't support BT_RELOAD and BT_USERx in A_WeaponReady, making weapon mods implement custom attack buttons using inventory items.

But pressing both such a custom attack button and a normal attack button in quick succession causes a weapon desync.

Brutal Doom and other mods that implement custom attack buttons this way are affected.
1. Load the example wad
2. Bind +Mymod_reload to something
3. Try pressing both fire and +Mymod_reload at the same time until a desync happens. This is how it happens in real games. You can also use the "desync" alias to reproduce it instantly.

No tags attached.
? desyncreload.wad (42,273) 2017-06-20 14:08
/tracker/file_download.php?file_id=2127&type=bug
Issue History
2017-06-20 14:08KorshunNew Issue
2017-06-20 14:08KorshunFile Added: desyncreload.wad
2017-06-21 12:30KorshunNote Added: 0017864
2017-06-25 14:21Torr SamahoProduct Version3.0-beta => 2.1
2017-06-25 14:22Torr SamahoNote Added: 0017913
2024-03-01 16:33Ru5tK1ngNote Added: 0023174
2024-03-01 16:33Ru5tK1ngStatusnew => closed
2024-03-01 16:33Ru5tK1ngResolutionopen => no change required

Notes
(0017864)
Korshun   
2017-06-21 12:30   
Actually, it should say "Product Version: 2.1.2", as it happens in 2.1.2 too, and in 1.0.
(0017913)
Torr Samaho   
2017-06-25 14:22   
I updated the project version accordingly.
(0023174)
Ru5tK1ng   
2024-03-01 16:33   
3.0 supports RELOAD so hacks like these aren't required anymore. There's already a ticket for backporting of BT_USERx so this will be closed.