• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 4 of 4
    1. #1
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      kaz's Avatar
      Join Date
      Apr 2013
      Posts
      166
      Thanks (-->)
      41
      Thanks (<--)
      48

      [question]Console text to other program text

      Silent VPN
      Let's say I made a random text generator and I can get it to print into the console fine.
      Now I have to get it to send the text or fake type the text to the chat box.

      My code kind of looks like this right now

      ------------

      const char* first[3] ={
      "bob", "chance", "philip"};

      const char* last[3] ={
      "hokeat", "mike", "tracginton"};

      int main()
      {
      while(1337 == 1337)
      {
      cout << first << " " << last << endl;
      }
      }

      -------------

      Can I get like a copy paste thingy going on or do I have to send fake key inputs and take 5-10 hours making it

    2. #2
      Coder
      Kappa
       
      Hacking
       
      Szaka's Avatar
      Join Date
      Mar 2013
      Posts
      168
      Thanks (-->)
      1
      Thanks (<--)
      6
      u got infinite loop with cout inside, so what did you expect?

      cout is a function which prints text in console and only console. Keyborad input is something totally different

      And btw... use printf

    3. #3
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      492
      Quote Originally Posted by Szaka View Post
      And btw... use printf
      Why? Just because printf is faster? I would never recommend a beginner use printf over cout.
      [question]Console text to other program text

    4. #4
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      kaz's Avatar
      Join Date
      Apr 2013
      Posts
      166
      Thanks (-->)
      41
      Thanks (<--)
      48
      Silent VPN
      nah that isnt my actual code.
      It was just a short example so you don't have to get through all of my complex unorganized code.
      Also cout is just a temp debug thing I'm using.

      I want to know if I can have my program fake "paste" what I can get to random select into the front window.
      I've seen a chat spammer similar. You would type what you wanted to have spammed, then it would spam that text. I want my program to randomly select what it wants to have spammed without code manipulation

      EDIT:: thats a bad reference code too.


      const char* first[3] ={
      "bob", "chance", "philip"};

      const char* last[3] ={
      "hokeat", "mike", "tracginton"};
      int num;
      int num2;

      while(1337 == 1337)
      {
      num = (rand()%2)+1);
      num2 = (rand()%2)+1);

      cout << first[num] << last[num2] << endl;
      Sleep(500);
      }

      I have my code similar to this atm
      Last edited by kaz; 10-22-2013 at 03:07 PM.

    Similar Game Hacker Threads

    1. [Help] D3D Text with injectable dll
      By KiNG Jaydo in forum Hacking Help
      Replies: 12
      Last Post: 12-30-2015, 12:19 PM
    2. [Help] Draw box, text
      By dromenox in forum Assault Cube Hacks
      Replies: 11
      Last Post: 08-25-2015, 11:53 AM
    3. Print text in console
      By Lolita1 in forum CS:GO Hacks
      Replies: 8
      Last Post: 07-29-2015, 05:30 PM
    4. [Help] need some, help text on screen
      By mcdeliver18 in forum C/C++
      Replies: 2
      Last Post: 05-29-2014, 08:50 AM
    5. [Help] Add text to chams
      By DR.BOB in forum GH Tutorials Help
      Replies: 4
      Last Post: 04-20-2014, 01:06 AM

    Tags for this Thread