Unfortunately, this is wrong section, if you clicked the link above this section, it says "Coding Help & Discussion"
#include "stdafx.h"
#include <windows.h>
#define Engine 0x4A4830 //Replace 0x000 to Engine LTC
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 RCC = (RunConsoleCommand_t)Engine //EngineLTC;
RCC(szCommand);
}
Sleep(200);
}// bool myhack = false; (add your hacks )
bool FPS = false;
bool nxchams = false;
bool superbullet = false;
bool speed = false;
bool emo = false;
bool fire = false;
bool fly = false;
while(true)
{// set hot-key for hack......
if(GetAsyncKeyState(VK_NUMPAD1)<0)// FPS
if(FPS){
pRunConsoleCommand("ShowFPS 1");
FPS = true;
}else{
pRunConsoleCommand("ShowFPS 0");
FPS = false;
}
}
if(GetAsyncKeyState(VK_NUMPAD2)<0)// nxchams
if(nxchams){
pRunConsoleCommand("SkelModelStencil 0");
nxchams = false;
}else{
pRunConsoleCommand("SkelModelStencil 1");
nxchams = true;
}
if(GetAsyncKeyState(VK_NUMPAD3)<0)// superbullet
if(superbullet){
/ can edit this....//
superbullet = false;
}else{
switch(*(int*)0x3781886C){
case 1: // 1 = Ingame
memcpy((LPVOID)0x374AF296, "\x90\x90\x90", 3); // Super Bullets On
superbullet = true;
}
}
if(GetAsyncKeyState(VK_NUMPAD4)<0)//Speed
if(speed){
pRunConsoleCommand("WalkVel 1000.000000");
pRunConsoleCommand("FRunVel 1000.000000");
pRunConsoleCommand("BRunVel 1000.000000");
pRunConsoleCommand("SRunVel 1000.000000");
pRunConsoleCommand("DuckVel 1000.000000");
speed = false;
}else{
pRunConsoleCommand("WalkVel 70.000000");
pRunConsoleCommand("FRunVel 285.000000");
pRunConsoleCommand("BRunVel 285.000000");
pRunConsoleCommand("SRunVel 285.000000");
pRunConsoleCommand("DuckVel 50.000000");
speed = true;
}
}
DWORD WINAPI dwHackThread(LPVOID) {
while( !IsGameReadyForHook() )
Sleep(300);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
MessageBoxA( NULL, "Mr.Skafigther[Bro]Hoyt Key V.1|\n" "Mr.Skafigther[Bro]", "Mr.Skafigther[Bro]|||||", MB_YESNO| MB_ICONWARNING);
{ //You can edit the message above, please dont forget to give credit
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
ERROR IN BUILD > fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory < I HAVE SDK INSTALAD HELP PLZZZZ
This Metod dont work
This Engine LTC BR = 0x4A4830 Pacthed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Code:void __cdecl PushToConsole(char *szCommand) { typedef int (__cdecl* RunConsoleCommand_t)(char* cmd); RunConsoleCommand_t RCC = (RunConsoleCommand_t)Engine //EngineLTC; RCC(szCommand); }
Use this Address --> 0x00485DD0
Use this Metod:
Create a New Project Win32, not Mark Empty project because it will automatically create the stdafx.h.Code:void __cdecl Console(const char* Command) { DWORD __LTClient = 0x00485DD0; __asm { push Command call __LTClient add esp, 0x4 } }
================================================== ============================
Change:
TOCode:if(GetAsyncKeyState(VK_NUMPAD2)<0)// nxchams if(nxchams){ pRunConsoleCommand("SkelModelStencil 0"); nxchams = false; }else{ pRunConsoleCommand("SkelModelStencil 1"); nxchams = true; }
Code:if(GetAsyncKeyState(VK_NUMPAD2)<0)// nxchams if(nxchams){ Console("SkelModelStencil 0"); nxchams = false; }else{ Console("SkelModelStencil 1"); nxchams = true; }
Last edited by Alessandro10; 12-29-2010 at 03:46 AM.
guabraao10 (12-29-2010)
i have this is error now : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory udasuhdasud fuck seeplusplus
Last edited by guabraao10; 12-29-2010 at 05:31 AM.
Lol sorry to say this but Learn C++
Your including it like this "windows.h"
unless its in your folder or in the project that wont work
do this instead:
#incude <windows.h>
PS if your saying fuck c++ then stop making hacks, go watch tv or masturbate and stop trying to make stuff in a language you don't know.
Last edited by markoj; 12-29-2010 at 06:45 AM.
Dont ban me
This errors is very easy to fix...
guabraao10 (12-29-2010)
ou alessandro ja q vc e o unico legal aqui esses norths americanos idiotas eu nao sei eles vem fala merda... oq eu tenho q faze ? dsuadhsudhsa
@edit GTFO you monther in my room
GodHack2 (12-29-2010)