Speed Hack help

Posts 1–3 of 3 · Page 1 of 1
Speed Hack help
Ok I have coded and updated the addies (I think). I just need help in figuring out what's wrong. Everything compiles right, I can play in-game and all my other hacks work except speed, any help?

Addie
Code:
#define ADR_SPEED	 0x84AEB8
Speed
Code:
void speed()
{
	DWORD dwPlayerpointer = *(DWORD*)Addr_Playerpointer;
if(dwPlayerpointer != 0)
{
	if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF){        
*(float*)(ADR_SPEED) = 200.0f;}                    //X2
{
	if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF){
*(float*)(ADR_SPEED) = 300.0f;}                   //X3
{
	if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF){
*(float*)(ADR_SPEED) = 500.0f;}                  //X5
{
	if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF){
*(float*)(ADR_SPEED) = 100.0f;}                  //Normal
}   
}
}
}
}
Any ideas?
Its not *(float*). Its changed from 2 updates or something and now it's *(double*). If you search the addie in IDA (thats what I use) it will say dbl(double)_00000 <= The addie. Updated source:

#define ADR_SPEED 0x84AEB8
void speed()
{
DWORD dwPlayerpointer = *(DWORD*)Addr_Playerpointer;
if(dwPlayerpointer != 0)
{
if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF){
*(double*)(ADR_SPEED) = 200.0f;} //X2
{
if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF){
*(double*)(ADR_SPEED) = 300.0f;} //X3
{
if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF){
*(double*)(ADR_SPEED) = 500.0f;} //X5
{
if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF){
*(double*)(ADR_SPEED) = 100.0f;} //Normal
}
}
}
}
}
Quote Originally Posted by scraprecon View Post
Its not *(float*). Its changed from 2 updates or something and now it's *(double*). If you search the addie in IDA (thats what I use) it will say dbl(double)_00000 <= The addie. Updated source:
Ohhh ok thank you

you will be credited
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