MantisBT - Zandronum
View Issue Details
0003871Zandronum[All Projects] Bugpublic2021-01-04 12:512021-01-05 03:58
Ivan 
 
highmajoralways
newopen 
3.1-beta 
 
0003871: Looping sound can't be stopped from ACS
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
https://zandronum.com/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

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 [^]