오토핫키 커뮤니티

조회 수 1071 추천 1 댓글 6

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()
 }
}



List of Articles
분류 제목 글쓴이 최근변경 추천
질문 이제 막 시작한 초보 질문 드립니다.. 6 111dfa 2016.06.12 0/0
정보 마지막으로 작업했던 오토핫키 공유(4) -끝- 2 Vesper 2016.06.11 1/0
정보 마지막으로 작업했던 오토핫키 공유(3) 1 Vesper 2016.06.10 1/0
정보 마지막으로 작업했던 오토핫키 공유(2) 2 Vesper 2016.11.03 1/0
정보 마지막으로 작업했던 오토핫키 공유(1) 6 Vesper 2017.05.29 1/0
질문 세븐나이츠 중지 되었을 때 대응방안 있나요? 불꽃낭자수린 2016.06.18 0/-5
질문 미뮤 PostMessage 마우스클릭이 안되네요... 단백질 2016.06.09 0/0
질문 비활성드래그 ㅜㅜㅜ 13 셋쇼마루 2016.06.12 0/0
질문 안녕하세요 정규식 질문? (맞나모르겟네요) 5 제발등업좀2 2016.06.14 0/0
자유 오토핫키로 가능한가요? 7 Auto영웅 2016.06.11 1/0
질문 안녕하세요 오토핫키를 배워보려고 하는데요 4 갈색머리 2016.06.09 0/0
질문 오토핫키 단축키 없이 실행시 바로 진행할려고 하면 어... 2 todis 2016.06.07 0/0
질문 스크립트 초기화하거나 내가 원하는 부분부터 시작은 ... 7 왜6자냐 2016.06.08 0/0
질문 이미지경로에 변수질문이요/// 4 셋쇼마루 2016.06.06 0/0
질문 Progress 저장 질문 6 괴리사 2016.06.05 0/0
정보 MsgBox 설정 3 괴리사 2016.06.08 2/0
질문 인터넷 텍스트 데이터를 읽어들여 엑셀에 넣는 법 3 좀비님 2016.06.10 0/0
질문 이미지서치 질문합니다 4 PlusK 2016.06.09 0/0
질문 비활성클릭 질문합니다 2 PlusK 2016.06.05 0/0
질문 리스트 박스 질문 드립니다. 4 bellms 2016.06.05 0/0
Board Pagination Prev 1 ... 116117118119120121122123124 ... 209 Next
/ 209

전체 최신 인기글

전체 주간 인기글