对Reallite Files Checker 0.5 对比文件的疑问
本帖最后由 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 != ';' && !equal(s_RFCText, ""))
{
log_amx ("RFC_client: %s", s_RFCText)
Enforce(s_RFCText)
}
}
然后查了下服务器的日志:
L 08/17/2009 - 13:59:38: RFC_client: chateau.wad
L 08/17/2009 - 13:59:38: RFC_client: cs_cbble.wad
L 08/17/2009 - 13:59:38: RFC_client: cs_dust.wad
L 08/17/2009 - 13:59:38: RFC_client: cs_office.wad
L 08/17/2009 - 13:59:38: RFC_client: cstrike.wad
L 08/17/2009 - 13:59:38: RFC_client: de_aztec.wad
L 08/17/2009 - 13:59:38: RFC_client: de_storm.wad
L 08/17/2009 - 13:59:38: RFC_client: de_piranesi.wad
L 08/17/2009 - 13:59:38: RFC_client: de_airstrip.wad
L 08/17/2009 - 13:59:38: RFC_client: de_vertigo.wad
L 08/17/2009 - 13:59:38: RFC_client: itsitaly.wad
L 08/17/2009 - 13:59:38: RFC_client: prodigy.wad
L 08/17/2009 - 13:59:38: RFC_client: halflife.wad
L 08/17/2009 - 13:59:38: RFC_client: liquids.wad
L 08/17/2009 - 13:59:38: RFC_client: xeno.wad
L 08/17/2009 - 13:59:38: RFC_client: torntextures.wad
L 08/17/2009 - 13:59:38: RFC_client: models/p_aug.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_ak47.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_awp.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/w_c4.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_c4.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_deagle.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/w_flashbang.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_flashbang.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_glock18.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/w_hegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_hegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_knife.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_m4a1.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_mp5.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_scout.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/w_smokegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_smokegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_usp.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_sg552.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_famas.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_galil.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/w_shield.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/p_shield.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/v_shield_r.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_deagle.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_fiveseven.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_flashbang.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_glock18.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_hegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_knife.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_p228.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_smokegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/p_shield_usp.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_deagle.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_fiveseven.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_flashbang.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_glock18.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_hegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_knife.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_p228.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_smokegrenade.mdl
L 08/17/2009 - 13:59:38: RFC_client: models/shield/v_shield_usp.mdl
L 08/17/2009 - 13:59:38: RFC_client: ../demoPlayer.dll
L 08/17/2009 - 13:59:38: RFC: models/scientist.mdl
L 08/17/2009 - 13:59:38: RFC: hostage/hos1.wav
L 08/17/2009 - 13:59:38: RFC: hostage/hos2.wav
L 08/17/2009 - 13:59:38: RFC: hostage/hos3.wav
L 08/17/2009 - 13:59:38: RFC: hostage/hos4.wav
L 08/17/2009 - 13:59:38: RFC: hostage/hos5.wav
L 08/17/2009 - 13:59:38: RFC: sprites/smoke.spr
L 08/17/2009 - 13:59:38: RFC: sprites/voiceicon.spr
L 08/17/2009 - 13:59:38: RFC: models/w_kevlar.mdl
L 08/17/2009 - 13:59:38: RFC: items/tr_kevlar.wav
L 08/17/2009 - 13:59:38: RFC: models/w_battery.mdl
L 08/17/2009 - 13:59:38: RFC: items/gunpickup2.wav
L 08/17/2009 - 13:59:38: RFC: models/w_antidote.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_security.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_longjump.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_kevlar.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_assault.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_thighpack.mdl
L 08/17/2009 - 13:59:38: RFC: models/v_awp.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_awp.mdl
L 08/17/2009 - 13:59:38: RFC: weapons/awp1.wav
L 08/17/2009 - 13:59:38: RFC: weapons/boltpull1.wav
L 08/17/2009 - 13:59:38: RFC: weapons/boltup.wav
L 08/17/2009 - 13:59:38: RFC: weapons/boltdown.wav
L 08/17/2009 - 13:59:38: RFC: weapons/zoom.wav
L 08/17/2009 - 13:59:38: RFC: weapons/awp_deploy.wav
L 08/17/2009 - 13:59:38: RFC: weapons/awp_clipin.wav
L 08/17/2009 - 13:59:38: RFC: weapons/awp_clipout.wav
L 08/17/2009 - 13:59:38: RFC: models/rshell_big.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_9mmclip.mdl
L 08/17/2009 - 13:59:38: RFC: items/9mmclip1.wav
L 08/17/2009 - 13:59:38: RFC: models/v_g3sg1.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_g3sg1.mdl
L 08/17/2009 - 13:59:38: RFC: weapons/g3sg1-1.wav
L 08/17/2009 - 13:59:38: RFC: weapons/g3sg1_slide.wav
L 08/17/2009 - 13:59:38: RFC: weapons/g3sg1_clipin.wav
L 08/17/2009 - 13:59:38: RFC: weapons/g3sg1_clipout.wav
L 08/17/2009 - 13:59:38: RFC: weapons/zoom.wav
L 08/17/2009 - 13:59:38: RFC: models/rshell.mdl
L 08/17/2009 - 13:59:38: RFC: models/v_ak47.mdl
L 08/17/2009 - 13:59:38: RFC: models/w_ak47.mdl
L 08/17/2009 - 13:59:38: RFC: weapons/ak47-1.wav
L 08/17/2009 - 13:59:38: RFC: weapons/ak47-2.wav
L 08/17/2009 - 13:59:38: RFC: weapons/ak47_clipout.wav
L 08/17/2009 - 13:59:38: RFC: weapons/ak47_clipin.wav
L 08/17/2009 - 13:59:38: RFC: weapons/ak47_boltpull.wav
。。。。。。。。。。。。。
L 08/17/2009 - 13:59:39: RFC: debris/metal1.wav
L 08/17/2009 - 13:59:39: RFC: debris/metal2.wav
L 08/17/2009 - 13:59:39: RFC: debris/metal3.wav
L 08/17/2009 - 13:59:39: RFC: models/metalplategibs_green.mdl
很长省了一部分,但是可以看到预读取的文件只是包括 spr wav mdl 3种,其他的wad dll等没有。
这样的话,没有预读取的文件是不是根本就没有做文件验证? 1# guoxiangwei
用这个吧,管用! 本帖最后由 guoxiangwei 于 2009-8-17 16:38 编辑
谢谢,客户端的DemoPlayer.dll文件传到服务器和hlds同一个目录下,使用插件后,用作弊器一样登录了,1个人在里面呆了10分钟,这个什么时候检查文件?
还是我放的目录不对? 服务器版本是4554的,客户端使用的2834测试的 一进服务器就要检测,用了作弊器根本是进不了服务器的!
另外那个ini文件放到configs目录没有? 本帖最后由 guoxiangwei 于 2009-8-17 19:20 编辑
肯定放了。不知道为什么就是没反应 先看下能对比其他文件不,能的话说明你要对比的文件地址不对 试过其他文件也不起作用!
但是我测试了配置文件没有问题
../voice_speex.dll
../voice_miles.dll
../DemoPlayer.dll
../valve/cl_dlls/particleman.dll
de_storm.wad
问题已经解决,最后发现是sever.cfg中一个参数的问题。
mp_consistency 设置为1才可以! 问题已经解决,最后发现是sever.cfg中一个参数的问题。
mp_consistency 设置为1才可以!
guoxiangwei 发表于 2009-8-18 09:29 http://www.dt-club.net/forum/images/common/back.gif
和这个无关吧
页:
[1]
2