FWGS / xash3d-fwgs

Xash3D FWGS engine.
1.47k stars 225 forks source link

No music when MMod is loaded as a custom game #1611

Open Matte1s opened 5 months ago

Matte1s commented 5 months ago

When I load MMod as a custom game there isn't any music. engine.log

https://github.com/FWGS/xash3d-fwgs/assets/160180820/c7c4e5d1-437d-4e34-9b7a-2995083f15a5

Matte1s commented 5 months ago

xashaudio

a1batross commented 5 months ago

After tracing what MMod does on c0a0, it seems it first starts playing soundtrack through cd loop command sent from server, then stops it in CBasePlayer::UpdateClientData where it sends mp3 stop.

a1batross commented 5 months ago

It must be traced under GoldSrc too.

Matte1s commented 5 months ago

Is there a way for me to fix this myself? Where can I go to trace this back in goldsrc?

a1batross commented 5 months ago

It seems to happen only with maps that play music right from the start.

Everywhere else it should be fine