Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
//Give me credits if you use this or learned from it - Distiny @MPGH
namespace Memory_Hack_Base
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
mem aw = new mem(); //our mem class; I named it aw since the game we will work on is cod: Advanced Warfare aka AW
//Variables
long A_tampering = 0x14a817b80; //declaring the address for the tampering check
bool god;
bool ammo1;
bool ammo2;
bool Explosives;
private void Form1_Load(object sender, EventArgs e)
{
timer1.Start();
timer2.Start();
timer3.Start();
timer4.Start();
}
private void disable_tampering_check()
{
if (aw.ProcHandle("s1_sp64_ship")) // this is a check to make sure Advanced Warfare is running.
{
aw.WriteInteger(A_tampering, 0);
}
}
private void button1_Click(object sender, EventArgs e) // the save button
{
god = !god;
}
private void timer1_Tick(object sender, EventArgs e)
{
if (aw.ProcHandle("s1_sp64_ship")) // this is a check to make sure Advanced Warfare is running.
{
if (god)
disable_tampering_check(); //calls the function to disable the Tampering check.
aw.WriteInteger(0x1434BFBA4, 9999); //This is just an example, aw.WriteInteger(address, value);
}
}
private void button2_Click(object sender, EventArgs e)
{
ammo1 = !ammo1;
}
private void timer2_Tick(object sender, EventArgs e)
{
if (aw.ProcHandle("s1_sp64_ship")) // this is a check to make sure Advanced Warfare is running.
{
if (ammo1)
disable_tampering_check(); //calls the function to disable the Tampering check.
aw.WriteInteger(0x1437A9218, 100); //This is just an example, aw.WriteInteger(address, value);
}
}
private void button3_Click(object sender, EventArgs e)
{
ammo2 = !ammo2;
}
private void timer3_Tick(object sender, EventArgs e)
{
if (aw.ProcHandle("s1_sp64_ship")) // this is a check to make sure Advanced Warfare is running.
{
if (ammo2)
disable_tampering_check(); //calls the function to disable the Tampering check.
aw.WriteInteger(0x1437A9230, 100); //This is just an example, aw.WriteInteger(address, value);
}
}
private void button4_Click(object sender, EventArgs e)
{
Explosives = !Explosives;
}
private void timer4_Tick(object sender, EventArgs e)
{
if (aw.ProcHandle("s1_sp64_ship")) // this is a check to make sure Advanced Warfare is running.
{
if (Explosives)
disable_tampering_check(); //calls the function to disable the Tampering check.
aw.WriteInteger(0x1437A9248, 6); //This is just an example, aw.WriteInteger(address, value);
}
}
private void button5_Click(object sender, EventArgs e)
{
if (aw.ProcHandle("s1_sp64_ship")) // this is a check to make sure Advanced Warfare is running.
{
disable_tampering_check(); //calls the function to disable the Tampering check.
aw.WriteInteger(0x141057D34, 99); //This is just an example, aw.WriteInteger(address, value);
}
}
}
}
Well thats the code (Distinys one:P)
but if i start it it wont change an ingame adress?
is it because ofteh tickers or the bools?