简单辅助六位大黄数字排列_脚本验证

2021-12-30 12:28:00 作者:

简单辅助_简单挂免费版|传奇单职业辅助_ >> 传奇资讯 >> 正文

 

/<
function 过验证()
  ::start::
  local str=获取NPC对话内容()
  string.split = function(s)
    local t={www}
    for i=1,#s do
      t[i]=s:sub(i,i)
    end
    return t
  end
  local s1=str:match("【>(%d+)<】")
  if not s1 then return end
  local s2=""
  local nums=s1:split()
  local pics={www}
  local pc=0
  for k in str:gmatch("<Img:(%d+):") do
    table.insert(pics,k)
pc=pc+1
if pc >=6 then break end
  end
  table.sort(nums);table.sort(pics)
  local tab1={www};local tab2={www}
  for k,v in ipairs(pics) do
    tab1[nums[k]]=v
    tab2[v]=nums[k]
  end
  pc=0
  for k in str:gmatch("<Img:(%d+):") do
    s2=s2..tab2[k]
pc=pc+1
if pc >=6 then break end
  end
  if not s1 or not s2 or #s1~=#s2 then return end
  if s1==s2 then 选择("@点击验证排序");return end
  for i=1,#s1 do
    t1=s1:sub(i,i);t2=s2:sub(i,i)
    if t1 and t2 and t1~=t2 then
      d=s2:find(t1,i)
      if d and d<=#s1 then
        选择(i)
        等待(1500)
        选择(d)
        等待(1500)
      end
      break
    end
  end
  goto start
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>