FF2-Official icon indicating copy to clipboard operation
FF2-Official copied to clipboard

Tweak smac_cvars support.

Open WildCard65 opened this issue 11 years ago • 3 comments

Atm, ff2 checks for the smac library + the existence of the smac_cvars.smx file and then issues the commands to add and remove cvars but what if we just take advantage of this useful forward from smac.inc:

forward Action:SMAC_OnCheatDetected(client, const String:module[], DetectionType:type, Handle:info);

And we check if type equals

Detection_CvarViolation

and if it does, we check if the cvar in detection matches any that ff2 proxy fakes and check if the value matches the value we proxy it at and if a something that is modifying it with ff2's help is actually going and if it does, we return anything but

Plugin_Continue

otherwise we just return

Plugin_Continue

This would require a recode of ff2's core ability system so I plan this should be done in 2.0.0.

WildCard65 avatar Apr 11 '14 15:04 WildCard65

Bumping this up to 1.10.0.

winstliu avatar Apr 22 '14 22:04 winstliu

looks good.

WildCard65 avatar Apr 22 '14 23:04 WildCard65

Resetting to 2.0.0.

winstliu avatar May 07 '14 21:05 winstliu