调法介绍

新GEE好帮手辅助3地图循环挂机脚本执行范本

时间:2022/2/5 18:44:26  作者:秒杀辅助  来源:  查看:310200  评论:0
内容摘要:function 回收() --回收子程序 if 获取窗口("包裹")==0 then 按键("f9") 等待(500) end 点击("DBagCustomButton1",0) 等待(500) ...

function 回收() --回收子程序
    if 获取窗口("包裹")==0 then
        按键("f9")
        等待(500)
    end
    点击("DBagCustomButton1",0)
    等待(500)
    物品存仓(0)
    等待(500)
    按键("esc")
    等待(500)
    if 获取窗口("包裹")==0 then
        按键("f9")
        等待(500)
    end
    点击("DBagCustomButton2",0)
    等待(500)
    点击坐标(680,475)
    等待(500)
    点击("@金元回收界面",0)
    等待(500)
    点击坐标(677,481)
    等待(500)
end

    if 是否存在物品("修复神水")<1 then --修复神水小于1开始执行购买
        点击商城()
        等待(500)
        点击坐标(254,84)
        等待(500)
        点击坐标(441,325)
        等待(500)
        点击坐标(354,451)
        等待(500)
        按键("enter")
        等待(200)
        点击商城()
    end
    if 是否存在物品("盟重传送石")<1 then --药物小于1开始执行购买
        点击商城()
        等待(500)
        点击坐标(251,87)
        等待(500)
        点击坐标(295,137)
        等待(500)
        点击坐标(348,450)
        等待(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 边走边打(40,155,5)==1 then 
            置标记(4,12)
        end
    elseif 取标记(4)==12 then
        if 边走边打(84,164,5)==1 then 
            置标记(4,13)
        end
    elseif 取标记(4)==13 then
        if 边走边打(136,168,5)==1 then 
            置标记(4,14)
        end
    elseif 取标记(4)==14 then
        if 边走边打(156,121,5)==1 then 
            置标记(4,15)
        end
    elseif 取标记(4)==15 then
        if 边走边打(159,62,5)==1 then 
            置标记(4,16)
        end
    elseif 取标记(4)==16 then
        if 边走边打(112,38,5)==1 then 
            置标记(4,17)
        end
    elseif 取标记(4)==17 then
        if 边走边打(30,41,5)==1 then 
            置标记(4,18)
        end
    elseif 取标记(4)==18 then
        if 边走边打(38,115,5)==1 then 
            置标记(4,19)
        end
    elseif 取标记(4)==19 then
        if 边走边打(68,144,5)==1 then 
            置标记(4,20)
        end
    elseif 取标记(4)==20 then
        if 边走边打(116,112,5)==1 then 
            置标记(4,21)
        end
    elseif 取标记(4)==21 then
        if 边走边打(107,70,5)==1 then 
            置标记(4,22)
        end
    elseif 取标记(4)==22 then
        if 边走边打(75,77,3)==1 then 
            使用物品("修复神水")
            等待(500)
            使用物品("盟重传送石")
            等待(500)
            置标记(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 取标记(3)==11 then
        if 边走边打(40,155,5)==1 then 
            置标记(3,12)
        end
    elseif 取标记(3)==12 then
        if 边走边打(84,164,5)==1 then 
            置标记(3,13)
        end
    elseif 取标记(3)==13 then
        if 边走边打(136,168,5)==1 then 
            置标记(3,14)
        end
    elseif 取标记(3)==14 then
        if 边走边打(156,121,5)==1 then 
            置标记(3,15)
        end
    elseif 取标记(3)==15 then
        if 边走边打(159,62,5)==1 then 
            置标记(3,16)
        end
    elseif 取标记(3)==16 then
        if 边走边打(112,38,5)==1 then 
            置标记(3,17)
        end
    elseif 取标记(3)==17 then
        if 边走边打(30,41,5)==1 then 
            置标记(3,18)
        end
    elseif 取标记(3)==18 then
        if 边走边打(38,115,5)==1 then 
            置标记(3,19)
        end
    elseif 取标记(3)==19 then
        if 边走边打(68,144,5)==1 then 
            置标记(3,20)
        end
    elseif 取标记(3)==20 then
        if 边走边打(116,112,5)==1 then 
            置标记(3,21)
        end
    elseif 取标记(3)==21 then
        if 边走边打(107,70,5)==1 then 
            置标记(3,22)
        end
    elseif 取标记(3)==22 then
        if 边走边打(75,77,3)==1 then 
            使用物品("修复神水")
            等待(500)
            使用物品("盟重传送石")
            等待(500)
            置标记(1,2)
            置标记(3,0)
        end
    else
        置标记(3,11)
    end
end

if (获取地图名()=="赞助专属") then --此地图是打怪地图,如发现地图名字错误请修改
    if 获取窗口("NPC对话框")==1 then
        按键("esc")
    end
    if 获取窗口("对话框")==1 then
        按键("enter")
    end
    if 获取窗口("包裹")==1 then
        按键("f9")
    end
    if 检测耐久()==1 then --检测耐久不足5%修复
        使用("修复神水") --物品名称自己改
    end
    丢弃物品()
    if (角色("死亡")==1) then
        小退()
    end
    if (取背包空位()<2) then --检测包裹内空位少于2格执行回收子程序
        回收()
    end
    if 取标记(2)==11 then
        if 边走边打(26,36,5)==1 then 
            置标记(2,12)
        end
    elseif 取标记(2)==12 then
        if 边走边打(80,42,5)==1 then 
            置标记(2,13)
        end
    elseif 取标记(2)==13 then
        if 边走边打(141,36,5)==1 then 
            置标记(2,14)
        end
    elseif 取标记(2)==14 then
        if 边走边打(175,37,5)==1 then 
            置标记(2,15)
        end
    elseif 取标记(2)==15 then
        if 边走边打(163,93,5)==1 then 
            置标记(2,16)
        end
    elseif 取标记(2)==16 then
        if 边走边打(175,147,5)==1 then 
            置标记(2,17)
        end
    elseif 取标记(2)==17 then
        if 边走边打(158,179,5)==1 then 
            置标记(2,18)
        end
    elseif 取标记(2)==18 then
        if 边走边打(110,169,5)==1 then 
            置标记(2,19)
        end
    elseif 取标记(2)==19 then
        if 边走边打(45,176,5)==1 then 
            置标记(2,20)
        end
    elseif 取标记(2)==20 then
        if 边走边打(21,122,5)==1 then 
            置标记(2,21)
        end
    elseif 取标记(2)==21 then
        if 边走边打(28,73,5)==1 then 
            置标记(2,22)
        end
    elseif 取标记(2)==22 then
        if 边走边打(80,69,5)==1 then 
            置标记(2,23)
        end
    elseif 取标记(2)==23 then
        if 边走边打(116,97,5)==1 then 
            置标记(2,24)
        end
    elseif 取标记(2)==24 then
        if 边走边打(121,130,5)==1 then 
            置标记(2,25)
        end
    elseif 取标记(2)==25 then
        if 边走边打(68,141,5)==1 then 
            置标记(2,26)
        end
    elseif 取标记(2)==26 then
        if 边走边打(64,94,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 取标记(1)==0 then
    if 寻路(178,139,2)==1 then  --寻路到此处开始对话
        对话坐标(177,144)  --对话的NPC坐标
        等待(800)
        if 获取窗口("NPC对话框")==1 then
            点击("@确定进入1",0)
            等待(500)
            if 获取窗口("对话框")==1 then
                按键("enter")
                等待(500)
            end
        end
    end --此处为对话NPC结束
    elseif 取标记(1)==1 then
    if 寻路(168,138,2)==1 then  --寻路到此处开始对话
        对话坐标(165,144)  --对话的NPC坐标
        等待(800)
        if 获取窗口("NPC对话框")==1 then
            点击("@确定进入1",0)
            等待(500)
            if 获取窗口("对话框")==1 then
                按键("enter")
                等待(500)
            end
        end
    end --此处为对话NPC结束
    elseif 取标记(1)==2 then
    if 寻路(167,138,2)==1 then  --寻路到此处开始对话
        对话坐标(165,144)  --对话的NPC坐标
        等待(800)
        if 获取窗口("NPC对话框")==1 then
            点击("@确定进入2",0)
            等待(500)
            if 获取窗口("对话框")==1 then
                按键("enter")
                等待(500)
            end
        end
    end --此处为对话NPC结束
    end
end

以上就是秒杀辅助旗下新GEE好帮手辅助3地图循环挂机脚本执行范本,大家可以参照修改!

本站成立的目的是为了让广大传奇私服玩家有更好的传奇辅助使用而建设,秒杀辅助仅供玩家交流学习之用,并不支持任何官方游戏,仅仅是传奇私服辅助工具,特此申明,如有侵权,请联系客服告知,我们会在工作日24小时之内配合处理!
秒杀辅助官方客服
悠悠:
小麦:

客服QQ-179580763
TM-7:00 - 24:00
Powered by OTCMS V2.80