color tracker

Ask gaming related questions (AHK v1.1 and older)
CPLNet
Posts: 53
Joined: 06 Dec 2016, 11:24

color tracker

19 Jun 2018, 04:56

what does is wrong that dont follow color

Code: Select all

Gui, Font, S8 Cgreen, Verdana
Gui, Add, Text, x144 y298 w58 h-269 +BackgroundTrans, OGC Aimbot V1.4
Gui, Font, S8 Cred, Verdana
Gui, Add, Text, x462 y699 w110 h30 +BackgroundTrans, Made By CPL Net
Gui, Font, S8 Cblack, Verdana
Gui, Font, S8 Cred, Verdana
Gui, Add, Text, x612 y699 w170 h20 +BackgroundTrans, Create Your Aimbot ?
Gui, Font, S8 C0x00A2E8, Verdana
Gui, Add, Button, x442 y329 w250 h120 gchange1, Apply settings
Gui, Add, Text, x184 y-12 w108 h41 +BackgroundTrans, OGC Aimbot V1.4
Gui, Add, Button, x752 y699 w30 h20 gMAKEBOT, $_$
Gui, Add, edit, x832 y49 w90 h20 vCfovX +tooltip, 50
Gui, Add, edit, x832 y109 w90 h20 vCfovY +tooltip, 50
Gui, Add, Text, x742 y49 w70 h20 +BackgroundTrans, SQR Axis X
Gui, Add, Text, x742 y109 w70 h20 +BackgroundTrans, SQR Axis Y
Gui, Add, Text, x122 y-51 w140 h80 +BackgroundTrans, Aim Silent
Gui, Add, CheckBox, x42 y59 w100 h30 gblack, Black
Gui, Add, CheckBox, x172 y59 w100 h30 gwhite, White
Gui, Add, CheckBox, x302 y59 w100 h30 gred, Red
Gui, Add, CheckBox, x432 y59 w100 h30 gblue, Blue
Gui, Add, CheckBox, x562 y59 w100 h30 gorange, Orange
Gui, Add, CheckBox, x42 y169 w100 h30 gpink, Pink
Gui, Add, CheckBox, x172 y169 w100 h30 gpurple, Purple
Gui, Add, CheckBox, x302 y169 w100 h30 gteal, Teal
Gui, Add, CheckBox, x432 y169 w100 h30 ggreen, Green
Gui, Add, CheckBox, x562 y169 w100 h30 ggrey, Grey
Gui, Add, Picture, x42 y9 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\310-ovRGjnL._SL500_AC_SS350_.jpg
Gui, Add, Picture, x172 y9 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\téléchargement.png
Gui, Add, Picture, x302 y9 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\solid-red-fabric-Robert-Kaufman-USA-Red-179485-1.JPG
Gui, Add, Picture, x432 y9 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\test-blue.jpg
Gui, Add, Picture, x562 y9 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\téléchargement.jpg
Gui, Add, Picture, x42 y119 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\Large_0398327.jpg
Gui, Add, Picture, x172 y119 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\Purple.jpg
Gui, Add, Picture, x302 y119 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\teal-blue-lacanche-colour-sample.jpg
Gui, Add, Picture, x432 y119 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\téléchargement (1).png
Gui, Add, Picture, x562 y119 w100 h50 , C:\Users\Centrale Cstudio\Desktop\AHK BOTS\OGC Aimbot V1.0\tw-4146.jpg
Gui, Add, Text, x52 y319 w110 h40 +BackgroundTrans, Aim Strenght
Gui, Add, Text, x52 y419 w120 h40 +BackgroundTrans, Aim Lock speed
Gui, Add, Edit, x152 y319 w100 h30 vantishakex vantishakey, 45
Gui, Add, Edit, x152 y419 w100 h30 vls, 1
; Generated using SmartGUI Creator 4.0
Gui, Show, x127 y87 h745 w1034, OGC Aimbot V1.4
Return

GuiClose:
ExitApp




MAKEBOT:
run, own bot.ahk
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:
Tooltip, Applied!
SetTimer, RemoveToolTip, 500
Gui,Submit, Nohide
return
RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return
Gui, Submit





*~$LButton::
{
orange:
SetKeyDelay,-1, 1
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

EMCol := 0x824300
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 50  ;configure for FOV up = smaller lower= bigger
CFovY := 50
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return

red:
SetKeyDelay,-1, 1
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

EMCol := 0x800000
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return

white:
SetKeyDelay,-1, 1
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

EMCol := 0xffffff
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return
black:
SetKeyDelay,-1, 1
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

EMCol := 0x000000
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return
grey:
SetKeyDelay,-1, 1
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

EMCol := 0x7f7f7f
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return
purple:
SetKeyDelay,-1, 1
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

EMCol := 0x5b0082
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return

green:
SetKeyDelay,-1, 1
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

EMCol := 0x008211
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return

teal:
SetKeyDelay,-1, 1
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

EMCol := 0x008282
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return

blue:
SetKeyDelay,-1, 1
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

EMCol := 0x000f82
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return
yelow:
SetKeyDelay,-1, 1
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

EMCol := 0x827f00
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}
return

pink:
SetKeyDelay,-1, 1
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

EMCol := 0x7d0082
ColVn := 64
AntiShakeX := 45
AntiShakeY := 45
ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 20  ;configure for FOV up = smaller lower= bigger
CFovY := 20
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY

Loop, {
	KeyWait, LButton, D

	PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
	if (!ErrorLevel=0) {
		loop, 10 {
			PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB


			AimX := AimPixelX - ZeroX

			AimY := AimPixelY - ZeroY
			DirX := -1
			DirY := -1
			If ( AimX > 0 ) {
				DirX := 1
			}
			If ( AimX < 0 ) {
				DirX := -1
			}


			If ( AimY > 0 ) {
				DirY := 1
			}
			AimOffsetX := AimX * DirX

			AimOffsetY := AimY * DirY
			MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX

			MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
			DllCall("mouse_event", uint, 1, int, MoveX*ls, int, MoveY*ls, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human




}}}}
return
INS::ExitApp

F3::Reload
CPLNet
Posts: 53
Joined: 06 Dec 2016, 11:24

Re: color tracker

19 Jun 2018, 05:02

ok i found its my (ls) variable without that that work what i must replace ?
CPLNet
Posts: 53
Joined: 06 Dec 2016, 11:24

Re: color tracker

19 Jun 2018, 06:16

ah no it snot that bug again

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 38 guests