Mikusch / deathrun

A highly customizable Deathrun plugin for Team Fortress 2
GNU General Public License v3.0
20 stars 9 forks source link

"Hide Runners" feature fails to hide entities with flag FL_EDICT_ALWAYS #1

Closed Mikusch closed 3 years ago

Mikusch commented 4 years ago

FL_EDICT_ALWAYS is known to be set on Miniguns, the Jungle Inferno ConTracker, the Fancy Spellbook and the Spellbook Magazine, causing players wielding these items to be unaffected by a SetTransmit hook.

The plugin already removes the flag from clients, weapons and wearables using the below code but it doesn't seem to do anything.

SetEdictFlags(edict, (GetEdictFlags(edict) & ~FL_EDICT_ALWAYS));
Mikusch commented 4 years ago

Managed to fix everything but the ConTracker. That one is a bit special because it supposedly has a particle attached to it which has FL_EDICT_ALWAYS set. Going to be a pain to get this to work so for now I just remove it from players as they spawn.

I'll keep this issue open so it doesn't get forgotten.