PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
39 stars 9 forks source link

Music: music player restarts always on map change #65

Closed kai-li-wop closed 3 years ago

kai-li-wop commented 3 years ago

This has only been a problem since the 1.6 patch - but it is the same for everyone. Every time you join a map, or are on a server and go to nextmap, the music always starts with dieselkopf1 (padrock album) and the first track "down the hatch". You can skip to any song later in the music menu during the round, but no matter what you save or select, it will start at this same song very round. Or the same story if you have custom music in the game, such as by Neurological. In my case on my local server the first track on that album does this. ~Ben_the_Padking

robo9k commented 3 years ago

I've only skimmed the logs while loading maps locally with the new engine binaries and it seems to be working fine, unless I'm misunderstanding?

Setup in console:

]\logfile 2
]\developer 1
]\fs_debug 1

Some relevant parts from log with me pressing N for next song, then loading a new map via console:


[WoP Music]: Playing "^3padrun^7"
S_StartBackgroundTrack( wopmusic/dieselkopf1/02_padrun.ogg, <nextsongCMD> )
FS_FOpenFileRead: wopmusic/dieselkopf1/02_padrun.ogg (found in 'Z:\World of PADMAN\wop\wop_004.pk3')
^3WARNING: music file wopmusic/dieselkopf1/02_padrun.ogg is not 22k stereo
[WoP Music]: Playing "^3padtrail^7"
S_StartBackgroundTrack( wopmusic/dieselkopf1/03_padtrail.ogg, <nextsongCMD> )
FS_FOpenFileRead: wopmusic/dieselkopf1/03_padtrail.ogg (found in 'Z:\World of PADMAN\wop\wop_004.pk3')
^3WARNING: music file wopmusic/dieselkopf1/03_padtrail.ogg is not 22k stereo
..
FS_FOpenFileWrite: C:\Users\brain\AppData\Roaming\Padman\wop\playlist.dat
..
FS_FOpenFileRead: playlist.dat (found in 'C:\Users\brain\AppData\Roaming\Padman\wop')
..
S_StartBackgroundTrack( ,  )
..
[WoP Music]: Playing "^3padtrail^7"
S_StartBackgroundTrack( wopmusic/dieselkopf1/03_padtrail.ogg, <nextsongCMD> )
FS_FOpenFileRead: wopmusic/dieselkopf1/03_padtrail.ogg (found in 'Z:\World of PADMAN\wop\wop_004.pk3')
^3WARNING: music file wopmusic/dieselkopf1/03_padtrail.ogg is not 22k stereo
..
handle 2: wopmusic/dieselkopf1/03_padtrail.ogg
..
FS_FOpenFileWrite: C:\Users\brain\AppData\Roaming\Padman\wop\playlist.dat
robo9k commented 3 years ago

To debug this, the following might be relevant:

kai-li-wop commented 3 years ago

I think that "warmup" may also play a role. I can remember that there was an issue, with music an warmup and that you changed something in the code to prevent problems. See SVN 2127, 2131 and 2132.

kai-li-wop commented 3 years ago

I took some time to check the behavior in the latest dev version in local game.

mgerhardy commented 3 years ago

I can not reproduce this here - maybe some actions are needed before it starts to flood? Are there any details to get the flooding?

mgerhardy commented 3 years ago

Closing this one - opened another one for the console flooding: https://github.com/PadWorld-Entertainment/worldofpadman/issues/94