[HELP] not working...

Posts 16–24 of 24 · Page 2 of 2
was the problem that i was trying to use
Code:
pPlayerMgr = (cPlayerMgr*)(PlayerMgr);
to read from an address that didnt exist because i wasnt in game?

still dosent work.. maybe someone should try it themselves
Quote Originally Posted by kibbles18 View Post
k im going to do some research on how to use drawtext, then i shall display the stuff not working
Wait, you didn't hook i guess, so this wont work...
im about ready to give up...
try

Code:
pPlayerMgr->Yaw = 90.0f;
Code:
#include <windows.h>
#include "engine_class.h"

void thread()
{
	for(;;)
	{
		if(GetAsyncKeyState(VK_NUMPAD1)&1)
		{
			pPlayerMgr->Yaw = 90.0f;
		}
		Sleep(50);
	}
}

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

DWORD WINAPI StartupThread(LPVOID)
{
	while( !IsGameReadyForHook() )
		Sleep(100);
	MessageBoxA(0,"CA Hooked, press OK to continue", "kibbles201", MB_OK);
	thread();
	return 0;
}
BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved )
{
	if( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0,"injected", "kibbles201", MB_OK);
		CreateThread( NULL, NULL, (LPTHREAD_START_ROUTINE)StartupThread, NULL, NULL, NULL);
	}
	return TRUE;
}
updated code
someone else should try and see if theirs works!
some more information that might be helpfull...
"PlayerMgr" is the address for the class PlayerManager - should i be using my local character address instead?
/close please
resolved.
issue: the sticky with all the newest addy had the wrong addy
man did u even do anything? lol getting everyone to do the work
no i just typed out the code and found out the problem, no one helped me in the slightest bit except 1 person. no one did the work for me dumb ass
Posts 16–24 of 24 · Page 2 of 2

Post a Reply

Tags for this Thread

None

Talk with us