-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
DebuggingThe issue is actively being debuggedThe issue is actively being debuggedbugSomething isn't workingSomething isn't workingcannot confirmThe issue couldn't be reproducedThe issue couldn't be reproducedhelp wantedExtra attention is neededExtra attention is neededrelease build issueAn issue in one of the HolyLib release buildsAn issue in one of the HolyLib release builds
Milestone
Description
In version 0.8-pre2 the HolyLib:PreProcessVoiceChat hook is causing crashes when talking, I was not able to add the debug log here cause for some reason my server does not generate a debug file although -debug is added to my start script.
In version 0.73 is it working fine except that the "ply" argument is a table without any reference to a player, so I had to get creative and use player.GetByID(voiceData:GetPlayerSlot() + 1)
I know that 0.82-pre2 is not stable but I wanted to report that cause I don't know if its a known bug or not
Code:
voiceTbl = {}
concommand.Add("record_me", function()
hook.Remove("Think", "VoiceChat_Example") -- Doesn't like to play back while recording :^
voiceTbl = {}
voiceStartTick=engine.TickCount()
print("start tick:", voiceStartTick)
hook.Add("HolyLib:PreProcessVoiceChat", "VoiceChat_Example", function(ply, voiceData)
print("Processing Voicedata...", ply, voiceData )
if !voiceTbl[ply] then
voiceTbl[ply] = {}
end
voiceTbl[ply][engine.TickCount() - voiceStartTick] = voiceData:CreateCopy()
-- We save the tick delays since the voice data isn't sent every frame and has random delays.
end)
end)Console Log:
start tick: 7583
Segmentation fault (core dumped)
Add "-debug" to the /home/gmod/Steam/steamapps/common/GarrysModDS/srcds_run command line to generate a debug.log to help with solving this problem
Sat Nov 22 11:48:40 PM CET 2025: Server restart in 10 seconds
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DebuggingThe issue is actively being debuggedThe issue is actively being debuggedbugSomething isn't workingSomething isn't workingcannot confirmThe issue couldn't be reproducedThe issue couldn't be reproducedhelp wantedExtra attention is neededExtra attention is neededrelease build issueAn issue in one of the HolyLib release buildsAn issue in one of the HolyLib release builds