HelpC++ No flash isn't working

Posts 1–8 of 8 · Page 1 of 1
C++ No flash isn't working
No flash isn't working,idk why.
Code:
DWORD m_flFlashMaxAlpha = 0x0000A2F4;
Code:
void NoFlash() {
	float MaxFlash = Meme.Read<float>(LocalBase + m_flFlashMaxAlpha);
	if (fON && MaxFlash > 0.f) {
		Meme.Write<float>(LocalBase + m_flFlashMaxAlpha, 0.f);
	}
	if (!fON && MaxFlash != 225.f) {
		Meme.Write<float>(LocalBase + m_flFlashMaxAlpha, 225.f);
	}
}
I couldn't tell you if this will fix it or not, matter of fact, it shouldn't do anything differently but in my no flash I read dw_FlashMaxAlpha as an int not a float, although float should work.
@Buttars0070 Let me try your variant

- - - Updated - - -

Quote Originally Posted by Buttars0070 View Post
I couldn't tell you if this will fix it or not, matter of fact, it shouldn't do anything differently but in my no flash I read dw_FlashMaxAlpha as an int not a float, although float should work.
Changed,still not working.
Can you help me on steam,could we speak on steam? steamcommunity.com/id/regecampf
Quote Originally Posted by ArRiELL_ View Post
@Buttars0070 Let me try your variant

- - - Updated - - -



Changed,still not working.
Can you help me on steam,could we speak on steam? steamcommunity.com/id/regecampf
Make sure your locsl player address is up2date, as well as m_flFlashMaxAlpha offset.
Quote Originally Posted by Epik View Post


Make sure your locsl player address is up2date, as well as m_flFlashMaxAlpha offset.
There are updated all
DWORD LocalPlayer = 0x00A2F4AC;
DWORD m_flFlashMaxAlpha = 0x0000A2F4;
this is what i have and its working:
Offset
Code:
DWORD LocalPlayer = 0xA2F4AC;
DWORD FlashMaxAlpha = 0xA2F4;
LocalBase = Mem.Read<DWORD>(Client + LocalPlayer);

Noflash function:
Code:
void NoFlash()
{
        Flash_Max_Alpha = Mem.Read<float>(LocalBase + FlashMaxAlpha);
	if (NoFlashEnabled && Flash_Max_Alpha > 0.f)
	{
		Nsane.Write<float>(LocalBase + FlashMaxAlpha, 0.f);
	}
}
btw make sure your calling the function lol
Quote Originally Posted by Buttars0070 View Post
I couldn't tell you if this will fix it or not, matter of fact, it shouldn't do anything differently but in my no flash I read dw_FlashMaxAlpha as an int not a float, although float should work.
If you're interpreting the memory you're reading as an integer, you're going to get 0x437f0000 aka 1132396544, which is the hexadecimal / decimal representation of a float.

Quote Originally Posted by ArRiELL_ View Post
No flash isn't working,idk why.
Code:
DWORD m_flFlashMaxAlpha = 0x0000A2F4;
Code:
void NoFlash() {
	float MaxFlash = Meme.Read<float>(LocalBase + m_flFlashMaxAlpha);
	if (fON && MaxFlash > 0.f) {
		Meme.Write<float>(LocalBase + m_flFlashMaxAlpha, 0.f);
	}
	if (!fON && MaxFlash != 225.f) {
		Meme.Write<float>(LocalBase + m_flFlashMaxAlpha, 225.f);
	}
}
You're never telling us where you're calling your function, how you're calling the function, what you found out while debugging or where you're updating LocalBase.
1 week has passed and no further replies have been made by the OP. Assuming solved.

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

Similar Threads

Tags for this Thread

None

Talk with us