CODE:
Spoiler
public Form1()
{
InitializeComponent();
}
Memorys mem = new Memorys("Game");
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
uint base_address = mem.baseaddress("Game.exe");
base_address = base_address + 0x2E9A8C;
uint address = (uint)mem.ReadPointer(base_address) + 0x68;
address = (uint)mem.ReadPointer(address) + 0x1b4;
address = (uint)mem.ReadPointer(address) + 0x4;
address = (uint)mem.ReadPointer(address) + 0x9a4;
MessageBox.Show(address.ToString(""));
}
I get strange results why?
If u have a project to read pointers can u give me??
I`m not pro in C# but i heard is better then vb.net at this part with pointers.
HERE ARE THE DLL`s i`m using v1,idk how to use v2
V2 Functions:
Spoiler
//You need to import the DLL into your resources
using MemoryControl; //Allows it to be used in project.
MemC.cOpenProcessMemory("iw5mp"); // Opens the given application. DO THIS BEFORE ANYTHING ELSE;
MemC.cCloseProcess(); // Closes the process opened with cOpenProcessMemory(). DO THIS AFTER EDITING/READING MEMORY;
MemC.getProcessID("explorer"); // Returns an integer value of the application ID of the given process;
MemC.WriteXNOP(desiredAddress, 5); //Writes 5 NOP bytes (0x90) to the given address;
MemC.WriteXInt(desiredAddress, 255); //Writes the value 255 to the given address;
MemC.WriteXFloat(desiredAddress, floatValue); //Writes the floatValue to the given address;
MemC.WriteXDouble(desiredAddress, doubleValue); //Writes the doubleValue to the given address;
MemC.WriteXString(desiredAddress, stringX); //Writes stringX to the desired address(ASCII);
MemC.WriteXBytes(desiiredAddress, byteBuffer); //Writes the given bytes in the byteBuffer to the given address;
MemC.readXInt(desiredAddress); // Returns the integer stored at the desired address;
MemC.readXBytes(desiredAddress, 100); //Returns a byte array of 100 bytes from given address;
MemC.readXString(desiredAddress, 20); //Returns a string of 20 characters from desired address;
MemC.readXFloat(desiredAddress); //Returns a floating point at the desired address;
MemC.readXDouble(desiredAddress); //Returns a double at the desired address;
And for v1:
IDK all functions download v1 from attachments
Please register or login to download attachments.