View Single Post
Old 09-25-2009, 05:40 AM   #1
prozgamer
Banned
 
prozgamer's Avatar
 
Last Online: 10-02-2009 09:20 AM
Join Date: Jul 2008
Posts: 333
Rep Power: 0
Rep Points: 15
prozgamer is on a distinguished road
Feedback: (0)
Points: 3,360.09
Bank: 5,536.54
Total Points: 8,896.63
Exclamation [Source]Crossfire Speed Hack

[Source] Crossfire Speed Hack Code:
#include <windows.h>
#include <stdio.h>

int Speedhack=0;

DWORD CShellBase = (DWORD) GetModuleHandle("cshell.dll");
DWORD SpeedHack = CShellBase + 0x5BE458;

void Speed()
{
while(1){
if(GetAsyncKeyState(VK_NUMPAD1)&1){
Speedhack++;
if(Speedhack > 2){Speedhack=1;};
}
if (Speedhack==1){ // Faster
*(DWORD*)(*(DWORD*)SpeedHack) = 0x46A29CE8;
*(DWORD*)((*(DWORD*)SpeedHack) + 0x20) = 0x46A29CE8;
}
if(Speedhack==2){ // Normal Speed Value
*(DWORD*)(*(DWORD*)SpeedHack) = 0x45938DF8;
*(DWORD*)((*(DWORD*)SpeedHack) + 0x20) = 0x45938DF8;
}
Sleep(100);
}
}

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Speed, NULL, NULL, NULL);
}
return TRUE;
}

Credits To Zackth14 And Me For Posting Here
Rep And Thanks
prozgamer is offline   Reply With Quote