@ Snakez
please tell me if these type of crashes are too specific, i'd understand if you don't want to fix every single NPC bug, they were never ment for multiplayer after all...
Describe the bug
npc_hunter appears to crash the server if entity index 1 doesn't exist
To Reproduce
Steps to reproduce the behavior:
(keep the order intact, this is important!)
player 1 joins the server
player 2 joins the server
player 1 disconnects
player 2 spawns a hunter (npc_create enpc_hunter)
player 2 blinds the hunter by shining their flashlight into its eyes
@ Snakez please tell me if these type of crashes are too specific, i'd understand if you don't want to fix every single NPC bug, they were never ment for multiplayer after all...
Describe the bug npc_hunter appears to crash the server if entity index 1 doesn't exist
To Reproduce Steps to reproduce the behavior:
(keep the order intact, this is important!)
Expected behavior the server shouldn't crash
Additional context I believe this happens because entity index 1 is hardcoded in this place: https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/episodic/npc_hunter.cpp#L2201