Garry's Mod

Garry's Mod

Threat Effects
Bug report
The "death screen" spams a LOT of errors in my console until the death screen is "over"?
< >
Showing 1-15 of 46 comments
OTAUnitEcho-5 26 Nov, 2024 @ 7:49am 
Something about "SetMaterial"
OTAUnitEcho-5 26 Nov, 2024 @ 7:49am 
iMaterial expected, got number
OTAUnitEcho-5 26 Nov, 2024 @ 7:50am 
Apparently something in line 101 and 96 according to the error messages
OTAUnitEcho-5 26 Nov, 2024 @ 7:50am 
[Threat Effects] lua/autorun/client/cl_threateffects_death.lua:101: bad argument #1 to 'SetMaterial' (IMaterial expected, got number)
1. SetMaterial - [C]:-1
2. v - lua/autorun/client/cl_threateffects_death.lua:101
3. unknown - lua/includes/modules/hook.lua:96
OTAUnitEcho-5 26 Nov, 2024 @ 8:03am 
It's not an addon incompatibility thing
Last edited by OTAUnitEcho-5; 26 Nov, 2024 @ 8:52am
googer_  [developer] 26 Nov, 2024 @ 10:13am 
Gotcha, gonna look into it
badbadalex55 26 Nov, 2024 @ 1:20pm 
Getting the same exact Issue here, I woulda thought it was a conflict but it doesn't actually seem so
[Threat Effects] lua/autorun/client/cl_threateffects_death.lua:101: bad argument #1 to 'SetMaterial' (IMaterial expected, got number)
1. SetMaterial - [C]:-1
2. v - lua/autorun/client/cl_threateffects_death.lua:101
3. unknown - lua/includes/modules/hook.lua:96
ALoneMissileTank 26 Nov, 2024 @ 5:30pm 
I'm also getting the same error, but my console follows that message up with " Warning! Detected missing cam.End2D call! ".
ALoneMissileTank 26 Nov, 2024 @ 10:45pm 
Forgot to mention but the death images also do not work for me, even after enabling/disabling the settings and reloading the map. I got one to flash on my screen once before it stopped completely and gave me the error.
Warning! Detected missing cam.End2D call!

[Threat Effects] lua/autorun/client/cl_threateffects_death.lua:101: bad argument #1 to 'SetMaterial' (IMaterial expected, got number)
1. SetMaterial - [C]:-1
2. CallPart - lua/autorun/client/cl_threateffects_death.lua:101
3. unknown - lua/includes/modules/hook_lithium.lua:184
Garry :D 27 Nov, 2024 @ 12:14am 
Warning! Detected missing cam.End2D call!

[Threat Effects] lua/autorun/client/cl_threateffects_death.lua:101: bad argument #1 to 'SetMaterial' (IMaterial expected, got number)
1. SetMaterial - [C]:-1
2. v - lua/autorun/client/cl_threateffects_death.lua:101
3. unknown - lua/includes/modules/hook.lua:96

I get this when the Death Effect option is turned on. Its not conflicting with any addon's because I tested it without any addons installed apart from this one. The Error text keeps getting sent whilst i'm dead, it is until i respawn it stops.
76561199054376957 27 Nov, 2024 @ 2:50am 
[Threat Effects] lua/autorun/client/cl_threateffects_death.lua:101: bad argument #1 to 'SetMaterial' (IMaterial expected, got number)
1. SetMaterial - [C]:-1
2. v - lua/autorun/client/cl_threateffects_death.lua:101
3. unknown - lua/includes/modules/hook.lua:96
googer_  [developer] 27 Nov, 2024 @ 6:24am 
pushed out an update that should fix this bug
Don't know if its just me but i get a massive lag spike when i die and i get this message in console "Failed to create IGModAudioChannel! 2: BASS_ERROR_FILEOPEN"
< >
Showing 1-15 of 46 comments
Per page: 1530 50