Results 1 to 11 of 11
  1. #1
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed

    A useful Snippet you kiddos can use. POST yours here to!!

    These are some codes that you "might" find useful to use in your hacks!

    Random Number Picking:
    This can be used to pick random speeds for speedhacks / rgb colors for chams /or almost anything!

    Code:
    #include <windows.h> 
    #include <stdio.h> 
    #include <iostream>
    #include "time.h"
    
    using namespace std;
    
    int RandomNumber,Hotkey;
    
    int main()
    {
        srand(time(NULL));
        RandomNumber = (int)(rand()%100);
        cout << "RandomNumber: " << RandomNumber << endl;
    }
    Here is another example off of a website that Music_King posted:
    Code:
    /* srand example */
    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    
    int main ()
    {
      printf ("First number: %d\n", rand() % 100);
      srand ( time(NULL) );
      printf ("Random number: %d\n", rand() % 100);
      srand ( 1 );
      printf ("Again the first number: %d\n", rand() %100);
    
      return 0;
    }
    Code:
    Output:
    
    First number: 41
    Random number: 13
    Again the first number: 41
    Code:
    RandomNumber = (int)(rand()%100);
    Saying Random Number from 1 - 100.

    Like For maybe chams
    Code:
    (A,R,G,B)
    (rand()%255,rand()%255,rand()%255,rand()%255);
    Something like that.

    for SpeedHack... lol maybe
    Code:
    SpeedHackNumber = (int)(rand()%100);
    Code:
    if(speedhack)
    {
        *(float*) Speed_Address  =  SpeedHackNumber * 5;
    }
    *SpeedHackNumber * 5 -> Means The random speedhacknumber multiplied by 5.
    *Just an example

    May have errors, Fix them and have fun.
    Besides if this is going to be used in your hack you don't need the random project that i just wrote up

    All for now.. I had more in my mind but I forgot! ok haha bye!
    I'm bored and having fun Thanks and comment with your snippets hehe
    Last edited by Nubzgetkillz; 03-10-2011 at 09:28 PM.

    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

  2. #2
    Swiftdude's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Illinois.
    Posts
    12,572
    Reputation
    1130
    Thanks
    2,995
    My Mood
    Cynical
    lol i dont find these very useful
    Still love you Giggletron

  3. #3
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Quote Originally Posted by Swiftdude View Post
    lol i dont find these very useful
    Because you don't have chams or speedhack in your hack duh!

    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

  4. #4
    jhefrey's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    292
    Reputation
    11
    Thanks
    84
    My Mood
    Amused
    Quote Originally Posted by Nubzgetkillz View Post
    Because you don't have chams or speedhack in your hack duh!
    ~sir `please dont be boastful enough sir
    Press Thanks If I Helped You




  5. #5
    Gab's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,716
    Reputation
    1755
    Thanks
    1,543
    I don't get why that's useful

  6. #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 xXModz View Post
    I don't get why that's useful
    sigh.
    you can choose random rgb colors like 1-255 or like for speed hacks..

    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

  7. #7
    Gyurin's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    \Wrong Section
    Posts
    588
    Reputation
    -54
    Thanks
    59
    My Mood
    Innocent
    Sorry i Can't Help u

  8. The Following User Says Thank You to Gyurin For This Useful Post:

    Narcotic (03-19-2011)

  9. #8
    vayerman's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    •♣☺☻♠☺♠☺☻♥•8○♦♣☺♠
    Posts
    476
    Reputation
    7
    Thanks
    101
    My Mood
    Aggressive
    Are you too boastful For this thread try Making Hacks
    [IMG]https://i247.photobucke*****m/albums/gg124/Nickshorty/Renders/snakeandthefoxrendercopy.png[/IMG]

  10. #9
    NubKing's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    54
    Reputation
    10
    Thanks
    19
    My Mood
    Asleep
    I will say 3 things hints

    1.
    Code:
    Midfuntion....
    2.
    Code:
    Get the Device right of the Stuck// === ..u.......t h......k
    3.
    Code:
    hidmoudle



  11. #10
    gulley's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    UK
    Posts
    96
    Reputation
    7
    Thanks
    4
    My Mood
    Relaxed
    Why would you put Speed hack in a public hack anyway?

    That is just pointless that is why Z8Games/or Any-other gaming website patches most hacks.

  12. #11
    Dakota's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Posts
    8,332
    Reputation
    648
    Thanks
    1,680
    I was pretty sure that chams were perma patched but I guess not