搜索
查看: 321|回复: 0

热血传奇私服外挂过按顺序选择汉字验证码

[复制链接]

218

主题

243

帖子

916

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
916
发表于 2020-6-29 14:30:55 | 显示全部楼层 |阅读模式
按顺序选择汉字示例.jpg

/<
local lastmsg=""
function 过验证()
  local str=获取NPC对话内容()
  if lastmsg==str then return end
  lastmsg=str
  if str:match("验证码") then

function GetWords(s)
  s=s:gsub(" ","  ")
  local t={};local ti={};local rt={};
  for w in s:gmatch("{([^/]+)/SCOLOR=%d+}") do
    local ps=0;local pe=0;
    repeat
      ps,pe,w1=w:find("([^%s]+)",pe+1)
      if ps and w1 then t[ps]=w1;table.insert(ti,ps) end
    until not ps
  end
  table.sort(ti)
  for k,v in pairs(ti) do
    table.insert(rt,t[v])
  end
  return rt;
end

function GetCMDs(s)
  local rt={}
  for w,cmd in s:gmatch("<([^/]+)/(@防脱机[^>]+)>") do
    rt[w]=cmd
  end
  return rt;
end

    local cmds = GetCMDs(str)
    local words = GetWords(str)
    for k,v in ipairs(words) do
      if cmds[v] then
        选择(cmds[v])
        等待(1000)
      else
        for k2,v2 in pairs(cmds) do
          if 拼音比较(v,k2) then
            选择(v2)
            等待(1000)
            break;
          end
        end
      end
    end
  end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>

回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

传奇脱机辅助验证码脚本大全_霸星辅助论坛

传奇辅助防脱机验证码脚本论坛提供了收集整理了传奇辅助挂机回收验证以及最好用的传奇辅助地图随机验证码,单职业脱机辅助脚本,传奇单职业私服外挂等传奇辅助免费版脱机脚本下载。

霸星传奇辅助验证码论坛

联系我们

  • 工作时间:9:00-21:00(无周末休息日)
  • 客服QQ:2827992016
  • 反馈邮箱:2827992016@qq.com
  • 官方网站:http://bbs.wg798.com/

QQ|Archiver|小黑屋|霸星辅助脱机验证码下载官网

Powered by Discuz! X3.4 © 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表