Need to start on small hacks, so start on this
------------------------------------------------------
1)Make a .cpp item in c++
2) Put the following code
Code:
//By:Mr.Skafigther[Bro]
//Credit: Nubz
//Deadline
//YOU MUST UPDATE THIS HOTKEY FOR IT TO WORK :)
//////////////////////////////////////////////////
#include "stdafx.h"
#include <windows.h>
#define Engine 0x000 //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);
}
3)Lets to the Main
Code:
void main()
{
while(!IsGameReadyForHook()){
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){
//you 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;
}
}
Lastly put this code....
Code:
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;
}
Info: Need SDK 2010 June
For Working PTC method... on step one replace the old PTC method with this..
Code:
typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t); //get updates on LTC
---------------------------------------------
If dont know how to use c++, use steps bellow...
====================
Credits
Mr.Skafighter[Bro] (Base Make)
Alessandro10 (Instruction + helped)
SeePuls
Nubz