MantisBT - Zandronum
View Issue Details
0003312Zandronum[All Projects] Bugpublic2017-10-24 02:472018-09-11 19:19
Ivan 
Edward-san 
normalminoralways
resolvedfixed 
3.0 
3.13.1 
0003312: Major desync with "A_JumpIfTargetInsideMeleeRange"
Here's a little monster that will switch to melee if target comes close during missile state. The monster desyncs horribly when the "A_JumpIfTargetInsideMeleeRange" function is used, but not with A_JumpIfCloser.

A_JumpIfCloser will also desync, but not as bad. Example wad below.
- Summon Legionnaire
- Run up to it while it's attacking with doom imp balls.
- Now change the code with "A_JumpIfCloser" to use "A_JumpIfTargetInsideMeleeRange".
- Repeat.
No tags attached.
? zandesync.pk3 (225,846) 2017-10-24 02:47
/tracker/file_download.php?file_id=2224&type=bug
Issue History
2017-10-24 02:47IvanNew Issue
2017-10-24 02:47IvanFile Added: zandesync.pk3
2017-10-29 21:03DuskStatusnew => confirmed
2017-10-29 21:03DuskNote Added: 0018666
2017-10-29 21:03DuskTarget Version => 3.1
2017-10-29 21:17FilysteaNote Added: 0018668
2017-11-14 12:33Edward-sanNote Added: 0018882
2017-11-14 12:33Edward-sanAssigned To => Edward-san
2017-11-14 12:33Edward-sanStatusconfirmed => feedback
2017-11-26 20:24Torr SamahoNote Added: 0018921
2017-11-26 20:24Torr SamahoStatusfeedback => needs testing
2018-09-11 19:19unknownnaNote Added: 0019508
2018-09-11 19:19unknownnaStatusneeds testing => resolved
2018-09-11 19:19unknownnaResolutionopen => fixed
2018-09-11 19:19unknownnaFixed in Version => 3.1

Notes
(0018666)
Dusk   
2017-10-29 21:03   
Quote from Torr Samaho

Looks like A_JumpIfTargetInsideMeleeRange is simply missing net handling. The clients don't know the target, so the server hast to take care of this.
(0018668)
Filystea   
2017-10-29 21:17   
Works in my mod perfectly. Never single problem with it.
(0018882)
Edward-san   
2017-11-14 12:33   
This changeset should fix the issue (fixes also A_JumpIfTargetOutsideMeleeRange, which is symmetric). Please check if this works.
(0018921)
Torr Samaho   
2017-11-26 20:24   
I added your patch.
(0019508)
unknownna   
2018-09-11 19:19   
It works properly in 3.1 now compared to 3.0. Also tested with A_JumpIfTargetOutsideMeleeRange.