Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Voice Chat Bug #1334

Open
cakety opened this issue Jan 29, 2024 · 5 comments · May be fixed by #1335
Open

Voice Chat Bug #1334

cakety opened this issue Jan 29, 2024 · 5 comments · May be fixed by #1335
Labels
type/bug Something isn't working
Milestone

Comments

@cakety
Copy link

cakety commented Jan 29, 2024

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.

@ZenBre4ker
Copy link
Contributor

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

@cakety
Copy link
Author

cakety commented Jan 30, 2024

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

@EntranceJew
Copy link
Contributor

that one should also be solved via #1335

@EntranceJew
Copy link
Contributor

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.

@cakety
Copy link
Author

cakety commented Jan 31, 2024

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

@Histalek Histalek added the type/bug Something isn't working label Feb 13, 2024
@Histalek Histalek added this to the v0.13.xb milestone Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants