Thread
:
[ANY] Spray Exploit Fixer (2.22) [28-Jan-2024]
View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
07-21-2020 , 02:34 Re: [ANY] Spray Exploit Fixer (1.6) [15-Jul-2020]
#
27
OnFileReceive happens when a file is being sent, not yet received by the server (so no file exists and cannot be checked). OnFileSend I guess only happens when clients request the file (so would duplicate checks unless storing a flag of known checked ones basically) so gone with detour when the file has finished being sent so can check only on send and if bad delete. Pretty sure post hook detour not required but I gone with checking there instead of pre hook just to make sure games done with it and file is valid.
__________________
[
My Plugins
]
>>
GitHub
<<
[TUT] Scripting
ANY
:
Command & ConVar - Buffer Overflow Fixer
|
Spray Exploit Fixer
L4D1/2
:
Left 4 DHooks
|
Info Editor
|
Priority Patch
Last edited by Silvers; 07-21-2020 at
02:38
.
Silvers
View Public Profile
Send a private message to Silvers
Find More Posts by Silvers