Jump to content

[RE-REPORT] Container open and close sounds do not play on the client


Hornete
  • Fixed

 

 

The first video showcases a player opening containers as the host, while the 2nd video showcases the player opening containers as the client.

The game plays the sides correctly on the server-side,

--Container:Open lines 378 - 384 
if self:IsSideWidget() then
    TheFocalPoint.SoundEmitter:PlaySound("dontstarve/wilson/backpack_open")
else
    if not self.skipopensnd then
        TheFocalPoint.SoundEmitter:PlaySound("dontstarve/HUD/Together_HUD/container_open")
    end
end

--Container:Close lines 421-227
if self:IsSideWidget() then
    TheFocalPoint.SoundEmitter:PlaySound("dontstarve/wilson/backpack_close")
else
    if not self.skipclosesnd then
        TheFocalPoint.SoundEmitter:PlaySound("dontstarve/HUD/Together_HUD/container_close")
    end
end

However, the game does not play the sounds on the client side(container_replica)

--Container:Open lines 397-399
if self:IsSideWidget() then
	TheFocalPoint.SoundEmitter:PlaySound("dontstarve/wilson/backpack_open")
end

--Container:Close lines 415-417
if self:IsSideWidget() then
	TheFocalPoint.SoundEmitter:PlaySound("dontstarve/wilson/backpack_close")
end

There is no else statement to play the "dontstarve/HUD/Together_HUD/container_close" sound.


Steps to Reproduce

1. Host a forest-only world(As you are the server and client at once)

2. Hear the open/close sounds, as they play properly on the server

3. Host a forest+caves world(You are now only a client)
4. Can't hear the open/close sounds :(, as they do not play properly on the client.

  • Like 2



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

It sounded fine for the Fishing Rod but for the rest is sounds so weird lmao

I can see myself going crazy opening a bunch of chests too.

Share this comment


Link to comment
Share on other sites

3 minutes ago, lakhnish said:

I can see myself going crazy opening a bunch of chests too.

Don't worry, chests have the 'skipopensnd' and 'skipclosesnd' booleans for container set to false meaning these sounds don't play, and will continue to NOT play if this bug is fixed.

Edited by Hornete

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...