脱机验证

秒杀辅助过脱机室按顺序选择汉字验证

时间:2018/12/17 8:53:33  作者:秒杀辅助  来源:http://www.941msfz.com  查看:323709  评论:0
内容摘要://下面代码放到秒杀辅助挂机脚本最后:触发器(人物[当前地图=Q004])->跳转[走验证]关闭触发器[]/
秒杀辅助过脱机室按顺序选择汉字验证
//下面代码放到秒杀辅助挂机脚本最后:
触发器(人物[当前地图=Q004])->跳转[走验证]
<走验证>
关闭触发器[]
/<
function getw(l1,l2)
  local t={};local ti={}
  local w=""
  local pe=0;local ps=0
  l1=l1:gsub(" ","  ")
  l2=l2:gsub(" ","  ")
  repeat
    ps,pe,w=l1:find("([^%s]+)",pe+1)
    if w then t[ps]=w;table.insert(ti,ps) end
  until not ps
  pe=0;ps=0
  repeat
    ps,pe,w=l2:find("([^%s]+)",pe+1)
    if w then t[ps]=w;table.insert(ti,ps) end
  until not ps
  table.sort(ti)
  return t,ti
end
function getb(s)
  local t={}
  for title,cmd in s:gmatch("<([^/]+)/(@[^>]+)>") do
    title=取汉字拼音(title)
    t[title]=cmd
  end
  return t
end
function 过验证()
  local str=获取NPC对话内容()
  local tt={}
  for v in str:gmatch(">{*([^>\\]+)\\") do
    if #v>10 then
      table.insert(tt,v)
    end
  end
  if not tt[1] or not tt[2] then return end
  local t,ti = getw(tt[1],tt[2])
  local cmd=nil
  for k,v in pairs(ti) do
    local cmds=getb(str)
    cmd = cmds[取汉字拼音(t[v])]
    if cmd then
      print(cmd)
      选择(cmd)
      等待(1500)
    end
  end
end
过验证()
/>
开启触发器[]
跳转[脚本开始]
本站成立的目的是为了让广大传奇私服玩家有更好的传奇辅助使用而建设,秒杀辅助仅供玩家交流学习之用,并不支持任何官方游戏,仅仅是传奇私服辅助工具,特此申明,如有侵权,请联系客服告知,我们会在工作日24小时之内配合处理!
秒杀辅助官方客服
悠悠:
小麦:

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