매크로 커뮤니티

조회 수 571 추천 0 댓글 1
#notrayicon
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, -1
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Pixel, Screen, RGB
CoordMode, Mouse, Screen
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
Gui, Add, Button, x12 y29 w120 h20 +Center g
, SAVE
Gui, Add, Button, x142 y29 w120 h20 +center g
, LOAD
Gui, Add, GroupBox, x2 y9 w270 h50 , SAVE System
Gui, Add, Slider, x12 y89 w140 h40 +Center altsubmit range0-100 g
Gui, Add, GroupBox, x2 y69 w270 h70 ,조준 설정
Gui, Add, Text, x172 y99 w70 h20 +Center v , Y : 
Gui, Add, GroupBox, x2 y149 w270 h140 , Setting
Gui, Add, Slider, x12 y169 w140 h50 +Center altsubmit range0-99 g
Gui, Add, Text, x172 y189 w70 h20 +Center v , 오차범위 : %range%
Gui, Add, Slider, x12 y379 w140 h40 +Center altsubmit range1-200 gscanY vFoY,%foy%0
Gui, Add, Text, x162 y249 w90 h20 +Center vAimsc +0x200,마우스 속도 : %Aimcount%
Gui, Add, GroupBox, x2 y299 w270 h140 ,스캔 범위
Gui, Add, Slider, x12 y319 w140 h40 +Center altsubmit range1-200 gscanX vFoX,%fox%0
Gui, Add, Text, x162 y339 w90 h20 +Center vScanXcou +0x200,X : %fox%0
Gui, Add, Slider, x12 y229 w140 h40 +Center altsubmit range8-30 gAMS vAimcount,8
Gui, Add, Text, x162 y399 w90 h20 +Center vScanYcou +0x200,Y : %foy%0
Gui, Add, GroupBox, x152 y79 w110 h50 , Status
Gui, Add, GroupBox, x152 y169 w110 h50 , Status
Gui, Add, GroupBox, x152 y319 w110 h50 , Status
Gui, Add, GroupBox, x152 y379 w110 h50 , Status
Gui, Add, GroupBox, x152 y229 w110 h50 , Status
Gui, Add, GroupBox, x282 y9 w160 h70 ,해상도 설정
Gui, Add, CheckBox, x302 y29 w120 h20 gpix1 vpix1,해상도 1024X768
Gui, Add, CheckBox, x342 y169 w90 h-140 , CheckBox
Gui, Add, CheckBox, x302 y49 w110 h20 gpix2 vpix2,해상도 800X600
Gui, Add, GroupBox, x282 y89 w160 h50 , System Start
Gui, Add, CheckBox, x302 y109 w130 h20 vta1,오토에임 [ON:F1]
Gui, Add, GroupBox, x282 y149 w160 h140 , Hotkey
Gui, Add, Text, x302 y189 w120 h20 ,EXIT [ctrl+F3]
Gui, Add, Text, x302 y219 w120 h20 ,HIDE [ctrl+F4]
Gui, Add, Text, x302 y249 w120 h20 ,
Gui, Add, Button, x282 y299 w160 h70 g
Gui, Add, Button, x282 y370 w160 h70 g
Gui, Show, x308 y92 h445 w450,God bless jaewoong
Loop
{
if pix1= 1
ZeroX :=512
ZeroY := 384
if pix2 =1
ZeroX := 400
ZeroY := 300
CFovX := FoX
CFovY := FoY
SubY:=365
ScanL := ZeroX - CFovX
ScanR := ZeroX + CFovX
ScanT := ZeroY - CFovY
ScanB := ZeroY + CFovY
ScanZ:= SubY - CFovY
ScanE:= SubY + CFovY
guicontrolget,foy
guicontrolget,fox
GetKeyState, Mouse2, LButton
if Mouse2 = D
GuiControlGet, ta1,,ta1
if ta1 = 1
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, 0xFF00ED, 1,Fast, RGB
if errorlevel = 0
GoSub GetAimOffset
GoSub GetAimMoves
GoSub MouseMoves
GoSub SleepF
return
}
GetAimOffset:
AimX := AimPixelX - ZeroX
AimY := AimPixelY - ZeroY
{
If ( AimX > 0 ) 
DirX := 0.9
}
If ( AimX < 0 ) 
DirX := -0.9
{
If ( AimY > 0 ) 
DirY := 0.9
}
If ( AimY < 0 ) 
DirY := -0.9
{
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
}
GetAimMoves:
Zx= %Aimcount%
AimA:=Fx/Zx
RootX := Ceil(( AimOffsetX ** (AimA)))
RootY := Ceil(( AimOffsetY **(AimA)))
MoveX := RootX * DirX + 3
MoveY := RootY * DirY +
return
MouseMoves:
If ( Mouse2 == "D" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
Return
}
SleepF:
SleepDuration = 6
TimePeriod = 1
DllCall("Winmm\timeBeginPeriod", uint, TimePeriod)
Iterations =8
StartTime := A_TickCount
Loop, %Iterations% {
DllCall("Sleep", UInt, TimePeriod)
DllCall("Winmm\timeEndPeriod", UInt, TimePeriod)
Return
DebugTool:
ToolTip, %MoveX% | %MoveY% || %MX% %MY%
Return
MsgBox,
LOAD:
OFF:
Return
}
^s::
msgbox, 저장했습니다,
iniWrite,%MoveY%, setting.ini, Y, Y
IniWrite,%Range%, setting.ini, Error range , Error range
IniWrite,%Aimcount%, setting.ini, AimoveSpeed ,AimoveSpeed
IniWrite,%FoX%, setting.ini, FoX , FoX
IniWrite,%FoY%, setting.ini, FoY , FoY
return
^l::
msgbox, 불러왔습니다,
Gui,submit,nohide
Iniread, MoveY, Setting.ini,Y,Y
Guicontrol,,MoveY,%MoveY%
Gui,submit,nohide
Iniread, MoveY , Setting.ini,Y,Y
Guicontrol,,MoveY,%MoveY%
Gui,submit,nohide
Iniread, Range , Setting.ini,Error range,Error range
Guicontrol,,Range,%Range%
Gui,submit,nohide
Iniread, Aimcount, Setting.ini,AimoveSpeed,AimoveSpeed
Guicontrol,,Aimcount,%Aimcount%
Gui,submit,nohide
Iniread, Range , Setting.ini,Error range,Error range
guicontrol,,Range,%Range%
Gui,submit,nohide
Iniread, Aimcount, Setting.ini,AimoveSpeed,AimoveSpeed
Guicontrol,,Aimsc,
: %Aimcount%
Iniread, FoX, Setting.ini,FoX,FoX
Guicontrol,,FoX,%FoX%
Gui,submit,nohide
Iniread, FoY, Setting.ini,FoY,FoY
Guicontrol,,FoY,%FoY%
Iniread, FoX, Setting.ini,FoX,FoX
Guicontrol,,FoX,%FoX%
Gui,submit,nohide
Iniread, FoY, Setting.ini,FoY,FoY
Guicontrol,,FoY,%FoY%
return
gui, submit,nohide
guicontrol,,submit,%submit%
return
Gui, submit,Nohide
Guicontrol,,submit,%submit%
return
pix1:
Gui, Submit, NoHide
GuiControl,,pix1,
return
pix2:
Gui, Submit, NoHide
GuiControl,,pix2,
return
^F4::
Gui % (MainGui:=!MainGui) ? "Hide" : "Show"
return
Reload
^F3::
ExitApp
return
Gui,submit,nohide
If ta1 = 0
GUICONTROL,,ta1,1
if ta1 = 1
GUICONTROL,,ta1,0
return
end::
Gui,submit,nohide
If pix1 = 0
GUICONTROL,,pix1,1
if ta1 = 1
GUICONTROL,,pix1,0
return
ScanX:
gui, submit,nohide
guicontrol,,ScanXcou,X : %FoX%
return
ScanY:
gui, submit,nohide
guicontrol,,ScanYcou,Y : %FoY%
return
AMS:
gui, submit,nohide
guicontrol,,Aimsc,
: %Aimcount%
return
guiescape:
2GuiClose:
exitapp
return

소스가 날라가서 기존프로그램으로 디컴파일했는데 소스가 깨진것같에요 대충 손봤는데
픽셀서치 인식이 안되네요 도움좀주세요 ~

  • fdsaads 2017.09.23 19:02
    Gui, Add, Text, x172 y189 w70 h20 +Center v , 오차범위 : %range%
    Gui, Add, Slider, x12 y379 w140 h40 +Center altsubmit range1-200 gscanY vFoY,%foy%0
    Gui, Add, Text, x162 y249 w90 h20 +Center vAimsc +0x200,마우스 속도 : %Aimcount%
    Gui, Add, GroupBox, x2 y299 w270 h140 ,스캔 범위
    Gui, Add, Slider, x12 y319 w140 h40 +Center altsubmit range1-200 gscanX vFoX,%fox%0
    Gui, Add, Text, x162 y339 w90 h20 +Center vScanXcou +0x200,X : %fox%0
    Gui, Add, Slider, x12 y229 w140 h40 +Center altsubmit range8-30 gAMS vAimcount,8
    Gui, Add, Text, x162 y399 w90 h20 +Center vScanYcou +0x200,Y : %foy%0
    Gui, Add, GroupBox, x152 y79 w110 h50 , Status
    Gui, Add, GroupBox, x152 y169 w110 h50 , Status
    Gui, Add, GroupBox, x152 y319 w110 h50 , Status
    Gui, Add, GroupBox, x152 y379 w110 h50 , Status
    Gui, Add, GroupBox, x152 y229 w110 h50 , Status
    Gui, Add, GroupBox, x282 y9 w160 h70 ,해상도 설정
    Gui, Add, CheckBox, x302 y29 w120 h20 gpix1 vpix1,해상도 1024X768
    Gui, Add, CheckBox, x342 y169 w90 h-140 , CheckBox
    Gui, Add, CheckBox, x302 y49 w110 h20 gpix2 vpix2,해상도 800X600
    Gui, Add, GroupBox, x282 y89 w160 h50 , System Start
    Gui, Add, CheckBox, x302 y109 w130 h20 vta1,오토에임 [ON:F1]
    Gui, Add, GroupBox, x282 y149 w160 h140 , Hotkey
    Gui, Add, Text, x302 y189 w120 h20 ,EXIT [ctrl+F3]
    Gui, Add, Text, x302 y219 w120 h20 ,HIDE [ctrl+F4]
    Gui, Add, Text, x302 y249 w120 h20 ,
    Gui, Add, Button, x282 y299 w160 h70 g
    Gui, Add, Button, x282 y370 w160 h70 g
    Gui, Show, x308 y92 h445 w450,God bless jaewoong
    Loop
    {
    if pix1= 1
    ZeroX :=512
    ZeroY := 384
    if pix2 =1
    ZeroX := 400
    ZeroY := 300
    CFovX := FoX
    CFovY := FoY
    SubY:=365
    ScanL := ZeroX - CFovX
    ScanR := ZeroX + CFovX
    ScanT := ZeroY - CFovY
    ScanB := ZeroY + CFovY
    ScanZ:= SubY - CFovY
    ScanE:= SubY + CFovY
    guicontrolget,foy
    guicontrolget,fox
    GetKeyState, Mouse2, LButton
    if Mouse2 = D
    GuiControlGet, ta1,,ta1
    }
    if ta1 = 1
    PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, 0xFF00ED, 1,Fast, RGB
    if errorlevel = 0
    {
    GoSub GetAimOffset
    GoSub GetAimMoves
    GoSub MouseMoves
    GoSub SleepF
    return
    }
    GetAimOffset:
    AimX := AimPixelX - ZeroX
    AimY := AimPixelY - ZeroY
    {
    If ( AimX > 0 ) 
    DirX := 0.9
    }
    If ( AimX < 0 ) 
    DirX := -0.9
    {
    If ( AimY > 0 ) 
    DirY := 0.9
    }
    If ( AimY < 0 ) 
    DirY := -0.9
    {
    AimOffsetX := AimX * DirX
    AimOffsetY := AimY * DirY
    Return
    }
    GetAimMoves:
    Zx= %Aimcount%
    AimA:=Fx/Zx
    RootX := Ceil(( AimOffsetX ** (AimA)))
    RootY := Ceil(( AimOffsetY **(AimA)))
    MoveX := RootX * DirX + 3
    MoveY := RootY * DirY +
    return
    MouseMoves:
    If ( Mouse2 == "D" ) {
    DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
    Return
    }
    SleepF:
    SleepDuration = 6
    TimePeriod = 1
    DllCall("Winmm\timeBeginPeriod", uint, TimePeriod)
    Iterations =8
    StartTime := A_TickCount
    Loop, %Iterations% {
    DllCall("Sleep", UInt, TimePeriod)
    DllCall("Winmm\timeEndPeriod", UInt, TimePeriod)
    Return
    DebugTool:
    ToolTip, %MoveX% | %MoveY% || %MX% %MY%
    Return
    MsgBox,
    LOAD:
    OFF:
    Return
    }
    ^s::
    msgbox, 저장했습니다,
    iniWrite,%MoveY%, setting.ini, Y, Y
    IniWrite,%Range%, setting.ini, Error range , Error range
    IniWrite,%Aimcount%, setting.ini, AimoveSpeed ,AimoveSpeed
    IniWrite,%FoX%, setting.ini, FoX , FoX
    IniWrite,%FoY%, setting.ini, FoY , FoY
    return
    ^l::
    msgbox, 불러왔습니다,
    Gui,submit,nohide
    Iniread, MoveY, Setting.ini,Y,Y
    Guicontrol,,MoveY,%MoveY%
    Gui,submit,nohide
    Iniread, MoveY , Setting.ini,Y,Y
    Guicontrol,,MoveY,%MoveY%
    Gui,submit,nohide
    Iniread, Range , Setting.ini,Error range,Error range
    Guicontrol,,Range,%Range%
    Gui,submit,nohide
    Iniread, Aimcount, Setting.ini,AimoveSpeed,AimoveSpeed
    Guicontrol,,Aimcount,%Aimcount%
    Gui,submit,nohide
    Iniread, Range , Setting.ini,Error range,Error range
    guicontrol,,Range,%Range%
    Gui,submit,nohide
    Iniread, Aimcount, Setting.ini,AimoveSpeed,AimoveSpeed
    Guicontrol,,Aimsc,
    : %Aimcount%
    Iniread, FoX, Setting.ini,FoX,FoX
    Guicontrol,,FoX,%FoX%
    Gui,submit,nohide
    Iniread, FoY, Setting.ini,FoY,FoY
    Guicontrol,,FoY,%FoY%
    Iniread, FoX, Setting.ini,FoX,FoX
    Guicontrol,,FoX,%FoX%
    Gui,submit,nohide
    Iniread, FoY, Setting.ini,FoY,FoY
    Guicontrol,,FoY,%FoY%
    return
    gui, submit,nohide
    guicontrol,,submit,%submit%
    return
    Gui, submit,Nohide
    Guicontrol,,submit,%submit%
    return
    pix1:
    Gui, Submit, NoHide
    GuiControl,,pix1,
    return
    pix2:
    Gui, Submit, NoHide
    GuiControl,,pix2,
    return
    ^F4::
    Gui % (MainGui:=!MainGui) ? "Hide" : "Show"
    return
    Reload
    ^F3::
    ExitApp
    return
    Gui,submit,nohide
    If ta1 = 0
    GUICONTROL,,ta1,1
    if ta1 = 1
    GUICONTROL,,ta1,0
    return
    end::
    Gui,submit,nohide
    If pix1 = 0
    GUICONTROL,,pix1,1
    if ta1 = 1
    GUICONTROL,,pix1,0
    return
    ScanX:
    gui, submit,nohide
    guicontrol,,ScanXcou,X : %FoX%
    return
    ScanY:
    gui, submit,nohide
    guicontrol,,ScanYcou,Y : %FoY%
    return
    AMS:
    gui, submit,nohide
    guicontrol,,Aimsc,
    : %Aimcount%
    return
    guiescape:
    2GuiClose:
    exitapp
    return
    해결하셧을수도잇지만 이걸로하면 되실거에요

List of Articles
분류 제목 글쓴이 최근변경 추천
자유 운영 방해 목적의 매크로 관련 글 제재 피카부 2019.09.03 0/0
질문 히트 메크로 어떻게 다운받는건가요.? 사랑을몰라서 2017.04.11 0/0
질문 파블매크로를 구하고 싶은데.. 붉보망함 2017.04.10 0/0
질문 리니지 m 매크로도 나오겠죠? 나오면 꼭 써보고 싶어요 4 스라스라 2017.06.21 0/0
자유 홍매크로 쓸만한가요??? 6 파김치 2017.06.14 0/0
자유 오토핫키 기초를 다질려하는데 1 눅스11 2017.04.08 0/0
질문 게임 매크로는 아니구 일반 스마트폰 동작 자동 매크로... 2 김숑키 2017.04.08 0/0
질문 서머너즈워 매크로 구합니다 2 위런 2017.04.07 0/0
질문 아덴 메크로 손대셨던분은 안계신가요? (게시판 등록 ... 정우리 2017.04.06 0/0
질문 매크로 공부하려는데 관련해서 질문 몇가지좀 끄적여 ... 1 해군왕 2017.04.09 0/0
자유 킹스레이드 메크로 있나요. ?? 마시자근사미 2017.04.06 0/0
질문 오토핫키 고수분들 도움 부탁드립니다. 1 방가룽 2017.09.23 0/0
질문 진삼국무쌍 리세매크로 있는분 계신가요? 소울스 2017.04.04 0/0
자유 서머너즈워 매크로 구해봅니다.. ship 2017.04.04 0/0
질문 유료버전은 어떻게 돌아가는지.. 힐주는아이폰 2017.04.04 0/0
질문 블루스택 구버전 어떤 버전으로 받아야하나요.. 승구0515 2017.04.03 0/0
질문 요즘 마카롱은안쓰나요? 5 승구0515 2017.04.12 0/0
자유 아덴 메크로 공부중입니당 정우리 2017.04.03 0/0
질문 블택사용 중 전투중 오류 발생 행구사마 2017.04.02 0/0
자유 파블 매크로는 없나보군요 1 NyMa 2017.04.06 0/0
질문 홍매크로 대응패치 되었나요? 3 동네스타 2017.04.08 0/0
Board Pagination Prev 1 ... 313314315316317318319320321 ... 525 Next
/ 525

전체 최신 인기글

전체 주간 인기글