Destiny 2 Ahk Aimbot source

Posts 1–15 of 16 · Page 1 of 2
Destiny 2 Ahk Aimbot source
This is a decompiled version of the ones you see floating out there, its aloooot safer if you do it yourself
Code:
#SingleInstance, Force
#Persistent
#NoEnv
#Warn
SendMode, Input
SetWorkingDir, %A_ScriptDir%

DirX := 0
DirY := 0

Numpad1::
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, 0
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Mouse, client
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
ZeroX := A_Screenwidth/2
ZeroY := A_Screenheight/2
CFovX := 80
CFovY := 200
ScanL := 660
ScanR := 1250
ScanT := 280
ScanB := 610
inicount := 9
fileread,settings,settings.ini

stringsplit,settings,settings,`n

if !(fileexist("settings.ini")) || (settings0-3 != inicount)
{
    iniread,rx,settings.ini,settings,sen, 3.2
    iniread,xrange,settings.ini,settings,FovX, 4.5
    iniread,yrange,settings.ini,settings,FovY, 3.5
    iniread,xa,settings.ini,settings,AimX, 85
    iniread,xy,settings.ini,settings,AimY, 49
}


Soundbeep, 750, 500
Loop, 
{
    GetKeyState, Mouse2, LButton, P
    GetKeyState, Mouse3, RButton, P
    if ( Mouse2 == "D" ) || ( Mouse3 == "D" )
    {
        GoSub MouseMoves2
    }

    GetKeyState, Key1, Numpad1, P
    if ( Key1 == "D")
    {
        Soundbeep
        break
    }
}

MouseMoves2:
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)),   healthbar.bmp
if(AimPixelX != "" && AimPixelY != "")
{
    GoSub GetAimOffset1
    GoSub GetAimMoves1
}
else
{
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)),  *4 orangehealthbar.bmp
    if(AimPixelX != "" && AimPixelY != "")
    {
        GoSub GetAimOffset1
        GoSub GetAimMoves1
    }
}
Return

GetAimOffset1:
Gui,Submit, Nohide
AimX := AimPixelX - ZeroX +xa
AimY := AimPixelY - ZeroY +xy

if ( AimX+10 > 0)
{
    DirX := rx / 10
}
else if ( AimX+5 > 0)
{
    DirX := rx / 15
}

if ( AimX+10 < 0) 
{
    DirX := (-rx) / 10
}
else if ( AimX+5 < 0)
{
    DirX := (-rx) / 15
}

if ( AimY+.25 > 0 ) 
{
    DirY := rx /13
}

if ( AimY+.25 < 0 ) 
{
    DirY := (-rx) /13
}

AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return

GetAimMoves1:
RootX := Ceil(( AimOffsetX ** ( 1 )))
RootY := Ceil(( AimOffsetY ** ( 1 )))
MoveX := RootX * DirX
MoveY := RootY * DirY
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
Return
- - - Updated - - -

Triggerbot+ Aimbot source:

Code:
#SingleInstance, Force
#Persistent
#NoEnv
#Warn
SendMode, Input
SetWorkingDir, %A_ScriptDir%
DirX := 0
DirY := 0
Numpad0::
ExitApp
Return
Numpad1::
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, 0
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Mouse, client
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
ZeroX := A_Screenwidth/2
ZeroY := A_Screenheight/2
CFovX := 80
CFovY := 200
ScanL := 660
ScanR := 1250
ScanT := 280
ScanB := 610
inicount := 9
fileread,settings,settings.ini
stringsplit,settings,settings,`n
if !(fileexist("settings.ini")) || (settings0-3 != inicount)
{
iniread,rx,settings.ini,settings,sen, 3.2
iniread,xrange,settings.ini,settings,FovX, 4.5
iniread,yrange,settings.ini,settings,FovY, 3.5
iniread,xa,settings.ini,settings,AimX, 85
iniread,xy,settings.ini,settings,AimY, 49
}
Soundbeep, 750, 500
Loop,
{
GetKeyState, Mouse2, LButton, P
GetKeyState, Mouse3, RButton, P
if ( Mouse2 == "D" ) || ( Mouse3 == "D" )
{
GoSub MouseMoves2
}
GetKeyState, Key1, Numpad1, P
if ( Key1 == "D")
{
Soundbeep
break
}
}
MouseMoves2:
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)),   healthbar.bmp
if(AimPixelX != "" && AimPixelY != "")
{
GoSub GetAimOffset1
GoSub GetAimMoves1
GoSub mouseclcik
}
else
{
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)),  *4 orangehealthbar.bmp
if(AimPixelX != "" && AimPixelY != "")
{
GoSub GetAimOffset1
GoSub GetAimMoves1
GoSub mouseclcik
}
}
Return
mouseclcik:
loop,
{
GetKeyState, Mouse2, LButton, P
GetKeyState, Mouse3, RButton, P
if ( Mouse2 == "D" ) || ( Mouse3 == "D" )
{
click, down
sleep 25
click, up, left
GoSub MouseMoves2
}
} Until ( Mouse2 == "U" )
return
GetAimOffset1:
Gui,Submit, Nohide
AimX := AimPixelX - ZeroX +xa
AimY := AimPixelY - ZeroY +xy
if ( AimX+10 > 0)
{
DirX := rx / 10
}
else if ( AimX+5 > 0)
{
DirX := rx / 15
}
if ( AimX+10 < 0)
{
DirX := (-rx) / 10
}
else if ( AimX+5 < 0)
{
DirX := (-rx) / 15
}
if ( AimY+.25 > 0 )
{
DirY := rx /13
}
if ( AimY+.25 < 0 )
{
DirY := (-rx) /13
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimMoves1:
RootX := Ceil(( AimOffsetX ** ( 1 )))
RootY := Ceil(( AimOffsetY ** ( 1 )))
MoveX := RootX * DirX
MoveY := RootY * DirY
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
Return
- - - Updated - - -

Also this only works using the settings.ini and images commonly used with the others.
parts_mpgh.net.rar415 B · 1,036 downloads Clean
Approved.

File only contains a setting file which is clean.

It also contains 2 bmp files (images)
All anyone has to do is extract the exe using 7zip to get the source. *shrugs*

Also, since I'm the one who added the trigger version I'll just put this out there: Use the source, change something, make something more awesome, publish it here. Enjoy.
Quote Originally Posted by grey489177 View Post
All anyone has to do is extract the exe using 7zip to get the source. *shrugs*

Also, since I'm the one who added the trigger version I'll just put this out there: Use the source, change something, make something more awesome, publish it here. Enjoy.
yeah not everyone knows how to notepad c++ or 7zip so they download the exe version and you should know that most if not all pixel search aimbots get dtd if they are in a exe like that its alot easier like you said to just post the source publicly so people can run it safely and maybe edit it themselves this section is dead so its better to just give out the source for those who dont have it
Well for broad distribution exe is best because not everyone who downloads it will have AHK installed, or even be able to install AHK(EX: Cyber Cafe, campus computers, etc). Without it installed you cant run an AHK script.

They all can run an exe though.
Hi,
Can you please share as to how to use this ? do i just have to copy/paste this in an AHK script ? if yes then how will the settings file be used ?
anyway to increase the FOV area where the bot aims, tried increasing it but the bot stopped working
Does this still work?
Does this still work?
Ur settings for 1080p?

Thx for sharing
has anyone got banned using this ?
Quote Originally Posted by XoLoneWolf View Post
has anyone got banned using this ?
Yes.
Lots of people.
Any coders lurking around? I need someone to craft me a AHK version of this that's not detectable
How to make this work? Copy pasted and compiled - i have missed something, what?
Posts 1–15 of 16 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us