Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Combat Arms Hacks & Cheats › Combat Arms Hack Coding / Programming / Source Code › Aimbot Source Code

Aimbot Source Code

Posts 1–15 of 44 · Page 1 of 3
AU
Augs
Aimbot Source Code
[php]void SetCrosshairOnEnemy(BYTE PlayerNumber)
{
PLAYER_DATA oP = GetPlayerData(PlayerNumber);
PLAYER_DATA cP = GetMyPlayerData();

double EWdif;
double NSdif;
double UDdif;

double angleA;
double angleP;
double angleB;
double angleBP;

double newValue;
DWORD newValue2;

double newValueb;
DWORD newValueb2;

double halfCircle = 0xFFFFFFFF/2;

/*Sec 1*/
if(oP.coordEW > cP.coordEW && oP.coordNS <= cP.coordNS)
{
EWdif = oP.coordEW - cP.coordEW;
NSdif = cP.coordNS - oP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = 0xFFFFFFFF - (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

/*Sec 2*/
if(oP.coordEW <= cP.coordEW && oP.coordNS < cP.coordNS)
{
EWdif = cP.coordEW - oP.coordEW;
NSdif = cP.coordNS - oP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = halfCircle + (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

/*Sec 3*/
if(oP.coordEW < cP.coordEW && oP.coordNS >= cP.coordNS)
{
EWdif = cP.coordEW - oP.coordEW;
NSdif = oP.coordNS - cP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = halfCircle - (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

/*Sec 4*/
if(oP.coordEW >= cP.coordEW && oP.coordNS > cP.coordNS)
{
EWdif = oP.coordEW - cP.coordEW;
NSdif = oP.coordNS - cP.coordNS;
angleA = atan(NSdif/EWdif) * 57.29578;
angleP = (angleA/360);
newValue = 0 + (0xFFFFFFFF*angleP);
newValue2 = newValue;
Poke((void*)cP.lookXa, &newValue2,4);
}

// Done the X-look, now this is for the Y-look

double flatDist = sqrt((EWdif*EWdif)+(NSdif*NSdif)); // Get the level distance between us and the enemy, using pythagoras

if(oP.coordUD == cP.coordUD)
{
BYTE zero4[4] = {0x00,0x00,0x00,0x00};
Poke((void*)cP.lookYa,zero4, 4); // If we are equal height, set our Y-look to 0 (level)

} else if(oP.coordUD > cP.coordUD)
{
UDdif = oP.coordUD - cP.coordUD; // Work out our UDdif
angleB = atan(UDdif/flatDist) * 57.29578; // Same old stuff as before
angleBP = (angleB/360);
newValueb = 0 + (0xFFFFFFFF*angleBP);
newValueb2 = newValueb;
Poke((void*)cP.lookYa, &newValueb2,4);

} else if (oP.coordUD < cP.coordUD)
{
UDdif = cP.coordUD - oP.coordUD;
angleB = atan(UDdif/flatDist) * 57.29578;
angleBP = (angleB/360);
newValueb = 0xFFFFFFFF - (0xFFFFFFFF*angleBP);
newValueb2 = newValueb;
Poke((void*)cP.lookYa, &newValueb2,4);
}
}[/php]
#1 · edited 16y ago · 16y ago
rocker340
rocker340
I dont want to flame or anything but this looks leached if so u should give proper credit.
but otherwise nice release. maybe a public aimbot can be released soon
#2 · 16y ago
_W
_whit
Quote Originally Posted by rocker340 View Post
I dont want to flame or anything but this looks leached if so u should give proper credit.
but otherwise nice release. maybe a public aimbot can be released soon
doubt that even know you got the source in front of you it still hard to make..
#3 · 16y ago
rocker340
rocker340
well its better than nothing and u dont know this could be just what someone was lookin for to finish there aimbot
#4 · 16y ago
_W
_whit
Quote Originally Posted by rocker340 View Post
well its better than nothing and u dont know this could be just what someone was lookin for to finish there aimbot
rofl this is a full aimbot source...you have to have the address to finish it..
#5 · 16y ago
rocker340
rocker340
ohhhh my bad i dont know to much about aimbots
just how to pwn wit them
srry man
#6 · 16y ago
WH
whit
Quote Originally Posted by rocker340 View Post
ohhhh my bad i dont know to much about aimbots
just how to pwn wit them
srry man
no problem
#7 · 16y ago
CR
crazygamer53
I don't know how to code much, but this is great. I'm saving the link, could come in handy some day
#8 · 16y ago
AVGN
[MPGH]AVGN
looks real... but then again i dunno shit..

but i know aimbots have a lot to do with coordinates and angles and what not.

the code looks kind of short to me tho..
#9 · 16y ago
Taylor Swift
Taylor Swift
Quote Originally Posted by rocker340 View Post
I dont want to flame or anything but this looks leached if so u should give proper credit.
but otherwise nice release. maybe a public aimbot can be released soon

Holy shit, Don't say that
#10 · 16y ago
Drake
Drake
Quote Originally Posted by iopop9 View Post
Hmm it misses the structs and this has been posted 1,000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000.....
Times b4
ohhh u spammer .
#11 · 16y ago
God601
God601
lol... this is leeched from a another forum (of 2009) -.-...
#12 · 16y ago
AR
archie123
what exactly is the point of spam
#13 · 16y ago
CR
crazygamer53
Quote Originally Posted by archie123 View Post
what exactly is the point of spam
If that's a serious question it's making a useless post to increase your post count, or a useless post in general which isn't on topic.

Quick question- God, u sure this is leeched from way back then? It would've been hard to find
#14 · edited 16y ago · 16y ago
God601
God601
Code:
Quick question- God, u sure this is leeched from way back then? It would've been hard to find
Yes because i already got that base last year -.-... and that one is missing some lines to make it work
#15 · 16y ago
Posts 1–15 of 44 · Page 1 of 3

Post a Reply

Similar Threads

  • My Aimbot source code!By wertoskiller in Combat Arms Hacks & Cheats
    8Last post 17y ago
  • Visual Basic Aimbot Source CodeBy whitten in Visual Basic Programming
    19Last post 17y ago
  • Aimbot source code with videoBy maxius12 in CrossFire Hacks & Cheats
    37Last post 16y ago
  • Aimbot source code with videoBy maxius12 in CrossFire Hacks & Cheats
    5Last post 16y ago
  • Cross Fire Aimbot Source CodeBy lol~lol in CrossFire Hacks & Cheats
    30Last post 16y ago

Tags for this Thread

None