脚本验证

屠杀辅助脱机室走坐标2

时间:2019/3/25 10:50:00  作者:屠杀辅助  来源:http://www.tushafuzhu.com/  查看:9836  评论:0
内容摘要:​//添加到挂机脚本最后触发器(人物[当前地图=Q004])->跳转[走验证]关闭触发器[]/开启触发器[]跳转[脚本开始]...
屠杀辅助脱机室走坐标2

//添加到挂机脚本最后
触发器(人物[当前地图=Q004])->跳转[走验证]
<走验证>
关闭触发器[]
/<
function 走验证()
  local function masknum(num)
      local t = {
      {"O","0"},{"◎","0"},{"①","1"},{"②","2"},{"③","3"},{"④","4"},
      {"⑤","5"},{"⑥","6"},{"⑦","7"},{"⑧","8"},{"⑨","9"},{"⑩","10"},
      {"㈠","1"},{"㈡","2"},{"㈢","3"},{"㈣","4"},{"㈤","5"},
      {"㈥","6"},{"㈦","7"},{"㈧","8"},{"㈨","9"},{"㈩","10"},
      {"❶","1"},{"❷","2"},{"❸","3"},{"❹","4"},{"❺","5"},
      {"❻","6"},{"❼","7"},{"❽","8"},{"❾","9"},{"❿","10"},
      {"⒈","1"},{"⒉","2"},{"⒊","3"},{"⒋","4"},{"⒌","5"},
      {"⒍","6"},{"⒎","7"},{"⒏","8"},{"⒐","9"},{"⒑","10"},
      {"⒒","11"},{"⒓","12"},{"⒔","13"},{"⒕","14"},{"⒖","15"},
      {"⒗","16"},{"⒘","17"},{"⒙","18"},{"⒚","19"},{"⒛","20"},
      {"⑴","1"},{"⑵","2"},{"⑶","3"},{"⑷","4"},{"⑸","5"},
      {"⑹","6"},{"⑺","7"},{"⑻","8"},{"⑼","9"},{"⑽","10"},
      {"⑾","11"},{"⑿","12"},{"⒀","13"},{"⒁","14"},{"⒂","15"},
      {"⒃","16"},{"⒄","17"},{"⒅","18"},{"⒆","19"},{"⒇","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
    str=masknum(str)
    rx,ry=str:match("[走站移动]*[向到]*[^%d]*(%d+)[^%d]+(%d+)")
    return rx,ry
  end
  local str=获取对话框内容()
  x,y=getxy(str)
  if x and y then
    按键(13)
    等待(500)
    走到(x,y)
    等待(1000)
    local goods=str:match("[双击使用]*%[([^%]]+)%]")
    if goods then 使用物品(goods) end
  end
  
end
走验证()
/>
开启触发器[]
跳转[脚本开始]
标签:屠杀 辅助 脱机 坐标 
相关评论
评论者:      验证码:  点击获取验证码
屠杀辅助专业研究互联辅助加速工具直接秒过市面上各种最新登陆器

屠杀辅助官网若有侵权内容请联系站长删除

 致力打造绿色安全玩家交流网