get value from adress

Posts 1–15 of 43 · Page 1 of 3
get value from adress
how to get value from adress
textbox1.value = 3584100.value
OpenProcess() Then ReadProcessMemory(). Then convert that data type to a string. Do you have any code started ?

edit: are you using CLR project?
:/

Good Luck .
i using form = win32 form
can you give me example
Assuming the value at 3584100 is only 1 char (not a string, if it is you will have to determine the length) (also assuming that the address is in base-10), you could use this:
Code:
textbox1.value = *(char *)3584100;
but textbox1.value = *(char *)3584100; is not work
example: textBox1->Text=*(DWORD*)0x35465416;
how to add offset and GetModuleHandleA("Game.dll"+0x35156465)
Quote Originally Posted by umutyeniyurt View Post
how to add offset and GetModuleHandleA("Game.dll"+0x35156465)
Code:
DWORD addy = (DWORD)GetModuleHandleA("Game.dll");
DWORD valueAtAddress = *(DWORD *)(addy + 0x35156465); //do what you want with the pointer


Quote Originally Posted by umutyeniyurt View Post
but textbox1.value = *(char *)3584100; is not work
example: textBox1->Text=*(DWORD*)0x35465416;
You can't assign a value of type DWORD to a textbox text (probably char *). Change the *(DWORD*) to *(char*), but this will only copy 1 char, if you need to copy a string, ask me.

In order for me to help you properly, I need to know what value you are trying to put in the textbox, e.g. a player name or HP or what?
this player health and return base. if textbox1->text < (10) { return base }
and how to read to textbox ? example or source ?
If your not injected, you can't use code like *(TYPE) = ~~~~

You're accessing the memory of YOUR program, not the game.exe!

Use OpenProcess() and ReadProcessMemory(), or, inject a dll.
:-/ i writed the readprocessmemory but i cant read address :S
post code, or it didn't happen : )
private: System::Void button1_Click_3(System::Object^ sender, System::EventArgs^ e) {


HANDLE phandle;
DWORD ptr = 0x1020C281;
DWORD s_ptr = ptr ;

int value = s_ptr;


ReadProcessMemory(phandle, (LPVOID)(value), &value, 4, 0);

textBox1->Text = System::Convert::ToString(value);
// but value is not true :/
Posts 1–15 of 43 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us