搜索
查看: 8930|回复: 11

对Reallite Files Checker 0.5 对比文件的疑问

[复制链接]
发表于 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等没有。
这样的话,没有预读取的文件是不是根本就没有做文件验证?
发表于 2009-8-17 15:46:51 | 显示全部楼层 来自 中国–四川–宜宾
1# guoxiangwei

用这个吧,管用!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

 楼主| 发表于 2009-8-17 16:37:10 | 显示全部楼层 来自 中国–河南–周口–淮阳区
本帖最后由 guoxiangwei 于 2009-8-17 16:38 编辑

谢谢,客户端的DemoPlayer.dll文件传到服务器和hlds同一个目录下,使用插件后,用作弊器一样登录了,1个人在里面呆了10分钟,这个什么时候检查文件?
还是我放的目录不对?
回复

使用道具 举报

 楼主| 发表于 2009-8-17 16:40:06 | 显示全部楼层 来自 中国–河南–周口–淮阳区
服务器版本是4554的,客户端使用的2834测试的
回复

使用道具 举报

发表于 2009-8-17 18:47:52 | 显示全部楼层 来自 中国–四川–宜宾
一进服务器就要检测,用了作弊器根本是进不了服务器的!
另外那个ini文件放到configs目录没有?
回复

使用道具 举报

 楼主| 发表于 2009-8-17 19:00:34 | 显示全部楼层 来自 中国–河南–周口–淮阳区
本帖最后由 guoxiangwei 于 2009-8-17 19:20 编辑

肯定放了。不知道为什么就是没反应
回复

使用道具 举报

发表于 2009-8-17 19:37:40 | 显示全部楼层 来自 中国–北京–北京
先看下能对比其他文件不,能的话说明你要对比的文件地址不对
回复

使用道具 举报

 楼主| 发表于 2009-8-17 20:10:55 | 显示全部楼层 来自 中国–河南–周口–淮阳区
试过其他文件也不起作用!
但是我测试了配置文件没有问题

../voice_speex.dll
../voice_miles.dll
../DemoPlayer.dll
../valve/cl_dlls/particleman.dll
de_storm.wad

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
回复

使用道具 举报

 楼主| 发表于 2009-8-18 09:29:50 | 显示全部楼层 来自 中国–河南–洛阳
问题已经解决,最后发现是sever.cfg中一个参数的问题。
mp_consistency 设置为1才可以!
回复

使用道具 举报

发表于 2009-8-18 10:52:54 | 显示全部楼层 来自 中国–北京–北京
问题已经解决,最后发现是sever.cfg中一个参数的问题。
mp_consistency 设置为1才可以!
guoxiangwei 发表于 2009-8-18 09:29



和这个无关吧
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表