'서든어택핷'에 해당되는 글 2건
- 2020.04.11 :: [서든어택] 오토샷 소스 2
- 2020.04.11 :: [서든어택] 쉘값&H코드값 (자료코드) 2
CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
CoordMode, ToolTip, Screen
ListLines Off
SendMode InputThenPlay
SetBatchLines -1
SetControlDelay, -1
SetKeyDelay, -1, 0
SetMouseDelay, -1
SetWinDelay, -1
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
global X1, Y1, X2, Y2, 돌격소총, 빨간색, 저격소총, 배경색, 전경색
global FPGCBufferDC = 0
global FPGCReady = 0
global FPGCWait = 1
Gui, Color, FFFFFF
Gui, Font,, 맑은 고딕
Gui, Add, Text,, 해상도
Gui, Add, DropDownList, AltSubmit g설정 v해상도 w200, 1024 × 768||1280 × 1024
Gui, Show,, Bomchattack
Gui, 2: +LastFound +AlwaysOnTop -Caption +ToolWindow
Gui, 2: Color, 000000
Gui, 2: Font, cffffff s12 bold, 굴림
Gui, 2: Margin, 0, 0
Gui, 2: Add, Text, v상태표시줄 w200
gosub, 설정열기
return
설정:
Gui, Submit, NoHide
if (해상도 = 1) {
X1 = 481
Y1 = 448
X2 = 513
Y2 = 385
상태표시줄Y := 768 - 66
Gui, 2: Show, x211 y%상태표시줄Y% NA, Secondary Bomchattack OSD
} else if (해상도 = 2) {
X1 = 609
Y1 = 596
X2 = 640
Y2 = 513
상태표시줄Y := 1024 - 66
Gui, 2: Show, x211 y%상태표시줄Y% NA, Secondary Bomchattack OSD
}
return
설정저장:
Gui, Submit, NoHide
IniWrite, %해상도%, bomchattack.ini, Bomchattack 설정, 해상도
return
설정열기:
if (FileExist("bomchattack.ini")) {
IniRead, 해상도, bomchattack.ini, Bomchattack 설정, 해상도, 1
GuiControl, Choose, 해상도, %해상도%
gosub, 설정
} else {
GuiControl, Choose, 해상도, 1
gosub, 설정
}
return
End::
Suspend, Off
Gosub, GuiClose
return
GuiClose:
gosub, 설정저장
ExitApp
return
돌격소총사격실행:
SetTimer, 돌격소총사격실행, Off
while (돌격소총 = 1) {
updateFPGC()
빨간색 := FPGC(X1, Y1)
if (빨간색 = 0x0000ff) {
DllCall("mouse_event", "UInt", 0x02)
DllCall("Sleep", UInt, 768)
DllCall("mouse_event", "UInt", 0x04)
DllCall("Sleep", UInt, 256)
}
}
while (돌격소총 = 0) {
updateFPGC()
빨간색 := FPGC(X1, Y1)
if (빨간색 = 0x0000FF) {
DllCall("mouse_event", "UInt", 0x02)
DllCall("Sleep", UInt, 16)
DllCall("mouse_event", "UInt", 0x04)
DllCall("Sleep", UInt, 16)
}
}
return
저격소총사격실행:
SetTimer, 저격소총사격실행, Off
updateFPGC()
전경색 := FPGC(X2, Y2)
while (저격소총 = 1) {
updateFPGC()
배경색 := FPGC(X2, Y2)
if (전경색 <> 배경색) {
저격소총 = 0
DllCall("mouse_event", "UInt", 0x02)
DllCall("Sleep", UInt, 16)
DllCall("mouse_event", "UInt", 0x04)
DllCall("Sleep", UInt, 1)
GuiControl, 2: , 상태표시줄, 저격소총 사격
break
}
}
return
FPGC(x, y) {
global FPGCBufferDC, FPGCReady, FPGCWait
global FPGCScreenLeft, FPGCScreenTop
; check if there is a valid data buffer
if (!FPGCReady) {
if (FPGCWait) {
Start := A_TickCount
While !FPGCReady {
Sleep, 10
if (A_TickCount - Start > 5000)
return -3 ; time out if data is not ready after 5 seconds
}
}
else
return -2 ; return an invalid color if waiting is disabled
}
return DllCall("GetPixel", "Uint", FPGCBufferDC, "int", x - FPGCScreenLeft, "int", y - FPGCScreenTop)
}
updateFPGC() {
global FPGCReady, FPGCBufferDC
static oldObject = 0, hBuffer = 0
static screenWOld = 0, screenHOld = 0
; get screen dimensions
global FPGCScreenLeft, FPGCScreenTop
SysGet, FPGCScreenLeft, 76
SysGet, FPGCScreenTop, 77
SysGet, screenW, 78
SysGet, screenH, 79
FPGCReady = 0
; determine whether the old buffer can be reused
bufferInvalid := screenW <> screenWOld OR screenH <> screenHOld OR FPGCBufferDC = 0 OR hBuffer = 0
screenWOld := screenW
screenHOld := screenH
if (bufferInvalid) {
; cleanly discard the old buffer
DllCall("SelectObject", "Uint", FPGCBufferDC, "Uint", oldObject)
DllCall("DeleteDC", "Uint", FPGCBufferDC)
DllCall("DeleteObject", "Uint", hBuffer)
; create a new empty buffer
FPGCBufferDC := DllCall("CreateCompatibleDC", "Uint", 0)
hBuffer := CreateDIBSection(FPGCBufferDC, screenW, screenH)
oldObject := DllCall("SelectObject", "Uint", FPGCBufferDC, "Uint", hBuffer)
}
screenDC := DllCall("GetDC", "Uint", 0)
; retrieve the whole screen into the newly created buffer
DllCall("BitBlt", "Uint", FPGCBufferDC, "int", 0, "int", 0, "int", screenW, "int", screenH, "Uint", screenDC, "int", FPGCScreenLeft, "int", FPGCScreenTop, "Uint", 0x40000000 | 0x00CC0020)
; important: release the DC of the screen
DllCall("ReleaseDC", "Uint", 0, "Uint", screenDC)
FPGCReady = 1
}
'게임 코드 자료실' 카테고리의 다른 글
[서든어택] 오토핫키 소스 (1) | 2020.04.11 |
---|---|
[오버워치] 매크로 소스 (2019Ver) (0) | 2020.04.11 |
[서든어택] 쉘값&H코드값 (자료코드) (2) | 2020.04.11 |
[서든어택] 월H 소스 (C++) (0) | 2020.04.10 |
ㅇㅌㅇㅎ
8B 80 14 37 00 00 8B E5 5D C3
바이트 벨류 On:0
ㅁㅂㄷ
00 00 C0 3F 89 08 E8 F3 03 00
4바이트 벨류 On:0 Off:1069547520
ㅇㅇㄱㅈ
D9 46 2C D8 15
바이트 벨류 On:216 Off:217
12 jump
3C 00 02 00 00 00 02
바이트 벨류 On:89 Off:60
ㄴㄴㅅ
74 7C FF D5 99 B9 F0 FF 00 00
바이트 벨류 On:117 Off:116
ㅊㅇㅈㅅ
13 84 C0 75 위에서 9~11 번째꺼
4바이트 벨류 On:1958773779 Off:1975550995
ㅈㄷㅊㅅ
85 B5 00 00 00 6A 01
4바이트 벨류 On:46468 Off:46469
ㄱㅌ
74 1E D9 45
바이트 벨류 On:117 Off:116
ㅇㅇㅇㅍㄹㅇ ㅇㅎ
03 6A 08 8B 40 04 50 8B 08 FF
바이트 벨류 On:2 Off:3
ㄱㄹㅅ ㅇㅎ
01 6A 07 8B 40 04 50 8B 08 FF 91
바이트 벨류 On:0 Off:1
ㅂㄹㅇㅍ ㅇㅎ
84 85 01 00 00 D9 47 04 D8 99
바이트 벨류 On:133 Off:132
ㅈㅍ (1)
D8 C3 90 8B 44 24 04
바이트 벨류 On:217 Off:216
ㅈㅍ (2)
DF E0 F6 C4 41 0F 85 C9
바이트 벨류 On:222 Off:223
ㅈㅇㅈㄹ ㄹㅅㅍ
74 7A 8A 44 24 28 84 C0
4바이트 벨류 On:1149926005 Off:1149926004
ㄴㄷㄹㅇ
5C 85 C0 74 3D 83 FD FF 74 38
4바이트 벨류 On:1975551324 Off:1958774108
ㄴㅈㅈ
75 0A 8A 88 61 0C 00 00 84 C9 74 3C
바이트 벨류 On:116 Off:117
ㅈㅍㅁㅊ ㅈㄱ
84 C0 00 00 00 8B 0D ?? ?? ?? 20 83 B9
바이트 벨류 On:133 Off:132
ㅊㅁㄱ ㅈㄱ
75 30 D9 44 24 20 D8 1D 0C
4바이트 벨류 On:1155084404 Off:1155084405
ㅇㅍㅌ ㅈㄱㄱ
84 A3 00 00 00 EB 06 8B 15 / 68
바이트 벨류 On:133 Off:132
ㅁㅊ ㅈㄱ
24 10 33 C0 8A 47 06 33 C9 8A
바이트 벨류 On:23 Off:24
ㅋㅂㅁㅎ
DF E0 F6 C4 41 0F 85 C7 00 00 00 C7 86 B8 03 00
바이트 벨류 On:222 Off:223
ㄱㅈㄴㄴ
74 66 8B 55 08 8B 45 14 D9 42 04 D8 58 04 DF E0
바이트 벨류 On:117 Off:116
ㅈㅇㅅㅈ
C9 3B D0 5E 0F 94 ?? 8B ?? C3 ?? ?? ?? ?? ?? 56
바이트 벨류 On:202 Off:201
ㅅㅎ
44 00 FE FF 46
바이트 벨류 On:67 Off:68
[ㅎㄷㅁㅂ]cshell.dll+31C974
00 00 8C 42 00 80 D3 43 00 80 CB 43 00 00 92 42
4 바이트 기본 벨류 : 1116471296
4 바이트 바뀔 벨류 : 1232348160
[ㅇㅂㅇㄱ (1)]cshell.dll+18665E
D9 46 2C E8 ?? ?? ?? 00 8B F8 ?? ?? 8B DF 57 F7
4 바이트 기본 벨류 : 3895215833
4 바이트 바뀔 벨류 : 3895215832
[ㅇㅂㅇㄱ 2)]cshell.dll+18666D
F7 DB 53 89 7C 24 2C E8 ?? ?? 01 00 89 44 24 28
4 바이트 기본 벨류 : 2303974391
4 바이트 바뀔 벨류 : 2303973623
[ㅇㅇㄱㅈ(1)]cshell.dll+13DFBC
75 02 8B CF E8 ?? ?? ?? 00 5F 5E 59 C3 90 90 90
4 바이트 기본 벨류 : 3481993845
4 바이트 바뀔벨류 : 3481993844
[ㅇㅇㄱㅈ(2)]cshell.dll+140D16
75 13 50 8D 8E AC 00 00 00 E8 ?? ?? ?? 00 DD D8
4 바이트 기본 벨류 : 2370835317
4 바이트 바뀔 벨류 : 2370835316
[ㄴㄱㅅ]cshell.dll+205F8B
0F 84 DA 03 00 00 D9 84 24 74 01 00 00 D8 1D ??
4 바이트 기본 벨류 : 64652303
4 바이트 바뀔 벨류 : 64652559
[ㅋ ㅎㅂ]cshell.dll+1432E4
7E ?? 57 8D 8C 24 ?? 01 00 00 68 ?? ?? ?? ?? 51/
4 바이트 기본 벨류 : 2371304318
4 바이트 바뀔 벨류 : 2371304317
[ㅊㅁㄱ ㅁㅅ]cshell.dll+206CFB
75 30 D9 44 24 ?? D8 1D ?? ?? ?? ?? DF E0 F6 C4
4 바이트 기본 벨류 : 1155084405
4 바이트 바뀔 벨류 : 1155084404
[ㄱㅈ ㅇㅊㅇㅌ]cshell.dll+
74 36 8B 0D ?? ?? ?? 03 8D 44 24 18 50 53 8B 11
4 바이트 기본 벨류 : 227227252
4 바이트 바뀔 벨류 : 227227263
[1R ㄹㅅㅍ]cshell.dll+1793E9
75 ?? 8B ?? E8 ?? ?? ?? FF 5E C3 90 90 90 90 90
4 바이트 기본 벨류 : 3465217909
4 바이트 바뀔벨류 : 3465217908
[고스트 스텝]cshell.dll+208692
75 2c 8b 4e 14 b8 20 08 00 00
바이트 : 116
[ㅊ ㅂㅅ]cshell.dll+C6A6
4바이트 원래 벨류 : 23724138
4바이트 바뀔 벨류 : 23724394
[ㅅㄴ ㅈ]cshell+3830BC
바이트 : 1
[ㄷㅂ]cshell+38E8D4
바이트 : 0
(ㅂㅂㅈㅍ)
Bip01 R UpperArm - 오른쪽팔 [42 69 70 30 31 20 52 20 55 70 70 65 72 41 72 6D]
Bip01 L UpperArm - 왼쪽팔 [42 69 70 30 31 20 4C 20 55 70 70 65 72 41 72 6D]
Bip01 R Clavicle - 오른쪽빗장뼈 [42 69 70 30 31 20 52 20 43 6C 61 76 69 63 6C 65]
Bip01 L Clavicle - 왼쪽빗장뼈 [42 69 70 30 31 20 4C 20 43 6C 61 76 69 63 6C 65]
Bip01 R Forearm - 오른쪽팔뚝 [42 69 70 30 31 20 52 20 46 6F 72 65 61 72 6D 00]
Bip01 L Forearm - 왼쪽팔뚝 [42 69 70 30 31 20 4C 20 46 6F 72 65 61 72 6D 00]
Bip01 R Thigh - 오른쪽넓적다리 [42 69 70 30 31 20 52 20 54 68 69 67 68 00 1A 85]
Bip01 L Thigh - 왼쪽넓적다리 [42 69 70 30 31 20 4C 20 54 68 69 67 68 00 1A 85]
Bip01 R Calf - 오른쪽종아리 [42 69 70 30 31 20 52 20 43 61 6C 66 00 00 00 00]
Bip01 L Calf - 왼쪽종아리 [42 69 70 30 31 20 4C 20 43 61 6C 66 00 00 00 00]
*패치일때마다 코드값 변겅됩니다.
*쉘값 및 각종값 코드입니다.
'게임 코드 자료실' 카테고리의 다른 글
[서든어택] 오토핫키 소스 (1) | 2020.04.11 |
---|---|
[서든어택] 오토샷 소스 (2) | 2020.04.11 |
[오버워치] 매크로 소스 (2019Ver) (0) | 2020.04.11 |
[서든어택] 월H 소스 (C++) (0) | 2020.04.10 |