MantisBT - Zandronum
View Issue Details
0002884Zandronum[All Projects] Bugpublic2016-10-11 17:002018-09-30 21:56
pkmx 
Edward-san 
normalmajoralways
closedfixed 
3.0-beta 
3.03.0 
0002884: Clientside open scripts aren't run on online survival game
As title.

This is tested on the latest public alpha (3.0-r160814) and only occurs in online games.
1. Host a server in survival mode with the provided pk3.
2. Connect to it.
3. Two messages from numeric/named clientside open scripts are logged upon connection.
4. Wait for survival countdown.
5. When the game starts, no messages are logged (when it should).
No tags attached.
? acstest.pk3 (656) 2016-10-11 17:00
/tracker/file_download.php?file_id=1935&type=bug
? clientscriptmsg_01.wad (4,032) 2016-10-15 07:49
/tracker/file_download.php?file_id=1948&type=bug
Issue History
2016-10-11 17:00pkmxNew Issue
2016-10-11 17:00pkmxFile Added: acstest.pk3
2016-10-14 08:54unknownnaStatusnew => confirmed
2016-10-14 10:13Edward-sanNote Added: 0015983
2016-10-14 11:33Edward-sanNote Edited: 0015983bug_revision_view_page.php?bugnote_id=15983#r9731
2016-10-14 11:33Edward-sanStatusconfirmed => feedback
2016-10-14 14:41unknownnaNote Added: 0015990
2016-10-14 15:38Edward-sanNote Added: 0015991
2016-10-14 15:39Edward-sanNote Edited: 0015991bug_revision_view_page.php?bugnote_id=15991#r9744
2016-10-14 15:41Edward-sanStatusfeedback => confirmed
2016-10-14 16:29Edward-sanNote Added: 0015992
2016-10-14 16:29Edward-sanAssigned To => Edward-san
2016-10-14 16:29Edward-sanStatusconfirmed => feedback
2016-10-14 16:50Edward-sanNote Edited: 0015992bug_revision_view_page.php?bugnote_id=15992#r9746
2016-10-14 18:52WaTaKiDNote Added: 0015996
2016-10-15 07:49unknownnaFile Added: clientscriptmsg_01.wad
2016-10-15 08:01unknownnaNote Added: 0016004
2016-10-15 10:06Edward-sanStatusfeedback => needs review
2016-10-16 16:17Torr SamahoProduct Version => 3.0-beta
2016-10-16 16:17Torr SamahoTarget Version => 3.0
2016-10-16 16:27Torr SamahoNote Added: 0016022
2016-10-16 16:27Torr SamahoStatusneeds review => needs testing
2016-12-08 02:19Ru5tK1ngNote Added: 0016437
2016-12-08 02:19Ru5tK1ngStatusneeds testing => resolved
2016-12-08 02:19Ru5tK1ngResolutionopen => fixed
2016-12-08 02:19Ru5tK1ngFixed in Version => 3.0
2018-09-30 21:56Blzut3Statusresolved => closed

Notes
(0015983)
Edward-san   
2016-10-14 10:13   
(edited on: 2016-10-14 11:33)
3.0-alpha-r160229-1221 works fine, 3.0-alpha-r160519-2047 is broken. Needs bisecting.

(0015990)
unknownna   
2016-10-14 14:41   
It also works properly in 160510-1827.
(0015991)
Edward-san   
2016-10-14 15:38   
(edited on: 2016-10-14 15:39)
It's a regression from my fix to hudmessages not cleared after map resets:'https://bitbucket.org/Torr_Samaho/zandronum/commits/b7cc4d70fad7 [^]' .

(0015992)
Edward-san   
2016-10-14 16:29   
(edited on: 2016-10-14 16:50)
'https://bitbucket.org/zandronum/zandronum-sandbox/commits/1ff8b19eeaedb6e7c32cf29746cf6c99d070ffb1 [^]' fixes the issue. When a build is ready, I'd like to know if the fix also improves the hud message clearing mentioned in comment 0000510:0014963 .

(0015996)
WaTaKiD   
2016-10-14 18:52   
this 3.0 build contains the above commit: 'https://www.dropbox.com/s/p1mw47jswnq13bd/zandronum-3.0-r161014-1624-1ff8b19-windows.zip?dl=0 [^]'
(0016004)
unknownna   
2016-10-15 08:01   
Using clientscriptmsg_01.wad, the issues seem to be fixed. Additionally, the HudMessage is still cleared after map resets as intended. However, players aren't cleared of Print/PrintBold and HudMessage messages when turning into spectators. The Print/PrintBold case perhaps isn't a bug, but the HudMessage feels like one for sure. I'll create a separate ticket for it.
(0016022)
Torr Samaho   
2016-10-16 16:27   
I added your patch.
(0016437)
Ru5tK1ng   
2016-12-08 02:19   
The scripts ran fine with the latest build and ran when a new round started after dying.