MantisBT - Zandronum
View Issue Details
0003338Zandronum[All Projects] Bugpublic2017-11-13 14:232024-03-11 12:00
eagle 
Edward-san 
normalminoralways
resolvedfixed 
WindowsWindows Server 2012 R26.2 Build 9200
3.0 
3.13.1 
0003338: A_CheckLOF causes out-of-sync in online.
In offline mode, the behavior of monsters is as planned, but online they do all the actions simultaneously, as if on each client they are on their own.
This code is enough to make the monster go crazy in online:

Missile:
    HTLR EEEEEEEEEEEEEEE 1 A_FaceTarget(45)
    TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_CheckFlag(FRIENDLY,"Refire")
    TNT1 A 0 A_CheckLOF("Refire",CLOFF_JUMPENEMY|CLOFF_MUSTBESHOOTABLE,8192)
    Goto See
Refire:
    ...
No tags attached.
? sample.wad (1,088) 2017-11-13 17:00
/tracker/file_download.php?file_id=2287&type=bug
Issue History
2017-11-13 14:23eagleNew Issue
2017-11-13 15:40Edward-sanNote Added: 0018871
2017-11-13 15:40Edward-sanStatusnew => feedback
2017-11-13 17:00eagleFile Added: sample.wad
2017-11-14 09:20eagleNote Added: 0018880
2017-11-14 09:20eagleStatusfeedback => new
2017-11-14 11:12Edward-sanNote Added: 0018881
2017-11-14 11:12Edward-sanAssigned To => Edward-san
2017-11-14 11:12Edward-sanStatusnew => feedback
2017-12-03 08:48Torr SamahoNote Added: 0018930
2017-12-03 08:49Torr SamahoStatusfeedback => needs testing
2018-09-11 19:07unknownnaNote Added: 0019507
2018-09-12 11:50LeonardTarget Version => 3.1
2024-03-11 12:00unknownnaStatusneeds testing => resolved
2024-03-11 12:00unknownnaFixed in Version => 3.1
2024-03-11 12:00unknownnaResolutionopen => fixed

Notes
(0018871)
Edward-san   
2017-11-13 15:40   
Please upload an example wad. We cannot work with code snapshots.
(0018880)
eagle   
2017-11-14 09:20   
wad uploaded.
(0018881)
Edward-san   
2017-11-14 11:12   
This changeset should fix the issue. Please test it properly (requires a build).
(0018930)
Torr Samaho   
2017-12-03 08:48   
I added your updated patch.
(0019507)
unknownna   
2018-09-11 19:07   
The example WAD works in 3.1 compared to 3.0, but the positions of the zombies jitter a little once when entering the firing state online and their animations display a few wrong frames before attacking. Though this might just be another side effect of Zandronum's jump handling.