Results 1 to 15 of 34

Threaded View

  1. #1
    jonnyboy9985's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Canada :D
    Posts
    892
    Reputation
    -46
    Thanks
    66
    My Mood
    Chatty

    [HELP] Source code mess up?

    Ok... So basically, I was programming a hack, and when I built it, it said it was successful but when it came down to using it, I could only use the chams... Now I put FPS, speed, and hover in the hotkeys... Now I don't know if I am doing this correctly or not but this is what I did for say.. Number pad 3 hack for whatever

    Code:
    //I declared for speed the "bool speed = false" already as I will display later
    
    if(GetAsyncKeyState(VK_NUMPAD3)<0)
    	{
    		if(speed)
    		{
    			PushToConsole ("BaseMoveAccel 3000.000000");
    			PushToConsole ("StartAccel 500.000000");
    			PushToConsole ("MaxAccel 3000.000000");
    			PushToConsole ("AccelInc 6000.000000");
    			PushToConsole ("WalkVel 70.000000") ;
    			PushToConsole ("FRunVel 285.000000");
    			PushToConsole ("BRunVel 285.000000");
    			PushToConsole ("SRunVel 285.000000");
    			PushToConsole ("DuckVel 50.000000");
    			speed = 0;
    		}
    		else
    		{
    			PushToConsole ("BaseMoveAccel 3000.000000");
    			PushToConsole ("StartAccel 3000.000000");
    			PushToConsole ("MaxAccel 3000.000000");
    			PushToConsole ("AccelInc 3000.000000");
    			PushToConsole ("FRunVel 3000.000000");
    			PushToConsole ("BRunVel 3000.000000");
    			PushToConsole ("SRunVel 30000.000000");
    			PushToConsole ("DuckVel 3000.000000");
    			speed = 1;
    
    }
    and the start of my hack goes like this

    Code:
    void main()
    {
    while (!IsGameReadyForHook()){
    Sleep(20);
    }
    
    bool NxChams = false;
    bool Fps = false;
    bool speed = false;
    bool hover = false;
    while (true)
    then the code for my hacks :P I don't wanna FULLY release it but still... Could someone tell me where I went wrong? And PLEASE tell me if there is a better sleep timer
    Last edited by jonnyboy9985; 08-01-2010 at 06:30 PM.

Similar Threads

  1. [Help] Need Help (SOURCE CODE)
    By umbraga01 in forum WarRock Hack Source Code
    Replies: 4
    Last Post: 06-22-2011, 09:04 PM
  2. [HELP] Source Code Help
    By jonnyboy9985 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 08-12-2010, 06:14 PM
  3. Need Help please(about source codes)
    By Laws_Vegas in forum C++/C Programming
    Replies: 5
    Last Post: 02-11-2010, 06:08 PM
  4. Can anyone help me get combat arms source codes that arent patched?
    By nikith988 in forum General Game Hacking
    Replies: 2
    Last Post: 11-05-2009, 10:48 PM
  5. Help with source code! Easy fast scope bot!
    By Zoom in forum C++/C Programming
    Replies: 22
    Last Post: 08-21-2009, 09:06 PM