Results 1 to 14 of 14
  1. #1
    cookie hack's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Everywhere
    Posts
    150
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed

    Exclamation Help on making hotkey hack (Noob Alert)

    I just got NX Chams in my hotkey hack. The NX Chams work completely. So i tried adding more hacks but they don't work whenever I turn them on. I can't figure out why. I know the ptc commands that I am using work because they worked on a different hack. Also there are no errors when building it.
    Here is the code for it. Thanks to msflames3 for giving me the hotkey source.

    Code:
    void main()
    {
    {
    bool nxchams = false;
    while(true)
    if(GetAsyncKeyState(VK_NUMPAD1)<0){
                if(nxchams){
                    PushToConsole("SkelModelStencil 0");
                    nxchams = false;
                } else {
                    PushToConsole("SkelModelStencil 1");
                    nxchams = true;
                }
    			Sleep(200); //to make sure
            }
    bool boxes = false;
    while(true)
    if(GetAsyncKeyState(VK_NUMPAD2)<0){
                if(boxes){
                    PushToConsole("ModelDebug_DrawBoxes 0");
                    boxes = false;
                } else {
                    PushToConsole("ModelDebug_DrawBoxes 1");
                    boxes = true;
                }
    			Sleep(200); //to make sure
    }        
    bool nospread = false;
    while(true)
    	if(GetAsyncKeyState(VK_NUMPAD3)<0){
    		if(nospread){
    			PushToConsole("PerturbRecoil 9.000000");
    			PushToConsole("PerturbRotationEffect 3.000000");
                PushToConsole("PerturbIncreaseSpeed 3.000000");
                PushToConsole("PerturbWalkPercent 9.000000");
                PushToConsole("PerturbFiringIncreaseSpeed 0.500000");
    			PushToConsole("FireMovePerturb 9.000000");
    			PushToConsole("ZoomedFireMoveDuckPerturb 9.000000");
    			PushToConsole("ZoomedFireMovePerturb  9.00000");
    			PushToConsole("ZoomedFireDuckPerturb 9.000000");
    			nospread = false;
    		} else {
    			PushToConsole("PerturbRecoil 0.000000");
    			PushToConsole("PerturbRotationEffect 0.000000");
    			PushToConsole("FireMovePerturb 0.000000");
    			PushToConsole("PerturbWalkPercent 0");
    			PushToConsole("PerturbDecreaseSpeed 0");
    			PushToConsole("PerturbIncreaseSpeed 0");
    			PushToConsole("PerturbFiringIncreaseSpeed 0.000000");
    			PushToConsole("ZoomedFireMoveDuckPerturb 0.000000");
    			PushToConsole("ZoomedFireMovePerturb 0.000000 ");
    			PushToConsole("ZoomedFireDuckPerturb 0.000000");
    			nospread = true;
    		}
    		Sleep(200);
    	}
    
    }
    }
    Last edited by cookie hack; 07-15-2010 at 04:04 AM.






  2. #2
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    789
    My Mood
    Lurking
    just start off with nx chams boxes and no spread without hotkeys...

  3. #3
    cookie hack's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Everywhere
    Posts
    150
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    I have the no spread, boxes, pickup, removals, show fps, and no fog on it right now.






  4. #4
    wassup40's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    I dont know help me
    Posts
    2,238
    Reputation
    28
    Thanks
    789
    My Mood
    Lurking
    is it working i think u might need new ltc if u using his base..

  5. #5
    cookie hack's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Everywhere
    Posts
    150
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    Everything is working that i know of. Some of the removals may be junk but everything else is tested and working.






  6. #6
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,014
    Reputation
    202
    Thanks
    2,934
    My Mood
    Twisted
    basically, under voided main, you want to bool nxchams false.. so its not on when u start.

    [php]bool nxchams = false;[/php]

    then under while(true), you want to state your code.. what to have it do if the hotkey isnt pressed.

    [php]if(GetAsyncKeyState(VK_NUMPAD0)<0){
    if(nxchams){
    PushToConsole("SkelModelStencil 0");
    nxchams = false;
    }
    }[/php]
    so we stated what false is. now to put what true is (after hotkey is pressed). after nxchams = false, put

    [php] } else {
    PushToConsole("SkelModelStencil 1");
    nxchams = true;
    [/php]
    so now we have

    [php]
    // ** ** //
    //CREDITS TO MSFLAMES3//
    // ** ** //
    void(FlamesBase){
    bool nxchams = false;
    while(true){
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
    if(nxchams){
    PushToConsole("SkelModelStencil 0");
    nxchams = false;
    } else {
    PushToConsole("SkelModelStencil 1");
    nxchams = true;
    }
    }
    Sleep(200) //to make sure
    }
    }[/php]

    be sure to give me credits.

    Current Works:
    ---Horror Game






    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  7. The Following 3 Users Say Thank You to CAFlames For This Useful Post:

    cookie hack (07-14-2010),Stelthkid (07-14-2010),UnOwN CoD3R (07-14-2010)

  8. #7
    UnOwN CoD3R's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Elmo's World!
    Posts
    296
    Reputation
    14
    Thanks
    371
    Quote Originally Posted by msflames3 View Post
    basically, under voided main, you want to bool nxchams false.. so its not on when u start.

    [php]bool nxchams = false;[/php]

    then under while(true), you want to state your code.. what to have it do if the hotkey isnt pressed.

    [php]if(GetAsyncKeyState(VK_NUMPAD0)<0){
    if(nxchams){
    PushToConsole("SkelModelStencil 0");
    nxchams = false;
    }
    }[/php]
    so we stated what false is. now to put what true is (after hotkey is pressed). after nxchams = false, put

    [php] } else {
    PushToConsole("SkelModelStencil 1");
    nxchams = true;
    [/php]
    so now we have

    [php]
    // ** ** //
    //CREDITS TO MSFLAMES3//
    // ** ** //
    void(FlamesBase){
    bool nxchams = false;
    while(true){
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
    if(nxchams){
    PushToConsole("SkelModelStencil 0");
    nxchams = false;
    } else {
    PushToConsole("SkelModelStencil 1");
    nxchams = true;
    }
    }
    Sleep(200) //to make sure
    }
    }[/php]

    be sure to give me credits.
    Good job flames !

  9. #8
    cookie hack's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Everywhere
    Posts
    150
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    Cool it worked but it won't turn off my hack if i press "numberpad 0" again. I could just add another hotkey to turn it off but you just helped me alot. Thanks.






  10. #9
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,014
    Reputation
    202
    Thanks
    2,934
    My Mood
    Twisted
    Quote Originally Posted by cookie hack View Post
    Cool it worked but it won't turn off my hack if i press "numberpad 0" again. I could just add another hotkey to turn it off but you just helped me alot. Thanks.
    It shud turn off to. Make sure everything is c and ped perfectly

    Current Works:
    ---Horror Game






    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  11. #10
    ^...,^'s Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    New Zealand,Auckland
    Posts
    699
    Reputation
    4
    Thanks
    89
    My Mood
    Lonely
    Quote Originally Posted by msflames3 View Post


    It shud turn off to. Make sure everything is c and ped perfectly
    and to make sure hack shield ur auto hacks get D/C And Patched Quicker

  12. #11
    cookie hack's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Everywhere
    Posts
    150
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    Yay i just forgot a little bit of code and now it works.






  13. #12
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,088
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    coding is NOT that hard people
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  14. #13
    Stelthkid's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    dont know
    Posts
    203
    Reputation
    10
    Thanks
    12
    My Mood
    Sneaky
    Quote Originally Posted by msflames3 View Post
    basically, under voided main, you want to bool nxchams false.. so its not on when u start.

    [php]bool nxchams = false;[/php]

    then under while(true), you want to state your code.. what to have it do if the hotkey isnt pressed.

    [php]if(GetAsyncKeyState(VK_NUMPAD0)<0){
    if(nxchams){
    PushToConsole("SkelModelStencil 0");
    nxchams = false;
    }
    }[/php]
    so we stated what false is. now to put what true is (after hotkey is pressed). after nxchams = false, put

    [php] } else {
    PushToConsole("SkelModelStencil 1");
    nxchams = true;
    [/php]
    so now we have

    [php]
    // ** ** //
    //CREDITS TO MSFLAMES3//
    // ** ** //
    void(FlamesBase){
    bool nxchams = false;
    while(true){
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
    if(nxchams){
    PushToConsole("SkelModelStencil 0");
    nxchams = false;
    } else {
    PushToConsole("SkelModelStencil 1");
    nxchams = true;
    }
    }
    Sleep(200) //to make sure
    }
    }[/php]

    be sure to give me credits.
    it was working then this happened after i added ur code

    nvm i figured out what it was
    the sleep was fkking it up now idk where to stick sleep

    fixed

    while(true)
    {
    if(GetAsyncKeyState(VK_NUMPAD0)<0){
    if(nxchams){
    PushToConsole("SkelModelStencil 0");
    nxchams = false;
    } else {
    PushToConsole("SkelModelStencil 1");
    nxchams = true;

    }
    Sleep(200); //to make sure
    }


    works perfectly now to make it not lagg
    Last edited by Stelthkid; 07-14-2010 at 06:59 PM.

    Help me raise my Habamon!


    Kills.....43781
    Deaths.....2124
    KDR.....20.61
    Streak.....113
    HS.....18391
    HS%.....40%
    GP.....93284




    Thank Me If I Helped.

  15. The Following User Says Thank You to Stelthkid For This Useful Post:

    cookie hack (07-15-2010)

  16. #14
    cookie hack's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Everywhere
    Posts
    150
    Reputation
    10
    Thanks
    11
    My Mood
    Relaxed
    Thanks stealth.






Similar Threads

  1. Help to make a hack
    By ash111 in forum WarRock Help
    Replies: 5
    Last Post: 02-27-2010, 05:28 PM
  2. Help me making warrock hack!
    By mizzer3 in forum C++/C Programming
    Replies: 4
    Last Post: 01-11-2010, 11:12 AM
  3. Who wants to come and help me make a hack?
    By Ragehax in forum Combat Arms Discussions
    Replies: 10
    Last Post: 09-17-2009, 07:58 PM
  4. Help me make a hack
    By Skullz in forum C++/C Programming
    Replies: 4
    Last Post: 07-28-2009, 04:22 AM
  5. Help on making a hack
    By karlvdl3 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 11-09-2008, 10:41 AM