noflash.

Posts 1–9 of 9 · Page 1 of 1
noflash.
here is my shit code:

Code:
struct ReadData
{
	DWORD GetFlash()
	{
		DWORD LB = Data.GetBase();
		if (LB)
		{
			return user.nmd< float >(LB + dwFlash);
		}
	}
	DWORD GetBase()
	{
		return user.nmd< DWORD >(Client + dwLocal);
	}
} Data;

void NoFlash()
{
	while (true)
	{
		if (Data.GetFlash() > 0.f)
		{
			user.cmd< float >(Data.GetFlash(), 0.f);
				Sleep(1);
		}

	}
}
but it isn't work.
what i am doing wrong?
Do you have the offsets correct?
Client = user.Module("client.dll");
DWORD Client;
DWORD dwLocal = 0xA804BC;
DWORD dwFlash = 0xA2F4;
First of all, name your stuff properly.

Secondly, you are not writing to the address of FlashMaxAlpha, you are writing to the FlashMaxAlpha float.
Quote Originally Posted by WasserEsser View Post
FlashMaxAlpha
Quote Originally Posted by WasserEsser View Post
FlashMaxAlpha float.
what is the difference?
and if not difficult for you to tell me how to
oh, okay WasserEsser, thank u for answer, i change my hack. here is a code, if u are intrested:
Code:
void noflash()
{
	while (true)
	{
		if (Data.GetFlash() > 0)
		{
			user.cmd<float>(Client + dwLocal + dwFlashDuration, 0);
		}
		Sleep(1);
	}
}
Write it the same way as you read it.

You have to write to the address of the variable, you are writing to the value of the float variable which you just read out, which is going to be 255 if you have been flashed before on the map.

255 is not a valid address, it's not the address of the flash variable, which you read above using the localplayerbase + flashmaxalpha offset.
okay, ty very much and i ussually fix the problem
1 week has passed and no further replies have been made by the OP. Assuming solved.

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

Similar Threads

Tags for this Thread

None

Talk with us