Gmod TTT: Corpses Refuse To Spawn When Players Are Killed With Fire (& sometimes bullets)
2 replies, posted
I've been running across an issue where players corpses do not spawn once they die 100% of the time when they die by fire (incendiary grenade or flaregun fire) and about 5% of the time from bullets but the corpses always spawn from explosions.
I have tried deleting addons I had in question. (spectator deathmatch and a custom flaregun)
If I delete those the following error occurs when using any custom hud:
Error in hook PlayerBindPress: gamemodes/terrortown/gamemode/cl_keys.lua:33: attempt to call method 'PreventAttack' (a nil value) stack traceback:
gamemodes/terrortown/gamemode/cl_keys.lua:33: in function <gamemodes/terrortown/gamemode/cl_keys.lua:15>
[C]: in function '•‎​‬‪•' [ERROR] 1. unknown - [C]:-1
I was able to test to see if those addons were the cause of the corpses not spawning by using the default HUD and they were NOT the cause.
The only way I was able to fix the issue was to add those addons back in, restart the server without cl_keys.lua, and then put cl_keys.lua back in before the map changes from the starting map.
I will provide more information if needed.
This was an issue fixed a long time ago. Iirc it's a ULX addon that overrides cl_keys incorrectly. Remove ALL of your addons. If the error still occurs, reinstall TTT from the Github and try again on vanilla.
It took some digging, but it was not the result of ULX and instead of a different addon. It was conflict between two of them causing this mess. Thanks anyways!
Sorry, you need to Log In to post a reply to this thread.