Post: [Release]Give/Change Killstreaks All Clients [C#]
06-26-2014, 08:30 AM #1
Mango_Knife
In my man cave
(adsbygoogle = window.adsbygoogle || []).push({}); So, a few people asked me for this, and i released the offsets while ago back on 1.16 days, but people asked me how to use this, so il just post this here

So baisicly you can give killstreaks with that to the clients, exmple for it you can see on the mod menu "Revolution".

So here it is:
Offsets:
    
G_Client = 0x1780F28 (Thanks to Sharks)

Change_1 = G_Client + 0x283;
Change_2 = G_Client + 0x29F;
Change_3 = G_Client + 0x267;

Scorestreak_1 = G_Client + 0x433;
Scorestreak_2 = G_Client + 0x437;
Scorestreak_3 = G_Client + 0x42F;

Enable_1 = G_Client + 0x55F;
Enable_2 = G_Client + 0x557;
Enable_3 = G_Client + 0x553;

Killstreak_1 = G_Client + 0x56F;
Killstreak_2 = G_Client + 0x567;
Killstreak_3 = G_Client + 0x563;


Now the streaks:
    
public class Streaks
{
public static class Nuketown
{
public static Byte[]
UAV = new Byte[] { 0x80 },
RCXD = new Byte[] { 0x94 },
HunterKiller = new Byte[] { 0x8F },
CarePackage = new Byte[] { 0x7A },
CounterUAV = new Byte[] { 0x81 },
Guardian = new Byte[] { 0xA4 },
HellstormMissile = new Byte[] { 0x97 },
LightningStrike = new Byte[] { 0x92 },
SentryGun = new Byte[] { 0xA2 },
DeathMachine = new Byte[] { 0x58 },
WarMachine = new Byte[] { 0x53 },
DragonFire = new Byte[] { 0x9B },
AGR = new Byte[] { 0x7F },
StealthChopper = new Byte[] { 0x87 },
OrbitalVSAT = new Byte[] { 0x82 },
EscortDrone = new Byte[] { 0x88 },
EMPSystems = new Byte[] { 0x83 },
Warthog = new Byte[] { 0x9E },
Loadstar = new Byte[] { 0x99 },
VTOLWarship = new Byte[] { 0x89 },
K9Unit = new Byte[] { 0x6F },
Swarm = new Byte[] { 0x91 };
}
public static class OtherMaps
{
//On other maps its -0x1 from the bytes on nuketown2025
public static Byte[]
UAV = new Byte[] { 0x80 -0x1},
RCXD = new Byte[] { 0x94 -0x1},
HunterKiller = new Byte[] { 0x8F -0x1},
CarePackage = new Byte[] { 0x7A -0x1},
CounterUAV = new Byte[] { 0x81 -0x1},
Guardian = new Byte[] { 0xA4 -0x1},
HellstormMissile = new Byte[] { 0x97 -0x1},
LightningStrike = new Byte[] { 0x92 -0x1},
SentryGun = new Byte[] { 0xA2 -0x1},
DeathMachine = new Byte[] { 0x58 -0x1},
WarMachine = new Byte[] { 0x53 -0x1},
DragonFire = new Byte[] { 0x9B -0x1},
AGR = new Byte[] { 0x7F -0x1},
StealthChopper = new Byte[] { 0x87 -0x1},
OrbitalVSAT = new Byte[] { 0x82 -0x1},
EscortDrone = new Byte[] { 0x88 -0x1},
EMPSystems = new Byte[] { 0x83 -0x1},
Warthog = new Byte[] { 0x9E -0x1},
Loadstar = new Byte[] { 0x99 -0x1},
VTOLWarship = new Byte[] { 0x89 -0x1},
K9Unit = new Byte[] { 0x6F -0x1},
Swarm = new Byte[] { 0x91 -0x1};
}
}


How this work?
First you enable the killstreak in case the client didnt put any scorestreaks, then giving him the streaks, and just fill the box of the streak
Like that:
                public static void Give(Int32 Client, Byte[] Streak)
{
Byte[] On = new Byte[] { 1 };
//1 - Enable Streak
//0 - Take it off
UInt32 G_ClientSize = 0x5808;
UInt32 Index = (UInt32)Client * G_ClientSize;
//Give the streak to whatever Killstreak you want
//1,2 or 3
//Then Enable it, so it wont be blank, in case the client didnt choosed scorestreaks
//So:
PS3.SetMemory(Enable_1 + Index, On);//Enable Streak
//Give Streak:
PS3.SetMemory(Killstreak_1 + Index, Streak);
PS3.SetMemory(Change_1 + Index, Streak);
//We will change 2 Offsets, otherwise it will not work.
//And then, just give the scorestreak:
PS3.SetMemory(Scorestreak_1 + Index, On);
}


Exmple:
                public static void Test()
{
if (getMapName() == "Nuketown 2025")
{
Give(0, Streaks.Nuketown.RCXD);
}
else
{
Give(0, Streaks.OtherMaps.RCXD);
}
}

On nuketown2025 the bytes are diffrent, so you will need the ServerDetails function, you can find the function here:
You must login or register to view this content.

pastebin post:
You must login or register to view this content.

Credits:
Well me for find it , Sharks for the G_Client Offset & seb5594 for server details function

Have fun everybody Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 24 users say thank you to Mango_Knife for this useful post:

RawDog2002, ALI ALHILFI, Arrow_Modz, B777x, bbcmodz, FusionIsDaName, Geo, GMTPS3, iNDMx, Deleted-User0000000012210, MegaMister, Miyata, Mx444, John, NotALegitPlayer, SnaY, Sticky, Swaqq, TheSaltCracka, UnknownNightmare, Hash847, Fatality, xProvXKiller, xSynthetic-oJ
06-26-2014, 11:07 AM #11
Jannik007
Do a barrel roll!
Btw your script won't work. You forgot to add the g_client offset in the variable "index" in your first code box ;-)
06-26-2014, 12:01 PM #12
Mango_Knife
In my man cave
Originally posted by Jannik007 View Post
Btw your script won't work. You forgot to add the g_client offset in the variable "index" in your first code box ;-)


You must login or register to view this content.

The following user thanked Mango_Knife for this useful post:

B777x
06-26-2014, 02:37 PM #13
xProvXKiller
Climbing up the ladder
grate job man :yes:
06-26-2014, 03:18 PM #14
HackersForRent
Do a barrel roll!
this will be going straight into my menu im working on :P THANKS Mango_Knife:wub:
06-26-2014, 06:26 PM #15
Mango You tell him Winky Winky
06-27-2014, 12:56 PM #16
Daqe
Pokemon Trainer
U don't need add new byte everytime but Good work Drack
06-27-2014, 02:30 PM #17
ItsLollo1000
Little One
Originally posted by Knife View Post
So, a few people asked me for this, and i released the offsets while ago back on 1.16 days, but people asked me how to use this, so il just post this here

So baisicly you can give killstreaks with that to the clients, exmple for it you can see on the mod menu "Revolution".

So here it is:
Offsets:
    
G_Client = 0x1780F28 (Thanks to Sharks)

Change_1 = G_Client + 0x283;
Change_2 = G_Client + 0x29F;
Change_3 = G_Client + 0x267;

Scorestreak_1 = G_Client + 0x433;
Scorestreak_2 = G_Client + 0x437;
Scorestreak_3 = G_Client + 0x42F;

Enable_1 = G_Client + 0x55F;
Enable_2 = G_Client + 0x557;
Enable_3 = G_Client + 0x553;

Killstreak_1 = G_Client + 0x56F;
Killstreak_2 = G_Client + 0x567;
Killstreak_3 = G_Client + 0x563;


Now the streaks:
    
public class Streaks
{
public static class Nuketown
{
public static Byte[]
UAV = new Byte[] { 0x80 },
RCXD = new Byte[] { 0x94 },
HunterKiller = new Byte[] { 0x8F },
CarePackage = new Byte[] { 0x7A },
CounterUAV = new Byte[] { 0x81 },
Guardian = new Byte[] { 0xA4 },
HellstormMissile = new Byte[] { 0x97 },
LightningStrike = new Byte[] { 0x92 },
SentryGun = new Byte[] { 0xA2 },
DeathMachine = new Byte[] { 0x58 },
WarMachine = new Byte[] { 0x53 },
DragonFire = new Byte[] { 0x9B },
AGR = new Byte[] { 0x7F },
StealthChopper = new Byte[] { 0x87 },
OrbitalVSAT = new Byte[] { 0x82 },
EscortDrone = new Byte[] { 0x88 },
EMPSystems = new Byte[] { 0x83 },
Warthog = new Byte[] { 0x9E },
Loadstar = new Byte[] { 0x99 },
VTOLWarship = new Byte[] { 0x89 },
K9Unit = new Byte[] { 0x6F },
Swarm = new Byte[] { 0x91 };
}
public static class OtherMaps
{
//On other maps its -0x1 from the bytes on nuketown2025
public static Byte[]
UAV = new Byte[] { 0x80 -0x1},
RCXD = new Byte[] { 0x94 -0x1},
HunterKiller = new Byte[] { 0x8F -0x1},
CarePackage = new Byte[] { 0x7A -0x1},
CounterUAV = new Byte[] { 0x81 -0x1},
Guardian = new Byte[] { 0xA4 -0x1},
HellstormMissile = new Byte[] { 0x97 -0x1},
LightningStrike = new Byte[] { 0x92 -0x1},
SentryGun = new Byte[] { 0xA2 -0x1},
DeathMachine = new Byte[] { 0x58 -0x1},
WarMachine = new Byte[] { 0x53 -0x1},
DragonFire = new Byte[] { 0x9B -0x1},
AGR = new Byte[] { 0x7F -0x1},
StealthChopper = new Byte[] { 0x87 -0x1},
OrbitalVSAT = new Byte[] { 0x82 -0x1},
EscortDrone = new Byte[] { 0x88 -0x1},
EMPSystems = new Byte[] { 0x83 -0x1},
Warthog = new Byte[] { 0x9E -0x1},
Loadstar = new Byte[] { 0x99 -0x1},
VTOLWarship = new Byte[] { 0x89 -0x1},
K9Unit = new Byte[] { 0x6F -0x1},
Swarm = new Byte[] { 0x91 -0x1};
}
}


How this work?
First you enable the killstreak in case the client didnt put any scorestreaks, then giving him the streaks, and just fill the box of the streak
Like that:
                public static void Give(Int32 Client, Byte[] Streak)
{
Byte[] On = new Byte[] { 1 };
//1 - Enable Streak
//0 - Take it off
UInt32 G_ClientSize = 0x5808;
UInt32 Index = (UInt32)Client * G_ClientSize;
//Give the streak to whatever Killstreak you want
//1,2 or 3
//Then Enable it, so it wont be blank, in case the client didnt choosed scorestreaks
//So:
PS3.SetMemory(Enable_1 + Index, On);//Enable Streak
//Give Streak:
PS3.SetMemory(Killstreak_1 + Index, Streak);
PS3.SetMemory(Change_1 + Index, Streak);
//We will change 2 Offsets, otherwise it will not work.
//And then, just give the scorestreak:
PS3.SetMemory(Scorestreak_1 + Index, On);
}


Exmple:
                public static void Test()
{
if (getMapName() == "Nuketown 2025")
{
Give(0, Streaks.Nuketown.RCXD);
}
else
{
Give(0, Streaks.OtherMaps.RCXD);
}
}

On nuketown2025 the bytes are diffrent, so you will need the ServerDetails function, you can find the function here:
You must login or register to view this content.

pastebin post:
You must login or register to view this content.

Credits:
Well me for find it , Sharks for the G_Client Offset & seb5594 for server details function

Have fun everybody Smile


Funny way to code(in my eyes messy Tustin) but anyway nice Smile
06-27-2014, 02:35 PM #18
Jannik007
Do a barrel roll!
Originally posted by Knife View Post
You must login or register to view this content.

You must login or register to view this content.

Winky Winky
06-27-2014, 02:37 PM #19
Jannik007
Do a barrel roll!
Sry my mistake , didn't see that you added the G_Client offset to the var "Enable_1" Snail

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo