脱机验证

秒杀辅助过输入加减乘除结果4验证

时间:2019/12/1 9:58:06  作者:秒杀辅助  来源:http://www.941msfz.com  查看:321492  评论:0
内容摘要:/
秒杀辅助过输入加减乘除结果4验证
/<
function 过验证()
  local tab={
              {"加","+"},{"减","-"},{"乘","*"},{"除","/"},
              {"+","+"},{"—","-"},{"×","*"},{"÷","/"},
              {"[","("},{"]",")"},{"【","("},{"】",")"},
              {"{","("},{"}",")"},{"<","("},{">",")"},
            }
  local function maskstr(str)
    for k,v in ipairs(tab) do
      if v[1]==str then return v[2] end
    end
    return str
  end
 
  local str=获取NPC对话内容()
  if str:match("验证问题") then
    local cmd=str:match("/(@[^>]+)>")
    local str2=maskstr(str)
    local bds=str2:match("([%d%+%-%*%/]+)=")
    if not bds then return end
    local sf=load("return "..bds)
    if sf and cmd then
      local r=sf()
      if not r then r="" end
      local content=tostring(r)
      if content and #content>0 then
        content=content:match("(%d+)")
        合成命令(cmd,content)
        清空NPC对话内容()
        等待(1000)
      end
    end
  end
end

 

过验证() -- 秒杀辅助过回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>

本站成立的目的是为了让广大传奇私服玩家有更好的传奇辅助使用而建设,秒杀辅助仅供玩家交流学习之用,并不支持任何官方游戏,仅仅是传奇私服辅助工具,特此申明,如有侵权,请联系客服告知,我们会在工作日24小时之内配合处理!
秒杀辅助官方客服
悠悠:
小麦:

客服QQ-179580763
TM-7:00 - 24:00
Powered by OTCMS V2.80