HelpWPM doing nothing.

Posts 1–4 of 4 · Page 1 of 1
WPM doing nothing.
hey guys, i'm doing na external radar hack using WPM and i can't figure out what i'm doing wrong, first i tought it was a problem with variable type (why? idk, just a guess), so i changed it for bool, byte and int, nothing change.
i can read it perfectly, it show 1 when enemy is spotted and 0 when u turn around, but when i write it don't change.
Code:
	DWORD EnemySpot = 0;
	bool SpotEnemy = 1;
	clientdll = KCAH.GetCSModule(IdDoJogo, "client.dll");
	for (int a = 0; a < 64; a++){
		ReadProcessMemory(HandleDoJogo, LPCVOID(clientdll + OFSTS.EntLi + (a*OFSTS.LooDis)), &EntityInfo, sizeof(EntityInfo), NULL); 
		if (!EntityInfo) break;
		ReadProcessMemory(HandleDoJogo, (PBYTE*)(EntityInfo + OFSTS.isSpot), &EnemySpot, sizeof(EnemySpot), NULL);
		if(!EnemySpot){
		WriteProcessMemory(HandleDoJogo, (PBYTE*)(EntityInfo + OFSTS.isSpot), &SpotEnemy, sizeof(SpotEnemy), NULL);
			cout << EnemySpot << endl;
		}
		}
	}
Quote Originally Posted by gabrielalbin0 View Post
hey guys, i'm doing na external radar hack using WPM and i can't figure out what i'm doing wrong, first i tought it was a problem with variable type (why? idk, just a guess), so i changed it for bool, byte and int, nothing change.
i can read it perfectly, it show 1 when enemy is spotted and 0 when u turn around, but when i write it don't change.
Code:
	DWORD EnemySpot = 0;
	bool SpotEnemy = 1;
	clientdll = KCAH.GetCSModule(IdDoJogo, "client.dll");
	for (int a = 0; a < 64; a++){
		ReadProcessMemory(HandleDoJogo, LPCVOID(clientdll + OFSTS.EntLi + (a*OFSTS.LooDis)), &EntityInfo, sizeof(EntityInfo), NULL); 
		if (!EntityInfo) break;
		ReadProcessMemory(HandleDoJogo, (PBYTE*)(EntityInfo + OFSTS.isSpot), &EnemySpot, sizeof(EnemySpot), NULL);
		if(!EnemySpot){
		WriteProcessMemory(HandleDoJogo, (PBYTE*)(EntityInfo + OFSTS.isSpot), &SpotEnemy, sizeof(SpotEnemy), NULL);
			cout << EnemySpot << endl;
		}
		}
	}
check dormant aswell and EnemySpot is not DWORD its bool
Close and Solved!

For the ones who have the same problem:
I was using the same memory class that i created for my bhop and my triggerbot, but once both of then just need read memory, i used "PROCESS_VK_READ" on my OpenProcess, thats why when i tried to write on memory nothing happens. i just changed "PROCESS_VK_READ" to "PROCESS_ALL_ACESS" and it is working now
/Solved & closed.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us