秒杀辅助辅助

价格表

当前位置:主页 > 辅助攻略 >

GEE审判封挂登陆器如何多地图挂机?

作者:admin 日期:2020年11月02日 来源:本站原创 浏览:

if tonumber(os.time())-tonumber(取标记(6))>900 then --900秒使用一次修复
使用("修复神水")
等待(500)
置标记(6,tonumber(os.time()))
end

function 回收()
    打开自定义窗口(5308,21,0,0,0,0)
    等待(500)
    物品存仓(1)
    等待(500)
    按键("esc")
    点击("DStorageViewDlgClose",0)
    等待(800)
    打开自定义窗口(5308,20,0,0,0,0)
    等待(500)
    点击("@一键回收",0)
    等待(800)
    点击("@exit",0)
    等待(800)
end
function 寻路(x1,y1)--此处为寻路子程序一般只需要修改距离2即可
    x2=角色("x")
    y2=角色("y")
    if  计算距离(x1,y1,x2,y2)>2 then
        走跑 (x1,y1,0)
    else
        return 1
    end
        return 0
end

function 购买程序()
    if 取物品数量("修复神水")<1 then--判断修复神水小于1购买
            购买物品("修复神水")
            等待(500)
    end
    if 取物品数量("回城传送石")<1 then--判断回城石小于1购买
            购买物品("回城传送石")
            等待(500)
    end
    if 取物品数量("随机传送石")<1 then--判断回城石小于1购买
            购买物品("随机传送石")
            等待(500)
    end
end

if (获取地图名()=="咸阳城") then--此处为挂机地图的处理
    血量=角色("当前HP")
    最大血量=角色("最大HP")
    血量百分比=(血量/最大血量)*100
    if 获取窗口("包裹")==1 then
        按键("f9")
    end
    if 获取窗口("NPC对话框")==1 then
               按键("esc")
    end
    if 获取窗口("对话框")==1 then
               按键("enter")
    end
购买程序()
    if 检测耐久()==1 then
    使用("修复神水")
    end
    if 检测复活()==1 then
    使用("回城传送石")--此处名称可修改
    end
    设置打怪点("40,116|81,115|115,88|140,69|133,39|99,38|105,65|76,82|30,92")
    启动丢弃()
    if 血量百分比<10 then --血量低于90%不进图
    使用("随机传送石")
    等待(800)
        return
    end
    if (角色("死亡")==1) then
        小退()--死亡小退
        等待(500)
        return
    end
    if (取背包空位()<2) then--包裹空位小于2回收,否则打怪
        回收()
    else
        启动打怪()
    end
if tonumber(os.time())-tonumber(取标记(1))>1200 then ---判断大于20分钟就回城
使用("回城传送石")
等待(500)
置标记(0,0) --设置进入地图为狂徒之家
end
    return
end


if (获取地图名()=="邯郸城") then--此处为挂机地图的处理
    血量=角色("当前HP")
    最大血量=角色("最大HP")
    血量百分比=(血量/最大血量)*100
    if 获取窗口("包裹")==1 then
        按键("f9")
    end
    if 获取窗口("NPC对话框")==1 then
               按键("esc")
    end
    if 获取窗口("对话框")==1 then
               按键("enter")
    end
购买程序()
    if 检测耐久()==1 then
    使用("修复神水")
    end
    if 检测复活()==1 then
    使用("回城传送石")--此处名称可修改
    end
    设置打怪点("156,25|118,54|75,42|41,38|47,64|50,85|48,103|84,112|117,110|156,118|143,80|98,73")
    启动丢弃()
    if 血量百分比<10 then --血量低于90%不进图
    使用("随机传送石")
    等待(800)
        return
    end
    if (角色("死亡")==1) then
        小退()--死亡小退
        等待(500)
        return
    end
    if (取背包空位()<2) then--包裹空位小于2回收,否则打怪
        回收()
    else
        启动打怪()
    end
if tonumber(os.time())-tonumber(取标记(1))>1200 then ---判断大于20分钟就回城
使用("回城传送石")
等待(500)
置标记(0,3) --设置进入地图为复古之洞
end
    return
end

if (获取地图名()=="新郑城") then--此处为挂机地图的处理
    血量=角色("当前HP")
    最大血量=角色("最大HP")
    血量百分比=(血量/最大血量)*100
    if 获取窗口("包裹")==1 then
        按键("f9")
    end
    if 获取窗口("NPC对话框")==1 then
               按键("esc")
    end
    if 获取窗口("对话框")==1 then
               按键("enter")
    end
购买程序()
    if 检测耐久()==1 then
    使用("修复神水")
    end
    if 检测复活()==1 then
    使用("回城传送石")--此处名称可修改
    end
    设置打怪点("68,28|47,40|28,54|49,75|33,98|73,87|108,48|95,80")
    启动丢弃()
    if 血量百分比<10 then --血量低于90%不进图
    使用("随机传送石")
    等待(800)
        return
    end
    if (角色("死亡")==1) then
        小退()--死亡小退
        等待(500)
        return
    end
    if (取背包空位()<2) then--包裹空位小于2回收,否则打怪
        回收()
    else
        启动打怪()
    end
if tonumber(os.time())-tonumber(取标记(1))>1200 then ---判断大于20分钟就回城
使用("回城传送石")
等待(500)
置标记(0,2) --设置进入地图为复古之家
end
    return
end

if (获取地图名()=="商丘城") then--此处为挂机地图的处理
    血量=角色("当前HP")
    最大血量=角色("最大HP")
    血量百分比=(血量/最大血量)*100
    if 获取窗口("包裹")==1 then
        按键("f9")
    end
    if 获取窗口("NPC对话框")==1 then
               按键("esc")
    end
    if 获取窗口("对话框")==1 then
               按键("enter")
    end
购买程序()
    if 检测耐久()==1 then
    使用("修复神水")
    end
    if 检测复活()==1 then
    使用("回城传送石")--此处名称可修改
    end
    设置打怪点("66,29|43,44|17,64|49,68|34,106|73,91|90,78|110,44")
    启动丢弃()
    if 血量百分比<10 then --血量低于90%不进图
    使用("随机传送石")
    等待(800)
        return
    end
    if (角色("死亡")==1) then
        小退()--死亡小退
        等待(500)
        return
    end
    if (取背包空位()<2) then--包裹空位小于2回收,否则打怪
        回收()
    else
        启动打怪()
    end
if tonumber(os.time())-tonumber(取标记(1))>100 then ---判断大于15分钟就回城
使用("回城传送石")
等待(500)
置标记(0,1) --设置进入地图为灰色之间
end
    return
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%不进图
    if 寻路(312,330)==1 then  --寻路到此处开始对话
        对话坐标(311,329)  --对话的NPC坐标
        等待(4800)
    end
        return
    end
if 取标记(0)==0 then --商丘城
if 寻路(31,34)==1 then
对话坐标(28,33)
等待(800)
if 获取窗口("NPC对话框")==1 then
点击("@进2",0)
等待(500)
置标记(1,tonumber(os.time()))--设置进入副本时间
if 获取窗口("对话框")==1 then
按键("enter")
等待(500)
end
end
end
elseif 取标记(0)==1 then --新郑城
if 寻路(31,34)==1 then
对话坐标(28,33)
等待(800)
if 获取窗口("NPC对话框")==1 then
点击("@进3",0)
等待(500)
置标记(1,tonumber(os.time()))--设置进入副本时间
if 获取窗口("对话框")==1 then
按键("enter")
等待(500)
end
end
end
elseif 取标记(0)==2 then --邯郸城
if 寻路(32,35)==1 then
对话坐标(28,33)
等待(800)
if 获取窗口("NPC对话框")==1 then
点击("@进4",0)
等待(500)
置标记(1,tonumber(os.time()))--设置进入副本时间
if 获取窗口("对话框")==1 then
按键("enter")
等待(500)
end
end
end
elseif 取标记(0)==3 then --咸阳城
if 寻路(31,34)==1 then
对话坐标(28,33)
等待(800)
if 获取窗口("NPC对话框")==1 then
点击("@进5",0)
等待(500)
置标记(1,tonumber(os.time()))--设置进入副本时间
if 获取窗口("对话框")==1 then
按键("enter")
等待(500)
end
end
end
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%不进图
    if 寻路(135,112)==1 then  --寻路到此处开始对话
        对话坐标(139,111)  --对话的NPC坐标
        等待(800)
    end
        return
    end
    if 寻路(119,119)==1 then  --寻路到此处开始对话
        对话坐标(113,119)  --对话的NPC坐标
        等待(800)
        if 获取窗口("NPC对话框")==1 then
            点击("DMsgDlgOk",0)
            等待(500)
            if 获取窗口("对话框")==1 then
                按键("enter")
                等待(500)
            end
        end
    end
end
以上是GEE定制版辅助在挂机时如何录制多地图循环挂机的脚本案例,GEE定制版用户可以参考案例修改脚本!


上一篇:ESP登陆器引擎介绍返回OK框中的物品
下一篇:GEE审判登陆器以及789半岛插件登陆器都需要定制版

秒杀辅助≮投诉建议≯:

E-MAIL反馈邮箱:2284475678@qq.com
秒杀辅助