MantisBT - Zandronum
View Issue Details
0003871Zandronum[All Projects] Bugpublic2021-01-04 12:512021-12-17 15:05
Ivan 
Kaminsky 
highmajoralways
resolvedfixed 
3.1-beta 
3.13.1 
0003871: Sounds can't be stopped from ACS in online games
A looping sound initiated from ACS can't be stopped properly. Take the example wad below, and simply "summon manc2". You won't hear the sound stop after a second, it just loops forever.
I'm not sure if it's StopSound lacking proper code or something, but inventory method also does not work. I put inventory actors to control this. You can change the script's code to below and compile to see that it also does not work.

#include "zcommon.acs"

Script "Test" (void) {
    GiveInventory("Looper", 1);
    Delay(35);
    GiveInventory("Stopper", 1);
}
No tags attached.
? looping_sound_bs.pk3 (341,282) 2021-01-04 12:51
/tracker/file_download.php?file_id=2637&type=bug
Issue History
2021-01-04 12:51IvanNew Issue
2021-01-04 12:51IvanFile Added: looping_sound_bs.pk3
2021-01-04 13:22IvanNote Added: 0021584
2021-01-05 03:58KaminskyNote Added: 0021585
2021-08-08 11:32KaminskyAssigned To => Kaminsky
2021-08-08 11:32KaminskyStatusnew => needs testing
2021-08-08 11:35KaminskyNote Added: 0021690
2021-08-08 11:35KaminskyTarget Version => 3.1
2021-08-08 11:35KaminskySummaryLooping sound can't be stopped from ACS => Sounds can't be stopped from ACS in online games
2021-12-17 15:05KaminskyStatusneeds testing => resolved
2021-12-17 15:05KaminskyFixed in Version => 3.1
2021-12-17 15:05KaminskyResolutionopen => fixed

Notes
(0021584)
Ivan   
2021-01-04 13:22   
Update: I just tested this offline so it works offline. This is an online issue.
(0021585)
Kaminsky   
2021-01-05 03:58   
This commit fixes the StopSound ACS function not working in online games:'https://osdn.net/projects/zandronum/scm/hg/zandronum-stable/commits/7be198a6bdd4fffec70ca7bd0e1be724d2c65911 [^]'
(0021690)
Kaminsky   
2021-08-08 11:35   
I changed the name of this ticket and made it more generic, as StopSound in ACS was missing netcode before.