DebateFort - Where Warriors Come To Debate
RAGECRY - Funny, Amusing, Interesting, Trending & Viral Videos and Images
GameOrc - Free Flash Games Online

Thread: C# hotkey

Results 1 to 14 of 14
  1. #1
    Expert Member
    MPGH Member
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    745
    Reputation
    -59
    Thanks
    106
    My Mood
    Happy

    C# hotkey

    ok so i need to know how to copy text. (in Combat Arms) that i type and past it in a textbox.

    PLEASE HELP ME
    you will get credit

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  2. #2
    Sleeping/School, Respect It !
    Editor - Manager
    Newsforce
    Contributor
    Donator
    Minionforce
    Cocksucker
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Hidden from your eyes
    Posts
    7,674
    Reputation
    619
    Thanks
    14,230
    My Mood
    Angelic
    Quote Originally Posted by speedforyou View Post
    ok so i need to know how to copy text. (in Combat Arms) that i type and past it in a textbox.

    PLEASE HELP ME
    you will get credit
    So, you want to make a key logger ?
    God bless you...

    Why don't you try to use memory reading to find that?
    I am almost sure that the game have some sort of memory dump for the chat.

    YouTube
    Twitter
    Facebook



    Contact Me - MPGH
    [VM] [PM]



    My Junior
    Jorndel Jr.


    Feel free to Donate
     
    Contributor 01.27.2012 - Current
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - Current
    Minion 01-10-2013 - Current
    Former Staff 09-20-2012 - 01-10-2013
    Cocksucker 20-04-2013 - Current

  3. #3
    Threadstarter
    Expert Member
    MPGH Member
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    745
    Reputation
    -59
    Thanks
    106
    My Mood
    Happy
    No I want the hotkey code for. Copy and paste what I type in chat to a textbox. Like a ingame cbl checker. I would never put keylogger in a program

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  4. #4
    Expert Member
    MPGH Member
    Pingo's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    657
    Reputation
    24
    Thanks
    700
    My Mood
    Blah
    Have you tried reading the memory address and outputting it to the textbox.

  5. #5
    Threadstarter
    Expert Member
    MPGH Member
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    745
    Reputation
    -59
    Thanks
    106
    My Mood
    Happy
    Quote Originally Posted by Pingo View Post
    Have you tried reading the memory address and outputting it to the textbox.
    sorry, i am currentaly learning C# and VB.net so no how would i do that?

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  6. #6
    Expert Member
    MPGH Member
    Pingo's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    657
    Reputation
    24
    Thanks
    700
    My Mood
    Blah
    You would benefit from learning how to read/write memory.
    Have a look around this forum for a memory class to get you started.

    Doesn't CA have memory protection? You might end up banning yourself.
    Search this site or google for something related to CA chat thats external. I dont want you getting yourself banned for something iv told you to do.

  7. #7
    Threadstarter
    Expert Member
    MPGH Member
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    745
    Reputation
    -59
    Thanks
    106
    My Mood
    Happy
    Quote Originally Posted by Pingo View Post
    You would benefit from learning how to read/write memory.
    Have a look around this forum for a memory class to get you started.

    Doesn't CA have memory protection? You might end up banning yourself.
    Search this site or google for something related to CA chat thats external. I dont want you getting yourself banned for something iv told you to do.


    so i open chat in combat arms(enter) and i type the player i want to check.

    see but all i need is a hotkey(f6 or f7)
    to copy the text(username)
    in the backround paste into textbox. how would i do this?

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  8. #8
    Tell the truth and fear no one.
    Newsforce
    Minion+
    Contributor
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Ontario, Canada
    Posts
    4,682
    Reputation
    491
    Thanks
    6,090
    My Mood
    Sad
    Player names are stored in a specific class for Combat Arms.

    You would have to reverse it and then read the data from there.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.
     
     
    VM | PM | MSN


    Coding Hacks For Combat Arms, District 187 & Arctic Combat

    Previously known as Comando2056
    Minion+ Since 04.18.2013
    District 187 Minion Since 04.04.2013
    Steam Minion Since 02.26.2013
    WarRock Minion Since 02.19.2013
    A.V.A Minion Since 02.13.2013
    DayZ Minion Since 01.21.2013
    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010

  9. #9
    Threadstarter
    Expert Member
    MPGH Member
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    745
    Reputation
    -59
    Thanks
    106
    My Mood
    Happy
    Quote Originally Posted by comando2056 View Post
    Player names are stored in a specific class for Combat Arms.

    You would have to reverse it and then read the data from there.
    no. like i did here: http://www.mpgh.net/forum/292-combat...l-checker.html
    i want the ctrl+A and ctrl+c in the in a hotkey.

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  10. #10
    MPGH Member
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    1,686
    Reputation
    116
    Thanks
    1,695
    My Mood
    Cool
    Quote Originally Posted by speedforyou View Post
    No I want the hotkey code for. Copy and paste what I type in chat to a textbox. Like a ingame cbl checker. I would never put keylogger in a program
    Namesmape: system.Runtime.InteropServices;
    Code:
    [DLLImport("User32.DLL")]
    public static int GetAsyncKeyState(int Vkey);
    in the checking section:
    Code:
    for (int i = 0; i < 255; i++)
    {
        if (GetAsyncKeyState(i) < 0)   //Log Key, ASCII code is = i
    }
    if you want to press a key:

    Method 1:
    Code:
    SendKeys.Send(i);   // i can be ASCII code, or Keys.(AnyKey) like Keys.F1
    method 2:
    Code:
    [DLLImport("User32.DLL")]
    public static void Keybd_event(...)
    I forgotten the parameters, search in google...



    GetAsyncKeyState can send back theese values:
    -32756 +- 1000 use (... < 0) = The key is currently pressed
    0 = The key is currently NOT pressed
    1 = The key was pressed after the previous checking
    Last edited by rabir007; 06-05-2012 at 11:59 PM.

  11. #11
    Threadstarter
    Expert Member
    MPGH Member
    speedforyou's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    745
    Reputation
    -59
    Thanks
    106
    My Mood
    Happy
    Quote Originally Posted by rabir007 View Post


    Namesmape: system.Runtime.InteropServices;
    Code:
    [DLLImport("User32.DLL")]
    public static int GetAsyncKeyState(int Vkey);
    in the checking section:
    Code:
    for (int i = 0; i < 255; i++)
    {
        if (GetAsyncKeyState(i) < 0)   //Log Key, ASCII code is = i
    }
    if you want to press a key:

    Method 1:
    Code:
    SendKeys.Send(i);   // i can be ASCII code, or Keys.(AnyKey) like Keys.F1
    method 2:
    Code:
    [DLLImport("User32.DLL")]
    public static void Keybd_event(...)
    I forgotten the parameters, search in google...



    GetAsyncKeyState can send back theese values:
    -32756 +- 1000 use (... < 0) = The key is currently pressed
    0 = The key is currently NOT pressed
    1 = The key was pressed after the previous checking
    thanks bro. /solved


    /req close

    steel o-o's sig =
    = Done , = Not Done

    Leecher 0 =
    Newbie 25 =
    Member 50 =
    Advanced Member 100 =
    H4X0R Member 150 =
    Dual-Keyboard Member 250 =
    Expert Member 500 =
    's Trainer 750 =
    MPGH Expert 1000 =
    Synthetic Hacker 1250 =
    Blackhat Hacker 1500 =
    Whitehat Hacker 2000 =
    's Guardian 2500 =
    Upcoming MPGHiean 3000 =
    MPGH Addict 3500 =
    MPGHiean 4000 =
    MPGH Knight 4500 =
    MPGH Lord 5000 =
    MPGH Champion 5500 =
    MPGH King 6000 =
    MPGH Legend 6500 =
    MPGH God 7000 =
    MPGH God II 7500 =
    MPGH God III 8000 =
    MPGH God IV 8500 =
    MPGH God V 9000 =
    Arun's Slave 9500 =
    Dave's Slave 10000 =

  12. The Following User Says Thank You to speedforyou For This Useful Post:

    rabir007 (06-06-2012)

  13. #12
    MPGH Member
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    1,686
    Reputation
    116
    Thanks
    1,695
    My Mood
    Cool
    Quote Originally Posted by speedforyou View Post


    thanks bro. /solved


    /req close
    No Prob...

  14. #13
    Member
    MPGH Member
    lannyboy's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    102
    Reputation
    10
    Thanks
    359
    very quick one, put this into your winform. say you want it F1 key to be triggled.

    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
    {
    if (keyData == Keys.F1)
    {
    // put in your code
    return true;
    }
    return base.ProcessCmdKey(ref msg, keyData);
    }

  15. #14
    MPGH Member
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    1,686
    Reputation
    116
    Thanks
    1,695
    My Mood
    Cool
    Quote Originally Posted by lannyboy View Post
    very quick one, put this into your winform. say you want it F1 key to be triggled.

    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
    {
    if (keyData == Keys.F1)
    {
    // put in your code
    return true;
    }
    return base.ProcessCmdKey(ref msg, keyData);
    }
    This only work, if you focused on the program, but he need texts from combat arms, so he wont being focused on his program....

Similar Threads

  1. vb hotkeys
    By cjg333 in forum General Game Hacking
    Replies: 7
    Last Post: 07-23-2008, 01:08 PM
  2. Hotkeys in C++
    By Dave84311 in forum C++/C Programming
    Replies: 7
    Last Post: 09-07-2007, 07:13 AM
  3. My hack release hotkey v1
    By purenoob134 in forum WarRock - International Hacks
    Replies: 23
    Last Post: 07-13-2007, 07:56 PM
  4. Hotkeys for a VB trainer
    By scooby107 in forum Visual Basic Programming
    Replies: 10
    Last Post: 07-03-2007, 12:43 PM
  5. [Tutorial] How To Mack HotKeys On VB
    By TheRedEye in forum WarRock - International Hacks
    Replies: 32
    Last Post: 06-23-2007, 10:24 PM