Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002689Zandronum[All Projects] Bugpublic2016-03-30 19:192018-09-30 22:04
ReporterTiger 
Assigned ToEdward-san 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformDesktop (x86_64)OSWindowsOS Version6.3
Product Version2.1 
Target Version3.0Fixed in Version3.0 
Summary0002689: PlaySound() function fails online
DescriptionWith using the ACS instruction 'PlaySound()' ['http://zdoom.org/wiki/PlaySound [^]' ] to a THING, the sound will not reproduce on a physical multiplayer game, but will work as expected on a single player game.

This issue occurs on the latest build of Zandronum 2.1.2 as well as Zandronum 3.0 (160229-1221).

I have attached a demonstration PWAD file for this issue.

Here is a brief example of the script being used:
SCRIPT 1 (int tagTarget)
{
    PlaySound(tagTarget, "World/JumpPad", CHAN_AUTO, 1.0, false, ATTN_NORM);
} // JumpPadSound()
Steps To ReproduceUsing the attached PWAD file:
First test in single player; step on-top of the one of the sector references that have the standard teleporter flat texture. You should hear the quake 3 jumppad sound coming from the sector that the player is standing on. Now test this while on a multiplayer game. You will not hear anything coming from the sectors, but the player should hear it regardless the state of the game.
Attached Files7z file icon 3DFloorSnd.7z [^] (10,689 bytes) 2016-03-30 19:19

- Relationships

-  Notes
User avatar (0014626)
Edward-san (developer)
2016-03-30 22:15

Pull request'd.
User avatar (0014649)
cobalt (updater)
2016-04-03 11:01

Issue addressed by commit 50e1c147886f: - Fixed: ACS function PlaySound did not work online (fixes 2689).
Committed by Edoardo Prezioso [edward-san] on Wednesday 31 December 1969 23:59:57

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/p_acs.cpp | 4 ++--
 src/s_sound.cpp | 6 +++++-
 src/s_sound.h | 2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

User avatar (0014673)
Tiger (reporter)
2016-04-07 03:11

Using build 3.0-alpha @ 160403-1900 - Commit 96e0e5e40e46, (credit to WaTaKiD), this seems to be fixed for me. Thanks!

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: Leonard
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-03-30 19:19 Tiger New Issue
2016-03-30 19:19 Tiger File Added: 3DFloorSnd.7z
2016-03-30 19:25 Dusk Summary PlaySound() function fails => PlaySound() function fails online
2016-03-30 19:34 Edward-san Assigned To => Edward-san
2016-03-30 19:34 Edward-san Status new => assigned
2016-03-30 22:15 Edward-san Note Added: 0014626
2016-03-30 22:15 Edward-san Status assigned => needs review
2016-04-03 11:01 cobalt Status needs review => needs testing
2016-04-03 11:01 cobalt Target Version => 3.0
2016-04-03 11:01 cobalt Description Updated View Revisions
2016-04-03 11:01 cobalt Steps to Reproduce Updated View Revisions
2016-04-03 11:01 cobalt Note Added: 0014649
2016-04-07 03:11 Tiger Note Added: 0014673
2016-04-08 19:13 Dusk Status needs testing => resolved
2016-04-08 19:13 Dusk Fixed in Version => 3.0
2016-04-08 19:13 Dusk Resolution open => fixed
2018-09-30 22:04 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker