当前位置: 首页 >>业内新闻

业内新闻

gee半岛封挂脱机回收脚本+过验证码
发布者:冰雪辅助官网 发布时间:2020/2/26 6:29:16 阅读:


gee半岛封挂网关挂机回收脚本+过验证码

触发器(不在指定地图("⑦号回馈"))->跳转(脚本开始)
<脚本开始>
如果(人物[当前地图=Q004])->跳转[走验证]
如果(在指定地图("⑦号回馈"))->跳转(打怪流程)
如果(不在指定地图("盟重省"))->使用("盟重传送石")
如果(不在指定地图("盟重省"))->等待(1500)
模糊走到(314,344,6,"xtc")
对话(314,344)
等待(1500)
选择("@Ks")
等待(1500)
如果(不在指定地图("第二大陆"))->使用("盟重传送石")
如果(不在指定地图("第二大陆"))->等待(1500)
模糊走到(35,46,6,"DALYC")
对话(35,46)
等待(1500)
选择("@Ks1")
等待(1500)
如果(不在指定地图("第三大陆"))->使用("盟重传送石")
如果(不在指定地图("第三大陆"))->等待(1500)
模糊走到(35,46,6,"DALYC")
对话(35,46)
等待(1500)
选择("@Ks1")
等待(1500)
如果(不在指定地图("第四大陆"))->使用("盟重传送石")
如果(不在指定地图("第四大陆"))->等待(1500)
模糊走到(17,65,6,"DALYC")
对话(17,65)
等待(1500)
选择("@回馈地图")
等待(1500)
跳转(脚本开始)
<打怪流程>
开始挂机() // 如需要定点巡航,将此行替换为巡航代码
跳转(打怪流程)
触发器(人物[当前地图=Q004])->跳转[走验证]
<走验证>
关闭触发器[]
/<
function 走验证()
  等待(1000)
  按键(13)
  等待(500)
  按键(13)
  等待(500)
  local NPC坐标={ 16,17 } -- 将这里改成正确的第一个NPC的坐标
  local NPC坐标2={ 12,10 } -- 将这里改成正确的另外一个NPC的坐标
::H1::
-- ↓↓↓不需要点NPC查询坐标的话,删除下面代码↓↓↓
  对话(NPC坐标[1],NPC坐标[2])
  等待(1500)
  if string.find(获取NPC对话内容(),"@查询坐标") then
    选择("@查询坐标")
    等待(1500)
    按键(13)
    等待(500)
    按键(13)
    等待(500)
  end
-- ↑↑↑不需要点NPC查询坐标的话,删除上面代码↑↑↑
 
  local function masknum(num)
      local t = {
      {"O","0"},{"◎","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"},
      {"0","0"},{"1","1"},{"2","2"},{"3","3"},{"4","4"},
      {"5","5"},{"6","6"},{"7","7"},{"8","8"},{"9","9"}
      }
      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 not x or not y then 
    str=获取NPC对话内容()
    str=str:gsub(">%d+次<,%d+次","")
    str=str:gsub("/AUTOCOLOR=[^>]+>","")
    x,y=getxy(str)
  end
  if x and y then
    走到(x,y)
    等待(1500)
    对话(NPC坐标[1],NPC坐标[2])
    等待(1500)
    local cmd = string.match(获取NPC对话内容(),"/(@完成[^>]+)>")
    if cmd then
      选择(cmd)
      等待(1500)
    end
  elseif NPC坐标[1] ~= NPC坐标2[1] then
    -- 获取不到坐标,尝试更换NPC再试一次。
    NPC坐标[1] = NPC坐标2[1]
    NPC坐标[2] = NPC坐标2[2]
    goto H1
  end  
end
走验证()
/>
开启触发器[]

 

 

上一页:冰雪服脱机比奇矿区边走边打挂机脚本

下一页:2月4日冰雪插件vs冰雪辅助首站新区日志