MantisBT - Zandronum
View Issue Details
0001423Zandronum[All Projects] Bugpublic2013-07-21 19:062018-09-30 22:55
someoneelse 
Torr Samaho 
normalminorsometimes
closedfixed 
1.1.1 
1.42.0 
0001423: Jumping monsters in coop
I've hosted a coop twice lately, once with 1.1 and once with 1.1.1, and every time there was a peculiar bug, once in custom map, once in Doom II map30.
Monsters were "jumping" (moving up and down, without moving in x/y axis) frantically (in map30 it was a Revenant which fell down from platform over IoS IIRC) and shooting them wasn't working, it was some heavier bigger-area weapon that managed to kill them. I guess it could be lag, but none of us experienced lag, server was on my computer, and the other person seen the same when I asked him to spycam me.
If anyone else experienced this, I can do some testing with demo recording enabled...
No tags attached.
related to 0001074closed Torr Samaho Monsters spawned by BossEye use the wrong z position online 
has duplicate 0001500closed  Monsters desync near ledges in online play 
related to 0002299confirmed  Another monster z desync issue: This time when walking on SOLID things 
? 2013.07.21_23.21.48_arena.cld (358,522) 2013-07-21 21:25
/tracker/file_download.php?file_id=1023&type=bug
? jumping monsters.wad (3,153) 2013-07-23 07:01
/tracker/file_download.php?file_id=1024&type=bug
? jumping_monsters_02.wad (4,602) 2014-07-24 08:44
/tracker/file_download.php?file_id=1272&type=bug
? 2014.10.04_18.55.23_doom2.cld (51,652) 2014-10-05 20:16
/tracker/file_download.php?file_id=1303&type=bug
Issue History
2013-07-21 19:06someoneelseNew Issue
2013-07-21 19:58Torr SamahoNote Added: 0006740
2013-07-21 19:59Torr SamahoStatusnew => feedback
2013-07-21 21:25someoneelseFile Added: 2013.07.21_23.21.48_arena.cld
2013-07-21 21:29someoneelseNote Added: 0006743
2013-07-21 21:29someoneelseStatusfeedback => new
2013-07-21 21:35someoneelseNote Edited: 0006743bug_revision_view_page.php?bugnote_id=6743#r3753
2013-07-22 18:51Torr SamahoNote Added: 0006751
2013-07-22 19:07Torr SamahoStatusnew => feedback
2013-07-22 20:40someoneelseNote Added: 0006754
2013-07-22 20:40someoneelseStatusfeedback => new
2013-07-23 07:01AlienFile Added: jumping monsters.wad
2013-07-23 07:05AlienNote Added: 0006765
2013-07-23 11:54FritsNote Added: 0006767
2013-07-23 14:41ZzZomboNote Added: 0006771
2013-07-23 16:41ArcoNote Added: 0006776
2013-07-23 18:33Torr SamahoNote Added: 0006779
2013-07-23 18:54Torr SamahoAssigned To => Torr Samaho
2013-07-23 18:54Torr SamahoStatusnew => assigned
2013-07-23 21:38someoneelseNote Added: 0006782
2013-07-24 07:21FritsNote Added: 0006783
2013-07-24 07:22FritsNote Edited: 0006783bug_revision_view_page.php?bugnote_id=6783#r3775
2013-07-24 10:41someoneelseNote Added: 0006785
2013-07-24 10:41someoneelseNote Edited: 0006785bug_revision_view_page.php?bugnote_id=6785#r3777
2013-07-24 12:05someoneelseNote Edited: 0006785bug_revision_view_page.php?bugnote_id=6785#r3778
2013-07-24 12:07someoneelseNote Edited: 0006785bug_revision_view_page.php?bugnote_id=6785#r3779
2013-07-24 12:12someoneelseNote Edited: 0006785bug_revision_view_page.php?bugnote_id=6785#r3780
2013-07-24 12:14someoneelseNote Edited: 0006785bug_revision_view_page.php?bugnote_id=6785#r3781
2013-07-24 19:23Torr SamahoNote Added: 0006786
2013-07-24 19:23Torr SamahoStatusassigned => needs testing
2013-07-24 19:24Torr SamahoNote Edited: 0006786
2013-07-24 19:25Torr SamahoNote Edited: 0006786
2013-07-24 19:26Torr SamahoNote Edited: 0006786bug_revision_view_page.php?bugnote_id=6786#r3785
2013-07-24 19:26Torr SamahoNote Revision Dropped: 6786: 0003782
2013-07-24 19:26Torr SamahoNote Revision Dropped: 6786: 0003783
2013-07-24 19:26Torr SamahoNote Revision Dropped: 6786: 0003784
2013-07-24 23:08ArcoNote Added: 0006789
2013-07-30 16:36ArcoNote Edited: 0006789bug_revision_view_page.php?bugnote_id=6789#r3821
2013-07-30 18:02DuskStatusneeds testing => resolved
2013-07-30 18:02DuskResolutionopen => fixed
2013-07-30 18:02DuskFixed in Version => 1.2
2013-07-30 18:02DuskTarget Version => 1.2
2013-09-07 19:20DuskStatusresolved => feedback
2013-09-07 19:20DuskResolutionfixed => reopened
2013-09-07 19:30ArcoNote Edited: 0006789bug_revision_view_page.php?bugnote_id=6789#r4003
2013-09-11 19:33DuskRelationship addedhas duplicate 0001500
2013-10-08 01:49ArcoNote Edited: 0006789bug_revision_view_page.php?bugnote_id=6789#r4092
2014-07-24 00:42unknownnaNote Added: 0010049
2014-07-24 00:43unknownnaRelationship addedrelated to 0001074
2014-07-24 01:11ArcoNote Edited: 0006776bug_revision_view_page.php?bugnote_id=6776#r5394
2014-07-24 01:13ZzZomboNote Added: 0010051
2014-07-24 08:44unknownnaFile Added: jumping_monsters_02.wad
2014-10-03 17:35Torr SamahoNote Added: 0010318
2014-10-04 14:05Torr SamahoStatusfeedback => needs testing
2014-10-04 14:28cobaltNote Added: 0010328
2014-10-04 14:41cobaltNote Added: 0010329
2014-10-04 14:41DuskNote Deleted: 0010329
2014-10-04 17:34Torr SamahoNote Added: 0010332
2014-10-05 19:59ArcoNote Added: 0010337
2014-10-05 19:59ArcoStatusneeds testing => resolved
2014-10-05 19:59ArcoResolutionreopened => fixed
2014-10-05 19:59ArcoFixed in Version1.2 => 1.3
2014-10-05 20:12Torr SamahoNote Edited: 0010332bug_revision_view_page.php?bugnote_id=10332#r5606
2014-10-05 20:16Torr SamahoFile Added: 2014.10.04_18.55.23_doom2.cld
2014-10-05 20:20Torr SamahoNote Added: 0010341
2014-10-05 20:20Torr SamahoStatusresolved => confirmed
2014-10-06 01:29DuskStatusconfirmed => assigned
2014-10-06 01:29DuskResolutionfixed => reopened
2014-10-06 01:29DuskFixed in Version1.3 =>
2014-10-06 01:29DuskTarget Version1.2 => 1.4
2014-10-12 13:38cobaltStatusassigned => needs testing
2014-10-12 13:38cobaltDescription Updatedbug_revision_view_page.php?rev_id=5734#r5734
2014-10-12 13:38cobaltNote Added: 0010539
2015-02-07 21:21MarcaekNote Added: 0011615
2015-03-29 20:20DuskStatusneeds testing => resolved
2015-03-29 20:20DuskFixed in Version => 2.0
2015-03-29 20:20DuskResolutionreopened => fixed
2015-06-09 08:35unknownnaRelationship addedrelated to 0002299
2018-09-30 22:55Blzut3Statusresolved => closed

Notes
(0006740)
Torr Samaho   
2013-07-21 19:58   
Can you reliably reproduce the jumping?
(0006743)
someoneelse   
2013-07-21 21:29   
(edited on: 2013-07-21 21:35)
Yes, uploaded demo, used arena.wad where I noticed it first time:'http://www.doomworld.com/idgames/?id=3723 [^]'
I used "Doom (strict)" compatflags, maybe this is a reason as well...
(jumping Revenant wasn't on any elevator though)

(0006751)
Torr Samaho   
2013-07-22 18:51   
I see. Can you try to create a minimal example wad that allows to reproduce the problem at will? Did this already happen in 1.0?
(0006754)
someoneelse   
2013-07-22 20:40   
I am not a mapper, I am barely a player...
Also, never happened in 1.0.
(0006765)
Alien   
2013-07-23 07:05   
There it is, "jumping monsters.wad". Made a limited area for monster so he will walk only inside that square. Hope it eases your job.
(0006767)
Frits   
2013-07-23 11:54   
This happens quite often really and has been around since forever.
When a monster gets near an edge it starts flickering (jumping) between the height of the edge and the floor below.
I don't know how to exactly reproduce it but it's very common.
(0006771)
ZzZombo   
2013-07-23 14:41   
Make a map with a very narrow walkable wall and put a pushable thing or monster on it.
(0006776)
Arco   
2013-07-23 16:41   
(edited on: 2014-07-24 01:11)
Confirmed.

(0006779)
Torr Samaho   
2013-07-23 18:33   
Quote from someoneelse
Also, never happened in 1.0.

Quote from Frits
This happens quite often really and has been around since forever.

Either the two of you are talking about different problems or one of the statements is wrong.
(0006782)
someoneelse   
2013-07-23 21:38   
Maybe it was a coincidence I noticed it now so often...
(0006783)
Frits   
2013-07-24 07:21   
(edited on: 2013-07-24 07:22)
Maybe the increase you're noticing is due to the mass amount of slaughterwads that get played these days? If i would do 20 playthroughs of alien vendetta I doubt I would encounter this bug once.

Master of puppets is a good mod to reproduce this imho as you can take control of monsters and place them in areas they usually don't go (half over a ledge) unless pushed there/stuck on the edge of a rising lift.

(0006785)
someoneelse   
2013-07-24 10:41   
(edited on: 2013-07-24 12:14)
Frits, I wrote in the first post that I had only played two coops (in moments I wrote this post) on 1.1.x, both were very oldschool (doom2.wad and vanilla-compatible arena.wad) and on both this bug appeared.
Maybe the fact that I noticed that thing was connected with me checking out "Doom (strict)" compatflags that the client suggests (it's 1610693399)
Well, going to make 1.0 server and check

EDIT:
Yeah, happens in 1.0 as well, my bad... It was a coincidence I noticed it now.

(0006786)
Torr Samaho   
2013-07-24 19:23   
(edited on: 2013-07-24 19:26)
This should fix the issue, but I can't say whether the fix has unwanted side effects.

The fix reverts a change Carn made almost six years ago (changeset 0483b3fed3215a4308ddcf533fa2c023e47520e9). Unfortunately the log message doesn't mention why the change in CLIENT_MoveThing was made, so I can't say what this change was originally supposed to fix.

BTW: The problem doesn't seem to have anything to do with the compatflags settings.

(0006789)
Arco   
2013-07-24 23:08   
(edited on: 2013-10-08 01:49)
Works perfectly with and without induced pings.


EDIT: This issue appears to have a more persistent stance on v1.2 than I once thought it did. Several people (including myself), have witnessed monsters that were standing on elevated surfaces moved vertically and inconsistently on some occasions. Sometimes this would happen more often than what was seen on v1.1.

I did mention that this issue was fixed on the patch that you gave me, however, it appears that it has more of an effect in other wads than the one that was uploaded on this ticket.

(0010049)
unknownna   
2014-07-24 00:42   
I've noticed this issue a lot. It wasn't this bad in 98d. However, the OP is also talking about another issue that was introduced in 1.0.
(0010051)
ZzZombo   
2014-07-24 01:13   
It's not only limited to monsters, BTW. Just want you to consider that while working on this. Basically anything that moves or can be moved is affected.
(0010318)
Torr Samaho   
2014-10-03 17:35   
I noticed one situation that got worse with the fix in 0001423:0006786. Please test if this works better.
(0010328)
cobalt   
2014-10-04 14:28   
Issue addressed by commit 201bf3fa917b: Fixed: Monsters near the bottom of a ledge / fence sometimes appeared as teleporting up the ledge / fence on clients online. This addresses 1423.
Committed by Benjamin Berkels [Torr Samaho] on Saturday 04 October 2014 16:24:47

no files modified, no lines added, no lines removed
Files changed: docs/zandronum-history.txt src/cl_main.cpp
(0010332)
Torr Samaho   
2014-10-04 17:34   
(edited on: 2014-10-05 20:12)
Thanks to a bug report I just got from an old friend, I noticed that the fix in 0001423:0010318 doesn't cover the case of a monster on a moving sector that is standing very close to the bottom of a ledge. This should hopefully also fix this case.

(0010337)
Arco   
2014-10-05 19:59   
Issue fixed in v1.3 r141005-1701.
(0010341)
Torr Samaho   
2014-10-05 20:20   
The problem on moving sectors is not fixed in 1.3 r141005-1701, it needs the experimental fix from 0001423:0010332. I didn't include this in the final of 1.3 because I'm not sure if it has side effects. SuperGod provided a video demonstrating the problem (see 2014.10.04_18.55.23_doom2.cld).
(0010539)
cobalt   
2014-10-12 13:38   
Issue addressed by commit a179e39a93b3: Fixed: Monsters near the bottom of a ledge on a raising sector sometimes appeared as teleporting up on clients online. This addresses 1423.
Committed by Benjamin Berkels [Torr Samaho] on Sunday 12 October 2014 15:34:50

Changes in files:
 docs/zandronum-history.txt | 1 +
 src/p_map.cpp | 6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)
(0011615)
Marcaek   
2015-02-07 21:21   
I tested on a LAN server broadcasting to the master and it seems like this works now, although I'm not sure how the second WAD is meant to be used?