Results 1 to 2 of 2
  1. #1
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,668
    My Mood
    Breezy

    Using underscore in a keybd_event makes your computer go retarded?

    I'm trying to create an underscore using keybd_event except instead of doing that, it creates hyphens and underscores over 1000 times (basically -_-_-_-_-_-_-_-___---__-_-_--_-- over and over, seriously) and I had to use:
    [php]keybd_event(&H10, 0, KEYEVENTF_KEYUP, 0) '&H10 = VK_SHIFT[/php]
    because after I stopped debugging there was some really strange thins going on and that is what I used to stop it.

    This is what I'm using to create an underscore:
    [php] keybd_event(&H10, 0, 0, 0) '&H10 = VK_SHIFT
    keybd_event(&HBD, 0, 0, 0) '&HBD = VK_HYPHEN or whatever you want to call it
    keybd_event(&HBD, 0, KEYEVENTF_KEYUP, 0)
    keybd_event(&H10, 0, KEYEVENTF_KEYUP, 0)[/php]

    Any ideas?

    EDIT - derp derp, solved. I didn't increment the i value!
    [php]Dim i as integer = 0
    While i < 10
    keybd_event(&H10, 0, 0, 0) '&H10 = VK_SHIFT
    keybd_event(&HBD, 0, 0, 0) '&HBD = VK_HYPHEN or whatever you want to call it
    keybd_event(&HBD, 0, KEYEVENTF_KEYUP, 0)
    keybd_event(&H10, 0, KEYEVENTF_KEYUP, 0)
    'Where is i + = 1?
    End While[/php]

    /request solved
    Last edited by master131; 12-19-2010 at 03:30 PM.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  2. #2
    Physcadelic's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Australia <3
    Posts
    4,450
    Reputation
    323
    Thanks
    828
    My Mood
    Breezy
    clap clap clap, hi5 for solving your own problems

    R.I.P a great GM




    Quote Originally Posted by Assalamu alaikum View Post
    what? maybe stop talk with riddles and with words i am not even know.