View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-10-2020 , 09:37   Re: [ANY] Spray Exploit Fixer (1.3) [26-Apr-2020]
Reply With Quote #23

Quote:
Originally Posted by bottiger View Post
Just a question, why do you have a prehook and a post hook? Why not move "DHookGetParamString(hParams, 1, g_sFilename, sizeof(g_sFilename));" to the beginning of the post hook and get rid of the prehook?
What Cravenge said. Params not always available in post hook. This could all be moved to pre hook since the file is valid then, but I'm keeping the check in post hook to make sure.



Code:
1.4 (10-May-2020)
    - Added support for "Zombie Panic! Source" game. Requires gamedata update.
    - Fixed "sm_spray_test" timing out when checking many sprays. Thanks to "Sreaper" for reporting and testing.
    - Now checks 50 files and waits 0.1 seconds before checking the next batch.
    - TF2 updated to fix clients crashing, but this plugin is still recommended to delete the other randomly uploaded user files.
(also 120 of 125 my plugins updated lol)
__________________

Last edited by Silvers; 05-11-2020 at 04:08.
Silvers is offline