매크로

질문
2016.11.28 04:51

오류뜨는데이유가뭔가요?

조회 수 139 추천 0 댓글 3
Error at line 16.
Line Text:시조준
Error:This line does not con tain a recognized action

the program will exit
뭐가잘못된건가요 사격시조준 저줄을 계속수정해봣는데 오류가계속나네요


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, 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, GroupBox, x186 y37 w-10 h0 , GroupBox
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.28 18:15
    Gui, Add, CheckBox, x26 y187 w110 h30 vaimtype Checked +Center, 사격
    시조준

    Gui, Add, CheckBox, x26 y187 w110 h30 vaimtype Checked +Center, 사격시조준
  • ss061242 2016.11.28 23:02
    안됩니다 그렇게하면 똑같은에러가뜨는데 시조준창에 밑줄만그어져잇고 에러가뜹니다
  • profile
    외치기 2016.11.29 13:26
    안된다고 하지마시고 원인을 파악하려 합시다.
    Gui, Add, CheckBox, x26 y187 w110 h30 vaimtype Checked +Center, 사격
    시조준
    Gui, Add, Text, x256 y57 w210 h10 , ─────── 인식 속도조절
    ───────
    Gui, Add, Text, x256 y177 w220 h10 CFF0000, ※주의! 속도조절 1`,2 동일하
    게 적용할것
    이렇게 3군데 전부 줄넘김이 문제인겁니다.
    하나 알려주면 같은실수를 모두 지우셔야죠.

최근 추천글

오핫 제작합니다 1 설입 2024-06-18 23:45 +2
List of Articles
분류 제목 글쓴이 최근변경 추천
질문 오토 핫키 비활성 질문 드립니다 3 사과N 2015.09.05 0/0
질문 오토 핫키 마우스 클릭 질문 nn100 2023.02.24 0/0
질문 오토 핫키 공부하려고 하는 입문 뉴비 입니다. 5 일기 2015.05.19 0/0
자유 오토 핫키 공부 체크 2019.09.02 0/0
자유 오오.. 재미있네요 ㅎㅎ 테일나이츠 ㅋㅋ 6 파더 2014.11.05 1/0
질문 오버워치 픽셀서치 떨림?? 진동?? 렉?? 데데데 2017.04.17 0/0
질문 오버워치 인게임 픽셀서치 문제입니다 2 플레이 2018.02.03 0/0
자유 오버워치 이미지서치치 4 아항 2017.01.20 0/0
질문 오버워치 이미지서치 고수님들 1 안신 2017.01.02 0/0
질문 오버워치 오토핫키로 한다던대 1 hjs10 2016.12.02 0/0
질문 오버워치 오토핫키 질문좀 드립니당 4 형댕이 2017.03.08 0/0
공유 오버워치 오토핫키 오토에임입니다 13 오토에임 2022.10.02 2/0
자유 오버워치 오토에임 크랙 해주실분 구합니다. 3 띠잉이이잉 2020.05.18 0/0
공유 오버워치 오토에임 공유해주실분 이나 최신소스좀 던져... 2 박둘니 2016.10.30 0/0
자유 오버워치 에임만듬 13 셋쇼마루 2016.08.30 0/-1
질문 오버워치 마우스 좌표 질문드립니다 4 조세희에요 2016.11.29 0/0
자유 오른쪽 컨트롤 키 값 무엇인지 아시나요? 3 우리나라만세 2023.02.24 0/0
질문 오류창 닫기 방법 문의 드립니다. 1 빵글빵글 2018.07.07 0/0
질문 오류종료후의 대처에 관한 질문입니다. 가느가다 2019.04.09 0/0
질문 오류뜨는데이유가뭔가요? 3 ss061242 2016.11.29 0/0
Board Pagination Prev 1 ... 868788899091929394 ... 209 Next
/ 209

전체 최신 인기글

전체 주간 인기글