SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#NoEnv ;내장환경변수 제거, 퍼포먼스 향샹 목적
#NoTrayIcon ;트레이아이콘 제거
#KeyHistory 0 ;키저장기능 제거, 퍼포먼스 향샹 목적
ListLines Off ;라인제거, 퍼포먼스 향샹 목적
SetWinDelay, 0 ;윈도우 관련 딜레이 최소한으로 설정 (-1은 딜레이X)
SetBatchLines, -1 ;코드간 자동 Sleep 삭제, 속도 향샹 목적
#include lib\Adventure.ahk
#include lib\Gold.ahk
#include lib\Battle.ahk
IfNotExist, BlueStacks App Player
{
Run, C:\Program Files (x86)\BlueStacks\HD-StartLauncher.exe
}
Gui, Add, Button, x120 y70 w100 h25 , Adventure
Gui, Add, Button, x120 y100 w100 h25 , GoldRoom
Gui, Add, Button, x120 y130 w100 h25 , Battle
Gui, Add, Button, x120 y160 w100 h25 , Infinitiy
Gui, Add, Button, x120 y190 w100 h25 , Fin
Gui, Add, GroupBox, x5 y15 w100 h60, AdventureSkill1
Gui, Add, Radio, x10 y30 w20 h20 vS1Checked Group,
Gui, Add, Radio, x30 y30 w20 h20 ,
Gui, Add, Radio, x50 y30 w20 h20 ,
Gui, Add, Radio, x70 y30 w20 h20 ,
Gui, Add, Radio, x90 y30 w20 h20 ,
Gui, Add, Radio, x10 y50 w20 h20 ,
Gui, Add, Radio, x30 y50 w20 h20 ,
Gui, Add, Radio, x50 y50 w20 h20 ,
Gui, Add, Radio, x70 y50 w20 h20 ,
Gui, Add, Radio, x90 y50 w20 h20 ,
Gui, Add, GroupBox, x5 y85 w100 h60, AdventureSkill2
Gui, Add, Radio, x10 y100 w20 h20 vS2Checked Group,
Gui, Add, Radio, x30 y100 w20 h20 ,
Gui, Add, Radio, x50 y100 w20 h20 ,
Gui, Add, Radio, x70 y100 w20 h20 ,
Gui, Add, Radio, x90 y100 w20 h20 ,
Gui, Add, Radio, x10 y120 w20 h20 ,
Gui, Add, Radio, x30 y120 w20 h20 ,
Gui, Add, Radio, x50 y120 w20 h20 ,
Gui, Add, Radio, x70 y120 w20 h20 ,
Gui, Add, Radio, x90 y120 w20 h20 ,
Gui, Add, GroupBox, x5 y155 w100 h60, AdventureSkill3
Gui, Add, Radio, x10 y170 w20 h20 vS3Checked Group,
Gui, Add, Radio, x30 y170 w20 h20 ,
Gui, Add, Radio, x50 y170 w20 h20 ,
Gui, Add, Radio, x70 y170 w20 h20 ,
Gui, Add, Radio, x90 y170 w20 h20 ,
Gui, Add, Radio, x10 y190 w20 h20 ,
Gui, Add, Radio, x30 y190 w20 h20 ,
Gui, Add, Radio, x50 y190 w20 h20 ,
Gui, Add, Radio, x70 y190 w20 h20 ,
Gui, Add, Radio, x90 y190 w20 h20 ,
Gui, Add, GroupBox, x235 y15 w100 h60, GoldSkill1
Gui, Add, Radio, x240 y30 w20 h20 vG1Checked Group,
Gui, Add, Radio, x260 y30 w20 h20 ,
Gui, Add, Radio, x280 y30 w20 h20 ,
Gui, Add, Radio, x300 y30 w20 h20 ,
Gui, Add, Radio, x320 y30 w20 h20 ,
Gui, Add, Radio, x240 y50 w20 h20 ,
Gui, Add, Radio, x260 y50 w20 h20 ,
Gui, Add, Radio, x280 y50 w20 h20 ,
Gui, Add, Radio, x300 y50 w20 h20 ,
Gui, Add, Radio, x320 y50 w20 h20 ,
Gui, Add, GroupBox, x235 y85 w100 h60, GoldSkill2
Gui, Add, Radio, x240 y100 w20 h20 vG2Checked Group,
Gui, Add, Radio, x260 y100 w20 h20 ,
Gui, Add, Radio, x280 y100 w20 h20 ,
Gui, Add, Radio, x300 y100 w20 h20 ,
Gui, Add, Radio, x320 y100 w20 h20 ,
Gui, Add, Radio, x240 y120 w20 h20 ,
Gui, Add, Radio, x260 y120 w20 h20 ,
Gui, Add, Radio, x280 y120 w20 h20 ,
Gui, Add, Radio, x300 y120 w20 h20 ,
Gui, Add, Radio, x320 y120 w20 h20 ,
Gui, Add, GroupBox, x235 y155 w100 h60, GoldSkill3
Gui, Add, Radio, x240 y170 w20 h20 vG3Checked Group,
Gui, Add, Radio, x260 y170 w20 h20 ,
Gui, Add, Radio, x280 y170 w20 h20 ,
Gui, Add, Radio, x300 y170 w20 h20 ,
Gui, Add, Radio, x320 y170 w20 h20 ,
Gui, Add, Radio, x240 y190 w20 h20 ,
Gui, Add, Radio, x260 y190 w20 h20 ,
Gui, Add, Radio, x280 y190 w20 h20 ,
Gui, Add, Radio, x300 y190 w20 h20 ,
Gui, Add, Radio, x320 y190 w20 h20 ,
Gui, Add, GroupBox, x345 y115 w40 h100, Selet
Gui,Add,Checkbox,x350 y130 h20 w30 vMob1,1
Gui,Add,Checkbox,x350 y150 h20 w30 vMob2,2
Gui,Add,Checkbox,x350 y170 h20 w30 vMob3,3
Gui,Add,Checkbox,x350 y190 h20 w30 vMob4,4
Gui, Add, GroupBox, x120 y15 w100 h50, Mode
Gui, Add, Text, x120 y38 w100 h12 +Center cRed vstatus, Wait
Gui, Show
Infinitiy :=0
Battle := 0
Gold := 0
IniRead,Infinitiy,lib/Setting.ini,Mode,Infinitiy
IniRead,Battle,lib/Setting.ini,Mode,Battle
IniRead,Gold,lib/Setting.ini,Mode,Gold
if(Infinitiy=1)
{
GuiControl,,status,Infinitiy
Gui,Submit,nohide
if(Gold=1)
{
if(Battle=1)
{
OpenAd()
Loop,20
{
adventure()
}
superback()
RandSleep(1000,2000)
IniWrite,0,lib/Setting.ini,Mode,Battle
IniWrite,0,lib/Setting.ini,Mode,Gold
Reload
}
else
GoBa()
}
else
GoGo()
}
return
ButtonAdventure:
GuiControl,,status,Adventure
Gui,Submit,nohide
IniWrite,%S1Checked%,lib/Setting.ini,SkillChecked,S1
IniWrite,%S2Checked%,lib/Setting.ini,SkillChecked,S2
IniWrite,%S3Checked%,lib/Setting.ini,SkillChecked,S3
IniWrite,%Mob1%,lib/Setting.ini,MobChecked,Mob1
IniWrite,%Mob2%,lib/Setting.ini,MobChecked,Mob2
IniWrite,%Mob3%,lib/Setting.ini,MobChecked,Mob3
IniWrite,%Mob4%,lib/Setting.ini,MobChecked,Mob4
IniWrite,0,lib/Setting.ini,Dragon,Dragon
GoAd()
return
ButtonGoldRoom:
GuiControl,,status,GoldRoom
Gui,Submit,nohide
IniWrite,%G1Checked%,lib/Setting.ini,SkillChecked,G1
IniWrite,%G2Checked%,lib/Setting.ini,SkillChecked,G2
IniWrite,%G3Checked%,lib/Setting.ini,SkillChecked,G3
GoGo()
return
ButtonBattle:
GuiControl,,status,Battle
Gui,Submit,nohide
GoBa()
return
ButtonInfinitiy:
GuiControl,,status,Infinitiy
Gui,Submit,nohide
IniWrite,%S1Checked%,lib/Setting.ini,SkillChecked,S1
IniWrite,%S2Checked%,lib/Setting.ini,SkillChecked,S2
IniWrite,%S3Checked%,lib/Setting.ini,SkillChecked,S3
IniWrite,%G1Checked%,lib/Setting.ini,SkillChecked,G1
IniWrite,%G2Checked%,lib/Setting.ini,SkillChecked,G2
IniWrite,%G3Checked%,lib/Setting.ini,SkillChecked,G3
IniWrite,%Mob1%,lib/Setting.ini,MobChecked,Mob1
IniWrite,%Mob2%,lib/Setting.ini,MobChecked,Mob2
IniWrite,%Mob3%,lib/Setting.ini,MobChecked,Mob3
IniWrite,%Mob4%,lib/Setting.ini,MobChecked,Mob4
IniWrite,1,lib/Setting.ini,Mode,Infinitiy
Reload
return
ButtonFin:
IniWrite,0,lib/Setting.ini,Mode,Infinitiy
IniWrite,0,lib/Setting.ini,Mode,Battle
IniWrite,0,lib/Setting.ini,Mode,Gold
Reload
return
GuiClose:
IniWrite,0,lib/Setting.ini,Mode,Infinitiy
IniWrite,0,lib/Setting.ini,Mode,Battle
IniWrite,0,lib/Setting.ini,Mode,Gold
ExitApp
GoAd()
{
openAd()
loop
{
adventure()
}
}
GoGo()
{
openGo()
loop
{
Gold()
}
}
GoBa()
{
openBa()
loop
{
Battle()
}
}
한때 혼자 쓰려고 만들었던거 기반입니다. 참고 하실사람 참고하세요!