JBMod / jbmod

Official bug tracker and request tracker for JBMod
https://www.jbmod.com/
14 stars 1 forks source link

npc_hunter crashes server if blinded by flashlight #56

Closed Nafrayu closed 1 year ago

Nafrayu commented 1 year ago

@ 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

TEAMJBMOD commented 1 year ago

This & several other similar crashes that were introduced when episodic content was merged in are fixed in the next release