UnhappyQuick HotKey Base w/ 1 Hack

Posts 115 of 19 · Page 1 of 2
Quick HotKey Base w/ 1 Hack
Hello guys i know im not very active here since my last release. i havent played CA in a while and i was wondering if someone could possibly send me the sourcecode of a CA NA Hotkey hack (I only want nx cham). im not that experianced with c++ but i am willing to learn.

please and thank you
people don't really use hotkey's anymore as far as i know people mostly use menu's but hotkey's are good to learn on. but you should learn D3D and c++ both so you can make menu's
i only want nx chams with the ability to turn them off by pressing left and right

pressing the Left = ON Right=OFF
well if you keep trying maybe some one will have a hotkey base idk but i dont i only use D3D so idk
its not up to date ... come on guys you guys can code this in like 5 min. why make me go through 2-3weeks of frustration to find out the method i got working is patched again.

Thank you for trying but this is way to complicated for me.
Quote Originally Posted by 1on1 View Post
its not up to date ... come on guys you guys can code this in like 5 min. why make me go through 2-3weeks of frustration to find out the method i got working is patched again.



Thank you for trying but this is way to complicated for me.
haha, to complicated ? Fucking C+P. better Stop with C++ Leecher.
Quote Originally Posted by Sydney View Post
haha, to complicated ? Fucking C+P. better Stop with C++ Leecher.
you don't have to flame /
he asked nicely and we gave him what he wants
Read up on this forum and throw something together..
yup xD just use what godhack sent you and start learning...
Learn the basics of c++, and then it will be much easier for us to help you. Not the full language, just the concepts.
If thats all you want then just use rez chams...

/moved
Quote Originally Posted by AVGN View Post
If thats all you want then just use rez chams...

/moved
but i need to be able to turn it on and off..
Code:
#include "stdafx.h"
#include <windows.h>
//=======================================
//declarations
#define LTClient 0x3718BF20
#define EngineLTC 0x4A4810
//=======================================
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole(char *szCommand) 
{ 
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t PushToConsole = (RunConsoleCommand_t)EngineLTC;


}
//=======================================
void main()
{
	while(!IsGameReadyForHook()){
		Sleep(200);
    }
	bool nxchams = false;
	while(true)
	{
		PushToConsole("ShowFPS 1");
	if(GetAsyncKeyState(VK_HOME)<0)
		if(nxchams){
		PushToConsole("ShowFPS 0");
		PushToConsole("SkelModelStencil 0");
		nxchams = false;
		}else{
		PushToConsole("ShowFPS 1");
		PushToConsole("SkelModelStencil 1");
		nxchams = true;
		}
		}
}
//=======================================
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved)
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
        CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
        break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
        break;
	}
    return TRUE;
}
will this work??
Quote Originally Posted by 1on1 View Post
its not up to date ... come on guys you guys can code this in like 5 min. why make me go through 2-3weeks of frustration to find out the method i got working is patched again.



Thank you for trying but this is way to complicated for me.
Quote Originally Posted by 1on1 View Post
Code:
#include "stdafx.h"
#include <windows.h>
//=======================================
//declarations
#define LTClient 0x3718BF20
#define EngineLTC 0x4A4810
//=======================================
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
void __cdecl PushToConsole(char *szCommand) 
{ 
    typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t PushToConsole = (RunConsoleCommand_t)EngineLTC;


}
//=======================================
void main()
{
	while(!IsGameReadyForHook()){
		Sleep(200);
    }
	bool nxchams = false;
	while(true)
	{
		PushToConsole("ShowFPS 1");
	if(GetAsyncKeyState(VK_HOME)<0)
		if(nxchams){
		PushToConsole("ShowFPS 0");
		PushToConsole("SkelModelStencil 0");
		nxchams = false;
		}else{
		PushToConsole("ShowFPS 1");
		PushToConsole("SkelModelStencil 1");
		nxchams = true;
		}
		}
}
//=======================================
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved)
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
        CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
        break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
        break;
	}
    return TRUE;
}
will this work??
No. It will not work.
Posts 115 of 19 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?