MantisBT - Zandronum
View Issue Details
0002956Zandronum[All Projects] Bugpublic2016-12-10 13:242018-12-10 14:45
Lance 
 
normalmajoralways
newopen 
 
 
0002956: A_Wander online desync
A_Wander causes a lot of jittery movement and warping, especially when compared to A_Chase, I'm not sure if this is because of an actual desync, or an error in the movement interpolation. On a side note, when A_Wander is first called, the actor will walk in place for a few seconds. This has been reproduced in 3.0 r161030-2038
No tags attached.
? wandering doom.wad (15,852) 2016-12-10 14:20
/tracker/file_download.php?file_id=1987&type=bug
Issue History
2016-12-10 13:24LanceNew Issue
2016-12-10 13:42WaTaKiDNote Added: 0016456
2016-12-10 14:20LanceFile Added: wandering doom.wad
2016-12-10 14:26LanceNote Added: 0016460
2016-12-12 00:37FilysteaNote Added: 0016473
2016-12-12 14:01LanceNote Added: 0016478
2018-12-10 14:43hyadesNote Added: 0020239
2018-12-10 14:45hyadesNote Edited: 0020239bug_revision_view_page.php?bugnote_id=20239#r12298

Notes
(0016456)
WaTaKiD   
2016-12-10 13:42   
please provide an example wad
(0016460)
Lance   
2016-12-10 14:26   
Provided an example wad. All monster defintions are from ZDoom wiki, with all instances of A_Chase insisted with A_Wander. On a side note, this occurred when testing a mod of mine online with a friend, and I used A_Wander for a subsitute of A_Chase to compensate for the same functionality, but without the missile chance. He claims that he shot an enemy 3 times, and all his shots went through him. I believed him since I was coop-spying him and the enemy was moving erratically and warping. This was with hitscan, however, we haven't tested it with projectiles
(0016473)
Filystea   
2016-12-12 00:37   
I use a lot A_Wander (half monster use it) in my mod from stable version till ZandroDev3.0-161030-2038linux-x86_64.

Linux zandronum 4.8.0-2-amd64 #1 SMP Debian 4.8.11-1 (2016-12-02) x86_64 GNU/Linux


Never had single problem with this.

Check your code 10x, probably some other thing cause this.
(0016478)
Lance   
2016-12-12 14:01   
Understood, but I'm certain of the desync after many tests online and offline. I've provided an example wad where all occurrences of A_Chase has been replaced with A_Wander. Since ZDoom intended A_Wander to function the same as A_Chase, putting it in place of base ZDoom code would be a perfect way to demonstrate proper use of the function
(0020239)
hyades   
2018-12-10 14:43   
(edited on: 2018-12-10 14:45)
I support this case. I dont know about problems with regular A_Wander, but I want to notice that using A_Wander through in items does not move the actor at the clientside, but moves it at the serverside, so the actor is "teleporting".