Post: Source Aimbot Update 1.17
05-02-2014, 01:09 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Working Aimbot fair
            #region Class RPC
public class D3sKmOffsets
{
public static uint
g_client = 0x177E928,
clientSize = 0x5808,
g_entity = 0x016B9F20,
entitySize = 0x31C,
AimbotD3sKm = 0x001E1D90;


}
public static byte[] ReverseBytes(Byte[] toReverse)
{
Array.Reverse(toReverse);
return toReverse;
}


public static float[] ReadSingle(uint address, int length)
{
byte[] memory = D3sKmHD.Extension.ReadBytes(address, length * 4);
ReverseBytes(memory);
float[] numArray = new float[length];
for (int index = 0; index < length; ++index)
numArray[index] = BitConverter.ToSingle(memory, (length - 1 - index) * 4);
return numArray;
}
public static void WriteSingle(UInt32 address, float[] input)
{
Int32 length = input.Length;
Byte[] array = new Byte[length * 4];
for (Int32 i = 0; i < length; i++)
{
ReverseBytes(BitConverter.GetBytes(input[i])).CopyTo(array, (Int32)(i * 4));
}
D3sKmHD.SetMemory(address, array);
}

public static uint G_Client2(int client)
{
return D3sKmOffsets.g_client + (D3sKmOffsets.clientSize * (uint)client);
}
public static uint G_Entity2(int client)
{
return D3sKmOffsets.g_entity + (D3sKmOffsets.entitySize * (uint)client);
}
public static float[] getOrigin(int client)
{
return ReadSingle(G_Client2(client) + 0x28, 3);
}
public static float[] vectoangles(float[] Angles)
{
float num2;
float num3;
float[] numArray = new float[3];
if ((Angles[1] == 0f) && (Angles[0] == 0f))
{
num2 = 0f;
if (Angles[2] > 0f)
{
num3 = 90f;
}
else
{
num3 = 270f;
}
}
else
{
if (Angles[0] != -1f)
{
num2 = (float)((Math.Atan2((double)Angles[1], (double)Angles[0]) * 180.0) / 3.1415926535897931);
}
else if (Angles[1] > 0f)
{
num2 = 90f;
}
else
{
num2 = 270f;
}
if (num2 < 0f)
{
num2 += 360f;
}
float num = (float)Math.Sqrt((double)((Angles[0] * Angles[0]) + (Angles[1] * Angles[1])));
num3 = (float)((Math.Atan2((double)Angles[2], (double)num) * 180.0) / 3.1415926535897931);
if (num3 < 0f)
{
num3 += 360f;
}
}
numArray[0] = -num3;
numArray[1] = num2;
return numArray;
}
public static Boolean isAlive(int client)
{
Int32 alive = GClass2.Extension.ReadInt16(0x1783EFB + 0x5808 * (uint)client);
return (alive == 0);
}

public static Boolean isSameTeam(int shooter, int victim)
{
Byte shooterTeam = GClass2.Extension.ReadByte(0x1783E2F + (uint)shooter * 0x580);
Byte victimTeam = GClass2.Extension.ReadByte(0x1783E2F + (uint)victim * 0x580);
return (shooterTeam == victimTeam);
}


public static float[] getVector(int shooter, int victim)
{
float[] numArray = getOrigin(shooter);
float[] numArray2 = getOrigin(victim);
return new float[] { (numArray2[0] - numArray[0]), (numArray2[1] - numArray[1]), (numArray2[2] - numArray[2]) };
}
public static int nearestPlayer(int shooter)
{
int victim = -1;
float closest = float.MaxValue;
for (int i = 0; i < 12; i++)
{
float XYZ = getOrigin(shooter)[0] - getOrigin(i)[0];
float distance = (float)Math.Sqrt(XYZ * XYZ);
if (isAlive(i) && !isSameTeam(shooter, i))
{
if (distance < closest)
{
victim = i;
closest = distance;
}
}
}
return victim;
}
public static int nearestPlayerFREEFORALL(int shooter)
{
int victim = 0;
double closest = 999999999999999;
for (int i = 0; i < 12; i++)
{
Single xyz = getOrigin(i)[0] - getOrigin(shooter)[0];
Double distance = (Double)Math.Sqrt(xyz * xyz);
if ((i != shooter))
{
if (distance < closest)
{
victim = i;
closest = distance;
}
}
}
return victim;
}
public static void AimbotD3sKm(int client)
{
if (GetServerDetails(2) == "dm")
{
int victim = nearestPlayerFREEFORALL(client);
float[] angles = vectoangles(getVector((int)client, (int)victim));
WriteSingle(0x10004000, angles);
RPC.Call(D3sKmOffsets.AimbotD3sKm, new object[] { G_Entity2(client), 0x10004000, angles });
}
else
{
int victim = nearestPlayer(client);
float[] angles = vectoangles(getVector((int)client, (int)victim));
WriteSingle(0x10004000, angles);
RPC.Call(D3sKmOffsets.AimbotD3sKm, new object[] { G_Entity2(client), 0x10004000, angles });
}
}


public static String GetServerDetails(Int32 Index)
{
return Encoding.ASCII.GetString(D3sKmHD.GetBytes(0x00f57fd5, 0x100)).Replace(@"\", "|").Split('|'Winky Winky[Index];
}
#endregion


Credits:
Me - Update Aimbot To 1.17
Sticky - Coding it
seb5594 - ReadSingle/WriteSingle
Quake 3- vectoangles You must login or register to view this content.

Enjoy -
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users groaned at D3skm for this awful post:

-SuperMan, Asian, milky4444, VezahMoDz
05-02-2014, 01:52 AM #11
iMP3Rz
Haxor!
Code is not from Sticky he leeching it of seb project freedom which therifboy made script for back in days x)
05-02-2014, 01:57 AM #12
Absolute Zero
Do your homework, fool.
Originally posted by SuperMan View Post
LMFAO Sticky always buys his shit hhhhhhh


Way to post false shit, why don't you check your sources before you post another dumbass comment like that. He doesn't buy it, granted he doesn't necessarily code everything himself, but still he doesn't buy it.

The following user thanked Absolute Zero for this useful post:

D3skm
05-02-2014, 02:03 AM #13
-SuperMan
Krazy Weed
Originally posted by ZeroNGU View Post
Way to post false shit, why don't you check your sources before you post another dumbass comment like that. He doesn't buy it, granted he doesn't necessarily code everything himself, but still he doesn't buy it.


Before we flame each other, let me put it this way " His Start in the modding community was a leech what i mean by that yes he paid people to and yes quote me on this if you want "Help/Sell" Certain Mods such as aimbot and of course decrypt sources and say its his dont get me wrong i personally dont give a fuck because i dont code nor i will learn i am just saying maybe i am right maybe your right lets put it there or what do u think ?
05-02-2014, 02:09 AM #14
Absolute Zero
Do your homework, fool.
Originally posted by SuperMan View Post
Before we flame each other, let me put it this way " His Start in the modding community was a leech what i mean by that yes he paid people to and yes quote me on this if you want "Help/Sell" Certain Mods such as aimbot and of course decrypt sources and say its his dont get me wrong i personally dont give a fuck because i dont code nor i will learn i am just saying maybe i am right maybe your right lets put it there or what do u think ?


Sounds fair enough, but I know for fact he doesn't buy anymore. I know of a couple people that do but not him. Why would you accuse him if you don't care though? Just wondering.
05-02-2014, 02:15 AM #15
-SuperMan
Krazy Weed
Originally posted by ZeroNGU View Post
Sounds fair enough, but I know for fact he doesn't buy anymore. I know of a couple people that do but not him. Why would you accuse him if you don't care though? Just wondering.


Well lets be honest now i dont know anything about him, yes some other people well one in particular is buying shit lol. Accuse well i didnt accuse i simply said he buys shit which you even said he used too well it makes me angry to be honest thats why i am caring to post tbh.

I feel sorry for the modding community these days tbh its slowly dying.
05-02-2014, 02:16 AM #16
Originally posted by iMP3Rz View Post
Code is not from Sticky he leeching it of seb project freedom which therifboy made script for back in days x)


No

this Code Sticky

Update Me

You must login or register to view this content.

All Erorr
05-02-2014, 02:17 AM #17
Absolute Zero
Do your homework, fool.
Originally posted by SuperMan View Post
Well lets be honest now i dont know anything about him, yes some other people well one in particular is buying shit lol. Accuse well i didnt accuse i simply said he buys shit which you even said he used too well it makes me angry to be honest thats why i am caring to post tbh.

I feel sorry for the modding community these days tbh its slowly dying.


Yeah I get you. See, if you would have explained further I wouldn't have said anything rude back. I just don't like when other people say shit about others without being sure, it just seems like a desperate lash is all. Thanks for clearing it up man.
05-02-2014, 02:20 AM #18
ZeroNGU <3 You are with the right , -SuperMan Beyond envy
05-02-2014, 02:21 AM #19
iMP3Rz
Haxor!
Yea congrats u able to replace offsets, but This aimbot struct and coding is not made by Sticky, he decompiled Project Freedom and took source... i just portet it from ghosts to bo2...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo