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
0000952Zandronum[All Projects] Bugpublic2012-08-05 16:502015-09-10 11:19
ReporterKlofkac 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformAnyOSOS Version
Product Version98d 
Target VersionFixed in Version 
Summary0000952: Changing music with pattern serverside is not working
DescriptionWhen changing the module music with set pattern serverside, music will change, but pattern number will be ignored.
This counts for both ACS setMusic and CCMD changemus.
Locally it works as intended.
Steps To Reproduce-Make a server with example WAD containing module music
-Join as client
-Use "changemus module 10" in server console/rcon
-Use same command but in client console
Additional InformationI checked 98d source code and didn't find mention about pattern in changemus serverside:
S_ChangeMusic (argv[1], argv.argc() > 2 ? atoi (argv[2]) : 0);
if ( NETWORK_GetState( ) == NETSTATE_SERVER )
{
    SERVERCOMMANDS_SetMapMusic( argv[1] );
    SERVER_SetMapMusic( argv[1] );
}
Attached Files? file icon MOD_Music.wad [^] (163,274 bytes) 2012-08-05 16:50
? file icon fastcheck.wad [^] (70,839 bytes) 2014-06-15 18:09

- Relationships
duplicate of 0002080closedDusk Multi-tracked NSFs won't play specified tracks when called from the server. 

-  Notes
User avatar (0007730)
Klofkac (reporter)
2013-12-26 21:11
edited on: 2013-12-26 21:15

Confirming that this is still untouched in Zandronum 2.0 alpha, now with support of multi track formats (like NSF or GBS) this can be really ... severe for mod makers, because they wouldn't be able to use tracks other than 0 for multiplayer mods.

User avatar (0008245)
carpathia (reporter)
2014-02-19 14:24
edited on: 2014-02-19 14:28

To quote the zdoom wiki
"Note for multi-track files: In MAPINFO, append a colon plus the track number to the song name(e.g. "D_NSFSNG:5"). For ACS, use the second parameter (order) of SetMusic and LocalSetMusic. For the changemus console command, add the track number as another argument after the song name."
It should work if the map itself is set to change music to another track in the same file, however rconning a different track is still broken.
Another problem with changing track in a module is that if you use a negative number (changemus module -1) it will crash zan. If rcon were to change to a negative number, it'd crash every client who has music enabled.

User avatar (0009422)
Watermelon (developer)
2014-06-15 15:23

Is this fixed in 2.0?
User avatar (0009473)
Klofkac (reporter)
2014-06-15 18:09

Nope. Did a quick test with multi track NSF and ACS SetMusic, did not work.
It worked like it should when played in single player. Attaching a file to check it yourself.
Expected behaviour: When you start the map or join a server, for the next 2 seconds the music changes to 8 bit chiptune. 2 seconds later, the different 8-bit track is run.

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: carpathia
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-08-05 16:50 Klofkac New Issue
2012-08-05 16:50 Klofkac File Added: MOD_Music.wad
2013-12-26 21:11 Klofkac Note Added: 0007730
2013-12-26 21:15 Klofkac Note Edited: 0007730 View Revisions
2014-02-19 14:24 carpathia Note Added: 0008245
2014-02-19 14:28 carpathia Note Edited: 0008245 View Revisions
2014-06-15 15:23 Watermelon Note Added: 0009422
2014-06-15 15:23 Watermelon Status new => feedback
2014-06-15 18:09 Klofkac Note Added: 0009473
2014-06-15 18:09 Klofkac Status feedback => new
2014-06-15 18:09 Klofkac File Added: fastcheck.wad
2015-09-10 11:19 Dusk Status new => closed
2015-09-10 11:19 Dusk Resolution open => duplicate
2015-09-10 11:19 Dusk Relationship added duplicate of 0002080






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker