teleport = crash?

Posts 18 of 8 · Page 1 of 1
teleport = crash?
Code:
#include "functions.h"
#include "CA_classes.h"

void hacks()
{

	for(;;)
	{
		while(GetAsyncKeyState(VK_NUMPAD1))
		{
			hover(500.0f);
			Sleep(10);
		}
		Sleep(30);
	}
}

void setup()
{
	DWORD dwClientFxEntry;
	dwClientFxEntry	= (DWORD)GetModuleHandle( "Clientfx.fxd" );
	DWORD dwClass = *(DWORD*)( dwClientFxEntry + 0x66F34 );

	ADR_X = ( dwClass + 0xC8 );
	ADR_Y = ( dwClass + 0xCC );
	ADR_Z = ( dwClass + 0xD0 );
}

bool IsGameReadyForHook()
{
	if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
		&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
		&& GetModuleHandleA( "CShell.dll"   ) != NULL )
		return true;
	return false;
}

void thread()
{
	while( !IsGameReadyForHook() )
	Sleep(100);
	setup();
	hacks();
}
--------------------------- functions.h ----------------------------------
void hover( float height ) //only function u need to see
{
	*(float*)(ADR_Z) = height;
}
yeah my code except for the setup part, credits to nubgetzkills. anyway when i hold down the keypad 1 button i d/c after like 2 seconds. any help?
are you injecting this? or do you have more?
The teleport func u use is old and detcted. Use the one out of gellins base
does this is the part of hove :?
void hover( float height ) //only function u need to see
{
*(float*)(ADR_Z) = height;
}
the one in gellins base is the same as myn except i used my own function to tele and i used his to get the addies
yes im injecting it, and i only showed u what u need to see.
Your trying to increase the height so do

Code:
*(float*)(ADR_Z) += height;
Also its something wrong with your setup function.

Try using the old function for telekill with the random player pointer, still works fine.
Quote Originally Posted by Fabolous View Post
Your trying to increase the height so do

Code:
*(float*)(ADR_Z) += height;
Also its something wrong with your setup function.

Try using the old function for telekill with the random player pointer, still works fine.
Then you get stupid ******s on your team.
fixed!!!!!
i think the problem was that i was setting up the addresses AFTER i teleported
Posts 18 of 8 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?