스크립트를 실행해도 아무변화도 없고 그래서 뭐가 잘못된건지 몰라서요 질문드려요.
#NoEnv
#Singleinstance Force
return
F1::
Skip = 0
Skill = 0
Skip2 = 0
Skill2 = 0
Total = 0
WinLoss = 1
Win = 0
Loss = 0
Total2 = 0
WinLoss2 = 1
Win2 = 0
Loss2 = 0
Restart1 = 0
Restart2 = 0
rescan = 1
STARTONE:
Plyer = 1
IfWinExist One
{
WinActivate One
}
else
{
Goto, STARTTWO
}
PixelSearch, px, py, 486, 183, 486, 183, 0x35793E ; 어플실행
if errorlevel = 0
{
Sleep, 5000
MouseClick, Left, 485,200, 1
}
PixelSearch, px, py, 474, 313, 474, 313, 0x43DEFF ; 삼국지책략전 어플 실행 후 타이틀 화면 원클릭
if errorlevel = 0
{
random,rt,3546,5237
Sleep, rt
x1 = 100
x2 = 800
y1 = 270
y2 = 520
Restart2 := Restart2 + 1
Goto, PointClick
}
PixelSearch, px, py, 34, 548, 34, 548, 0x545454 ; 초기화면 팝업창 정리
if errorlevel = 0
{
PixelSearch, px, py, 934, 542, 934, 542, 0xFFFFFF ; 초기화면 팝업창 정리
if errorlevel = 0
{
PixelSearch, px, py, 212, 551, 212, 551, 0xF9F9F9 ; 초기화면 팝업창 정리
if errorlevel = 0
{
x1 = 927
x2 = 940
y1 = 540
y2 = 550
Restart1 := Restart1 + 1
Goto, PointClick
}
}
}
PixelSearch, px, py, 484, 181, 484, 181, 0x475954 ; 삼국지책략전 어플 중지 메세지 확인
if errorlevel = 0
{
Sleep, 2000
MouseClick, Left, 570,350, 1
Sleep, 2000
}
PixelSearch, px, py, 567, 99, 567, 99, 0x9E9A97 ; 일일보상
if errorlevel = 0
{
random,rt,2546,5237
Sleep, rt
x1 = 400
x2 = 570
y1 = 490
y2 = 520
Goto, PointClick
}
PixelSearch, px, py, 511, 330, 511, 330, 0x5DC1F9 ; 일기토전 선택
if errorlevel = 0
{
PixelSearch, px, py, 49, 56, 49, 56, 0x000000 ; 선물 없는거 확인
if errorlevel = 0
{
random,rt,1546,2237
Sleep, rt
x1 = 397
x2 = 581
y1 = 155
y2 = 460
Goto, PointClick
}
}
PixelSearch, px, py, 503, 272, 503, 272, 0xE4DFDC ; 계정정보 오류
if errorlevel = 0
{
PixelSearch, px, py, 319, 283, 319, 283, 0xB8ADA4 ; 계정정보 오류 and
if errorlevel = 0
{
random,rt,1546,2237
Sleep, rt
x1 = 398
x2 = 577
y1 = 327
y2 = 360
Goto, PointClick
}
}
PixelSearch, px, py, 62, 55, 62, 55, 0x2528AC ; 선물 확인
if errorlevel = 0
{
random,rt,2056,3058
random,x,35,72
random,y,53,77
Sleep, rt
MouseClick, Left, x, y, 1
}
PixelSearch, px, py, 559, 477, 559, 477, 0x8A6C6A ; 일괄수령 클릭
if errorlevel = 0
{
PixelSearch, px, py, 516, 471, 516, 471, 0x653833 ; and
if errorlevel = 0
{
random,rt,2056,3058
random,x,509,624
random,y,460,492
Sleep, rt
MouseClick, Left, x, y, 1
}
}
PixelSearch, px, py,551, 472, 551, 472, 0x6A5352 ; 선물 일괄수령후 닫기 클릭
if errorlevel = 0
{
PixelSearch, px, py, 512, 469, 512, 469, 0x452623 ; and
if errorlevel = 0
{
random,rt,1056,2058
random,x,350,465
random,y,460,492
Sleep, rt
MouseClick, Left, x, y, 1
}
}
PixelSearch, px, py, 822,727,822,727,6705487 ; 일괄수령 닫기 클릭
if errorlevel = 0
{
random,rt,2056,3058
random,x,554,654
random,y,710,750
Sleep, rt
MouseClick, Left, x, y, 1
}
PixelSearch, px, py, 428, 265, 428, 265, 0xBAADA4 ; 체력회복
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 523
x2 = 700
y1 = 328
y2 = 360
Goto, PointClick
}
PixelSearch, px, py, 631, 288, 631, 288, 0xDDD8D4 ; 상대가 접속중입니다.
if errorlevel = 0
{
PixelSearch, px, py, 332, 277, 332, 277, 0xBFB5AE ; and
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 577
y1 = 328
y2 = 360
rescan = 1
Goto, PointClick
}
}
PixelSearch, px, py, 320, 278, 320, 278, 0xC6BEB7 ; 응답시간 초과
if errorlevel = 0
{
PixelSearch, px, py, 490, 283, 490, 283, 0xD2CBC7 ; and
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 577
y1 = 328
y2 = 360
Goto, PointClick
}
}
PixelSearch, px, py, 496, 268, 496, 268, 0xF9F7F6 ; 네트워크 에러
if errorlevel = 0
{
PixelSearch, px, py, 363, 272, 363, 272, 0xBDB3AC ; and
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 577
y1 = 328
y2 = 360
Goto, PointClick
}
}
PixelSearch, px, py, 591, 302, 591, 302, 0xE1DBD6 ; 오랜시간 자리 비움
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 578
y1 = 328
y2 = 360
Goto, PointClick
}
PixelSearch, px, py, 437, 65, 437, 65, 0x54BBF1 ; 장수정보 들어갔을 때 이전 클릭
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 33
x2 = 110
y1 = 48
y2 = 82
Goto, PointClick
}
PixelSearch, px, py, 891, 69, 891, 69, 0x60649E ; 대전 첫 번째 클릭
if errorlevel = 0
{
x1 = 861
x2 = 943
y1 = 50
y2 = 83
Goto, PointClick
}
PixelSearch, px, py, 816, 508, 816, 508, 0xF9F9FB ; 대전 두 번째 클릭
if errorlevel = 0
{
x1 = 700
x2 = 887
y1 = 495
y2 = 528
Goto, PointClick
}
PixelSearch, px, py, 538, 267, 538, 267, 0xEDEAE8 ; 대전처리중
if errorlevel = 0
{
PixelSearch, px, py, 428, 57, 428, 57, 0x496A79 ; 대전처리중
if errorlevel = 0
{
x1 = 398
x2 = 578
y1 = 327
y2 = 361
Goto, PointClick
}
}
PixelSearch, px, py, 610, 419, 610, 419, 0xAE9896 ; "예" 클릭
if errorlevel = 0
{
x1 = 518
x2 = 698
y1 = 403
y2 = 435
Goto, PointClick
}
If (Skip = 1)
{
PixelSearch, px, py, 918, 51, 918, 51, 0x666193 ; 스킵권 사용
if errorlevel = 0
{
x1 = 920
x2 = 953
y1 = 36
y2 = 69
WinLoss = 1
Goto, PointClick
}
}
PixelSearch, px, py, 449, 288, 449, 288, 0xD4CCC7 ; 스킵권 없을 때 일반 일기토 전환
if errorlevel = 0
{
PixelSearch, px, py, 919, 50, 919, 50, 0x302C4D ; and
if errorlevel = 0
{
random,rt,1376,2021
x1 = 397
x2 = 577
y1 = 327
y2 = 360
Skip = 0
Goto, PointClick
}
}
PixelSearch, px, py, 219, 147, 219, 147, 0xFFFFFF ; 대전종료후 원클릭 (1)
if errorlevel = 0
{
PixelSearch, px, py, 490, 361, 490, 361, 0x000000
if errorlevel = 0
{
x1 = 160
x2 = 800
y1 = 270
y2 = 500
WinLoss = 1
Goto, PointClick
}
}
PixelSearch, px, py, 767, 448, 767, 448, 0xFFFFFF ; 대전종료후 원클릭 (2)
if errorlevel = 0
{
PixelSearch, px, py, 485, 361, 485, 361, 0x000000
if errorlevel = 0
{
x1 = 160
x2 = 800
y1 = 270
y2 = 500
WinLoss = 1
Goto, PointClick
}
}
PixelSearch, px, py, 475, 166, 475, 166, 0x23204B ; 레벨업
if errorlevel = 0
{
random,rt,521,1214
Sleep, rt
x1 = 300
x2 = 700
y1 = 170
y2 = 450
Goto, PointClick
}
PixelSearch, px, py, 463, 163, 463, 163, 0x1212C4 ; 승리기록
if errorlevel = 0
{
If (WinLoss = 1)
{
Total := Total + 1
Win := Win + 1
WinLoss = 0
}
}
PixelSearch, px, py, 461, 159, 461, 159, 0xB95C10 ; 패배기록
if errorlevel = 0
{
If (WinLoss = 1)
{
Total := Total + 1
Loss := Loss + 1
WinLoss = 0
}
}
If (WinLoss = 0)
{
PixelSearch, px, py, 326, 403, 326, 403, 0x110E38 ; 보상 선택
if errorlevel = 0
{
PixelSearch, px, py, 563, 404, 563, 404, 0x110E37 ; 보상 선택 and
if errorlevel = 0
{
PixelSearch, px, py, 808, 403, 808, 403, 0x110E38 ; 보상 선택 and and
if errorlevel = 0
{
random,cho,0,100
if (cho>13)
{
x1 = 390
x2 = 585
y1 = 385
y2 = 480
Goto, PointClick
}
else
{
if (cho>5)
{
x1 = 625
x2 = 830
y1 = 385
y2 = 480
Goto, PointClick
}
else
{
x1 = 142
x2 = 350
y1 = 385
y2 = 480
Goto, PointClick
}
}
}
}
}
}
PixelSearch, px, py, 523, 292, 523, 292, 0x29374D ; 게임 중단후 재시작시 보상 선택
if errorlevel = 0
{
PixelSearch, px, py, 279, 292, 279, 292, 0x28344C ; 보상 선택 and
if errorlevel = 0
{
PixelSearch, px, py, 765, 294, 765, 294, 0x28344C ; 보상 선택 and and
if errorlevel = 0
{
random,cho,0,100
if (cho>13)
{
x1 = 389
x2 = 589
y1 = 268
y2 = 361
Goto, PointClick
}
else
{
if (cho>5)
{
x1 = 631
x2 = 830
y1 = 268
y2 = 361
Goto, PointClick
}
else
{
x1 = 145
x2 = 347
y1 = 268
y2 = 361
Goto, PointClick
}
}
}
}
}
PixelSearch, px, py, 331, 395, 331, 395, 0x1F1D38 ; 보상선택 확인
if errorlevel = 0
{
PixelSearch, px, py, 576, 397, 576, 397, 0x1F1D38 ; 보상선택 확인 and
if errorlevel = 0
{
PixelSearch, px, py, 813, 401, 813, 401, 0x1F1D38 ; 보상선택 확인 and
if errorlevel = 0
{
x1 = 200
x2 = 800
y1 = 300
y2 = 500
Goto, PointClick
}
}
}
PixelSearch, px, py, 453, 53, 453, 53, 0x00D2FF ; 농장에서 "이전"클릭
if errorlevel = 0
{
random,rt,1376,2021
x1 = 32
x2 = 110
y1 = 50
y2 = 83
Goto, PointClick
}
PixelSearch, px, py, 911, 52, 911, 52, 0x6ABFDA ; 천화제패 화면에서 메인메뉴로 이동
if errorlevel = 0
{
random,rt,1376,2021
x1 = 917
x2 = 947
y1 = 50
y2 = 73
Goto, PointClick
}
PixelSearch, px, py, 552, 299, 552, 299, 0xC2B1B0 ;패스입력창
if errorlevel = 0
{
PixelSearch, px, py, 53, 61, 53, 61, 0x292525 ;and
if errorlevel = 0
{
random,x,350,465
random,y,283,313
x1 = 350
x2 = 465
y1 = 283
y2 = 313
Goto, PointClick
}
}
PixelSearch, px, py, 46, 531, 46, 531, 0xB9B9B9 ;번호키 전환
if errorlevel = 0
{
PixelSearch, px, py, 528, 300, 528, 300, 0x301A18 ;and
if errorlevel = 0
{
MouseClick, Left, 135, 540, 1
Goto, Scaan
}
}
Goto, STARTTWO
STARTTWO:
Plyer = 2
IfWinExist Two
{
WinActivate Two
}
else
{
Goto, STARTONE
}
PixelSearch, px, py, 486, 183, 486, 183, 0x35793E ; 어플실행
if errorlevel = 0
{
Sleep, 5000
MouseClick, Left, 485,200, 1
}
PixelSearch, px, py, 474, 313, 474, 313, 0x43DEFF ; 삼국지책략전 어플 실행 후 타이틀 화면 원클릭
if errorlevel = 0
{
random,rt,3546,5237
Sleep, rt
x1 = 100
x2 = 800
y1 = 270
y2 = 520
Restart2 := Restart2 + 1
Goto, PointClick
}
PixelSearch, px, py, 34, 548, 34, 548, 0x545454 ; 초기화면 팝업창 정리
if errorlevel = 0
{
PixelSearch, px, py, 934, 542, 934, 542, 0xFFFFFF ; 초기화면 팝업창 정리
if errorlevel = 0
{
PixelSearch, px, py, 212, 551, 212, 551, 0xF9F9F9 ; 초기화면 팝업창 정리
if errorlevel = 0
{
x1 = 927
x2 = 940
y1 = 540
y2 = 550
Restart1 := Restart1 + 1
Goto, PointClick
}
}
}
PixelSearch, px, py, 484, 181, 484, 181, 0x475954 ; 삼국지책략전 어플 중지 메세지 확인
if errorlevel = 0
{
Sleep, 2000
MouseClick, Left, 570,350, 1
Sleep, 2000
}
PixelSearch, px, py, 567, 99, 567, 99, 0x9E9A97 ; 일일보상
if errorlevel = 0
{
random,rt,2546,5237
Sleep, rt
x1 = 400
x2 = 570
y1 = 490
y2 = 520
Goto, PointClick
}
PixelSearch, px, py, 511, 330, 511, 330, 0x5DC1F9 ; 일기토전 선택
if errorlevel = 0
{
PixelSearch, px, py, 49, 56, 49, 56, 0x000000 ; 선물 없는거 확인
if errorlevel = 0
{
random,rt,1546,2237
Sleep, rt
x1 = 397
x2 = 581
y1 = 155
y2 = 460
Goto, PointClick
}
}
PixelSearch, px, py, 503, 272, 503, 272, 0xE4DFDC ; 계정정보 오류
if errorlevel = 0
{
PixelSearch, px, py, 319, 283, 319, 283, 0xB8ADA4 ; 계정정보 오류 and
if errorlevel = 0
{
random,rt,1546,2237
Sleep, rt
x1 = 398
x2 = 577
y1 = 327
y2 = 360
Goto, PointClick
}
}
PixelSearch, px, py, 62, 55, 62, 55, 0x2528AC ; 선물 확인
if errorlevel = 0
{
random,rt,2056,3058
random,x,35,72
random,y,53,77
Sleep, rt
MouseClick, Left, x, y, 1
}
PixelSearch, px, py, 559, 477, 559, 477, 0x8A6C6A ; 일괄수령 클릭
if errorlevel = 0
{
PixelSearch, px, py, 516, 471, 516, 471, 0x653833 ; and
if errorlevel = 0
{
random,rt,2056,3058
random,x,509,624
random,y,460,492
Sleep, rt
MouseClick, Left, x, y, 1
}
}
PixelSearch, px, py,551, 472, 551, 472, 0x6A5352 ; 선물 일괄수령후 닫기 클릭
if errorlevel = 0
{
PixelSearch, px, py, 512, 469, 512, 469, 0x452623 ; and
if errorlevel = 0
{
random,rt,1056,2058
random,x,350,465
random,y,460,492
Sleep, rt
MouseClick, Left, x, y, 1
}
}
PixelSearch, px, py, 822,727,822,727,6705487 ; 일괄수령 닫기 클릭
if errorlevel = 0
{
random,rt,2056,3058
random,x,554,654
random,y,710,750
Sleep, rt
MouseClick, Left, x, y, 1
}
PixelSearch, px, py, 496, 268, 496, 268, 0xF9F7F6 ; 네트워크 에러
if errorlevel = 0
{
PixelSearch, px, py, 363, 272, 363, 272, 0xBDB3AC ; and
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 577
y1 = 328
y2 = 360
Goto, PointClick
}
}
PixelSearch, px, py, 591, 302, 591, 302, 0xE1DBD6 ; 오랜시간 자리 비움
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 578
y1 = 328
y2 = 360
Goto, PointClick
}
PixelSearch, px, py, 437, 65, 437, 65, 0x54BBF1 ; 장수정보 들어갔을 때 이전 클릭
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 33
x2 = 110
y1 = 48
y2 = 82
Goto, PointClick
}
PixelSearch, px, py, 428, 265, 428, 265, 0xBAADA4 ; 체력회복
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 523
x2 = 700
y1 = 328
y2 = 360
Goto, PointClick
}
PixelSearch, px, py, 631, 288, 631, 288, 0xDDD8D4 ; 상대가 접속중입니다.
if errorlevel = 0
{
PixelSearch, px, py, 332, 277, 332, 277, 0xBFB5AE ; and
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 577
y1 = 328
y2 = 360
Goto, PointClick
}
}
PixelSearch, px, py, 320, 278, 320, 278, 0xC6BEB7 ; 응답시간 초과
if errorlevel = 0
{
PixelSearch, px, py, 490, 283, 490, 283, 0xD2CBC7 ; and
if errorlevel = 0
{
random,rt,546,1237
Sleep, rt
x1 = 398
x2 = 577
y1 = 328
y2 = 360
Goto, PointClick
}
}
PixelSearch, px, py, 891, 69, 891, 69, 0x60649E ; 대전 첫 번째 클릭
if errorlevel = 0
{
x1 = 861
x2 = 943
y1 = 50
y2 = 83
Goto, PointClick
}
PixelSearch, px, py, 816, 508, 816, 508, 0xF9F9FB ; 대전 두 번째 클릭
if errorlevel = 0
{
x1 = 700
x2 = 887
y1 = 495
y2 = 528
Goto, PointClick
}
PixelSearch, px, py, 538, 267, 538, 267, 0xEDEAE8 ; 대전처리중
if errorlevel = 0
{
PixelSearch, px, py, 428, 57, 428, 57, 0x496A79 ; 대전처리중
if errorlevel = 0
{
x1 = 398
x2 = 578
y1 = 327
y2 = 361
Goto, PointClick
}
}
PixelSearch, px, py, 610, 419, 610, 419, 0xAE9896 ; "예" 클릭
if errorlevel = 0
{
x1 = 518
x2 = 698
y1 = 403
y2 = 435
Goto, PointClick
}
If (Skip2 = 1)
{
PixelSearch, px, py, 918, 51, 918, 51, 0x666193 ; 스킵권 사용
if errorlevel = 0
{
x1 = 920
x2 = 953
y1 = 36
y2 = 69
WinLoss2 = 1
Goto, PointClick
}
}
PixelSearch, px, py, 449, 288, 449, 288, 0xD4CCC7 ; 스킵권 없을 때 일반 일기토 전환
if errorlevel = 0
{
PixelSearch, px, py, 919, 50, 919, 50, 0x302C4D ; and
if errorlevel = 0
{
random,rt,1376,2021
x1 = 397
x2 = 577
y1 = 327
y2 = 360
Skip2 = 0
Goto, PointClick
}
}
PixelSearch, px, py, 219, 147, 219, 147, 0xFFFFFF ; 대전종료후 원클릭 (1)
if errorlevel = 0
{
PixelSearch, px, py, 490, 361, 490, 361, 0x000000
if errorlevel = 0
{
x1 = 160
x2 = 800
y1 = 270
y2 = 500
WinLoss2 = 1
Goto, PointClick
}
}
PixelSearch, px, py, 767, 448, 767, 448, 0xFFFFFF ; 대전종료후 원클릭 (2)
if errorlevel = 0
{
PixelSearch, px, py, 485, 361, 485, 361, 0x000000
if errorlevel = 0
{
x1 = 160
x2 = 800
y1 = 270
y2 = 500
WinLoss2 = 1
Goto, PointClick
}
}
PixelSearch, px, py, 475, 166, 475, 166, 0x23204B ; 레벨업
if errorlevel = 0
{
x1 = 300
x2 = 700
y1 = 170
y2 = 450
Goto, PointClick
}
PixelSearch, px, py, 463, 163, 463, 163, 0x1212C4 ; 승리기록
if errorlevel = 0
{
If (WinLoss2 = 1)
{
Total2 := Total2 + 1
Win2 := Win2 + 1
WinLoss2 = 0
}
}
PixelSearch, px, py, 461, 159, 461, 159, 0xB95C10 ; 패배기록
if errorlevel = 0
{
If (WinLoss2 = 1)
{
Total2 := Total2 + 1
Loss2 := Loss2 + 1
WinLoss2 = 0
}
}
PixelSearch, px, py, 326, 403, 326, 403, 0x110E38 ; 보상 선택
if errorlevel = 0
{
PixelSearch, px, py, 563, 404, 563, 404, 0x110E37 ; 보상 선택 and
if errorlevel = 0
{
PixelSearch, px, py, 808, 403, 808, 403, 0x110E38 ; 보상 선택 and and
if errorlevel = 0
{
If (WinLoss2 = 0)
{
random,cho,0,100
if (cho>13)
{
x1 = 390
x2 = 585
y1 = 385
y2 = 480
Goto, PointClick
}
else
{
if (cho>5)
{
x1 = 625
x2 = 830
y1 = 385
y2 = 480
Goto, PointClick
}
else
{
x1 = 142
x2 = 350
y1 = 385
y2 = 480
Goto, PointClick
}
}
}
}
}
}
PixelSearch, px, py, 523, 292, 523, 292, 0x29374D ; 게임 중단후 재시작시 보상 선택
if errorlevel = 0
{
PixelSearch, px, py, 279, 292, 279, 292, 0x28344C ; 보상 선택 and
if errorlevel = 0
{
PixelSearch, px, py, 765, 294, 765, 294, 0x28344C ; 보상 선택 and and
if errorlevel = 0
{
random,cho,0,100
if (cho>13)
{
x1 = 389
x2 = 589
y1 = 268
y2 = 361
Goto, PointClick
}
else
{
if (cho>5)
{
x1 = 631
x2 = 830
y1 = 268
y2 = 361
Goto, PointClick
}
else
{
x1 = 145
x2 = 347
y1 = 268
y2 = 361
Goto, PointClick
}
}
}
}
}
PixelSearch, px, py, 331, 395, 331, 395, 0x1F1D38 ; 보상선택 확인
if errorlevel = 0
{
PixelSearch, px, py, 576, 397, 576, 397, 0x1F1D38 ; 보상선택 확인 and
if errorlevel = 0
{
PixelSearch, px, py, 813, 401, 813, 401, 0x1F1D38 ; 보상선택 확인 and
if errorlevel = 0
{
x1 = 200
x2 = 800
y1 = 300
y2 = 500
Goto, PointClick
}
}
}
PixelSearch, px, py, 453, 53, 453, 53, 0x00D2FF ; 농장에서 "이전"클릭
if errorlevel = 0
{
random,rt,1376,2021
x1 = 32
x2 = 110
y1 = 50
y2 = 83
Goto, PointClick
}
PixelSearch, px, py, 911, 52, 911, 52, 0x6ABFDA ; 천화제패 화면에서 메인메뉴로 이동
if errorlevel = 0
{
random,rt,1376,2021
x1 = 917
x2 = 947
y1 = 50
y2 = 73
Goto, PointClick
}
PixelSearch, px, py, 552, 299, 552, 299, 0xC2B1B0 ;패스입력창
if errorlevel = 0
{
PixelSearch, px, py, 53, 61, 53, 61, 0x292525 ;and
if errorlevel = 0
{
random,x,350,465
random,y,283,313
x1 = 350
x2 = 465
y1 = 283
y2 = 313
Goto, PointClick
}
}
PixelSearch, px, py, 46, 531, 46, 531, 0xB9B9B9 ;번호키 전환
if errorlevel = 0
{
PixelSearch, px, py, 528, 300, 528, 300, 0x301A18 ;and
if errorlevel = 0
{
MouseClick, Left, 135, 540, 1
Goto, Scaan
}
}
Goto, STARTONE
Scaan:
imagesearch, px, py, 0, 115, 970, 280, *80 0.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 1.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 2.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 3.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 4.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 5.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 6.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 7.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 8.jpg
if errorlevel = 0
{
goto, Number
}
imagesearch, px, py, 0, 0, 970, 280, *80 9.jpg
if errorlevel = 0
{
goto, Number
}
Number:
sx := px -78
sx2 := px -47
sy := py - 3
sy2 := py + 41
Scan = 0
oc = 120
oco = 0
Rescan:
oco := oco + 1
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 0.jpg
if errorlevel = 0
{
MouseClick, left, 915, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 1.jpg
if errorlevel = 0
{
MouseClick, left, 50, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 2.jpg
if errorlevel = 0
{
MouseClick, left, 145, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 3.jpg
if errorlevel = 0
{
MouseClick, left, 245, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 4.jpg
if errorlevel = 0
{
MouseClick, left, 340, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 5.jpg
if errorlevel = 0
{
MouseClick, left, 435, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 6.jpg
if errorlevel = 0
{
MouseClick, left, 530, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 7.jpg
if errorlevel = 0
{
MouseClick, left, 625, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 8.jpg
if errorlevel = 0
{
MouseClick, left, 720, 360, 1
Scan := Scan + 1
}
imagesearch, ssx, ssy, %sx%, %sy%, %sx2%, %sy2%, *%oc% 9.jpg
if errorlevel = 0
{
MouseClick, left, 815, 360, 1
Scan := Scan + 1
}
sx := sx + 25
sx2 := sx2 + 25
if (Scan <4)
{
Goto, ReScan
}
Else
{
MouseClick, left, 880, 540, 1
random,rt,1035,1336
Sleep, rt
x1 = 507
x2 = 625
y1 = 284
y2 = 315
Goto, PointClick
}
Goto, ReScan
PointClick:
x0 := x2 - x1
y0 := y2 - y1
random, ran1, 30, 45
random, ran2, 70, 85
random, ran3, 38, 50
random, ran4, 66, 76
random, ran5, 35, 45
random, ran6, 80, 95
random, ran7, 40, 50
random, ran8, 67, 77
x3 := x1 + x0 * (ran1/100)
x4 := x1 + x0 * (ran2/100)
x5 := x1 + x0 * (ran3/100)
x6 := x1 + x0 * (ran4/100)
y3 := y1 + y0 * (ran5/100)
y4 := y1 + y0 * (ran6/100)
y5 := y1 + y0 * (ran7/100)
y6 := y1 + y0 * (ran8/100)
random, x11, x1, x2
random, y11, y1, y2
random, x22, x3, x4
random, y22, y3, y4
random, x33, x5, x6
random, y33, y5, y6
x11 := round (x11)
x22 := round (x22)
x33 := round (x33)
y11 := round (y11)
y22 := round (y22)
y33 := round (y33)
random, c, 1, 100
if(c<20)
{
mouseclick, left, x33, y33
Random, Slee, 200, 500
Sleep, Slee
}
else
{
if(c<80)
{
mouseclick, left, x22, y22
Random, Slee, 200, 500
Sleep, Slee
}
else
{
mouseclick, left, x11, y11
Random, Slee, 200, 500
Sleep, Slee
}
}
IfWinActive One
{
Goto, STARTTWO
}
IfWinActive Two
{
Goto, STARTONE
}
F4::
ExitApp
F3::
MsgBox, %Total% / %Win% / %Loss% / %Restart1% %Total2% / %Win2% / %Loss2% / %Restart2% %Total3% / %Win3% / %Loss3% / %Restart3%
return
F2::
Pause
return
F5::
Reload
아무도안계신가보군요 ㅠ^ㅠ