Crossfire base revamped
Well, since I have received some pm's on posting a less laggy version of -[I]fLuX's mini-base, I decided to post it. This was just a quick revamp, nothing special.
I haven't tested this for a while, I have no idea if crossfire updated and detected this at all. I have not compared the original version with this to see the difference in framerate, that's up to you. Address may not be up to date, update it if you need to. This base can be used for really anything if you customize it enough, not just wallhack.
Credits-
WTF
-[I]fLuX
Shadow
Code:
#include <Windows.h>
#include <fstream>
//Addresses
#define Wallhack 0x6D29F4
//Globals
bool bWallhack;
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
void HackThread()
{
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
bWallhack = !bWallhack;
if(bWallhack)
{
memcpy((VOID*)0x6D29F4, "\x00\x00\x00\x00\x00\x00", 6);
} else {
memcpy((VOID*)0x6D29F4, "\x01\x01\x01\x01\x01\x01", 6);
}
}
Sleep(100);
}
}
void Hook(HINSTANCE hDLL)
{
HMODULE CShell = 0;
while (!CShell)
{
CShell = GetModuleHandleA("CShell.dll");
HackThread();
}
}
BOOL WINAPI DllMain(HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
{
if (dwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hDll);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hook, hDll, NULL, NULL);
}
return TRUE;
}
Credits-
WTF
-[I]fLuX
Shadow


![=]](/forum/images/emotions/=].gif)
