MantisBT - Zandronum
View Issue Details
0003187Zandronum[All Projects] Bugpublic2017-07-14 13:292017-07-15 14:50
Korshun 
 
normalminoralways
newopen 
MicrosoftWindowsXP/Vista/7
2.1 
 
0003187: Server-triggered clientside script ordering is randomly messed up in multiplayer
If a server launches a lot of clientside scripts, the order they are executed in on the client becomes randomized, whereas scripts are always launched in the same order when networking is not involved (singleplayer, serverside, clientside).
Run the wad on a server. It constantly launches a clientside script.

The script prints a message when script execution order deviates from the expected.

Use the "count" serverside cvar to set how many scripts to launch per tic. Default is 1. Setting it higher causes a lot of script ordering errors. But script ordering errors can happen even with 1 script per tic.
Various SendString implementations depend on whether this behavior is a bug or normal.
No tags attached.
? ClientsideScriptOrder.wad (976) 2017-07-14 13:29
https://zandronum.com/tracker/file_download.php?file_id=2144&type=bug
? ClientsideScriptOrder212.wad (1,134) 2017-07-15 10:29
https://zandronum.com/tracker/file_download.php?file_id=2145&type=bug
Issue History
2017-07-14 13:29KorshunNew Issue
2017-07-14 13:29KorshunFile Added: ClientsideScriptOrder.wad
2017-07-14 13:30KorshunNote Added: 0018024
2017-07-14 19:11Edward-sanCategorySuggestion => Bug
2017-07-15 09:40Torr SamahoNote Added: 0018035
2017-07-15 10:29KorshunFile Added: ClientsideScriptOrder212.wad
2017-07-15 10:30KorshunNote Added: 0018036
2017-07-15 10:30KorshunNote Edited: 0018036bug_revision_view_page.php?bugnote_id=18036#r10775
2017-07-15 10:32KorshunNote Edited: 0018036bug_revision_view_page.php?bugnote_id=18036#r10776
2017-07-15 14:50DuskProduct Version3.0-beta => 2.1

Notes
(0018024)
Korshun   
2017-07-14 13:30   
How do I edit "Suggestion" to "Bug"?
(0018035)
Torr Samaho   
2017-07-15 09:40   
Edward-san corrected the type.

Is the behavior any different in 2.1.2?
(0018036)
Korshun   
2017-07-15 10:30   
(edited on: 2017-07-15 10:32)
2.1.2 is broken too. But it needs a separate test wad, which I uploaded, as passing ACS_ExecuteWithResult arguments from the server to the client is broken in 2.1.2.

And the new test wad also works on 3.0.