View Single Post
Author Message
MattOG
Senior Member
Join Date: May 2005
Old 02-24-2008 , 11:30   force_unmodified.. strange results
Reply With Quote #1

Hi, I was hoping someone may be able to shed some light as to why this code:

Code:
#include <amxmodx> public plugin_init() {     register_plugin("File Checks","1.1","FR4G1L3") } public plugin_precache() {     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"sprites/gas_puff_01.spr")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/bhit_flesh-1.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/bhit_flesh-2.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/bhit_flesh-3.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/bhit_helmet-1.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/bhit_kevlar-1.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_pain2.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_pain4.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_pain5.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_pain6.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_pain7.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_fallpain1.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_fallpain2.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_fallpain3.wav")     force_unmodified(force_exactfile,{0,0,0},{0,0,0},"player/pl_shot1.wav") } public inconsistent_file(id,const filename[],reason[64]) {     new name[32]     new uid[32]     get_user_authid(id,uid,31)     get_user_name(id,name,31)     format(reason,63,"- Goto *** and check the forums.")     log_to_file("Filecheck.log","FILECHECK:- Player Name: %s. SteamID: %s. Failed File: %s.",name,uid,filename)     return PLUGIN_CONTINUE }

Is detecting and blocking these files as well as the normal ones. I should add that it doesn't do it all the time. I myself fell victim, and had to restart cz to get on the server, yet I had only just started it the first time.

::EDIT::
It is being run on a condition zero server, just in case that matters.

Quote:
L 02/23/2008 - 2219: FILECHECK:- Player Name: Scal. SteamID: STEAM_0:1:***. Failed File: models/player/urban/urban.mdl.
L 02/23/2008 - 222:17: FILECHECK:- Player Name: Scal. SteamID: STEAM_0:1:***. Failed File: models/player/urban/urban.mdl.
L 02/23/2008 - 222:44: FILECHECK:- Player Name: Scal. SteamID: STEAM_0:1:***. Failed File: models/player/urban/urban.mdl.
L 02/23/2008 - 23:14:06: FILECHECK:- Player Name: backtrack #3. SteamID: STEAM_0:1:***. Failed File: models/player/guerilla/guerilla.mdl.
L 02/23/2008 - 19:28:21: FILECHECK:- Player Name: -=|_-Tjo|0|o-_|=-. SteamID: STEAM_0:0:***. Failed File: models/shield/p_shield_hegrenade.mdl.
__________________

+Karma If I helped

Last edited by MattOG; 02-24-2008 at 11:39.
MattOG is offline