MantisBT - Zandronum
View Issue Details
0000944Zandronum[All Projects] Bugpublic2012-07-31 16:252015-07-25 01:11
Qent 
Dusk 
normalminorsometimes
confirmedopen 
MicrosoftWindowsXP/Vista/7
98d 
 
0000944: RevenantTracers do not home/smoke consistently online
Offline, RevenantTracers smoke if they're the homing variety, and don't if they're not. Online, they're randomly mismatched. It would be useful in co-op/survival to see correct behavior online.
No tags attached.
? revenantfix_v1.pk3 (938) 2012-09-11 16:39
https://zandronum.com/tracker/file_download.php?file_id=707&type=bug
? test_revenant.wad (4,002) 2012-09-11 16:39
https://zandronum.com/tracker/file_download.php?file_id=708&type=bug
Issue History
2012-07-31 16:25QentNew Issue
2012-07-31 17:27IvanNote Added: 0004160
2012-07-31 18:34Edward-sanNote Added: 0004162
2012-07-31 19:05QentNote Added: 0004163
2012-07-31 20:19DuskNote Added: 0004170
2012-07-31 20:19DuskAssigned To => Dusk
2012-07-31 20:19DuskStatusnew => assigned
2012-07-31 20:20Edward-sanNote Edited: 0004162bug_revision_view_page.php?bugnote_id=4162#r2282
2012-07-31 20:22DuskNote Edited: 0004170bug_revision_view_page.php?bugnote_id=4170#r2284
2012-07-31 20:24DuskNote Edited: 0004170bug_revision_view_page.php?bugnote_id=4170#r2285
2012-07-31 20:24DuskNote Edited: 0004170bug_revision_view_page.php?bugnote_id=4170#r2286
2012-07-31 20:25DuskNote Edited: 0004170bug_revision_view_page.php?bugnote_id=4170#r2287
2012-07-31 20:33DuskNote Edited: 0004170bug_revision_view_page.php?bugnote_id=4170#r2288
2012-07-31 20:41QentNote Added: 0004173
2012-09-11 16:39QentFile Added: revenantfix_v1.pk3
2012-09-11 16:39QentFile Added: test_revenant.wad
2012-09-11 16:40QentNote Edited: 0004173bug_revision_view_page.php?bugnote_id=4173#r2506
2013-09-27 10:39DuskStatusassigned => confirmed

Notes
(0004160)
Ivan   
2012-07-31 17:27   
Yes I can confirm that this happens quite often and I think it has to do with packet loss or high ping. I experience this quite a lot in Vicious Pariah's servers as I ping 150+ there. This is also a very ancient bug.
(0004162)
Edward-san   
2012-07-31 18:34   
(edited on: 2012-07-31 20:20)
IIRC also DOOM2.EXE had the same issue, obviously online.

(0004163)
Qent   
2012-07-31 19:05   
Vanilla had this issue online or offline?
(0004170)
Dusk   
2012-07-31 20:19   
(edited on: 2012-07-31 20:33)
A_Tracer checks level.time & 3, if result is 0 the missile homes in. Revenant missiles call this every 2 tics - thus a revmissile calls A_Tracer every odd tic or every even tic.

Missiles with odd tics always result in 1 and 3 alternatingly on the level.time & 3 check, missiles with even tics result in 0 and 2. Thus only missiles with even tics actually home on the player.

I believe lag causes this to screw up because the missiles spawn ??? tics later on the client end, thus missiles meant to home can actually get odd tics. The client does the puff spawning part in A_Tracer, server handles the movement. Thus, the puff desync.

Lessee about this one..

(0004173)
Qent   
2012-07-31 20:41   
(edited on: 2012-09-11 16:40)
If it's difficult, then there's an easy DECORATE fix: just have revenants randomly fire either an always-homing or always-dumbfire missile. But then only servers with the addon will see proper behavior online.

I've uploaded a sample DECORATE fix and a test WAD with a revenant.