Eternal Starlight

Eternal Starlight

5M Downloads

Music playing when it should not.

jerryjjr opened this issue ยท 11 comments

commented

Music will occasionally play during gameplay even with it set to off in the main menu.

Music set to off
Jukebox/Note blocks set to off

Music still plays...

I was able to muffle it with ESM by muting the four sounds with the prefix music_disc

commented

I've been experiencing this, as well. It is extremely aggravating.

Music set to muted, jukebox set to muted. The music doesn't even come from a location it's just globally playing into my brain.

Please high priority this, mods should not just randomly play music!

commented

I'm sorry for this, is the music a boss music or a biome music?

commented

We are up to 7 now that I have muted. They do not show in ESM until they play.

It is not boss music and doesn't seem to relate to anything else either. As far as I know, I have not interacted with the mod at all yet, my quest page for Eternal Starlight has no check marks. They just randomly play once in a while. I'm not exploring, just working in the same area. As liquidthex said, it is global, so when moving around the volume does not change like it would if it was a mob with a jukebox backpack, but the sound names seem to be music discs.

Here is what I have muted so far in ESM:
music_disc.the_thorny_reign:eternal_starlight
music_disc.profundity:eternal_starlight
music_disc.sacred_desert:eternal_starlight
music_disc.spirit:eternal_starlight
music_disc.atlantis:eternal_starlight
music_disc.tranquility:eternal_starlight
music_disc.dusk_o_ereyesterday:eternal_starlight

commented

Yes, ATM10. V2.10

commented

It seemed to be some kind of incompatibility issue. These music discs are added normally through datapack and I didn't code anything special about music discs. But I still wish to address the issue, so did this happen in ATM10? Or some other modpacks? I'll try myself and try my best to fix this. Thank you so much!

commented

I have been experiencing the same issue in the pack I'm building. Random tracks would start playing at seemingly random moments, a lot of the time over whatever is currently playing. 9/10 times the music would just randomly stop, and when it plays the music would be synced to everyone on the server.

I have noticed the following whenever the music starts playing/stopping:

[com.mojang.blaze3d.audio.OpenAlUtil/]: Creating buffer: Invalid parameter parameter value.
[com.mojang.blaze3d.audio.OpenAlUtil/]: Deleting stream buffers: Invalid operation.

Muting the music with ESM seems to stop any future errors from occurring. One of the players on my server was also complaining about strange frame stutters, I narrowed it down to whenever these two errors would occur. Muting the sounds stopped the stuttering.

commented

It's weird because all music discs are added using datapack, the vanilla way and I never coded anything about music dics, or music syncing from server to clients. The only thing suspicious is that I added all music discs to a tag named "eternal_starlight:music_discs" so I guess some sort of mod scanned tags like that and randomly play them. Also no issue will show up when only playing eternal starlight. So in 0.2.2 I removed that tag and replaced it with a tag provided by modloaders: "c:music_discs". I hope this will fix the problem, I'll wait to see.

commented

I updated JUST your mod and this just played:
music_disc.whisper_of_the_stars:eternal_starlight

So apparently some other mod is ripping off your sounds???

commented

Ok I might have found out the problem. Music discs were originally rendered in Stereo, making them non-directional and unaffected by distance, so the most reasonable guess is that mobs with music disc backpacks played these music discs but these tracks are non-directional and unaffected by distance. It'll be fixed in 0.2.3. Thank u so much for reporting this!!

commented

I came here looking for whether someone reported the issue with discs, glad that it's being addressed. And just to confirm yes this is definitely caused by the disc music being in stereo, that makes the music nondirectional, play globally at the same volume and in this case mobs spawn with backpack with jukebox upgrade in them randomly getting one of these discs and then playing it at full volume regardless of how far away the player is from them. And because the mob is likely in the despawn distance it also abruptly stops playing when the mob despawns.

commented

Fixed in 0.2.3