Thread: Getchar() Help

Results 1 to 9 of 9
  1. #1
    **HACKER**'s Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Outside Your House ;-0
    Posts
    645
    Reputation
    22
    Thanks
    228
    My Mood
    Yeehaw

    Getchar() Help

    Hey Guys/Girls Can Someone Please Help Me Using Getchar() In C++ Coding A Hack

    Can Someone Give Me An Example Of How To Use This When Making A Hack !


    Thanks In Advance

    **HACKER**

  2. #2
    wtfhaksftw's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    7
    My Mood
    Stressed
    i could help you. add me on msn hugomeier54@yahoo.de
    C++ Pro. Asm intermediate

  3. #3
    chriscasper's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Creeper No Creeping
    Posts
    945
    Reputation
    15
    Thanks
    73
    My Mood
    Sleepy
    im not sure. your supose to teach me /

  4. #4
    **HACKER**'s Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Outside Your House ;-0
    Posts
    645
    Reputation
    22
    Thanks
    228
    My Mood
    Yeehaw
    Quote Originally Posted by wtfhaksftw View Post
    i could help you. add me on msn hugomeier54@yahoo.de
    Ok Dude I Added You

  5. #5
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    Um what is the GetChar() function

    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

  6. #6
    MiNT's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    551
    Reputation
    266
    Thanks
    2,559
    My Mood
    Psychedelic
    get char, grabs the first char from the stdio buffer

    u can probably do this

    Code:
    char foo;
    
    
    foo = getchar();
    if(foo == 'C')  // capital C was pressed
    {
         //toggle hack
    }
    next time look at some documentation before you post -.-
    getchar - C++ Reference

  7. #7
    wtfhaksftw's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    108
    Reputation
    10
    Thanks
    7
    My Mood
    Stressed
    Ok im gonna help u 2morrow in case u still need help. i cant cuz its 12 oclock here and i gotta work 2morrow

  8. #8
    **HACKER**'s Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Outside Your House ;-0
    Posts
    645
    Reputation
    22
    Thanks
    228
    My Mood
    Yeehaw
    Thanks Man And I Tried Looking On Youtube And On C++ Tuts Obviously Didnt Look That Hard

    Ok


    Would This Work ?

    Code:
    char AmmoDamage ;
    
    AmmoDamage = getchar();
    if(AmmoDamage == 'F5') 
    {
    for(int i=0 ; i<445 ; i++)
    *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x002BC64C))+(4*i))) + 0x07F8) = FLT_MAX ; 
    }
    Last edited by **HACKER**; 03-14-2011 at 04:19 PM.

  9. #9
    NubKing's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    54
    Reputation
    10
    Thanks
    19
    My Mood
    Asleep
    it could why not try it and report any bug u get