PostUnfair Aimbot

Posts 1–10 of 10 · Page 1 of 1
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);
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?
Quote Originally Posted by gerherhtherherdhher 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
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?
Quote Originally Posted by gerherhtherherdhher 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?
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.
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
i used that before
exactly what do i do with the code?
Quote Originally Posted by 69alex69 View Post
exactly what do i do with the code?
You do realize this was a joke right?...
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?