No flash not working

Posts 1–3 of 3 · Page 1 of 1
No flash not working
Hello!
I have just written this code for no flash and it is not working, I think it is the WPM that is the problem.
Code:
Code:
	DWORD m_dwLocalPlayer = 0x00A31504;
	DWORD m_flFlashMaxAlpha = 0x0000A2F4;
	DWORD playerBase;
	float flash;
	float noFlash = 0.f;
	
	while (true) {
		ReadProcessMemory(hProc, (LPCVOID)(m_dwLocalPlayer + clientDll), &playerBase, sizeof(playerBase), NULL);
		ReadProcessMemory(hProc, (LPCVOID)(playerBase + m_flFlashMaxAlpha), &flash, sizeof(flash), NULL);
		
		if (flash > 0.f)
		{
			WriteProcessMemory(hProc, (LPVOID)(m_dwLocalPlayer + clientDll + m_flFlashMaxAlpha), &noFlash, sizeof(int), NULL);
		}
	}
Why do you write to a different location than you read?

Code:
WriteProcessMemory(hProc, (LPVOID)(playerBase + m_flFlashMaxAlpha), &noFlash, sizeof(float), NULL);
Believe this has been solved.

/Closed.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us