• Voice Chat - Intermittent issues
    1 replies, posted
Hey... On my server I have a bug with voice chat, I've spent weeks trying to debug it but its intermittent and displays in different ways. When my server launches and a few players join (friends testing) sometimes we can all talk and hear each other, sometimes we can't hear anyone at all, other times one person can hear everyone but others can't hear them. The bug only happens on a dedicated server (same gamemode, addons, etc work fine on listen server) - Also tried linux DS and a windows DS (multiple hosts/networks) I have tried launching without workshop addons, tried removing local addons (/addons folder), tried launching on other gamemodes. The issue stays around, sometimes we can launch the server 20 times without the issue for 2 people but the 3rd/4th/etc person to join can't hear anyone else. When the issue happens I check what hooks are set with `hook.GetTable()` and `hook.GetTable().PlayerCanHearPlayersVoice` also checking `sv_alltalk` Also running `print(hook.Run('PlayerCanHearPlayersVoice', Entity(1), Entity(2)))` (replacing Entity(1) and Entity(2) with the players that are having the issue) and that returns `true` I've tried to avoid posting it on here to avoid the replies like "disable your addons" and "its your gamemode" etc I realise that this is probably something that I have caused via Lua but am hoping that someone can help debug it. Thanks
use debug library and search PlayerCanHearPlayersVoice hook in your code
Sorry, you need to Log In to post a reply to this thread.