Onaylı Üye
Autohotkey kodu yanlıs oldugu için burda doğrusunu vereyim yararlı olur
İyi oyunlar
Kod:
Aimbot
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
#Persistent ; (Interception hotkeys do not stop AHK from exiting, so use this)
#include Lib\AutoHotInterception.ahk
global AHI := new AutoHotInterception()
SetKeyDelay,-1, 2
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%, High
ZeroX := (A_ScreenWidth // 2)
ZeroY := (A_ScreenHeight // 2)
if (FileExist("config.ini"))
{
}
Else
{
IniWrite, 38, config.ini, main, ColVn
IniWrite, 45, config.ini, main, CFovX
IniWrite, 45, config.ini, main, CFovY
IniWrite, 3, config.ini, main, CSmoothX
IniWrite, 3, config.ini, main, CSmoothY
IniWrite, 3.5, config.ini, main, Ingamesensitivity
IniWrite, 0.15, config.ini, main, BustSpeed
}
IniRead, ColVn, config.ini, main, ColVn
IniRead, CFovX, config.ini, main, CFovX
IniRead, CFovY, config.ini, main, CFovY
IniRead, CSmoothX, config.ini, main, CSmoothX
IniRead, CSmoothY, config.ini, main, CSmoothY
IniRead, Ingamesensitivity, config.ini, main, Ingamesensitivity
IniRead, BustSpeed, config.ini, main, BustSpeed
EMCol := "0xab0001, 0xb7394f, 0xb93742, 0xbb3340, 0xca4c5a, 0xbf3f4c, 0xd0262e, 0xd1262e, 0xd22830, 0xb0535f, 0xd1272e, 0xc13542, 0xca3d49, 0xc33541, 0xbb2e3a, 0xcc414d, 0xcc414d, 0xcb404c, 0xc23642, 0xbe303d, 0xcc404d, 0xcd4150, 0xd50f0e, 0xd50f0e, 0xd50f0e, 0xd50f0d, 0xd40f0e, 0xd50f0d, 0xd5100d, 0xd5100e, 0xd50f0d, 0xd00b0a, 0xcf4551, 0xcd414f, 0xc83c48, 0xc23642, 0xc93e4c, 0xd74c5b, 0xda505d, 0xcc404f, 0xc15353, 0xd521cd,0xd722cf,0xd623ce,0xd722ce,0xd621cd,0xce19ca,0xd11ccb,0xd21dca,0xc818cf,0xd722cd,0xcd19c9,0xc617d3,0xcb17c5,0xda25d3,0xce24cc,0xd328cc,0xdb32ef,0xbd15c4,0xdc5bea,0xda59eb,0xd959e9,0xf444fb,0xcf1ac9,0xd422d4,0xd923cd,0xe53af2,0xd321d3,0xe539f3,0xe035ed,0xd822cc,0xe83df5,0xd11fd1,0xd622d0,0xd21dcc,0xd429e2,0xe537ef,0xe136ee,0xe63bf3,0xe036ee,0xd72ce6,0xd428e1,0xdf34ed,0xe434e6,0xd43ddf,0xde30e4,0xbe0dbe,0xd823d3,0xc814c4,0xc20ab7,0xde1ec1,0xca16c6,0xc30ebe,0xbb0fbf,0xc510bf,0xc10cbc,0xd21cb6,0xca14c5,0xb80cd1,0xae0ea8,0xbf0ec3,0xd415c1,0xbc22b7,0xd317c4,0xb1179d,0xbc0fb4,0xcc47c7,0xb834b5,0xdc2cd9,0xd727d5,0xde30da,0xc834c6,0xeb40f3,0xd227d2,0xe82ed3,0xcf1ecf,0xe831c8,0xe130d4,0xcb1fce,0xc11dd1,0xc246ff,0xd716bc,0xc209b9,0xbb09bb,0xcf10b7,0xe727c7,0xee33bc,0xd71ec7,0xa725ce"
ScanL := ZeroX - CFovX
ScanR := ZeroX + CFovX
ScanT := ZeroY - CFovY
ScanB := ZeroY + CFovY
Loop, {
~LButton::
Start := A_TickCount
while GetKeyState("LButton") && A_TickCount - Start < 600000
{
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
GoSub GetAimOffset
GoSub GetAimMoves
GoSub MouseMoves
}
GetAimOffset:
AimX := AimPixelX - ZeroX
AimY := AimPixelY - ZeroY
AimY := AimPixelY+3 - ZeroY
If ( AimX > 0 ) {
DirX := 1
}
If ( AimX < 0 ) {
DirX := -1
}
If ( AimY > 0 ) {
DirY := 2
}
If ( AimY < 0 ) {
DirY := -2
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimMoves:
RootX := Ceil(( AimOffsetX ** 1))
RootY := Ceil(( AimOffsetY ** 1))
MoveX := (RootX * DirX) / CSmoothX
MoveY := (RootY * DirY) / CSmoothY
Return
MouseMoves:
MoveMultipler := ((0.0066 * Ingamesensitivity * 1) / BustSpeed)
AHI.SendMouseMove(11, MoveX * MoveMultipler, MoveY * MoveMultipler)
return
}
return
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
#include Lib\AutoHotInterception.ahk
global AHI := new AutoHotInterception()
SetKeyDelay,-1, 2
SetControlDelay, -1
SetMouseDelay, -1
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, ON
CoordMode, Pixel, Screen, RGB
CoordMode, Mouse, Screen
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, High
EMCol := " 0xab0001, 0xb7394f, 0xb93742, 0xbb3340, 0xca4c5a, 0xbf3f4c, 0xd0262e, 0xd1262e, 0xd22830, 0xb0535f, 0xd1272e, 0xc13542, 0xca3d49, 0xc33541, 0xbb2e3a, 0xcc414d, 0xcc414d, 0xcb404c, 0xc23642, 0xbe303d, 0xcc404d, 0xcd4150, 0xd50f0e, 0xd50f0e, 0xd50f0e, 0xd50f0d, 0xd40f0e, 0xd50f0d, 0xd5100d, 0xd5100e, 0xd50f0d, 0xd00b0a, 0xcf4551, 0xcd414f, 0xc83c48, 0xc23642, 0xc93e4c, 0xd74c5b, 0xda505d, 0xcc404f, 0xc15353 "
ColVn := 44
ZeroX := (A_ScreenWidth // 2)
ZeroY := (A_ScreenHeight // 2)
CFovX := 1
CFovY := 2
ScanL := ZeroX - 1
ScanR := ZeroX + 1
ScanT := ZeroY - 2
ScanB := ZeroY + 2
Loop, {
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
if GetKeyState("XButton2"){
if (ErrorLevel=0) {
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
Loop , 1{
AHI.SendMouseButtonEvent(11, 0, 1)
sleep, 1
AHI.SendMouseButtonEvent(11, 0, 0)
}
}
}
}
Trigger
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
#Persistent ; (Interception hotkeys do not stop AHK from exiting, so use this)
#include Lib\AutoHotInterception.ahk
global AHI := new AutoHotInterception()
EMCol := "0xab0001, 0xb7394f, 0xb93742, 0xbb3340, 0xca4c5a, 0xbf3f4c, 0xd0262e, 0xd1262e, 0xd22830, 0xb0535f, 0xd1272e, 0xc13542, 0xca3d49, 0xc33541, 0xbb2e3a, 0xcc414d, 0xcc414d, 0xcb404c, 0xc23642, 0xbe303d, 0xcc404d, 0xcd4150, 0xd50f0e, 0xd50f0e, 0xd50f0e, 0xd50f0d, 0xd40f0e, 0xd50f0d, 0xd5100d, 0xd5100e, 0xd50f0d, 0xd00b0a, 0xcf4551, 0xcd414f, 0xc83c48, 0xc23642, 0xc93e4c, 0xd74c5b, 0xda505d, 0xcc404f, 0xc15353, 0xd521cd,0xd722cf,0xd623ce,0xd722ce,0xd621cd,0xce19ca,0xd11ccb,0xd21dca,0xc818cf,0xd722cd,0xcd19c9,0xc617d3,0xcb17c5,0xda25d3,0xce24cc,0xd328cc,0xdb32ef,0xbd15c4,0xdc5bea,0xda59eb,0xd959e9,0xf444fb,0xcf1ac9,0xd422d4,0xd923cd,0xe53af2,0xd321d3,0xe539f3,0xe035ed,0xd822cc,0xe83df5,0xd11fd1,0xd622d0,0xd21dcc,0xd429e2,0xe537ef,0xe136ee,0xe63bf3,0xe036ee,0xd72ce6,0xd428e1,0xdf34ed,0xe434e6,0xd43ddf,0xde30e4,0xbe0dbe,0xd823d3,0xc814c4,0xc20ab7,0xde1ec1,0xca16c6,0xc30ebe,0xbb0fbf,0xc510bf,0xc10cbc,0xd21cb6,0xca14c5,0xb80cd1,0xae0ea8,0xbf0ec3,0xd415c1,0xbc22b7,0xd317c4,0xb1179d,0xbc0fb4,0xcc47c7,0xb834b5,0xdc2cd9,0xd727d5,0xde30da,0xc834c6,0xeb40f3,0xd227d2,0xe82ed3,0xcf1ecf,0xe831c8,0xe130d4,0xcb1fce,0xc11dd1,0xc246ff,0xd716bc,0xc209b9,0xbb09bb,0xcf10b7,0xe727c7,0xee33bc,0xd71ec7,0xa725ce"
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%, High
autoadjustedwidth := (A_ScreenWidth // 2)
autoadjustedheight := (A_ScreenHeight // 2)
TriggerBotON = "false"
Loop, 10
{
ConfigFile2 = Config%A_Index%.ini
if (FileExist(ConfigFile2))
{
}
Else
{
IniWrite, 38, %ConfigFile2%, main, ColVn
IniWrite, %autoadjustedwidth%, %ConfigFile2%, main, ZeroX
IniWrite, %autoadjustedheight%, %ConfigFile2%, main, ZeroY
IniWrite, 0, %ConfigFile2%, main, CFovX
IniWrite, 0, %ConfigFile2%, main, CFovY
IniWrite, 0, %ConfigFile2%, main, CSmoothX
IniWrite, 0, %ConfigFile2%, main, CSmoothY
IniWrite, 0, %ConfigFile2%, main, Ingamesensitivity
IniWrite, 0, %configfile2%, main, DPI
IniWrite, 0, %ConfigFile2%, main, BustSpeed
}
}
Gui, Add, Text, x72 y19 w40 h20 , ColVn=
Gui, Add, Text, x72 y39 w40 h20 , ZeroX=
Gui, Add, Text, x72 y59 w40 h20 , ZeroY=
Gui, Add, Text, x72 y79 w40 h20 , CFovX=
Gui, Add, Text, x72 y99 w40 h20 , CFovY=
Gui, Add, Text, x52 y119 w60 h20 , CSmoothX=
Gui, Add, Text, x52 y139 w60 h20 , CSmoothY=
Gui, Add, Text, x22 y159 w90 h20 , Ingamesensitivity=
Gui, Add, Text, x84 y179 w60 h20 , DPI=
Gui, Add, Text, x52 y199 w60 h20 , BustSpeed=
Gui, Add, Edit, x112 y19 w70 h20 +VColVn, 38
Gui, Add, Edit, x112 y39 w70 h20 +VZeroX, %autoadjustedwidth%
Gui, Add, Edit, x112 y59 w70 h20 +VZeroY, %autoadjustedheight%
Gui, Add, Edit, x112 y79 w70 h20 +VCFovX, 0
Gui, Add, Edit, x112 y99 w70 h20 +VCFovY, 0
Gui, Add, Edit, x112 y119 w70 h20 +VCSmoothX, 0
Gui, Add, Edit, x112 y139 w70 h20 +VCSmoothY, 0
Gui, Add, Edit, x112 y159 w70 h20 +VIngamesensitivity, 0
Gui, Add, Edit, x112 y179 w70 h20 +VDPI, 0
Gui, Add, Edit, x112 y199 w70 h20 +VBustSpeed, 0
Gui, Add, Button, x192 y55 w90 h32 gsub1, Save
Gui, Add, Button, x192 y88 w90 h32 gsub2, Load
Gui, Add, Button, x192 y121 w90 h32 gsub3, TriggerBot ON
Gui, Add, Button, x192 y154 w90 h32 gsub4, TriggerBot OFF
Gui, Add, Button, x192 y188 w90 h32 gsub5, Auto-Adjust Resolution
Gui, Add, DropDownList, x193 y19 w88 h21 +Vchoice, Config1|Config2|Config3|Config4|Config5|Config6|Config7|Config8|Config9|Config10
Gui, Show, x977 y347 h230 w297, Config
Winset, Alwaysontop, On, A
Return
sub1:
{
gui,submit,nohide
configfile = %choice%.ini
IniWrite, %ColVn%, %configfile%, main, ColVn
IniWrite, %ZeroX%, %configfile%, main, ZeroX
IniWrite, %ZeroY%, %configfile%, main, ZeroY
IniWrite, %CFovX%, %configfile%, main, CFovX
IniWrite, %CFovY%, %configfile%, main, CFovY
IniWrite, %CSmoothX%, %configfile%, main, CSmoothX
IniWrite, %CSmoothY%, %configfile%, main, CSmoothY
IniWrite, %Ingamesensitivity%, %configfile%, main, Ingamesensitivity
IniWrite, %DPI%, %configfile%, main, DPI
IniWrite, %BustSpeed%, %configfile%, main, BustSpeed
gui,submit,nohide
return
}
sub2:
{
gui,submit,nohide
configfile = %choice%.ini
IniRead, ColVn, %configfile%, main, ColVn
IniRead, CFovX, %configfile%, main, CFovX
IniRead, CFovY, %configfile%, main, CFovY
IniRead, ZeroX, %configfile%, main, ZeroX
IniRead, ZeroY, %configfile%, main, ZeroY
IniRead, CSmoothX, %configfile%, main, CSmoothX
IniRead, CSmoothY, %configfile%, main, CSmoothY
IniRead, Ingamesensitivity, %configfile%, main, Ingamesensitivity
IniRead, DPI, %configfile%, main, DPI
IniRead, BustSpeed, %configfile%, main, BustSpeed
GuiControl,, ColVn, %ColVn%
GuiControl,, CFovX, %CFovX%
GuiControl,, CFovY, %CFovY%
GuiControl,, ZeroX, %ZeroX%
GuiControl,, ZeroY, %ZeroY%
GuiControl,, CSmoothX, %CSmoothX%
GuiControl,, CSmoothY, %CSmoothY%
GuiControl,, Ingamesensitivity, %Ingamesensitivity%
GuiControl,, DPI, %DPI%
GuiControl,, BustSpeed, %BustSpeed%
gui,submit,nohide
return
}
sub3:
{
gui,submit,nohide
TriggerBotON = "true"
gui,submit,nohide
return
}
sub4:
{
gui,submit,nohide
TriggerBotON = "false"
gui,submit,nohide
return
}
sub5:
{
GuiControl,, ZeroX, %autoadjustedwidth%
GuiControl,, ZeroY, %autoadjustedheight%
return
}
Loop, {
~F::
Start := A_TickCount
while GetKeyState("F") && A_TickCount - Start < 600000
{
Gui,Submit,NoHide
ScanL := ZeroX - CFovX
ScanR := ZeroX + CFovX
ScanT := ZeroY - CFovY
ScanB := ZeroY + CFovY
ColVn2 := 44
ScanL2 := ZeroX - 3
ScanR2 := ZeroX + 3
ScanT2 := ZeroY - 3
ScanB2 := ZeroY + 3
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
GoSub GetAimOffset
GoSub GetAimMoves
GoSub MouseMoves
if TriggerBotON = "true"
{
if GetKeyState("F")
PixelSearch, AimPixelX, AimPixelY, ScanL2, ScanT2, ScanR2, ScanB2, EMCol, ColVn2, Fast RGB
if (ErrorLevel=0) {
PixelSearch, AimPixelX, AimPixelY, ScanL2, ScanT2, ScanR2, ScanB2, EMCol, ColVn2, Fast RGB
Loop , 1{
AHI.SendMouseButtonEvent(11, 0, 1)
Sleep, 1
AHI.SendMouseButtonEvent(11, 0, 0)
}
}
}
}
GetAimOffset:
AimX := AimPixelX - ZeroX
AimY := AimPixelY - ZeroY
AimY := AimPixelY+3 - ZeroY
If ( AimX > 0 ) {
DirX := 1
}
If ( AimX < 0 ) {
DirX := -1
}
If ( AimY > 0 ) {
DirY := 1
}
If ( AimY < 0 ) {
DirY := -1
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimMoves:
RootX := Ceil(( AimOffsetX ** 1))
RootY := Ceil(( AimOffsetY ** 1))
MoveX := (RootX * DirX) / CSmoothX
MoveY := (RootY * DirY) / CSmoothY
Return
MouseMoves:
MoveMultipler := ((0.0066 * Ingamesensitivity * 1) / BustSpeed)
AHI.SendMouseMove(11, MoveX * MoveMultipler, MoveY * MoveMultipler)
return
}
return
İyi oyunlar
Moderatörün son düzenlenenleri: