Results 1 to 10 of 10
  1. #1
    aanthonyz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Hitler's Minivan
    Posts
    483
    Reputation
    27
    Thanks
    83
    My Mood
    Relaxed

    Simulating Keypresses in game

    Ok so I have not programmed any sort of hacks in more than 6 months and now that I just got back into it im trying to make a simple bot for Perfect World. It wasnt anything big just a chat spammer but the problem that I came across was that nothing that I wrote would work. I used SendInput, PostMessage and nothing not a single character showed up. Thinking it may be the game I decided to try it with Vindictus and the same problem occurred. To make sure that it wasnt both games, I downloaded Macro Maker and it works perfectly fine. Now that im trying to recreate my own bot, nothing seems to work. Any help?
    "The best way to predict your future is to create it."

    Contributions I made:

    DirectX E-Books
    Hacking Tools
    Hacking into a PC

    Need Help?
    Send me a PM, or send me a email at : aanthonyz10@gmail.com

    Click My Dragon:


  2. #2
    AeroMan's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Hell
    Posts
    3,294
    Reputation
    189
    Thanks
    3,049
    My Mood
    Busy
    You could try to push your text to the engine itself :O

  3. #3
    aanthonyz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Hitler's Minivan
    Posts
    483
    Reputation
    27
    Thanks
    83
    My Mood
    Relaxed
    You mean by DLL Injection right? I just got a new computer and its a x64, I searched up Microsoft Detours and apparently you need the Pro version to work with x64, what are my alternatives?
    "The best way to predict your future is to create it."

    Contributions I made:

    DirectX E-Books
    Hacking Tools
    Hacking into a PC

    Need Help?
    Send me a PM, or send me a email at : aanthonyz10@gmail.com

    Click My Dragon:


  4. #4
    aanthonyz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Hitler's Minivan
    Posts
    483
    Reputation
    27
    Thanks
    83
    My Mood
    Relaxed
    Bump? Any help please? Oh I dont think I clarified this part but this is going to be injected into the game, its not a stand alone application
    "The best way to predict your future is to create it."

    Contributions I made:

    DirectX E-Books
    Hacking Tools
    Hacking into a PC

    Need Help?
    Send me a PM, or send me a email at : aanthonyz10@gmail.com

    Click My Dragon:


  5. #5
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    The application you target is 32 bit, so you can still use 32 bit MS Detours.
    Alternatively you can try keybd_event, which is deprecated but should still work fine.
    Ah we-a blaze the fyah, make it bun dem!

  6. The Following User Says Thank You to Hell_Demon For This Useful Post:

    'Bruno (06-04-2013)

  7. #6
    aanthonyz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Hitler's Minivan
    Posts
    483
    Reputation
    27
    Thanks
    83
    My Mood
    Relaxed
    keybd_event doesn't work i have tried that along with PostMessage,Sendkey, etc...
    "The best way to predict your future is to create it."

    Contributions I made:

    DirectX E-Books
    Hacking Tools
    Hacking into a PC

    Need Help?
    Send me a PM, or send me a email at : aanthonyz10@gmail.com

    Click My Dragon:


  8. #7
    atom0s's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    403
    Reputation
    139
    Thanks
    104
    Try hooking DirectInput and inject your own data into the keyboard buffer. (That is, if they use DirectInput.)
    - Gone; this is another shit forum with children as administrators. Not worth contributing to.

  9. #8
    WhiteHat PH's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Some Where I Belong
    Posts
    1,350
    Reputation
    25
    Thanks
    3,100
    My Mood
    Aggressive
    Key event.... or visual basic...






    When Im gone dont forget me cause I will come back someday.



    Youtube Channel


     


  10. #9
    aanthonyz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Hitler's Minivan
    Posts
    483
    Reputation
    27
    Thanks
    83
    My Mood
    Relaxed
    Thanks I got it working.
    "The best way to predict your future is to create it."

    Contributions I made:

    DirectX E-Books
    Hacking Tools
    Hacking into a PC

    Need Help?
    Send me a PM, or send me a email at : aanthonyz10@gmail.com

    Click My Dragon:


  11. #10
    ARGB's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    9
    My Mood
    Dead
    use DirectInput

Similar Threads

  1. A flying simulation game
    By Matt1243 in forum General
    Replies: 16
    Last Post: 04-09-2009, 08:03 AM
  2. games that suck
    By gothgod in forum General Game Hacking
    Replies: 50
    Last Post: 07-09-2006, 06:41 PM
  3. frag/game music video's
    By kyo in forum General
    Replies: 12
    Last Post: 06-20-2006, 08:55 AM
  4. Connection About for Annomalation in Game
    By asdasd in forum WarRock - International Hacks
    Replies: 7
    Last Post: 12-30-2005, 08:17 PM
  5. What type of games
    By djraziel127 in forum General Game Hacking
    Replies: 11
    Last Post: 12-30-2005, 03:22 PM