Coder Social home page Coder Social logo

Comments (6)

robo9k avatar robo9k commented on June 2, 2024

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

from worldofpadman.

robo9k avatar robo9k commented on June 2, 2024

To debug this, the following might be relevant:

  • Cvar wop_AutoswitchSongByNextMap
  • How are songs switched, pressing bound keys, using the menu, automatically?
  • How are maps switched, is it a local listen or remote dedicated server?
  • Contents of playlist.dat before and after

from worldofpadman.

kai-li-wop avatar kai-li-wop commented on June 2, 2024

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.

from worldofpadman.

kai-li-wop avatar kai-li-wop commented on June 2, 2024

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

  • The song is switched on map change automagically, when option auto switch song is enabled in the sound menu. So this is expected behavior.
  • The song restarts on map change automagically, when option auto switch song is disabled in the sound menu. So this is expected behavior.
  • Also pressing N for next song is working fine.
  • But the console keeps spamming: "WARNING: unhandled AL error: Invalid name" when the player changes to the next song automatically without map change or pressing N.

from worldofpadman.

mgerhardy avatar mgerhardy commented on June 2, 2024

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

from worldofpadman.

mgerhardy avatar mgerhardy commented on June 2, 2024

Closing this one - opened another one for the console flooding: #94

from worldofpadman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.