오토핫키 커뮤니티

질문
2016.11.28 04:51

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

조회 수 146 추천 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군데 전부 줄넘김이 문제인겁니다.
    하나 알려주면 같은실수를 모두 지우셔야죠.

List of Articles
분류 제목 글쓴이 최근변경 추천
질문 녹스는 adb, 이미지서치, gdip 셋 다 지원이 되나요? 1 casper 2016.12.01 0/0
질문 게임매크로 만들어서 써보려고 하는데 막히는부분이 있... 5 게슴츠레 2016.12.07 0/0
자유 녹스 데스티니차일드 매크로 소스 관련 8 한성수 2016.12.07 0/0
질문 오류뜨는데이유가뭔가요? 3 ss061242 2016.11.29 0/0
질문 오버워치 마우스 좌표 질문드립니다 4 조세희에요 2016.11.29 0/0
질문 메이플m 매크로 만들려고 하는데요 2 엄마밥줘 2017.02.08 0/0
질문 adb로 이미지 자르기 어렵네요;; 월보 2016.11.23 0/0
질문 죄송합니다. 비활성 작동하지 않는 이유좀 2 춥다람쥐 2016.11.25 0/0
질문 매크로 만드는 것 좀 도와주세요! 3 difqk3 2016.11.28 0/0
질문 마우스 드래그 관련, adb 명령 실행 시 cmd 창이 뜨는 ... 3 만델링무리번 2016.11.22 0/0
질문 다중이미지서치 해보신분? 2 패귀다리기 2016.11.21 0/0
질문 오토핫키 이미지서치앤클릭 계산기에서 실험했는데 안... 2 ronnie 2016.11.25 0/0
질문 메이플 오토핫키 무반응 2 호로로록호록 2016.11.20 0/0
질문 gui 이미지서치 범위연계 1 자더옂다 2016.11.21 0/0
질문 타게임 오토에임 질문합니다. 3 CoVin 2016.12.08 0/0
질문 미뮤에서 시작키 안먹히는 문제 도움좀 주실분 계신가요 발라밤밤 2016.11.19 0/0
질문 미뮤, 스택, 녹스 OpenGl 상태에서 Gdip 이미지 서치 ... 코코링 2016.11.19 0/0
질문 매크로사양어떻게되죠? 열등감으로 2016.11.18 0/0
질문 오토핫키가 매크로 중에서 가장 빠르나여?? 피피츠 2016.11.18 0/0
질문 멀티스레드 관련 질문 있습니다. 2 코코링 2016.11.18 0/0
Board Pagination Prev 1 ... 99100101102103104105106107 ... 209 Next
/ 209

전체 최신 인기글

전체 주간 인기글