|
发表于 2009-8-17 14:14:51
|
显示全部楼层
|阅读模式
来自 中国–河南–周口–淮阳区
本帖最后由 guoxiangwei 于 2009-8-17 14:18 编辑
像用这个插件来验证客户端的DemoPlayer.dll文件
但是发现没有效果,本来以为是这个插件没有正常运行,检查后发现运行没有问题。
后来想到记录下来看看,加入了2句:
这里,应该是服务器预先读取的服务器文件
public File_Precache(const s_File[])
{
Enforce(s_File)
log_amx ("RFC: %s", s_File)
return FMRES_IGNORED
}
这里需要验证的客户端文件名字:
while (read_file(s_ChecksFile, i_Position++, s_RFCText, 63, a))
{
if (s_RFCText[0] != ';' && !equal(s_RFCText, ""))
{
log_amx ("RFC_client: %s", s_RFCText)
Enforce(s_RFCText)
}
}
然后查了下服务器的日志:
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: chateau.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: cs_cbble.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: cs_dust.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: cs_office.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: cstrike.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: de_aztec.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: de_storm.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: de_piranesi.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: de_airstrip.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: de_vertigo.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: itsitaly.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: prodigy.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: halflife.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: liquids.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: xeno.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: torntextures.wad
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_aug.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_ak47.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_awp.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/w_c4.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_c4.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_deagle.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/w_flashbang.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_flashbang.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_glock18.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/w_hegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_hegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_knife.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_m4a1.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_mp5.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_scout.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/w_smokegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_smokegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_usp.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_sg552.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_famas.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_galil.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/w_shield.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/p_shield.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/v_shield_r.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_deagle.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_fiveseven.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_flashbang.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_glock18.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_hegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_knife.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_p228.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_smokegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/p_shield_usp.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_deagle.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_fiveseven.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_flashbang.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_glock18.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_hegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_knife.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_p228.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_smokegrenade.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: models/shield/v_shield_usp.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC_client: ../demoPlayer.dll
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/scientist.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: hostage/hos1.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: hostage/hos2.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: hostage/hos3.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: hostage/hos4.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: hostage/hos5.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: sprites/smoke.spr
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: sprites/voiceicon.spr
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_kevlar.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: items/tr_kevlar.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_battery.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: items/gunpickup2.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_antidote.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_security.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_longjump.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_kevlar.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_assault.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_thighpack.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/v_awp.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_awp.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/awp1.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/boltpull1.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/boltup.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/boltdown.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/zoom.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/awp_deploy.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/awp_clipin.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/awp_clipout.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/rshell_big.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_9mmclip.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: items/9mmclip1.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/v_g3sg1.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_g3sg1.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/g3sg1-1.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/g3sg1_slide.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/g3sg1_clipin.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/g3sg1_clipout.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/zoom.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/rshell.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/v_ak47.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: models/w_ak47.mdl
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/ak47-1.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/ak47-2.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/ak47_clipout.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/ak47_clipin.wav
L 08/17/2009 - 13:59:38: [reallite_fc.amxx] RFC: weapons/ak47_boltpull.wav
。。。。。。。。。。。。。
L 08/17/2009 - 13:59:39: [reallite_fc.amxx] RFC: debris/metal1.wav
L 08/17/2009 - 13:59:39: [reallite_fc.amxx] RFC: debris/metal2.wav
L 08/17/2009 - 13:59:39: [reallite_fc.amxx] RFC: debris/metal3.wav
L 08/17/2009 - 13:59:39: [reallite_fc.amxx] RFC: models/metalplategibs_green.mdl
很长省了一部分,但是可以看到预读取的文件只是包括 spr wav mdl 3种,其他的wad dll等没有。
这样的话,没有预读取的文件是不是根本就没有做文件验证? |
|