CoolHot-Key Base|Noob|*How to do it*

Posts 1–15 of 26 · Page 1 of 2
Hot-Key Base|Noob|*How to do it*
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
Cool! .. .... ... .. ..
Quote Originally Posted by Mr.Skafighter[Bro] View Post
Info: Need SDK 2010 June
why put it if not gona use it?
Quote Originally Posted by GodHack2 View Post
why put it if not gona use it?
Cause he is MRskat's brother so they dont know shit but copypaste
Quote Originally Posted by RagedYet View Post


Cause he is MRskat's brother so they dont know shit but copypaste
Oh Really? How About You? You Don't Know Shit But Flame And Also How You Know He Is My Bro Anyway His Not LOL I Think You Got The Wrong Person Hahaha.
Just to tell you now - this doesn't work .
Pretty sloppy/unorganized code right there. Just saying.
Hotkey base again? Thought these were long gone..
But what's the point of posting an "un-updated" base when there are 100s of them just like this.
Quote Originally Posted by RagedYet View Post


Cause he is MRskat's brother so they dont know shit but copypaste
Well I tell you skafighter did not learn c++ but he is smart. He knows what he is doing and learns a lot just by copy and paste

Skafighyer knows wat he is doing though...
Sorry if double posted iam using phone
Quote Originally Posted by UGodly View Post
Well I tell you skafighter did not learn c++ but he is smart. He knows what he is doing and learns a lot just by copy and paste

Skafighyer knows wat he is doing though...
Sorry if double posted iam using phone
you dont learn from copy and pasting.
You learn from looking at other code and seeing how it works and what it does. It doesnt have to be game specific.
Ive learnt lots from open source code, NOT by copy and pasting, but by taking the time to read it and find what it does properly
Quote Originally Posted by ac1d_buRn View Post


you dont learn from copy and pasting.
You learn from looking at other code and seeing how it works and what it does. It doesnt have to be game specific.
Ive learnt lots from open source code, NOT by copy and pasting, but by taking the time to read it and find what it does properly
I copy codes into my project. fix it. understand it
then change it to what I like.
but I mean copy, paste, compile.
if that is all you do I feel sorry for you. since I want to learn to get better at coding. some people just want to release hacks ... but Whats the point if you learned nothing/ do none of it yourself?
I'm afraid of c+p because of the errors c++ will yell at me for.
um yea... i tried testing it and i get error
1>base.cpp(79): error C3861: 'pRunConsoleCommand': identifier not found
Quote Originally Posted by RagedYet View Post


Cause he is MRskat's brother so they dont know shit but copypaste
DAM! YOUR BACK! JUST GTFO! YOU ARE SO ANNOYING! ALL YOU DO IS SPAM!
AND BOTH MRSKA AND HIS BRO ARE AMAZING CODERS, THEY JUST DON'T RELEASE STUFF!

Quote Originally Posted by UKnownError View Post
um yea... i tried testing it and i get error
1>base.cpp(79): error C3861: 'pRunConsoleCommand': identifier not found
xD figure it out...
Obviously it's noob proof...
Posts 1–15 of 26 · Page 1 of 2
This thread is closed for replies.

Tags for this Thread

None

Need help?