매크로

조회 수 1103 추천 0 댓글 1
에러가 이렇게뜨네욤

k94BxOo.png


guif:
#NoEnv
#SingleInstance force

SkinForm(Apply, A_ScriptDir . "\USkin.dll", A_ScriptDir . "\Milikymac.msstyles")
Gui,color,CCFFFFF
Gui, Add, Text, x26 y77 w140 h10 , 1280*720 모드 [F1 시작]

Gui, Add, Text, x26 y97 w140 h10 , 1920*1080 모드[F2 시작]
Gui, Add, Text, x26 y117 w130 h10 , 일시정지/다시시작[F3]
Gui, Add, Text, x26 y137 w120 h10 , 프로그램 재시작[F4]
Gui, Add, Edit, x316 y97 w130 h20 vrx C00FF00, 10

Gui, Add, Edit, x316 y147 w130 h20 vmrx C00FF00, 10
Gui, Add, CheckBox, x26 y217 w110 h30 +Center, 원거리모드[출시예정]
Gui, Add, Button, x136 y267 w210 h70 gchange1 C66FFFF, 적용
Gui, Add, CheckBox, x26 y187 w110 h30 vaimtype Checked +Center, 사격시조준
Gui, Add, Text, x246 y97 w70 h10 , 속도 조절 1
Gui, Add, Text, x246 y147 w60 h0 , 족도 조절 2
Gui, Add, Text, x176 y223 w100 h10 CFF0000, 이하 설명서 참조

Gui, Add, Text, x26 y57 w210 h10 , ───────사용키───────
Gui, Add, Text, x386 y417 w-210 h-380 , Text
Gui, Add, Text, x26 y167 w210 h10 , ───────모드체크───────
Gui, Add, Text, x256 y57 w210 h10 , ─────── 인식 속도조절 ───────
Gui, Add, Text, x266 y77 w200 h10 , ★속도1`,2 소수단위 사용가능 예)5.1
Gui, Add, Text, x246 y147 w70 h10 , 속도 조절 2
Gui, Add, Text, x256 y177 w220 h10 CFF0000, ※주의! 속도조절 1`,2 동일하게 적용할것
Gui, Add, Text, x426 y367 w40 h10 CFF0000, Ver.1.0
Gui, Add, Text, x-4 y357 w240 h0 , Text
Gui, Add, Text, x6 y347 w80 h10 CFF33FF, 카톡 -bak5923

Gui, Add, GroupBox, x186 y37 w-10 h0 , GroupBox
Gui, Add, Text, x6 y367 w160 h10 CFF33FF, 네이트 [email protected]
Gui, Show, x221 y221 h391 w491, 오버워치 헬퍼 Ver.1.0 [전체인식]
Return

GuiClose:
ExitApp
return
SkinForm(Param1 = "Apply", DLL = "", SkinName = ""){

if(Param1 = Apply){
DllCall("LoadLibrary", str, DLL)
DllCall(DLL . "\USkinInit", Int,0, Int,0, AStr, SkinName)
}else if(Param1 = 0){

DllCall(DLL . "\USkinExit")
}
}
Change1:

MsgBox, 적용
Gui,Submit, Nohide
return
F1::
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, 0
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Mouse, Screen
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
ZeroX := 640
ZeroY := 360
CFovX := 320
CFovY := 200
ScanL := 500
ScanR := 800
ScanT := 180
ScanB := 400
GuiControlget, rX
GuiControlget, xa
GuiControlget, ya
GuiControlget, xrange
GuiControlget, yrange
GuiControlget, rX
Loop, {
Gui,Submit, Nohide
if (aimtype=1)
{
GetKeyState, Mouse2, LButton, P
GoSub MouseMoves2
}
if (aimtype1=1)
{
GetKeyState, Mouse2, RButton, P
GoSub MouseMoves2
}
if (aimtype3=1)
{
GetKeyState, Mouse2, XButton1, P
GoSub MouseMoves2
}
if (aimtype4=1)
{
GetKeyState, Mouse2, XButton2, P
GoSub MouseMoves2
}
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth ? (A_Screenwidth * (xrange/10)), A_Screenheight ? (A_Screenheight * (yrange / 10)), *4 hhp2.bmp
GoSub GetAimOffset
GoSub GetAimMoves
if(ErrorLevel = 1){
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth ? (A_Screenwidth * (xrange/10)), A_Screenheight ? (A_Screenheight * (yrange / 10)), *4 hhp3.bmp
GoSub GetAimOffset3
GoSub GetAimMoves
}
Box_Init("FF0000")
X := 0 + (A_Screenwidth * (xrange/10))
Y := 0 + (A_Screenheight * (yrange/10))
W := (A_Screenwidth ? (A_Screenwidth * (xrange/10))) ? X
H := (A_Screenheight ? (A_Screenheight * (yrange / 10))) -Y
Box_Draw(X, Y , W, H)
if(overlayActive=0){
Box_Hide()
}
}
MouseMoves:
If ( Mouse2 == "D" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
Return
MouseMoves1:
If ( Mouse2 == "U" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
Return
GetAimOffset:
Gui,Submit, Nohide
AimX := AimPixelX ? ZeroX +xA
AimY := AimPixelY ? ZeroY +xY
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimOffset3:
Gui,Submit, Nohide
AimX := AimPixelX ? ZeroX +30
AimY := AimPixelY ? ZeroY +50
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimMoves:
RootX := Ceil(( AimOffsetX ** ( 1 )))
RootY := Ceil(( AimOffsetY ** ( 1 )))
MoveX := RootX * DirX
MoveY := RootY * DirY
Return
SleepF:
SleepDuration = 1
TimePeriod = 1
DllCall("Winmm\timeBeginPeriod", uint, TimePeriod)
Iterations = 1
StartTime := A_TickCount
Loop, %Iterations% {
DllCall("Sleep", UInt, TimePeriod)
}
DllCall("Winmm\timeEndPeriod", UInt, TimePeriod)
Return
DebugTool:
MouseGetPos, MX, MY
ToolTip, %AimOffsetX% | %AimOffsetY%
ToolTip, %AimX% | %AimY%
ToolTip, %IntAimX% | %IntAimY%
ToolTip, %RootX% | %RootY%
ToolTip, %MoveX% | %MoveY% || %MX% %MY%
Return
F2::
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 2000
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, 0
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Mouse, client
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
ZeroX := 960
ZeroY := 540
CFovX := 80
CFovY := 200
ScanL := 660
ScanR := 1250
ScanT := 280
ScanB := 610
GuiControlget, rX
GuiControlget, xa
GuiControlget, ya
GuiControlget, xrange
GuiControlget, yrange
Loop, {
Gui,Submit, Nohide
if (aimtype=1)
{
GetKeyState, Mouse2, LButton, P
GoSub MouseMoves2
}
if (aimtype1=1)
{
GetKeyState, Mouse2, RButton, P
GoSub MouseMoves2
}
if (aimtype3=1)
{
GetKeyState, Mouse2, XButton1, P
GoSub MouseMoves2
}
if (aimtype4=1)
{
GetKeyState, Mouse2, XButton2, P
GoSub MouseMoves2
}
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth ? (A_Screenwidth * (xrange/10)), A_Screenheight ? (A_Screenheight * (yrange / 10)), *4 hhp2.bmp
GoSub GetAimOffset1
GoSub GetAimMoves1
if(ErrorLevel = 1){
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth ? (A_Screenwidth * (xrange/10)), A_Screenheight ? (A_Screenheight * (yrange / 10)), *4 hhp.bmp
GoSub GetAimOffset2
GoSub GetAimMoves1
}
Box_Init("FF0000")
X := 0 + (A_Screenwidth * (xrange/10))
Y := 0 + (A_Screenheight * (yrange/10))
W := (A_Screenwidth ? (A_Screenwidth * (xrange/10))) ? X
H := (A_Screenheight ? (A_Screenheight * (yrange / 10))) -Y
Box_Draw(X, Y , W, H)
if(overlayActive=0){
Box_Hide()
}
}
MouseMoves2:
If ( Mouse2 == "D" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
Return
MouseMoves11:
If ( Mouse2 == "U" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
GetAimOffset1:
Gui,Submit, Nohide
AimX := AimPixelX ? ZeroX +xa
AimY := AimPixelY ? ZeroY +xy
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimOffset2:
Gui,Submit, Nohide
AimX := AimPixelX ? ZeroX +40
AimY := AimPixelY ? ZeroY +70
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimMoves1:
RootX := Ceil(( AimOffsetX ** ( 1 )))
RootY := Ceil(( AimOffsetY ** ( 1 )))
MoveX := RootX * DirX
MoveY := RootY * DirY
Return
reload:
SleepF1:
SleepDuration = 1
TimePeriod = 1
DllCall("Winmm\timeBeginPeriod", uint, TimePeriod)
Iterations = 1
StartTime := A_TickCount
Loop, %Iterations% {
DllCall("Sleep", UInt, TimePeriod)
}
DllCall("Winmm\timeEndPeriod", UInt, TimePeriod)
Return
DebugTool1:
MouseGetPos, MX, MY
ToolTip, %AimOffsetX% | %AimOffsetY%
ToolTip, %AimX% | %AimY%
ToolTip, %IntAimX% | %IntAimY%
ToolTip, %RootX% | %RootY%
ToolTip, %MoveX% | %MoveY% || %MX% %MY%
Return
ALT::
pause
SoundBEEP
return
F3::
Reload
Return

  • 코드맨 2016.11.29 19:32

    함수 호출 부분인데 정의가 돼 있지 않네요

    그 및에 box_draw 및 hide 부분에서도 오류 가 날겁니다.

    아마도 함수 부분을 카피 못하셨거나 

    include 로 파일 호출 부분이 빠졌거나 둘중 하나겠네요


List of Articles
분류 제목 글쓴이 최근변경 추천
질문 콤보박스 변수 안에 간단히 저장하는 방법 없나요? 꾸벅 mYoda 2016.12.15 0/0
질문 오토핫키 B버전에서는 global만쓰면 에러가뜨네요... 골방몽상가 2016.12.12 0/0
질문 어떻게 하면 완성할수있을까요? 1 후르꾸 2016.12.10 0/0
질문 오토핫키 공부할만한 커뮤니티 2 초보자초바보 2016.12.14 0/0
정보 DllCall "mouse_event" 속도조절하는 법 rkfdma 2016.12.08 0/0
질문 미뮤, 녹스 오토핫키 비활성 클릭이 문제 질문드립니다. 1 PaMil 2016.12.14 0/0
질문 안녕하세요. postmessage 비활성 입력에 대해서 궁금합... 3 뀨뀨아딩 2016.12.15 0/0
질문 splashimage(스플래쉬이미지) 관련해서 해결법좀 ㅠ 2 몬길을하자 2016.12.07 0/0
질문 스크립트를 간단하게 메이킹하는 프로그램은없을까요..? 1 gajumaru 2016.12.06 0/0
질문 혹시 오토핫키 배울만한 곳 아시는 분 ? 2 거대토끼저주 2016.12.07 0/0
질문 이미지서치 범위 관련해서 도움좀 주세요 2 몬길을하자 2016.12.07 0/0
질문 카카오톡 대화 불러오는방법 1 미라클클 2016.12.06 0/0
질문 혹시 퓨처파이트 하시는분? 2 dkdh2 2016.12.07 0/0
공유 다비쫄작 +만렙시 쫄 교체 + 차일드 창 꽉 찼을 시 1성... 16 한성수 2016.12.24 2/0
질문 실시간 화면감시(?) 구현 질문드립니다 5 냥이멍이 2016.12.02 0/0
질문 오핫 안드로이드에 넣어서 실행 가능한가요? 웅ol 2016.11.30 0/0
자유 상상력이 부족해서 큰일입니다. rainM 2016.11.29 0/0
질문 바람의나라 게임은 비활성 이미지서치 안되나요? 1 오핫공부좋아 2016.12.22 0/0
질문 오버워치 오토핫키로 한다던대 1 hjs10 2016.12.02 0/0
질문 이거 왜이런가요..? 고수분들도와주세용 1 ss061242 2016.11.29 0/0
Board Pagination Prev 1 ... 9899100101102103104105106 ... 209 Next
/ 209

전체 최신 인기글

전체 주간 인기글