MantisBT - Zandronum
View Issue Details
0002602Zandronum[All Projects] Bugpublic2016-01-30 08:442024-04-09 03:51
AlienOverlord 
 
normalmajoralways
resolvedfixed 
x86_64Linux4.1.50
2.1 
3.13.2 
0002602: Ceiling height updates aren't sent correctly to spectators
subj.

Given MAP01 from this PK3:'http://allfearthesentinel.net/download?file=jashin-final.pk3 [^]'

It has a red door right outside of spawn area that's animated using ACS.
The script looks like this: Ceiling_LowerByValue -> TagWait -> Ceiling_RaiseByValue -> TagWait -> restart.

When there are active players ingame, the door is animated correctly (even for spectators). When there are only spectators, the door is jittering horribly even when connecting to LAN machine.
No tags attached.
related to 0004068resolved Kaminsky Linux servers don't send out commands normally if there's at least one client connected but spectating 
Issue History
2016-01-30 08:44AlienOverlordNew Issue
2016-11-27 17:17Torr SamahoDescription Updatedbug_revision_view_page.php?rev_id=9921#r9921
2016-11-27 17:23Torr SamahoNote Added: 0016364
2016-11-27 17:23Torr SamahoStatusnew => feedback
2016-12-24 22:41DuskTarget Version => 3.0
2017-02-02 04:51DecayNote Added: 0016750
2017-02-05 22:01AlienOverlordNote Added: 0016760
2017-02-05 22:01AlienOverlordStatusfeedback => new
2017-02-05 22:08AlienOverlordNote Edited: 0016760bug_revision_view_page.php?bugnote_id=16760#r10118
2017-02-05 22:15AlienOverlordNote Edited: 0016760bug_revision_view_page.php?bugnote_id=16760#r10119
2017-02-05 22:17AlienOverlordNote Edited: 0016760bug_revision_view_page.php?bugnote_id=16760#r10120
2017-02-06 07:35Torr SamahoNote Added: 0016771
2017-02-06 07:35Torr SamahoStatusnew => feedback
2017-02-06 10:07AlienOverlordNote Added: 0016773
2017-02-06 10:07AlienOverlordStatusfeedback => new
2017-02-06 10:14AlienOverlordNote Added: 0016774
2017-02-06 10:50DuskProduct Version3.0-beta => 2.1
2017-02-06 10:50DuskTarget Version3.0 =>
2017-02-06 10:50DuskTarget Version => 3.1
2017-02-06 14:49DecayNote Added: 0016779
2017-02-06 19:51AlienOverlordNote Added: 0016791
2017-02-06 19:52AlienOverlordNote Edited: 0016791bug_revision_view_page.php?bugnote_id=16791#r10133
2017-02-06 19:53AlienOverlordNote Edited: 0016791bug_revision_view_page.php?bugnote_id=16791#r10134
2022-12-29 18:53KaminskyRelationship addedrelated to 0004068
2022-12-29 18:54KaminskyNote Added: 0022568
2023-07-04 12:56KaminskyNote Added: 0022860
2023-07-04 12:56KaminskyStatusnew => needs testing
2024-04-09 03:51Ru5tK1ngNote Added: 0023572
2024-04-09 03:51Ru5tK1ngStatusneeds testing => resolved
2024-04-09 03:51Ru5tK1ngResolutionopen => fixed
2024-04-09 03:51Ru5tK1ngFixed in Version => 3.2

Notes
(0016364)
Torr Samaho   
2016-11-27 17:23   
I can't reproduce the problem. Can anybody else reproduce it? Was it any different in 2.1.2?
(0016750)
Decay   
2017-02-02 04:51   
'http://i.imgur.com/iS61bMb.png [^]' assuming this is the door in question, I encountered no issues in 3.0 or 2.1.2
(0016760)
AlienOverlord   
2017-02-05 22:01   
(edited on: 2017-02-05 22:17)
Doesn't reproduce on latest 3.0.
edit: nevermind me I'm autistic. It does, just not on localhost - only when connecting to a Linux server on my LAN, or when other people connect to it from the outside. Going to make a vid.

edit2:'https://www.youtube.com/watch?v=MhE4DsHUVbc [^]'

The exact setup is as follows:
1. I take Ubuntu 16.04.1 x86 PC, and put this Zan on it:
'http://zandronum.com/downloads/testing/3.0/ZandroDev3.0-170205-2117linux-x86.tar.bz2 [^]'
2. I run this command-line:
./zandronum-server +exec jashin.cfg -iwad doom2.wad -file jashin-final.pk3
3. jashin.cfg is here:'http://pastebin.com/KmWYJq84 [^]'
4. I then go to my Windows PC, which is connected via wired (so this shouldn't be wifi shenanigans), and put this Zan on it:
'http://zandronum.com/downloads/testing/3.0/ZandroDev3.0-170205-2117windows.zip [^]'

Then I connect and the video happens.
It's also worth noting that the level takes two attempts to authenticate, and when I join the game it takes about a second to do so, but while actually playing there's no lag or anything.

(0016771)
Torr Samaho   
2017-02-06 07:35   
Does 2.1.2 perform any better under the same conditions?
(0016773)
AlienOverlord   
2017-02-06 10:07   
Same happens in 2.1.2, except authentication and joining are instant.
(0016774)
AlienOverlord   
2017-02-06 10:14   
It also reproduces in a server hosted on TSPG, so I doubt it's caused by the configuration of my Linux machine.

Currently 45.58.113.226:10798, but otherwise can be started using this bot command:
.host iwad="doom2.wad" hostname="Test" gamemode="coop" wad="jashin-final.pk3" version="3.0"
(0016779)
Decay   
2017-02-06 14:49   
Here's the code from the map.


script 11 OPEN
{
    TagWait(439);
    Ceiling_LowerByValue(439, 32, 104);
    TagWait(439);
    Ceiling_RaiseByValue(439, 32, 104);
    Delay(35*4);
    restart;
}

Try changing the ACS; I suspect tagwait (especially tagwait being called first) is causing the desync. I think tagwait is only supposed to be used with VOID scripts, just use Delay instead. Try that and see if it still messes up.
(0016791)
AlienOverlord   
2017-02-06 19:51   
(edited on: 2017-02-06 19:53)
Both desync. Both are ok after joining the game.
'http://pastebin.com/jrZdHezD [^]'
'http://allfearthesentinel.net/download?file=testdesync.wad [^]'

The problem is that when the server doesn't see active players (or whatever) it happily omits sending certain information altogether.

(0022568)
Kaminsky   
2022-12-29 18:54   
It sounds like this issue is related to:'https://zandronum.com/tracker/view.php?id=4068 [^]'
(0022860)
Kaminsky   
2023-07-04 12:56   
It would be great if this can be tested along with'https://zandronum.com/tracker/view.php?id=4068 [^]' to see if the issue(s) have now been resolved.
(0023572)
Ru5tK1ng   
2024-04-09 03:51   
Tested using the latest 3.2 beta on TSPG. The door was properly sending updates to spectators online and the behavior matched my windows server on 3.1.