TTT2 icon indicating copy to clipboard operation
TTT2 copied to clipboard

Voice Chat Bug

Open cakety opened this issue 6 months ago • 5 comments

TTT2 - v0.12.3b

One player is having an unreproducable issue with voice chat. Console shows following error whenever that player attempts to talk.

[ERROR] gamemodes/terrortown/gamemode/client/cl_voice.lua:499: bad argument #1 to 'SetVoiceVolumeScale' (number expected, got nil)

  1. SetVoiceVolumeScale - [C]:-1
  2. UpdatePlayerVoiceVolume - gamemodes/terrortown/gamemode/client/cl_voice.lua:499 3. unknown - gamemodes/terrortown/gamemode/client/cl_voice.lua:176

All other players do not have this issue, and I have been unable to replicate it. Error continues when server is run with no other addons enabled. Player can use voice chat normally when base TTT is run instead.

cakety avatar Jan 29 '24 03:01 cakety

Could that person try to set the volume of other players and try again?

ZenBre4ker avatar Jan 29 '24 10:01 ZenBre4ker

Causes a different error:

[ERROR] gamemodes/terrortown/gamemode/client/cl_voice.lua:499: bad argument #1 to 'SetVoiceVolumeScale' (number expected, got nil)

  1. SetVoiceVolumeScale - [C]:-1
  2. UpdatePlayerVoiceVolume - gamemodes/terrortown/gamemode/client/cl_voice.lua:499 3. DoClick - gamemodes/terrortown/gamemode/client/vgui/cl_sb_row.lua:337 4. OnMouseReleased - lua/vgui/dlabel.lua:237 5. unknown - lua/vgui/dimagebutton.lua:103

cakety avatar Jan 30 '24 02:01 cakety

that one should also be solved via #1335

EntranceJew avatar Jan 30 '24 02:01 EntranceJew

Are you playing a dedicated server? Are you playing peer to peer?

Is the error in other client's consoles? Is the error in the server's console? What color is the error?

Is one of the players on LAN? Are they authorized on steam? The system uses SteamID64 so multiple users on the same account may be impacted by this behavior.

It's very hard to pinpoint a cause without more information about how this is being played or getting that user's steamid64.

EntranceJew avatar Jan 30 '24 20:01 EntranceJew

Dedicated server run from my machine. Console log when player attempts to join, same errors are seen in their console, but is not seen by others in the server. User's SteamID64 is 76561198177059830 image

cakety avatar Jan 31 '24 02:01 cakety