[60秒]走到该地图坐标xx完成验证码,没有完成验证码将掉线处理!

2019-05-16 23:39:47

简单挂 >> 过验证码 >> 正文

[60秒]走到该地图坐标xx完成验证码,没有完成验证码将掉线处理!

之前跟大家分享过几次走坐标的防脱机验证
但是鉴于很多用户不会举一反三
这里直接针对服来更新下
这个服验证码是聊天框上边提示的一行数字
走到该地图坐标(11,15)完成验证
提示坐标的格式是带括号的
B版过验证码脚本如下


// 下面代码添加到<脚本开始>下面
如果(人物[当前地图=Q004])->跳转[走验证]
// 上面代码添加到<脚本开始>下面

// 以下所有代码都添加到挂机脚本最后
触发器(人物[当前地图=Q004])->跳转[走验证]
<走验证>
关闭触发器[]
/<
function 走验证()

  local function masknum(num)
      local t = {www
      {www"O","0"},{www"◎","0"},{www"①","1"},{www"②","2"},{www"③","3"},{www"④","4"},
      {www"⑤","5"},{www"⑥","6"},{www"⑦","7"},{www"⑧","8"},{www"⑨","9"},{www"⑩","10"},
      {www"㈠","1"},{www"㈡","2"},{www"㈢","3"},{www"㈣","4"},{www"㈤","5"},
      {www"㈥","6"},{www"㈦","7"},{www"㈧","8"},{www"㈨","9"},{www"㈩","10"},
      {www"&#10102;","1"},{www"&#10103;","2"},{www"&#10104;","3"},{www"&#10105;","4"},{www"&#10106;","5"},
      {www"&#10107;","6"},{www"&#10108;","7"},{www"&#10109;","8"},{www"&#10110;","9"},{www"&#10111;","10"},
      {www"⒈","1"},{www"⒉","2"},{www"⒊","3"},{www"⒋","4"},{www"⒌","5"},
      {www"⒍","6"},{www"⒎","7"},{www"⒏","8"},{www"⒐","9"},{www"⒑","10"},
      {www"⒒","11"},{www"⒓","12"},{www"⒔","13"},{www"⒕","14"},{www"⒖","15"},
      {www"⒗","16"},{www"⒘","17"},{www"⒙","18"},{www"⒚","19"},{www"⒛","20"},
      {www"⑴","1"},{www"⑵","2"},{www"⑶","3"},{www"⑷","4"},{www"⑸","5"},
      {www"⑹","6"},{www"⑺","7"},{www"⑻","8"},{www"⑼","9"},{www"⑽","10"},
      {www"⑾","11"},{www"⑿","12"},{www"⒀","13"},{www"⒁","14"},{www"⒂","15"},
      {www"⒃","16"},{www"⒄","17"},{www"⒅","18"},{www"⒆","19"},{www"⒇","20"},
          }
      for k,v in ipairs(t) do num=num:gsub(v[1],v[2]) end
      return num
  end
  local function getxy(str)
    local rx=nil;local ry=nil
    local tx=nil;local ty=nil
    for v in str:gmatch("([^\r\n]+)") do
      v=masknum(v)
      tx,ty=v:match("坐标%((%d+),(%d+)%)")
      if tx and ty then
        rx=tx
        ry=ty
      end
    end
    return rx,ry
  end
  local str=获取聊天信息(180)
  x,y=getxy(str)
  if x and y then
    走到(x,y)
    等待(1500)
  end
  
end
走验证()
/>
开启触发器[]
跳转[脚本开始]


以上内容转发自简单挂论坛:http://bbs.jdgbbs.com