private void Prestige11_Click(object sender, EventArgs e) { uint Value = Convert.ToUInt32(GameAddresses.Prestige); Memorys mem = new Memorys("iw4mp"); uint AmmoTest = mem.baseaddress("iw4mp") + Value; mem.Write(AmmoTest, int.Parse("11")); }
private void RedBoxOFFHost20(string RedBox) { uint RED = Convert.ToUInt32(GameAddresses.RedBoxOFF20); Memorys mem = new Memorys("iw5mp"); uint AmmoTest = mem.baseaddress("iw5mp") + RED; mem.Write(AmmoTest, int.Parse(RedBox)); }
private void TimePlayed_Click(object sender, EventArgs e) { uint OFFSET = Convert.ToUInt32(GameAddresses.TimePlayed); string ValueID = Convert.ToString(TimePlayedValue.Value); Memorys mem = new Memorys("iw4mp"); uint AmmoTest = mem.baseaddress("iw4mp") + OFFSET; mem.Write(AmmoTest, int.Parse(ValueID)); }
private void GiveGold(int ClientID, string GoldID) { int Client = ClientID; long Client0Offset = GameAddresses.GoldD; uint AllClientBaby = Convert.ToUInt32(Client0Offset + (GameAddresses.PlayerState1 * Client)); Memorys mem = new Memorys("iw4mp"); uint AmmoTest = mem.baseaddress("iw4mp") + AllClientBaby; mem.Write(AmmoTest, int.Parse(GoldID)); }
public void PreGameName(string Name) { if (Process_Handle("BlackOps")) { byte[] nickbyte = Encoding.GetBytes(Name + "\0"); Memorys mem = new Memorys("BlackOps"); int address = (int)mem.baseaddress("BlackOps") + 0x0385892C; WriteBytes(address, nickbyte); } }
private void Money(int ClientID, string MoneyValue) { int Client = ClientID; long Client0Offset = GameAddresses.Money; uint AllClientBaby = Convert.ToUInt32(Client0Offset + (GameAddresses.PlayerState1 * Client)); Memorys mem = new Memorys("BlackOps"); uint AmmoTest = mem.baseaddress("BlackOps") + AllClientBaby; mem.Write(AmmoTest, int.Parse(MoneyValue)); }
private void InclipThird(int ClientID, string Ammo) { int Client = ClientID; long Client0Offset = 0x01C08F18; uint AllClientBaby = Convert.ToUInt32(Client0Offset + (0x1D28 * Client)); Memorys mem = new Memorys("BlackOps"); uint AmmoTest = mem.baseaddress("BlackOps") + AllClientBaby; mem.Write(AmmoTest, int.Parse(Ammo)); }
private void Health(int ClientID, string HealthPercentage) { int Client = ClientID; long Client0Offset = GameAddresses.hFlag; uint AllClientBaby = Convert.ToUInt32(Client0Offset + (GameAddresses.PlayerState2 * Client)); Memorys mem = new Memorys("BlackOps"); uint AmmoTest = mem.baseaddress("BlackOps") + AllClientBaby; mem.Write(AmmoTest, int.Parse(HealthPercentage)); }
public void CustomClassNames(int ClassID, string Name) { if (Process_Handle("iw4mp")) { int Class = ClassID; long Class0Offset = GameAddresses.CustomClass; int AllClassesBaby = Convert.ToInt32(Class0Offset + (GameAddresses.ClassPointer * Class)); byte[] nickbyte = Encoding.GetBytes(Name + "\0"); Memorys mem = new Memorys("iw4mp"); int address = (int)mem.baseaddress("iw4mp") + AllClassesBaby; WriteBytes(address, nickbyte); } }
private void ReadClient17() { if (Process_Handle("iw5mp")) { Memorys mem = new Memorys("iw5mp"); int address = (int)mem.baseaddress("iw5mp") + GameAddresses.Client17Offset; var nick = ReadBytes(address, 20); string nickz; nickz = Encoding.GetString(nick).Replace("\r", ""); Client17.Text = nickz.ToString(); } }
public void WriteName(int ClientID, string Name) { if (Process_Handle("BlackOps")) { int Client = ClientID; long Client0Offset = GameAddresses.IngameName; int AllClientBaby = Convert.ToInt32(Client0Offset + (0x1D28 * Client)); byte[] nickbyte = Encoding.GetBytes(Name + "\0"); Memorys mem = new Memorys("BlackOps"); int address = (int)mem.baseaddress("BlackOps") + AllClientBaby; WriteBytes(address, nickbyte); } }
private void ReadClient3Name() { if (Process_Handle("BlackOps")) { Memorys mem = new Memorys("BlackOps"); int address = (int)mem.baseaddress("BlackOps") + 0x01C0FDF0; var nick = ReadBytes(address, 20); string nickz; nickz = Encoding.GetString(nick).Replace("\r", ""); Client3.Text = nickz.ToString(); } }
private void InGame_Tick(object sender, EventArgs e) { uint Value = Convert.ToUInt32(GameAddresses.InGame); Memorys mem = new Memorys("iw5mp"); uint ClientButton = mem.baseaddress("iw5mp") + Value; uint address0 = (uint)mem.ReadPointer(ClientButton); labelX1.Text = address0.ToString(); if (labelX1.Text == "0") { RedBoxSwitch.Value = false; ThermalSwitch.Value = false; RecoilSwitch.Value = false; RedBoxSwitch.Enabled = true; ThermalSwitch.Enabled = true; } }