WPE|52wpe|我爱WPE

 找回密码
 注册会员
搜索
  • 1402查看
  • 0回复

主题

好友

92

积分

注册会员

发表于 2016-4-30 18:40:17 |显示全部楼层


454027-4ceaf7fd8598da42b572cca91566459d.jpg

QManage
          《防挂机验证系统》\ \ <请问:/SCOLOR=249>  一天有8节课,上完5节课,还剩几节课?\ \  A: 11节课 ←—    <选择A答案/@验证按钮1>\  B: 22节课  ←—           <选择B答案/@验证按钮2>\  C: 33节课  ←—    <选择C答案/@验证按钮3>\  D: 3节课  ←—           <选择D答案/@验证按钮4>\ <注:超过120秒不答题会被T下线,多次被T下线有可能封号哦/SCOLOR=253>\ <注:答错2次会被T下线,        多次被T下线有可能封号哦/SCOLOR=250>\%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


这一个问题过起来很简单,比如:

aa=string.find(NPC对话内容,"一天有8节课,上完5节课,还剩几节课?",1,true)if aa~=nil then
选择("@验证按钮4")
end

这样子就能过,但是有几百个这样的问题地图随机触发的!而且一个问题答案有可能是A,也有可能是B,还有可能是C和D......

我只是想请大神写单独的一个问题验证,能过4个选项答案的验证!!!用命令合成!

纯粹的过四种答案的我也尝试编写了一个但是几百道题数据量有点大,比如像这种:


aa=string.find(NPC对话内容,"一天有8节课,上完5节课,还剩几节课?",1,true)
if aa~=nil then
bb=string.find(NPC对话内容,"A: 3",1,true)
if bb~=nil then
选择("@验证按钮1")
end
cc=string.find(NPC对话内容,"B: 3",1,true)
if cc~=nil then
选择("@验证按钮2")
end
dd=string.find(NPC对话内容,"C: 3",1,true)
if dd~=nil then
选择("@验证按钮3")
end
ee=string.find(NPC对话内容,"D: 3",1,true)
if ee~=nil then
选择("@验证按钮4")
end

答案是3节课,满足A: 3,B: 3或者C: 3,D: 3的选择对应的答案,不用定位后面的位置,请大神看看能不能优化下这个过验证码的命令....最好是合成的

aa=NPC对话内容
k1=string.find(aa,"“/SCOLOR=249>",1,true)
if k1~=nil then
    pass1=string.sub(aa,k1,k1+30)       
    --print(pass1)       
        k2=string.find(pass1,">",1,true)
    passcode=string.sub(pass1,k2+1,k2+2)       
        --print(k2)
        --print(passcode)
        选择(passcode)
end



像以上这种过验证码,就是命令来替换合成的!!!!!!!


快速发帖

您需要登录后才可以回帖 登录 | 注册会员

手机版|Archiver|WPE|52wpe|我爱WPE ( 闽ICP备15009081号 )

GMT+8, 2024-4-29 05:50 , Processed in 0.064720 second(s), 19 queries .

返回顶部