Good news about in game voice chat!

Discussion in 'Server Chat / Updates' started by Teddi, Mar 6, 2011.

  1. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,633
    Likes Received:
    1,114
    [​IMG]

    I've found the cause of the problem. Today myself and Bundt (with some assistance from Killermon) went hunting down the bug and we found out what was causing it!

    Effectively this snipped of code from Amen (which I didn't write) was causing it-

    Code:
    local function muteVoice()
        for _,ply in pairs(player.GetAll()) do
            if ply:IsVoiceAudible() then
                if ply:GetNWBool("AMuted")==true then
                    ply:SetMuted(true)
                else
                    ply:SetMuted(false)
                end
            end
        end
    end
    timer.Create("SetVoiceMuted",1,0,wmuteVoice)
    
    That's going to be redone so it's not sucky and it works correctly. Until then that (useless) function is disabled on BBuild.
     
  2. Bundt

    Bundt DJ Pauly D MVP

    Joined:
    Jul 28, 2009
    Messages:
    1,262
    Likes Received:
    36
    GET OUT OF MY HEAD PUTRICIDE!!!!
     
  3. Kaiden

    Kaiden Administrator Community Manager

    Joined:
    Feb 13, 2008
    Messages:
    4,845
    Likes Received:
    774
    why would you ev
     
  4. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    Judging by the lack of spacing that's probably cpf's code (Not like there were any other possibilities olol)

    It's not a bad way of doing it but I guess there are better :V
     
  5. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,633
    Likes Received:
    1,114
    Like I said, I never wrote it. Also it is a bad way of doing it if it causes voice to cut out every second or so :v
     
  6. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    But it worked fine before :V

    In other news, we need a :V smiley.
     
  7. Teddi

    Teddi Well-Known Member Bear

    Joined:
    Jul 21, 2007
    Messages:
    9,633
    Likes Received:
    1,114
    It never worked fine before. For as long as that's been there the in game voice chat has always been choppy (See: When we had a TTT server)