Mr. Skafighter[Bro] is a complete noob
don't want to flame you for using his source
This is the code i used
Credit: Nubz
Code:// Koga CA.cpp : Defines the exported functions for the DLL application. // //Credit: Nubz //Deadline //YOU MUST UPDATE THIS HOTKEY FOR IT TO WORK :) ////////////////////////////////////////////////// #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 pRunConsoleCommand = (RunConsoleCommand_t); //get updates on LTC } 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)// 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; } } if(GetAsyncKeyState(VK_NUMPAD4)<0// PlayerToSpy if(PlayerToSpy){ pRunConsoleCommand("PlayerToSpy 0"); playertospy = False; }else{ pRunConsoleCommand("PlayerToSpy 1"); PlayerToSpy = 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; }
Last edited by silentkoga; 12-17-2010 at 07:43 AM.
To do ListAchieved[]
Still to do[]25 posts[]50 posts[]150 posts[]300 posts[]500 posts[]1000 posts[]Kill a GM in a GM event[]Make my own injector[]Make a hotkey hack[]Make a menu hack[]Get an unbelievable legit[]Get an unbelievable+ legit[]Get banned for hacking[]Get banned for playing legit[]Get kicked for hacking[]Get kicked for playing legit[]Get you to read this list[]
markoj (12-17-2010)
OMG Lets divert all our attention and help this one noob out of the other 2 hundred we ignored!
change this.
toCode:void __cdecl PushToConsole(char *szCommand) { typedef int (__cdecl* RunConsoleCommand_t)(char* cmd); RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t); //get updates on LTC }
Code:void __cdecl WhyTheFuckYouUsingThis(char *szCommand) { typedef int (__cdecl* WTF_t)(char* cmd); WTF_t SENDTHESHIT = (WTF_t); //get updates on LTC }
Seriously guys, what is wrong with the code.... and don't flame me... i have absolutely no idea what is wrong... it will inject... but the actual hotkey hack will not show up in game.... when i press the button for nx chams, nothing shows up
To do ListAchieved[]
Still to do[]25 posts[]50 posts[]150 posts[]300 posts[]500 posts[]1000 posts[]Kill a GM in a GM event[]Make my own injector[]Make a hotkey hack[]Make a menu hack[]Get an unbelievable legit[]Get an unbelievable+ legit[]Get banned for hacking[]Get banned for playing legit[]Get kicked for hacking[]Get kicked for playing legit[]Get you to read this list[]
Member since September 25, 2010
Current Objectives:
- Graduate college with a degree in Computer Science
- Find a decent job in the Computer Science Field
- Learn more programming languages
Looking for Elo Boosting Job - League of Legends
Looking for Bronze -> Gold Jobs
Skype: whatthedream
What are these "Hax" which you speak of
Dont ban me
Stephen (12-17-2010)
You don't have any address in your console pushing method , why?
whoaaaaaaaaaaa
Boombox Can change the World
maybe if you actually had addresses and or offsets this might actually work XD
To do ListAchieved[]
Still to do[]25 posts[]50 posts[]150 posts[]300 posts[]500 posts[]1000 posts[]Kill a GM in a GM event[]Make my own injector[]Make a hotkey hack[]Make a menu hack[]Get an unbelievable legit[]Get an unbelievable+ legit[]Get banned for hacking[]Get banned for playing legit[]Get kicked for hacking[]Get kicked for playing legit[]Get you to read this list[]
@silentkoga
If thats the complete code you must realize depending on the PushToConsole Method you use(the address) they wont work unless you call it from D3d9 Function, which means you will need to hook one of the functions, for straight out hook your best bet is "Present" as EndScene and DIP seem to be detected. Or if you really need to run these in your own thread you will need modify the original PushToConsole method and fake where this call is coming from.
I suggest reading some other topics here which talk about this....
P.s
It seems to be a common practice here that retards post useless crap to others asking questions, So take no notice of what they say and keep researching you will eventually find what you need.
silentkoga (12-18-2010)
To do ListAchieved[]
Still to do[]25 posts[]50 posts[]150 posts[]300 posts[]500 posts[]1000 posts[]Kill a GM in a GM event[]Make my own injector[]Make a hotkey hack[]Make a menu hack[]Get an unbelievable legit[]Get an unbelievable+ legit[]Get banned for hacking[]Get banned for playing legit[]Get kicked for hacking[]Get kicked for playing legit[]Get you to read this list[]