BO2 Memory Class [VB]

Posts 16–25 of 25 · Page 2 of 2
Quote Originally Posted by abdulmailk View Post
how to use ??
Learn to code
This is for coders/hack creators only
nice :P i might have to release my version in C++ as have already released vb source :L and you've done C# as well xD
Quote Originally Posted by zolferno View Post
nice :P i might have to release my version in C++ as have already released vb source :L and you've done C# as well xD
As far as i know we dont have a memory class in C++ yet ?
Need to check doh
Quote Originally Posted by Horror View Post

As far as i know we dont have a memory class in C++ yet ?
Need to check doh
Because mem editing in C++ is not as obscure as C#? =P

But if the kids need a class..
Code:
class Memory
{
	HANDLE Process;
	
public:
	Memory(const char* Windowname)
	{
		HWND hwnd;
		DWORD ProcessID;

		while(!(hwnd = FindWindow(Windowname, NULL)))
			if(hwnd = FindWindow(NULL, Windowname))
				break;
			else
				Sleep(10);

		while(!(GetWindowThreadProcessId(hwnd,&ProcessID)))
			Sleep(10);

		while(!(Process = OpenProcess(PROCESS_ALL_ACCESS,false,ProcessID)))
			Sleep(10);
	}
	bool Write(void *Address, void *Value)
	{
		return WriteProcessMemory(Process, Address, Value, sizeof(Value), 0);
	}
	bool Read(void *Address, void *Buffer, size_t Length)
	{
		return ReadProcessMemory(Process, Address, Buffer, Length, 0);
	}
};
Quote Originally Posted by aIW|Convery View Post
Because mem editing in C++ is not as obscure as C#? =P

But if the kids need a class..
Code:
class Memory
{
	HANDLE Process;
	
public:
	Memory(const char* Windowname)
	{
		HWND hwnd;
		DWORD ProcessID;

		while(!(hwnd = FindWindow(Windowname, NULL)))
			if(hwnd = FindWindow(NULL, Windowname))
				break;
			else
				Sleep(10);

		while(!(GetWindowThreadProcessId(hwnd,&ProcessID)))
			Sleep(10);

		while(!(Process = OpenProcess(PROCESS_ALL_ACCESS,false,ProcessID)))
			Sleep(10);
	}
	bool Write(void *Address, void *Value)
	{
		return WriteProcessMemory(Process, Address, Value, sizeof(Value), 0);
	}
	bool Read(void *Address, void *Buffer, size_t Length)
	{
		return ReadProcessMemory(Process, Address, Buffer, Length, 0);
	}
};
:L it seems i need to make a more in depth one then xD
Quote Originally Posted by Jorndel View Post
<Runtime.InteropServices.DllImport("kernel32.dll") > _
Private Shared Function CloseHandle(hObject As IntPtr) As Boolean
End Function
Theres no handle to close so why even have the function .
How do i write a string, i want to add a name changer option for my Trainer im making
Quote Originally Posted by TonyMane123 View Post
How do i write a string, i want to add a name changer option for my Trainer im making
Code:
If Process_Handle("t6mp") Then
WriteString(Address, Value)
End If
Awesome been looking for this! Cheers,
Please help!
i have Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
WriteFloat("t6mpv43", &H2370E58, 2)
Timer2.Start()
End Sub

I AM RUNNING T6MPV43 (BO2 REDACTED)
but i get Failed to open t6mpv43 PLEASE HELP! WHEN I HACKED ZOMBIES WITH THIS MEMORYCLASS IT WORKED FINE
Posts 16–25 of 25 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?