Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    silentkoga's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Thats Classified by Order of the Secret Service
    Posts
    46
    Reputation
    10
    Thanks
    4
    My Mood
    Bored

    Help, Cannot get hax to work ingame

    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 List
    Achieved[]

    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[]
    Quote Originally Posted by markoj View Post
    I bought a book on sex but I still don't get any


  2. #2
    GodHack2's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    644
    Reputation
    38
    Thanks
    762
    My Mood
    Amused
    Mr. Skafighter[Bro] is a complete noob

    don't want to flame you for using his source





    beat this bitches ^^^^^^^

    Current Stats : Bored :/


    Respect list :
    Crash !
    Gordon'
    Markoj

  3. The Following User Says Thank You to GodHack2 For This Useful Post:

    markoj (12-17-2010)

  4. #3
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    OMG Lets divert all our attention and help this one noob out of the other 2 hundred we ignored!

  5. #4
    CoderDream's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    5
    My Mood
    Aggressive
    change this.
    Code:
     
    void __cdecl PushToConsole(char *szCommand) 
    { 
       typedef int (__cdecl* RunConsoleCommand_t)(char* cmd);
    RunConsoleCommand_t pRunConsoleCommand = (RunConsoleCommand_t); //get updates on LTC
    }
    to

    Code:
     
    void __cdecl WhyTheFuckYouUsingThis(char *szCommand) 
    { 
       typedef int (__cdecl* WTF_t)(char* cmd);
    WTF_t SENDTHESHIT = (WTF_t); //get updates on LTC
    }

  6. #5
    silentkoga's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Thats Classified by Order of the Secret Service
    Posts
    46
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    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 List
    Achieved[]

    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[]
    Quote Originally Posted by markoj View Post
    I bought a book on sex but I still don't get any


  7. #6
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Quote Originally Posted by silentkoga View Post
    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
    1.Learn c++.
    2.Look at the 1.1 Million other threads that are similar to this one.
    3.If you want help. Don't go posting source code that is shit?
    4.Maybe asking for help to make the code?

    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

  8. #7
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    What are these "Hax" which you speak of
    Dont ban me

  9. The Following User Says Thank You to markoj For This Useful Post:

    Stephen (12-17-2010)

  10. #8
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,704
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    You don't have any address in your console pushing method , why?

  11. #9
    NakedWildOn's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    Under the rainbow
    Posts
    128
    Reputation
    10
    Thanks
    3
    My Mood
    Devilish
    whoaaaaaaaaaaa
    Boombox Can change the World


  12. #10
    Xlilzoosk8rX's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    the-ville, PA
    Posts
    358
    Reputation
    24
    Thanks
    53
    maybe if you actually had addresses and or offsets this might actually work XD

  13. #11
    silentkoga's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Thats Classified by Order of the Secret Service
    Posts
    46
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    Quote Originally Posted by Xlilzoosk8rX View Post
    maybe if you actually had addresses and or offsets this might actually work XD
    What and where do i put it at? Im confused...
    To do List
    Achieved[]

    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[]
    Quote Originally Posted by markoj View Post
    I bought a book on sex but I still don't get any


  14. #12
    Fabolous's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    192.168.1.01
    Posts
    2,704
    Reputation
    261
    Thanks
    682
    My Mood
    Paranoid
    Quote Originally Posted by silentkoga View Post
    What and where do i put it at? Im confused...
    I think coding is a bad idea for you. Try learning C++ from a book or something because you wont understand or get far with this.

  15. #13
    Departure's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    805
    Reputation
    125
    Thanks
    1,794
    My Mood
    Doh
    @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.

  16. The Following User Says Thank You to Departure For This Useful Post:

    silentkoga (12-18-2010)

  17. #14
    GodHack2's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    644
    Reputation
    38
    Thanks
    762
    My Mood
    Amused
    Quote Originally Posted by Departure View Post
    @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.
    or u can use classes to call p*** less lags,no d3d hooks needed better





    beat this bitches ^^^^^^^

    Current Stats : Bored :/


    Respect list :
    Crash !
    Gordon'
    Markoj

  18. #15
    silentkoga's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Thats Classified by Order of the Secret Service
    Posts
    46
    Reputation
    10
    Thanks
    4
    My Mood
    Bored
    Quote Originally Posted by Departure View Post
    @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.
    The only problem is i cant figure out what and where to put in the code... i have the addresses, but i dont know how exactly to hook it..... if you could pm me with some help or post on here that would be great. Thanks.
    To do List
    Achieved[]

    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[]
    Quote Originally Posted by markoj View Post
    I bought a book on sex but I still don't get any


Page 1 of 2 12 LastLast