Originally Posted by
General Shepherd
Hi guys, I'm trying to do a Name Faker, but something is going wrong... I have seen some tutorials and Im stuck on this:
Code:
Memorys mem = new Memorys("iw5mp");
private void fake_Click(object sender, EventArgs e)
{
uint base_address = mem.baseaddress("steam_api.dll");
base_address += 0x0001824C;
uint address = (uint)mem.ReadPointer(base_address) + 0x0; //Add the Offsets
address = (uint)mem.ReadPointer(base_address) + 0x4;
address = (uint)mem.ReadPointer(base_address) + 0x8;
address = (uint)mem.ReadPointer(base_address) + 0x10;
address = (uint)mem.ReadPointer(base_address) + 0x6A;
mem.Write(address, 1); //Write an Int to the address
}
This code should convert the address "steam_api.dll"+0001824C and the offsets to one hex address... It does that.. but it's not the right address, since the name doesn't change in-game... Any suggestions?
PS: The "Memorys mem = new Memorys("iw5mp");" is from this tutorial => https://www.mpgh.net/forum/31-c-c-pro...ry-editor.html
You wanted my code so..
Here is the nooby one
Code:
Memorys Hack = new Memorys("iw5mp");
uint base_addresse = Hack.baseaddress("steam_api.dll");
base_addresse = base_addresse + 0x0001824C;
uint addresse = (uint)Hack.ReadPointer(base_addresse) + 0x8;
addresse = (uint)Hack.ReadPointer(addresse) + 0x48;
addresse = (uint)Hack.ReadPointer(addresse) + 0x148;
addresse = (uint)Hack.ReadPointer(addresse) + 0x130;
addresse = (uint)Hack.ReadPointer(addresse) + 0x6A;
foreach(char a in textBox1.Text)
{
NameX = Convert.ToInt32(a);
Hack.Write(addresse, NameX);
addresse++;
}