CFNA SuperKill (Not Working)

Posts 1–11 of 11 · Page 1 of 1
CFNA SuperKill (Not Working)
Problem:
When testing my CFNA SuperKill hack, I either just get "CrossFire Error - Would you like to report?", or it does nothing at all, when I join a game and press insert.

Code:
Code:
#include <Windows.h>

typedef unsigned long int MemoryData;

MemoryData DimensionX_Offset = 0xD4;
MemoryData DimensionY_Offset = 0xD8;
MemoryData DimensionZ_Offset = 0xDC;

MemoryData ModelNode_Offset = 0x17B93D4;

MemoryData CShell_MemoryBase = reinterpret_cast<MemoryData>(GetModuleHandle("CShell.dll"));
MemoryData PlayerHitbox_MemoryLocation = *(DWORD*)(CShell_MemoryBase + ModelNode_Offset);

bool HackActivated = false;

void Hack_MainThread() {
	while (true) {
		if (HackActivated) {
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) += 220.0f;
			Sleep(300);
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) -= 220.0f;
		};
	};
};

void Hack_ToggleThread() {
	while (true) {
		if (GetAsyncKeyState(VK_INSERT)) {
			HackActivated = !HackActivated;
		};
		Sleep(1000 / 3);
	};
};

bool WINAPI DllMain(HMODULE HackDLL, DWORD ReasonForCall, LPVOID) {
	if (ReasonForCall == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_MainThread), NULL, 0, 0);
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_ToggleThread), NULL, 0, 0);
	};
	return true;
};
Things I have tried:
Nothing, as I have no idea what the issue could be *at all*.

Can anybody help me fix this/does anyone have any idea what the problem could be, etc?
Quote Originally Posted by Goocolax View Post
Problem:
When testing my CFNA SuperKill hack, I either just get "CrossFire Error - Would you like to report?", or it does nothing at all, when I join a game and press insert.

Code:
Code:
#include <Windows.h>

typedef unsigned long int MemoryData;

MemoryData DimensionX_Offset = 0xD4;
MemoryData DimensionY_Offset = 0xD8;
MemoryData DimensionZ_Offset = 0xDC;

MemoryData ModelNode_Offset = 0x17B93D4;

MemoryData CShell_MemoryBase = reinterpret_cast<MemoryData>(GetModuleHandle("CShell.dll"));
MemoryData PlayerHitbox_MemoryLocation = *(DWORD*)(CShell_MemoryBase + ModelNode_Offset);

bool HackActivated = false;

void Hack_MainThread() {
	while (true) {
		if (HackActivated) {
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) += 220.0f;
			Sleep(300);
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) -= 220.0f;
		};
	};
};

void Hack_ToggleThread() {
	while (true) {
		if (GetAsyncKeyState(VK_INSERT)) {
			HackActivated = !HackActivated;
		};
		Sleep(1000 / 3);
	};
};

bool WINAPI DllMain(HMODULE HackDLL, DWORD ReasonForCall, LPVOID) {
	if (ReasonForCall == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_MainThread), NULL, 0, 0);
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_ToggleThread), NULL, 0, 0);
	};
	return true;
};
Things I have tried:
Nothing, as I have no idea what the issue could be *at all*.

Can anybody help me fix this/does anyone have any idea what the problem could be, etc?
Of course it won't work.
You are doing this as soon as it injects, and at that point, CShell was not loaded yet.
Wait for crossfire to load CShell and then create the threads for the function.
Quote Originally Posted by Goocolax View Post
Problem:
When testing my CFNA SuperKill hack, I either just get "CrossFire Error - Would you like to report?", or it does nothing at all, when I join a game and press insert.

Code:
Code:
#include <Windows.h>

typedef unsigned long int MemoryData;

MemoryData DimensionX_Offset = 0xD4;
MemoryData DimensionY_Offset = 0xD8;
MemoryData DimensionZ_Offset = 0xDC;

MemoryData ModelNode_Offset = 0x17B93D4;

MemoryData CShell_MemoryBase = reinterpret_cast<MemoryData>(GetModuleHandle("CShell.dll"));
MemoryData PlayerHitbox_MemoryLocation = *(DWORD*)(CShell_MemoryBase + ModelNode_Offset);

bool HackActivated = false;

void Hack_MainThread() {
	while (true) {
		if (HackActivated) {
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) += 220.0f;
			Sleep(300);
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) -= 220.0f;
		};
	};
};

void Hack_ToggleThread() {
	while (true) {
		if (GetAsyncKeyState(VK_INSERT)) {
			HackActivated = !HackActivated;
		};
		Sleep(1000 / 3);
	};
};

bool WINAPI DllMain(HMODULE HackDLL, DWORD ReasonForCall, LPVOID) {
	if (ReasonForCall == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_MainThread), NULL, 0, 0);
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_ToggleThread), NULL, 0, 0);
	};
	return true;
};
Things I have tried:
Nothing, as I have no idea what the issue could be *at all*.

Can anybody help me fix this/does anyone have any idea what the problem could be, etc?
DWORD WINAPI MainThread()
{
while (!IsGameReadyForHook())
Sleep(200);

if (!ismsg)
{
DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
if (CShell != NULL)
{
//do your stuffs here
}
ismsg = true;
}

while (true)
{

}

}
Still not working.. please help now it just does nothing at all after my MessageBox appears.

Code:
#include <Windows.h>

typedef unsigned long int MemoryData;

MemoryData DimensionX_Offset;
MemoryData DimensionY_Offset;
MemoryData DimensionZ_Offset;

MemoryData ModelNode_Offset;

MemoryData CShell_MemoryBase;
MemoryData PlayerHitbox_MemoryLocation;

bool HackActivated = false;

void Hack_MainThread() {
	while (true) {
		if (HackActivated) {
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) += 220.0f;
			Sleep(300);
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) -= 220.0f;
		};
	};
};

void Hack_ToggleThread() {
	while (true) {
		if (GetAsyncKeyState(VK_INSERT)) {
			HackActivated = !HackActivated;
		};
		Sleep(33.333);
	};
};

void Hack_Initialize() {
	MessageBox(NULL, "The cheats have loaded!\r\nHave fun!", "GooHax v1.0", MB_OK);
	while (true) {
		if ((GetModuleHandle("CShell.dll") != NULL) && (GetModuleHandle("ClientFX.fxd") != NULL)) {
			Sleep(50);
			DimensionX_Offset = 0xD4;
			DimensionY_Offset = 0xD8;
			DimensionZ_Offset = 0xDC;
			ModelNode_Offset = 0x17B93D4;
			CShell_MemoryBase = reinterpret_cast<MemoryData>(GetModuleHandle("CShell.dll"));
			PlayerHitbox_MemoryLocation = *(DWORD*)(CShell_MemoryBase + ModelNode_Offset);
			Sleep(50);
			CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_MainThread), NULL, 0, 0);
			CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_ToggleThread), NULL, 0, 0);
			break;
		}
		else {
			Sleep(50);
		};
	};
};

bool WINAPI DllMain(HMODULE HackDLL, DWORD ReasonForCall, LPVOID) {
	if (ReasonForCall == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_Initialize), NULL, 0, 0);
	};
	return true;
};
Quote Originally Posted by Goocolax View Post
Still not working.. please help now it just does nothing at all after my MessageBox appears.

Code:
#include <Windows.h>

typedef unsigned long int MemoryData;

MemoryData DimensionX_Offset;
MemoryData DimensionY_Offset;
MemoryData DimensionZ_Offset;

MemoryData ModelNode_Offset;

MemoryData CShell_MemoryBase;
MemoryData PlayerHitbox_MemoryLocation;

bool HackActivated = false;

void Hack_MainThread() {
	while (true) {
		if (HackActivated) {
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) += 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) += 220.0f;
			Sleep(300);
			*(float*)(PlayerHitbox_MemoryLocation + DimensionX_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionY_Offset) -= 220.0f;
			*(float*)(PlayerHitbox_MemoryLocation + DimensionZ_Offset) -= 220.0f;
		};
	};
};

void Hack_ToggleThread() {
	while (true) {
		if (GetAsyncKeyState(VK_INSERT)) {
			HackActivated = !HackActivated;
		};
		Sleep(33.333);
	};
};

void Hack_Initialize() {
	MessageBox(NULL, "The cheats have loaded!\r\nHave fun!", "GooHax v1.0", MB_OK);
	while (true) {
		if ((GetModuleHandle("CShell.dll") != NULL) && (GetModuleHandle("ClientFX.fxd") != NULL)) {
			Sleep(50);
			DimensionX_Offset = 0xD4;
			DimensionY_Offset = 0xD8;
			DimensionZ_Offset = 0xDC;
			ModelNode_Offset = 0x17B93D4;
			CShell_MemoryBase = reinterpret_cast<MemoryData>(GetModuleHandle("CShell.dll"));
			PlayerHitbox_MemoryLocation = *(DWORD*)(CShell_MemoryBase + ModelNode_Offset);
			Sleep(50);
			CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_MainThread), NULL, 0, 0);
			CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_ToggleThread), NULL, 0, 0);
			break;
		}
		else {
			Sleep(50);
		};
	};
};

bool WINAPI DllMain(HMODULE HackDLL, DWORD ReasonForCall, LPVOID) {
	if (ReasonForCall == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_Initialize), NULL, 0, 0);
	};
	return true;
};
just copy my source code and fix it
Quote Originally Posted by iknowitsfake26 View Post
just copy my source code and fix it
I don't want to copy your source.. I just want help fix mine.. so I can say I am make hack ;(
Quote Originally Posted by Goocolax View Post
I don't want to copy your source.. I just want help fix mine.. so I can say I am make hack ;(
you just need to load client shell to make your base work

Do not forget to call this on your DllMain
Code:

void Hooks()
{
// put your Hack here 
// put your superkill here
}

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



void Engine()
{
	while (!IsGameReadyForHook())
	{
		Sleep(200);
	}
	while (true)
	{

		if (!ismsg)
		{
			DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
		//	ShowMessage("CHROME HACK STARTED \n BETA VERSION ",CShell);

		ismsg = true;
		}
	Hooks();
	}
}
....I follow everything you guys tell me, and I'm not copy+pasting like a dumb noob either. This refuses to work. Can anyone add me on IM and help???

add me on IM

My current code:
Code:
#include <Windows.h>

typedef unsigned long int MemoryData;

MemoryData PlayerModelNode_Offset = 0x17B93D4;

MemoryData DimensionX_Offset = 0xD4;
MemoryData DimensionY_Offset = 0xD8;
MemoryData DimensionZ_Offset = 0xDC;

MemoryData CShell_MemoryLocation = 0x0;
MemoryData PlayerModelNode_MemoryLocation = 0x0;

bool HackLoaded = false;
bool SuperKill_Activated = false;

void SetMemoryLocations() {
	CShell_MemoryLocation = reinterpret_cast<MemoryData>(GetModuleHandle("CShell.dll"));
	PlayerModelNode_MemoryLocation = *(MemoryData*)(CShell_MemoryLocation + PlayerModelNode_Offset);
};

void Initialize_SuperKill() {
	while (true) {
		if (HackLoaded) {
			if (SuperKill_Activated) {
				*(float*)(PlayerModelNode_MemoryLocation + DimensionX_Offset) = 175.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionY_Offset) = 175.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionZ_Offset) = 175.0f;
			}
			else {
				*(float*)(PlayerModelNode_MemoryLocation + DimensionX_Offset) = 18.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionY_Offset) = 18.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionZ_Offset) = 18.0f;
			};
		};
		Sleep(100);
	};
};

void Initialize_HotKeys() {
	while (true) {
		if (HackLoaded) {
			if (GetAsyncKeyState(VK_DELETE)) {
				SuperKill_Activated = !SuperKill_Activated;
			};
		};
		Sleep(33.333);
	};
};

void Hack_Initialize() {
	MessageBox(NULL, "The cheat has successfully injected.\r\nEnjoy!\r\n\r\nFeatures:\r\n  SuperKill (HK = Delete)", "CFH4X v1.0 - By Goocolax", MB_OK);
	while ((GetModuleHandle("CShell.dll") == NULL) || (GetModuleHandle("ClientFx.fxd") == NULL)) {
		Sleep(50);
	};
	Sleep(250);
	SetMemoryLocations();
	Initialize_SuperKill();
	Initialize_HotKeys();
	Sleep(50);
	HackLoaded = true;
};

bool WINAPI DllMain(HMODULE HackDLL, unsigned short int ReasonForCall, LPVOID) {
	if (ReasonForCall == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_Initialize), NULL, 0, 0);
	};
	return true;
};
Quote Originally Posted by Goocolax View Post
....I follow everything you guys tell me, and I'm not copy+pasting like a dumb noob either. This refuses to work. Can anyone add me on IM and help???

add me on IM

My current code:
Code:
#include <Windows.h>

typedef unsigned long int MemoryData;

MemoryData PlayerModelNode_Offset = 0x17B93D4;

MemoryData DimensionX_Offset = 0xD4;
MemoryData DimensionY_Offset = 0xD8;
MemoryData DimensionZ_Offset = 0xDC;

MemoryData CShell_MemoryLocation = 0x0;
MemoryData PlayerModelNode_MemoryLocation = 0x0;

bool HackLoaded = false;
bool SuperKill_Activated = false;

void SetMemoryLocations() {
	CShell_MemoryLocation = reinterpret_cast<MemoryData>(GetModuleHandle("CShell.dll"));
	PlayerModelNode_MemoryLocation = *(MemoryData*)(CShell_MemoryLocation + PlayerModelNode_Offset);
};

void Initialize_SuperKill() {
	while (true) {
		if (HackLoaded) {
			if (SuperKill_Activated) {
				*(float*)(PlayerModelNode_MemoryLocation + DimensionX_Offset) = 175.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionY_Offset) = 175.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionZ_Offset) = 175.0f;
			}
			else {
				*(float*)(PlayerModelNode_MemoryLocation + DimensionX_Offset) = 18.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionY_Offset) = 18.0f;
				*(float*)(PlayerModelNode_MemoryLocation + DimensionZ_Offset) = 18.0f;
			};
		};
		Sleep(100);
	};
};

void Initialize_HotKeys() {
	while (true) {
		if (HackLoaded) {
			if (GetAsyncKeyState(VK_DELETE)) {
				SuperKill_Activated = !SuperKill_Activated;
			};
		};
		Sleep(33.333);
	};
};

void Hack_Initialize() {
	MessageBox(NULL, "The cheat has successfully injected.\r\nEnjoy!\r\n\r\nFeatures:\r\n  SuperKill (HK = Delete)", "CFH4X v1.0 - By Goocolax", MB_OK);
	while ((GetModuleHandle("CShell.dll") == NULL) || (GetModuleHandle("ClientFx.fxd") == NULL)) {
		Sleep(50);
	};
	Sleep(250);
	SetMemoryLocations();
	Initialize_SuperKill();
	Initialize_HotKeys();
	Sleep(50);
	HackLoaded = true;
};

bool WINAPI DllMain(HMODULE HackDLL, unsigned short int ReasonForCall, LPVOID) {
	if (ReasonForCall == DLL_PROCESS_ATTACH) {
		CreateThread(NULL, 0, reinterpret_cast<PTHREAD_START_ROUTINE>(Hack_Initialize), NULL, 0, 0);
	};
	return true;
};
That's the way it is if you want to make it work (im not saying that, that's the only way). I got your point that you don't wanna copy paste a code, but you need that kind of hook to make it work. Anyways you're not a dumb noob right? So that'll makes you a pro. Go solve that yourself and share your UNIQUE code to us please, thank you in advance.
Quote Originally Posted by akbargain View Post
That's the way it is if you want to make it work (im not saying that, that's the only way). I got your point that you don't wanna copy paste a code, but you need that kind of hook to make it work. Anyways you're not a dumb noob right? So that'll makes you a pro. Go solve that yourself and share your UNIQUE code to us please, thank you in advance.
Clearly you have no understanding of coding, no offense.
Their code waits for CShell and ClientFX.
So does mine.
That solved the crashing issue.
There's a COMPLETELY SEPARATE issue now, of it doing NOTHING.
I actually doesn't understand anything so none taken.
Sorry for disturbing your thread. I helped you to up this tho.
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us