AttorneyOnline / akashi

C++ AO2 Server
GNU Affero General Public License v3.0
4 stars 23 forks source link

[Feature Request] Upon joining or switching area, the user should hear the area's music. #233

Closed AwesomeAim closed 2 years ago

AwesomeAim commented 2 years ago

The current behaviour is that it'll just maintain whatever song the user saw get played recently, and not play whatever is playing in the default/lobby area. It results in inconsistencies where two people in the same area will be hearing a different song, and that new joiners think there's no music in the main area, despite there typically being music.

AwesomeAim commented 2 years ago

To clarify, the desired behaviour is just that when a user enters an area, including when joining the lobby, their client starts playing the currently playing song, not at the exact point that it's playing for everyone else, but just at the start. As such, areas can just maintain the current song playing, and users can grab that when they arrive so they all hear the same song.

Basically, join area -> start hearing music of area from the beginning.

AwesomeAim commented 2 years ago

The change area functionality works, such that it plays the new area's song, but on join it doesn't play the music that's playing in lobby area.