简单辅助挂机过拼图验证码3

2021-12-29 23:08:18 作者:

简单辅助_简单挂免费版|传奇单职业辅助_ >> 网站导航 >> 正文

 

/<
function mask(a)
  local t=[[
    [1:1912],[2:2234],[3:4254],[4:1165],
    [1:4068],[2:1261],[3:4901],[4:2363],
    [1:846], [2:1654],[3:3808],[4:124],
    [1:1333],[2:3283],[3:1726],[4:707],
    [1:3889],[2:882], [3:182], [4:3798],
    [1:2326],[2:2920],[3:2566],[4:639],
  ]]
  local r=t:match("%[(%d+):"..a.."%]")
  if r then return r end
  return "0"
end
function 过验证()
  ::Start::
  local str=获取NPC对话内容()
  if not str:match("左侧拼图") then return end
  local np=""
  local cmds={www}
  for id,cmd in str:gmatch("<Img:(%d+):[^>/]+/(@[^>]+)>") do
    np=np..mask(id)
    if id~="0" then
      cmds[tonumber(mask(id))]=cmd
    end
  end
  if np=="12340" then
    选择("@提交验证")
    等待(1000)
    return
  end
  for i=1,4 do
    if tonumber(np:sub(i,i))~=i then
      选择(i)
      等待(1000)
      选择(cmds[i])
      等待(1000)
      break
    end
  end
  goto Start
end
过验证() -- 简单辅助回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>

如果出现异常或者过不了的情况查看下面说明:
以上内容 简单挂官网原创:www.a1904.com 转载请注明来源!