How to Create Bot with ReadProcessMemory in DLL File ??
Detect Address and Value Process.
help me please.
How to Create Bot with ReadProcessMemory in DLL File ??
Detect Address and Value Process.
help me please.
not much sense in using rpm when you are going to create a dll (that will be probably injected...therefor you could access the memory directly)
you have to create a dynamic dll and inject
Code:void Main() { // reading ... } BOOL APIENTRY DllMain( HMODULE hModule,DWORD ul_reason_for_call,LPVOID lpReserved) { if (ul_reason_for_call == DLL_PROCESS_ATTACH) { DisableThreadLibraryCalls(hModule); MessageBoxA(NULL,"Im load!", "ok", MB_OK | MB_ICONINFORMATION); CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)Main,NULL,0,NULL); } return TRUE; }
If youre creating a bot in a DLL file, you don't need to use ReadPRocessMemory, your DLL will already be in the games address space , therefore you have direct access to memory so say you have an address you want to write to, it can be done like so
DWORD PTR address = 0x00678997;
*address = 100; //write the value 100 to the data pointed to by "address".
So no need for RPM/.
You could alternatively use the function memset();
Last edited by genuine; 2012-10-24 at 07:18 AM.