Originally posted by kainer
Hey guys this is for C# and if you want to make a stats editor like ghost 1.09 tool read some more.
Make to buttons rename to Random Stats & the other to Set Stats.
for the random stats button this is the coding to set them randomly to a number:
Prestige.Value = RandomNumber(0, 11);
level.Value = RandomNumber(0, 60);
Kills.Value = RandomNumber(0, 999999);
Deaths.Value = RandomNumber(0, 999999);
Wins.Value = RandomNumber(0, 999999);
Loses.Value = RandomNumber(0, 999999);
Killstreak.Value = RandomNumber(0, 999999);
Winstreak.Value = RandomNumber(0, 999999);
SquadPoints.Value = RandomNumber(0, 999999);
GamesPlayed.Value = RandomNumber(0, 999999);
TimesPlayed.Value = RandomNumber(0, 999999);
Misses.Value = RandomNumber(0, 999999);
Hits.Value = RandomNumber(0, 999999);
CurrentStreak.Value = RandomNumber(0, 999999);
IngameKills.Value = RandomNumber(0, 999999);
}
& for the Set Stats button this is the coding:
if (Prestige.Value == 0)
{
byte[] Pre = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1792B1C, Pre);
}
else
{
byte[] Pre1 = BitConverter.GetBytes(Convert.ToInt32(Prestige.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1792B1C, Pre1);
}
if (level.Value == 0)
{
byte[] xp = new byte[] { 0xFF }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x0176955c, xp);
}
else
{
byte[] xp = BitConverter.GetBytes(Convert.ToInt32(level.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x0176955c, xp);
}
if (Kills.Value == 0)
{
byte[] kill = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC79, kill);
}
else
{
byte[] kill = BitConverter.GetBytes(Convert.ToInt32(Kills.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC79, kill);
}
if (Deaths.Value == 0)
{
byte[] death = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC51, death);
}
else
{
byte[] death = BitConverter.GetBytes(Convert.ToInt32(Deaths.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC51, death);
}
if (Wins.Value == 0)
{
byte[] win = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DCCA, win);
}
else
{
byte[] win = BitConverter.GetBytes(Convert.ToInt32(Wins.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DCCA, win);
}
if (Loses.Value == 0)
{
byte[] loose = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC81, loose);
}
else
{
byte[] loose = BitConverter.GetBytes(Convert.ToInt32(Loses.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01768601, loose);
}
if (Killstreak.Value == 0)
{
byte[] killstreak = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC7D, killstreak);
}
else
{
byte[] killstreak = BitConverter.GetBytes(Convert.ToInt32(Killstreak.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC7D, killstreak);
}
if (Winstreak.Value == 0)
{
byte[] winstreak = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC4D, winstreak);
}
else
{
byte[] winstreak = BitConverter.GetBytes(Convert.ToInt32(Winstreak.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC4D, winstreak);
}
if (SquadPoints.Value == 0)
{
byte[] squadpoint = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1792824, squadpoint);
}
else
{
byte[] squadpoint = BitConverter.GetBytes(Convert.ToInt32(SquadPoints.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x1792824, squadpoint);
if (GamesPlayed.Value == 0)
{
byte[] gameplay = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC69, gameplay);
}
else
{
byte[] gameplay = BitConverter.GetBytes(Convert.ToInt32(GamesPlayed.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC69, gameplay);
}
if (TimesPlayed.Value == 0)
{
byte[] timeplay = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DCBE, timeplay);
}
else
{
byte[] timeplay = BitConverter.GetBytes(Convert.ToInt32(TimesPlayed.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DCBE, timeplay);
}
if (Misses.Value == 0)
{
byte[] miss = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC86, miss);
}
else
{
byte[] miss = BitConverter.GetBytes(Convert.ToInt32(Misses.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC86, miss);
}
if (Hits.Value == 0)
{
byte[] hit = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC71, hit);
}
else
{
byte[] hit = BitConverter.GetBytes(Convert.ToInt32(Hits.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178DC71, hit);
}
if (CurrentStreak.Value == 0)
{
byte[] currentstreak = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178E54D, currentstreak);
}
else
{
byte[] currentstreak = BitConverter.GetBytes(Convert.ToInt32(CurrentStreak.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x178E54D, currentstreak);
}
if (ExtinctPrestige.Value == 0)
{
byte[] extinct = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x179531A, extinct);
}
else
{
byte[] extinct = BitConverter.GetBytes(Convert.ToInt32(ExtinctPrestige.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x179531A, extinct);
}
if (IngameKills.Value == 0)
{
byte[] ingamekill = new byte[] { 0xFF }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x00f24c53, ingamekill);
}
else
{
byte[] ingamekill = BitConverter.GetBytes(Convert.ToInt32(IngameKills.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x00f24c53, ingamekill);
}
So this is all set to ghost right now if you want to change them for a game like mw3 example: kills for mw3:
if (realname.Value == 0)
{
byte[] name here = new byte[] { 0x00 }; //I dont know if its 0x00....
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, offset here, name here);
}
else
{
byte[] name here = BitConverter.GetBytes(Convert.ToInt32(realname.Value.ToString()));
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, offset here, name here);
}
thats the code & u put the mw3 kills offset where it says offset you also need to rename the label like say i add the 1st label to the tool click it once then go to the properties & scroll up to (name) & change from label1 to Kills then you need to name in the code Kills it says real name means Kills if it says name here that means name it kill ok?
thats all enjoy!
credits:
ME
& InfinityISB4CK
& Rachet Booty for offsets
When the value is on "0" it will already give the bytes 0x00 (Int32 so it will fill it with 0x00)