G盾登录器脱机辅助多地图巡航挂机打怪回收脚本案例
2021/11/16 9:47:23 点击:
横刀辅助不断分享G盾登录器脱机辅助多地图巡航挂机打怪回收脚本案例:
function 回收() --回收子程序 点击坐标(190,15) 等待(500) 点击("@灭世套套套套",0) 等待(500) 点击("@灭世套套",0) 等待(500) if 获取窗口("包裹")==0 then 按键("f9") 等待(500) end 点击("DItemBagButton3",0) 等待(500) 点击("@storage",0) 等待(500) 物品存仓() 等待(500) 按键("esc") end if tonumber(os.time())-tonumber(取标记(6))>1200 then --1200秒使用一次修复 使用("修复神水") 等待(500) 置标记(6,tonumber(os.time())) end if 是否存在物品("修复神水")<1 then --修复神水小于1开始执行购买 点击商城() 等待(500) 点击坐标(219,61) 等待(500) 点击坐标(246,172) 等待(500) 点击坐标(376,391) 等待(500) 按键("enter") 等待(200) 点击商城() end if 是否存在物品("盟重传送石")<1 then --药物小于1开始执行购买 点击商城() 等待(500) 点击坐标(215,61) 等待(500) 点击坐标(252,123) 等待(500) 点击坐标(377,387) 等待(500) 按键("enter") 等待(200) 点击商城() end if (获取地图名()=="神魔之井") then --此地图是打怪地图,如发现地图名字错误请修改 if 获取窗口("NPC对话框")==1 then 按键("esc") end if 获取窗口("对话框")==1 then 按键("enter") end if 获取窗口("包裹")==1 then 按键("f9") end 丢弃物品() if (角色("死亡")==1) then 小退() end if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序 回收() end if 取标记(4)==11 then if 边走边打(15,18,5)==1 then 置标记(4,12) end elseif 取标记(4)==12 then if 边走边打(118,21,5)==1 then 置标记(4,13) end elseif 取标记(4)==13 then if 边走边打(203,67,5)==1 then 置标记(4,14) end elseif 取标记(4)==14 then if 边走边打(208,164,5)==1 then 置标记(4,15) end elseif 取标记(4)==15 then if 边走边打(152,197,5)==1 then 置标记(4,16) end elseif 取标记(4)==16 then if 边走边打(65,202,5)==1 then 置标记(4,17) end elseif 取标记(4)==17 then if 边走边打(29,150,5)==1 then 置标记(4,18) end elseif 取标记(4)==18 then if 边走边打(33,96,5)==1 then 置标记(4,19) end elseif 取标记(4)==19 then if 边走边打(98,50,5)==1 then 置标记(4,20) end elseif 取标记(4)==20 then if 边走边打(141,114,5)==1 then 置标记(4,21) end elseif 取标记(4)==21 then if 边走边打(93,133,3)==1 then 使用物品("盟重传送石") 等待(500) 置标记(10,0) 置标记(1,0) 置标记(4,0) end else 置标记(4,11) end end if (获取地图名()=="北俱芦洲") then --此地图是打怪地图,如发现地图名字错误请修改 if 获取窗口("NPC对话框")==1 then 按键("esc") end if 获取窗口("对话框")==1 then 按键("enter") end if 获取窗口("包裹")==1 then 按键("f9") end 丢弃物品() if (角色("死亡")==1) then 小退() end if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序 回收() end if 取标记(4)==11 then if 边走边打(15,18,5)==1 then 置标记(4,12) end elseif 取标记(4)==12 then if 边走边打(118,21,5)==1 then 置标记(4,13) end elseif 取标记(4)==13 then if 边走边打(203,67,5)==1 then 置标记(4,14) end elseif 取标记(4)==14 then if 边走边打(208,164,5)==1 then 置标记(4,15) end elseif 取标记(4)==15 then if 边走边打(152,197,5)==1 then 置标记(4,16) end elseif 取标记(4)==16 then if 边走边打(65,202,5)==1 then 置标记(4,17) end elseif 取标记(4)==17 then if 边走边打(29,150,5)==1 then 置标记(4,18) end elseif 取标记(4)==18 then if 边走边打(33,96,5)==1 then 置标记(4,19) end elseif 取标记(4)==19 then if 边走边打(98,50,5)==1 then 置标记(4,20) end elseif 取标记(4)==20 then if 边走边打(141,114,5)==1 then 置标记(4,21) end elseif 取标记(4)==21 then if 边走边打(93,133,3)==1 then 使用物品("盟重传送石") 等待(500) 置标记(10,1) 置标记(4,0) end else 置标记(4,11) end end if (获取地图名()=="时装之地③") then --此地图是打怪地图,如发现地图名字错误请修改 if 获取窗口("NPC对话框")==1 then 按键("esc") end if 获取窗口("对话框")==1 then 按键("enter") end if 获取窗口("包裹")==1 then 按键("f9") end 丢弃物品() if (角色("死亡")==1) then 小退() end if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序 回收() end if 取标记(2)==11 then if 边走边打(36,39,5)==1 then 置标记(2,12) end elseif 取标记(2)==12 then if 边走边打(34,23,5)==1 then 置标记(2,13) end elseif 取标记(2)==13 then if 边走边打(26,15,5)==1 then 置标记(2,14) end elseif 取标记(2)==14 then if 边走边打(13,14,5)==1 then 置标记(2,15) end elseif 取标记(2)==15 then if 边走边打(15,28,5)==1 then 置标记(2,16) end elseif 取标记(2)==16 then if 边走边打(24,33,3)==1 then 使用物品("盟重传送石") 等待(500) 置标记(1,1) 置标记(2,0) end else 置标记(2,11) end end if (获取地图名()=="盟重省") then --此地图进图,如发现地图名字错误请修改 血量=角色("当前HP") 最大血量=角色("最大HP") 血量百分比=(血量/最大血量)*100 if 检测复活()==1 then --判断可不删除 按键("呵呵") return end if 获取窗口("包裹")==1 then 按键("f9") end if 获取窗口("NPC对话框")==1 then 按键("esc") end if 获取窗口("对话框")==1 then 按键("enter") end if 血量百分比<90 then --血量低于90%不进图 按键("呵呵") return end if 寻路(333,330,2)==1 then --寻路到此处开始对话 对话坐标(336,324) --对话的NPC坐标 等待(800) if 获取窗口("NPC对话框")==1 then 点击("@免费进入",0) 等待(500) if 获取窗口("对话框")==1 then 按键("enter") 等待(500) end end end --此处为对话NPC结束 end if (获取地图名()=="仙缘第二大陆") then --此地图进图,如发现地图名字错误请修改 血量=角色("当前HP") 最大血量=角色("最大HP") 血量百分比=(血量/最大血量)*100 if 检测复活()==1 then --判断可不删除 按键("呵呵") return end if 获取窗口("包裹")==1 then 按键("f9") end if 获取窗口("NPC对话框")==1 then 按键("esc") end if 获取窗口("对话框")==1 then 按键("enter") end if 血量百分比<90 then --血量低于90%不进图 按键("呵呵") return end if 取标记(1)==0 then if 寻路(40,26,2)==1 then --寻路到此处开始对话 对话坐标(37,24) --对话的NPC坐标 等待(800) if 获取窗口("NPC对话框")==1 then 点击("@zs10",0) 等待(500) if 获取窗口("对话框")==1 then 按键("enter") 等待(500) end end end --此处为对话NPC结束 elseif 取标记(1)==1 then if 寻路(50,31,2)==1 then --寻路到此处开始对话 对话坐标(50,32) --对话的NPC坐标 等待(800) if 获取窗口("NPC对话框")==1 then 点击("@免费进入",0) 等待(500) if 获取窗口("对话框")==1 then 按键("enter") 等待(500) end end end --此处为对话NPC结束 end end if (获取地图名()=="仙缘第三大陆") then --此地图进图,如发现地图名字错误请修改 血量=角色("当前HP") 最大血量=角色("最大HP") 血量百分比=(血量/最大血量)*100 if 检测复活()==1 then --判断可不删除 按键("呵呵") return end if 获取窗口("包裹")==1 then 按键("f9") end if 获取窗口("NPC对话框")==1 then 按键("esc") end if 获取窗口("对话框")==1 then 按键("enter") end if 血量百分比<90 then --血量低于90%不进图 按键("呵呵") return end if 取标记(10)==0 then if 寻路(45,30,2)==1 then --寻路到此处开始对话 对话坐标(45,31) --对话的NPC坐标 等待(800) if 获取窗口("NPC对话框")==1 then 点击("@zs10",0) 等待(500) if 获取窗口("对话框")==1 then 按键("enter") 等待(500) end end end --此处为对话NPC结束 elseif 取标记(10)==1 then if 寻路(42,27,2)==1 then --寻路到此处开始对话 对话坐标(41,27) --对话的NPC坐标 等待(800) if 获取窗口("NPC对话框")==1 then 点击("@zs10",0) 等待(500) if 获取窗口("对话框")==1 then 按键("enter") 等待(500) end end end --此处为对话NPC结束 end end |
TAG:横刀辅助,挂机脚本
- 上一篇:横刀辅助高端过GK登录器加速应用说明指南 2021/11/23
- 下一篇:横刀GK奔驰已经全面更新驱动老玩家可以选择 2021/11/12