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 › Call of Duty Hacks & Cheats › Call of Duty 6 - Modern Warfare 2 (MW2) Hacks › Call of Duty Modern Warfare 2 Coding / Programming / Source Code › Unfair Aimbot

PostUnfair Aimbot

Posts 1–10 of 10 · Page 1 of 1
xmitti
xmitti
Unfair Aimbot
Unlike a normal aimbot this will just send a bunch of damage to the player is host only obviously. Doing it this way makes it appear exactly as if you had of actually shot them.



Code:
typedef void*(__cdecl* G_Damage_t)(gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t dir, vec3_t point, int damage, int dFlags, int mod, int weapon, int hitLocation_t_hitLoc, unsigned int modelIndex, unsigned int partName, int timeOffset);
G_Damage_t G_Damage = (G_Damage_t)0x0048E6E0;

enum hitLocation_t
{
	HITLOC_NONE = 0x0,
	HITLOC_HELMET = 0x1,
	HITLOC_HEAD = 0x2,
	HITLOC_NECK = 0x3,
	HITLOC_TORSO_UPR = 0x4,
	HITLOC_TORSO_LWR = 0x5,
	HITLOC_R_ARM_UPR = 0x6,
	HITLOC_L_ARM_UPR = 0x7,
	HITLOC_R_ARM_LWR = 0x8,
	HITLOC_L_ARM_LWR = 0x9,
	HITLOC_R_HAND = 0xA,
	HITLOC_L_HAND = 0xB,
	HITLOC_R_LEG_UPR = 0xC,
	HITLOC_L_LEG_UPR = 0xD,
	HITLOC_R_LEG_LWR = 0xE,
	HITLOC_L_LEG_LWR = 0xF,
	HITLOC_R_FOOT = 0x10,
	HITLOC_L_FOOT = 0x11,
	HITLOC_GUN = 0x12,
	HITLOC_NUM = 0x13,
};



enum meansOfDeath
{
	MOD_UNKNOWN = 0x0, 
	MOD_PISTOL_BULLET = 0x1, 
	MOD_RIFLE_BULLET = 0x2, 
	MOD_EXPLOSIVE_BULLET = 0x3,
	MOD_GRENADE = 0x4,
	MOD_GRENADE_SPLASH = 0x5, 
	MOD_PROJECTILE = 0x6,
	MOD_PROJECTILE_SPLASH = 0x7,
	MOD_MELEE = 0x8, 
	MOD_CRUSH = 0x9, 
	MOD_SUICIDE = 0x10, 
	MOD_TRIGGER_HURT = 0x11,
	MOD_EXPLOSIVE = 0x12,
	MOD_IMPACT = 0x13
};


int weapon = BG_GetViewmodelWeaponIndex(playerstate);

G_Damage(enttodamage, yourent, yourent, 0, vec3_t 1, 1000, 0, MOD_RIFLE_BULLET, weapon, HITLOC_TORSO_UPR, 0, 0, 0);
#1 · 9y ago
GE
gerherhtherherdhher
Quote Originally Posted by xmitti View Post
Unlike a normal aimbot this will just send a bunch of damage to the player is host only obviously. Doing it this way makes it appear exactly as if you had of actually shot them.



Code:
typedef void*(__cdecl* G_Damage_t)(gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t dir, vec3_t point, int damage, int dFlags, int mod, int weapon, int hitLocation_t_hitLoc, unsigned int modelIndex, unsigned int partName, int timeOffset);
G_Damage_t G_Damage = (G_Damage_t)0x0048E6E0;

enum hitLocation_t
{
	HITLOC_NONE = 0x0,
	HITLOC_HELMET = 0x1,
	HITLOC_HEAD = 0x2,
	HITLOC_NECK = 0x3,
	HITLOC_TORSO_UPR = 0x4,
	HITLOC_TORSO_LWR = 0x5,
	HITLOC_R_ARM_UPR = 0x6,
	HITLOC_L_ARM_UPR = 0x7,
	HITLOC_R_ARM_LWR = 0x8,
	HITLOC_L_ARM_LWR = 0x9,
	HITLOC_R_HAND = 0xA,
	HITLOC_L_HAND = 0xB,
	HITLOC_R_LEG_UPR = 0xC,
	HITLOC_L_LEG_UPR = 0xD,
	HITLOC_R_LEG_LWR = 0xE,
	HITLOC_L_LEG_LWR = 0xF,
	HITLOC_R_FOOT = 0x10,
	HITLOC_L_FOOT = 0x11,
	HITLOC_GUN = 0x12,
	HITLOC_NUM = 0x13,
};



enum meansOfDeath
{
	MOD_UNKNOWN = 0x0, 
	MOD_PISTOL_BULLET = 0x1, 
	MOD_RIFLE_BULLET = 0x2, 
	MOD_EXPLOSIVE_BULLET = 0x3,
	MOD_GRENADE = 0x4,
	MOD_GRENADE_SPLASH = 0x5, 
	MOD_PROJECTILE = 0x6,
	MOD_PROJECTILE_SPLASH = 0x7,
	MOD_MELEE = 0x8, 
	MOD_CRUSH = 0x9, 
	MOD_SUICIDE = 0x10, 
	MOD_TRIGGER_HURT = 0x11,
	MOD_EXPLOSIVE = 0x12,
	MOD_IMPACT = 0x13
};


int weapon = BG_GetViewmodelWeaponIndex(playerstate);

G_Damage(enttodamage, yourent, yourent, 0, vec3_t 1, 1000, 0, MOD_RIFLE_BULLET, weapon, HITLOC_TORSO_UPR, 0, 0, 0);
Where do I put this?
#2 · 9y ago
xmitti
xmitti
Quote Originally Posted by __Xen0 View Post
Where do I put this?
I'm not sure but xmitti says he puts it in weapon_fired in scr_notify if it matches the local player id but i tried doing it in vb.net and it didn't work
#3 · 9y ago
GE
gerherhtherherdhher
Quote Originally Posted by xmitti View Post
I'm not sure but xmitti says he puts it in weapon_fired in scr_notify if it matches the local player id but i tried doing it in vb.net and it didn't work
But do you put it into like a text file or some shit?
#4 · 9y ago
Silent
[MPGH]Silent
Quote Originally Posted by __Xen0 View Post
But do you put it into like a text file or some shit?
I was told you need to put it in a text file, then rename .txt to .exe. For some weird reason I get a invalid executable error. Can anyone help?
#5 · 9y ago
CrypticMods
CrypticMods
Quote Originally Posted by Silent View Post


I was told you need to put it in a text file, then rename .txt to .exe. For some weird reason I get a invalid executable error. Can anyone help?
You are supposed to save that to a txt file then print it out. Put the paper in your toaster then you have host aimbot.
#6 · 9y ago
xmitti
xmitti
Quote Originally Posted by CrypticMods View Post
You are supposed to save that to a txt file then print it out. Put the paper in your toaster then you have host aimbot.
Too much effort just put it in the config file make sure to hook it in brackets between your horizontal and vertical resolution so it calls every frame
#7 · 9y ago
HA
hamitcagdas
i used that before
#8 · 8y ago
69
69alex69
exactly what do i do with the code?
#9 · 8y ago
CrypticMods
CrypticMods
Quote Originally Posted by 69alex69 View Post
exactly what do i do with the code?
You do realize this was a joke right?...
#10 · 8y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • America's Army aimbotBy garebear in General Game Hacking
    6Last post 20y ago
  • GBWC AimbotBy Super-Man in GunBound Hacks / Bots
    7Last post 16y ago
  • Hacks for Warrock (Aimbot, Wallhack)By Clarity in WarRock - International Hacks
    32Last post 20y ago
  • GPS AimbotBy Paolo1993 in Hack Requests
    0Last post 20y ago
  • [SEARCHING] Color Aimbot v3By stfustfu in WarRock - International Hacks
    4Last post 20y ago

Tags for this Thread

None