[php]
/*
lykeNOlimit BASE by dadum01
VERSION 0.5a
DO NOT LEACH
*/
#include <windows.h>
bool fps; //this means true or false
#define fpsbutton GetAsyncKeyState(VK_INSERT) //keyboard key insert
void __cdecl PushToConsole( const char* Command )
{
//lt client is 0x377CC790
DWORD *Client = ( DWORD* )( 0x377CC790 );
void* dadum01hackscall = ( void* )*( DWORD* )( *Client + 0x208 );
__asm
{
push Command;
call dadum01hackscall;
add esp, 4;
}
}
//To detect when to activate the dll..when injected
bool IsGameReadyForHook() {
if( GetModuleHandleA("d3d9.dll") != NULL && GetModuleHandleA("ClientFX.fxd") != NULL && GetModuleHandleA("CShell.dll") != NULL )
return true;
return false;
}
//cheats go here
void main() {
//while to keep it running
while(true) {
if(fpsbutton&1){
//Frames Per Second
if(fps==true){
PushToConsole("ShowFps 0" );
fps=false;
} else {
PushToConsole("ShowFps 1" );
fps=true;
}
} else {
Sleep(100);
}
}
}
void defualthacks(){
//always on
PushToConsole("SkelModelStencil -1" ); //nx chams
}
//run hacks
DWORD WINAPI boothack(LPVOID) {
while(!IsGameReadyForHook()) {
Sleep(100);
}
while(IsGameReadyForHook()) {
defualthacks();
main();
//opk();
return 0;
}
}
//the hook
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) {
if(dwReason == DLL_PROCESS_ATTACH) {
MessageBoxA(NULL, "lykeNOlimit v0.5a by Dadum01", "Credits", MB_OK);
CreateThread(NULL, NULL, boothack, NULL, NULL, NULL);
}
return TRUE;
}[/php]
DO NOT LEACH