Basic Aimbot

Post gaming related scripts
CPLNet
Posts: 50
Joined: 06 Dec 2016, 11:24

Basic Aimbot

15 Oct 2018, 05:31

ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 200
CFovY := 200
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY

loop {
if getkeystate("LButton", "p")
{

PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, 0x000000, 0, Fast RGB
if errorlevel = 0
{
if (AimPixelX < A_ScreenWidth)
{
DllCall("mouse_event", uint, 1, int, AimPixelX/760, int, 0, uint, 0, int, 0)
sleep 150
}
if (AimPixelX > A_ScreenWidth)
{
DllCall("mouse_event", uint, 1, int, -AimPixelX/760, int, 0, uint, 0, int, 0)
sleep 150
}}
}}


return
INS::Pause
User avatar
joedf
Posts: 6599
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: Basic Aimbot

15 Oct 2018, 10:48

You only look for a black pixel? Was expecting more... :?:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
Ruevil2
Posts: 152
Joined: 14 Jul 2014, 10:39

Re: Basic Aimbot

16 Oct 2018, 15:43

ZeroX := (A_ScreenWidth // 2) ;dont touch?
ZeroY := (A_ScreenHeight // 2)
CFovX := 200
CFovY := 200
ScanL := ZeroX - CFovX
ScanT := ZeroY - CFovY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY

loop {
if getkeystate("LButton", "p")
{

PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, 0x000000, 0, Fast RGB
if errorlevel = 0
{
if (AimPixelX < A_ScreenWidth)
{
DllCall("mouse_event", uint, 1, int, AimPixelX/760, int, 0, uint, 0, int, 0)
sleep 150
}
if (AimPixelX > A_ScreenWidth)
{
DllCall("mouse_event", uint, 1, int, -AimPixelX/760, int, 0, uint, 0, int, 0)
sleep 150
}}
}}


return
INS::Pause
Why are you dividing by 760 here? Shouldn't this vary based on the current screen size?
CPLNet
Posts: 50
Joined: 06 Dec 2016, 11:24

Re: Basic Aimbot

21 Oct 2018, 03:32

its a x axis variable divide by 760 for slower movement becasue 0x000000 black are many present on map so too many color found i fake then
Ruevil2
Posts: 152
Joined: 14 Jul 2014, 10:39

Re: Basic Aimbot

23 Oct 2018, 07:48

its a x axis variable divide by 760 for slower movement becasue 0x000000 black are many present on map so too many color found i fake then
Thank you. This is a nice short piece of code. I like it. Good work!

It might be difficult to get a good color without too much variation with only one PixelSearch. Sometimes I like to check a couple other pixels to see if they are 'close' to the target one.
CPLNet
Posts: 50
Joined: 06 Dec 2016, 11:24

Re: Basic Aimbot

06 Nov 2018, 15:39

thx bro :p
User avatar
Cuadrix
Posts: 148
Joined: 07 May 2017, 08:26

Re: Basic Aimbot

06 Nov 2018, 16:23

You could have made a proper aimbot though. All the tools are available, step it up.
Jk, just ignore me.
Aɴᴅ ᴛᴏᴅᴀʏs ᴡɪɴɴᴇʀ ᴏꜰ ᴛʜᴇ ᴛɪᴛʟᴇ "Mᴀsᴛᴇʀ" ɪs...
User avatar
joedf
Posts: 6599
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: Basic Aimbot

07 Nov 2018, 00:22

@Cuadrix AHahaha :lol: :hehe:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 12 guests