Post: [Release/C#/1.18] My Personal BO2 Scripts
05-27-2014, 01:31 AM #1
Sticky
Mary J Wannnnna
(adsbygoogle = window.adsbygoogle || []).push({}); Ehh hello NGU...

So I post this today for the simple fact that I am sick and tired of making mod menus... and tools! Here are almost all my good scripts for BO2. Hope you enjoy and please leave credits if you use them!

Stuff you will need to use these
    public static uint G_Client(int Client, GClient Mod = 0)
{
return (Offsets.G_Client + (0x5808 * (uint)Client) + (uint)Mod);
}
public enum GClient : uint
{
ClientWeapIndex = 0x1B8,
ClientVelocity = 0x34,
ClientFriction = 0xC,
ClientFreeze = 0x5694,
ClientViewModel = 0x54F4,
ClientButtonMonitoring = 0x569C,
ClientPlayerName = 0x5544,
ClientOrigin = 0x28,
ClientAngles = 0x56BC,
ClientTeam = 0x5504,
ClientIsAlive = 0x55D0,
ClientStance = 0xFC,
ClientGodMode = 0x18,
ClientPerks = 0x548,
ClientPrimaryCamo = 0x2D8,
ClientSecondaryCamo = 0x2BC,
ClientTactical = 0x30C,
ClientLethal = 0x2F0,
ClientKillstreak1 = 0x42B,
ClientKillstreak2 = 0x430,
ClientKillstreak3 = 0x434,
PrimaryAmmo = 0x43C,
SecondaryAmmo = 0x438,
LethalAmmo = 0x440,
TacticalAmmo = 0x444,
LocationSelectorMap = 0x4B0,
LocationSelectorType = 0x4B4
}
public static uint G_Entity(int Client, uint Mod = 0)
{
return (Offsets.G_Entity + (0x31C * (uint)Client) + Mod);
}
public static int ReturnWeaponIndex(int Client)
{
return PS3.ReadInt32(G_Client(Client, GClient.ClientWeapIndex));
}
public static float[] ReturnVelocity(int Client)
{
return PS3.ReadSingle(G_Client(Client, GClient.ClientVelocity), 3);
}
public static void SetOrigin(int Client, float[] Origin)
{
PS3.WriteSingle(G_Client(Client, GClient.ClientOrigin), Origin);
}
public static float[] TraceBullet(int clientIndex, float TracerDistance)
{
int Trace = 0x25D2B00;
float[] Start = G_GetPlayerViewOrigin(clientIndex);
float[] End = PlayerAnglesToForward(clientIndex, TracerDistance);
G_LocationalTrace(Trace, Start, End);
float[] BulletTrace = new float[3];
BulletTrace = new float[] { (((End[0] - Start[0]) * PS3.ReadFloat((uint)Trace + 0x10) + Start[0])), (((End[1] - Start[1]) * PS3.ReadFloat((uint)Trace + 0x10) + Start[1])), (((End[2] - Start[2]) * PS3.ReadFloat((uint)Trace + 0x10) + Start[2])) };
return BulletTrace;
}
public static void SetClientViewAngles(int Client, float[] Angles)
{
PS3.WriteSingle(0x10004000, Angles);
RPC.Call(Offsets.SetClientViewAngles, G_Entity(Client), Angles);
}
public enum Buttons : uint
{
X = 8192,
O = 16384,
Square = 4,
L3 = 1088,
R3 = 32,
L2 = 256,
R2 = 512,
L1 = 2147487744,
R1 = 128,
Crouch = 16384,
Prone = 32768,
L1andR1 = L1 + R1
}
public static bool ButtonPressed(int clientIndex, Buttons Button)
{
byte[] Sticky = PS3.GetMem(Offsets.G_Client + 0x547C + ((uint)clientIndex * 0x580Cool Man (aka Tustin), 4);
uint Buttonz = BitConverter.ToUInt32(Sticky, 0);
if (Buttonz == (uint)Button)
return true;
return false;
}


Unfair Aimbot
    public static void PlayerDie(int Client, int Victim, bool HeadShotsOnly = true)
{
if (HeadShotsOnly)
RPC.Call(0x1FD510, G_Entity(Victim), G_Entity(Client), G_Entity(Client), 0, 9, ReturnWeaponIndex(Client), 0xD0143D6C);
else
RPC.Call(0x1FD510, G_Entity(Victim), G_Entity(Client), G_Entity(Client), 0, 0, ReturnWeaponIndex(Client), 0xD0143D6C);
}


Carepackage Gun
    public static void CarePackageGun(int Client)
{
if (ButtonPressed(Client, Buttons.R1) || ButtonPressed(Client, Buttons.L1andR1))
{
Entity.spawnEntity("t6_wpn_supply_drop_ally", TraceBullet(Client, 9999f), G_GetPlayerViewOrigin(Client));
}
}


Teleport Gun
    public static void TeleportGun(int Client)
{
if (ButtonPressed(Client, Buttons.R1) || ButtonPressed(Client, Buttons.L1andR1))
{
SetOrigin(Client, TraceBullet(Client, 9999f));
}
}


Advanced Noclip
    public static void AdvancedNoclip(int Client)
{
SetVelocity(Client, new float[] { ReturnVelocity(Client)[0], ReturnVelocity(Client)[1], 42.5f });

if (ButtonPressed(Client, Buttons.L3))
{
SetOrigin(Client, PlayerAnglesToForward(Client, 85));
}
}


Spin Mode
            public static void SpinMode(int Client, float Speed, string Direction = "Right")
{
if (Direction == "Left")
{
for (float X = -180; X < 180; )
{
SetClientViewAngles(Client, new float[] { ReturnViewOrigin(Client)[0], X, ReturnViewOrigin(Client)[2] });
X += (float)Speed;
}
}

else if (Direction == "Right")
{
for (float X = 180; X > -180; )
{
SetClientViewAngles(Client, new float[] { ReturnViewOrigin(Client)[0], X, ReturnViewOrigin(Client)[2] });
X += (float)Speed;
}
}
}


Credits:
Sticky - Making the functions
Shark - TraceBullet function
(adsbygoogle = window.adsbygoogle || []).push({});

The following 50 users say thank you to Sticky for this useful post:

_Antonio96_, One, Absolute Zero, ALI ALHILFI, Arrow_Modz, Asian, Azus, COD_MoDz21, D3sKmَ, Sabotage, En3RGyMoDz, EnVatoHD, FFM | iMoDzRGFR, FusionIsDaName, Geo, HackersForHire, JLM, ImAzazel, iMoDz-Baptiste, iNDMx, Jannik007, KL9, LBK, Mango_Knife, milky4444, moxl, NotALegitPlayer, Notorious, oCoyeks, OLDSCHOOLMODZHD, Pat Stay, RaGE_LoLo69, RTE, SC58, TheModedHacker, ThePaaqoHD, Tipton_Modz, trollman111, UnknownNightmare, Unstopbole Mods, WeJailbreakYou, Fatality, xPAQz, xReaperv3, xSynthetic-oJ, zMaCa-x, zRayz-
06-09-2014, 07:38 PM #20
xDebugKiller
Climbing up the ladder
bro this was half usefull we need way more codes for this to work any way great work
06-09-2014, 08:06 PM #21
iMP3Rz
Haxor!
He already gave more than enough to get it work, if u can't make rest ur own just uninstall VS seriusly

The following user thanked iMP3Rz for this useful post:

milky4444
06-09-2014, 10:35 PM #22
xDebugKiller
Climbing up the ladder
Originally posted by iMP3Rz View Post
He already gave more than enough to get it work, if u can't make rest ur own just uninstall VS seriusly


I dont spent my life in there so and. If it is so easy why dont you make a tool with that Not Happy or Sad
06-09-2014, 11:55 PM #23
iMP3Rz
Haxor!
Who saied i haven't?
06-10-2014, 03:33 PM #24
xDebugKiller
Climbing up the ladder
well if you have share some codes to us so we other people can actually try to make it work :yes:
06-10-2014, 03:48 PM #25
xReaperv3
Bounty hunter
All is released lol. Just look up Sharks Bullet Trace & Entity Spawning Thread(s)...if you know a bit C# you should be able to make it work with this releases...

The following user thanked xReaperv3 for this useful post:

FusionIsDaName
06-10-2014, 07:31 PM #26
WeJailbreakYou
Do a barrel roll!
Originally posted by xDebugKiller View Post
well if you have share some codes to us so we other people can actually try to make it work :yes:

Just stop please. Your menus and tools you made included all these functions Sticky posted. What else do you want more? You cant just say "half of this post is useful post more codes!". Please if you want something that's not there make it yourself, i'm not here for an argument.
06-10-2014, 09:01 PM #27
xDebugKiller
Climbing up the ladder
the thing is i cant make them by myself cause idk how and dont have time
06-11-2014, 10:21 PM #28
WeJailbreakYou
Do a barrel roll!
Originally posted by xDebugKiller View Post
the thing is i cant make them by myself cause idk how and dont have time

Yeah i know what you mean but he probably doesn't have time either, he already gave enough.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo