这几天回忆童年玩玩冒险岛私服,弄了个简单的挂机脚本,自动技能喝药功能
使用了僵尸老哥的gui修改
主体使用controlsend,其他我测试都用不了
给大家参考一下
图例删了哈哈哈,这个号目前认真玩了,怕给私服官方看到封号,后期继续更新辅助,但是不发效果图了,老哥们自己测试效果吧哈哈
HzChk:
Gui, jineng:Destroy
Gui, jineng:+AlwaysOnTop
Gui, jineng:Font, s14
Gui, jineng:Add, GroupBox, w375 h140, 自动技能
Gui, jineng:Add, Text, x27 y45, 按键:Q
Gui, jineng:Add, Edit, x+15 y+-23 Center vq延时, 500
Gui, jineng:Add, Text, x+5 y+-23, 毫秒
Gui, jineng:Add, Text, x+15, F1启动/停止
Gui, jineng:Add, Text, x+25 vq状态, 停止
Gui, jineng:Add, Text, x27 y80, 按键:W
Gui, jineng:Add, Edit, x+15 y+-23 Center vw延时, 500
Gui, jineng:Add, Text, x+5 y+-23, 毫秒
Gui, jineng:Add, Text, x+15, F2启动/停止
Gui, jineng:Add, Text, x+25 vw状态, 停止
Gui, jineng:Add, Text, x27 y115, 按键:E
Gui, jineng:Add, Edit, x+15 y+-23 Center ve延时, 500
Gui, jineng:Add, Text, x+5 y+-23, 毫秒
Gui, jineng:Add, Text, x+15, F3启动/停止
Gui, jineng:Add, Text, x+25 ve状态, 停止
Gui, jineng:Add, GroupBox, xm w375 h110, 自动物品
Gui, jineng:Add, Text, x27 y195, 物品:1
Gui, jineng:Add, Edit, x+15 y+-23 Center v1延时, 10
Gui, jineng:Add, Text, x+5 y+-23, 秒
Gui, jineng:Add, Text, x+15, F4启动/停止
Gui, jineng:Add, Text, x+25 v1状态, 停止
Gui, jineng:Add, Text, x27 y230, 物品:2
Gui, jineng:Add, Edit, x+15 y+-23 Center v2延时, 10
Gui, jineng:Add, Text, x+5 y+-23, 秒
Gui, jineng:Add, Text, x+15, F5启动/停止
Gui, jineng:Add, Text, x+25 v2状态, 停止
Gui, jineng:Add, GroupBox, xm w375 h75
Gui, jineng:Font, s11
Gui, jineng:Add, Text, x27 y300, 冒险岛辅助by-hzn Enter/Esc/b 停止所有
Gui, jineng:Add, Text, x27 y325, F8 重启 F6 退出 F7 开/关窗口
Gui, jineng:Show,,冒险岛辅助by-hzn
Return
显隐:
XY := XY?0:1
If(XY=1)
{
Gui, jineng:Hide
}
Else
{
Gui, jineng:Show
}
Return
#IfWinActive ahk_exe MapleRecall.exe
F1::
Gui, jineng:Submit, NoHide
kaiguanq := kaiguanq?0:1
q_状态 := (kaiguanq == 1)?"启动":"停止"
GuiControl, jineng:Text, q状态, % q_状态
SetTimer, kaiguan_q, % q延时
Return
F2::
Gui, jineng:Submit, NoHide
kaiguanw := kaiguanw?0:1
w_状态 := (kaiguanw == 1)?"启动":"停止"
GuiControl, jineng:Text, w状态, % w_状态
SetTimer, kaiguan_w, % w延时
Return
F3::
Gui, jineng:Submit, NoHide
kaiguane := kaiguane?0:1
e_状态 := (kaiguane == 1)?"启动":"停止"
GuiControl, jineng:Text, e状态, % e_状态
SetTimer, kaiguan_e, % e延时
Return
F4::
Gui, jineng:Submit, NoHide
kaiguan1 := kaiguan1?0:1
1_状态 := (kaiguan1 == 1)?"启动":"停止"
GuiControl, jineng:Text, 1状态, % 1_状态
1延时:=1延时/1000
SetTimer, kaiguan_1, % 1延时
Return
F5::
Gui, jineng:Submit, NoHide
kaiguan2 := kaiguan2?0:1
2_状态 := (kaiguan2 == 1)?"启动":"停止"
GuiControl, jineng:Text, 2状态, % 2_状态
2延时:=2延时/1000
SetTimer, kaiguan_2, % 2延时
Return
kaiguan_q:
If(kaiguanq=1)
ControlSend,,q,ahk_exe MapleRecall.exe
Else
SetTimer, kaiguan_q, Off
Return
kaiguan_w:
If(kaiguanw=1)
ControlSend,,w,ahk_exe MapleRecall.exe
Else
SetTimer, kaiguan_w, Off
Return
kaiguan_e:
If(kaiguane=1)
ControlSend,,e,ahk_exe MapleRecall.exe
Else
SetTimer, kaiguan_e, Off
Return
kaiguan_1:
If(kaiguan1=1)
ControlSend,,1,ahk_exe MapleRecall.exe
Else
SetTimer, kaiguan_1, Off
Return
kaiguan_2:
If(kaiguan2=1)
ControlSend,,2,ahk_exe MapleRecall.exe
Else
SetTimer, kaiguan_2, Off
Return
~Esc::
~b::
~Enter::
If(kaiguanq=1) or (kaiguanw=1) or (kaiguane=1) or (kaiguan1=1) or (kaiguan2=1)
{
Gui, jineng:Submit, NoHide
kaiguanq := 0
kaiguanw := 0
kaiguane := 0
kaiguan1 := 0
kaiguan2 := 0
GuiControl, jineng:Text, q状态, 停止
GuiControl, jineng:Text, w状态, 停止
GuiControl, jineng:Text, e状态, 停止
GuiControl, jineng:Text, 1状态, 停止
GuiControl, jineng:Text, 2状态, 停止
}
Return
F6::
jinengGuiClose:
ExitApp
F8::
Reload
不得了?
求私服地址,我也好久没玩了
recall冒险岛,就不在这里发网址了哈哈
谢谢大佬共享源码,想请教一下还在玩冒险岛私服么,我也是想做一个私服的自动化脚本,但是寻路和坐标有些问题想请教大佬,请问方便留一下联系方式么
比如废弃或者更简单一些的副本自动化