Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. I am trying to make a keyboard recorder for an app

I am trying to make a keyboard recorder for an app

Scheduled Pinned Locked Moved C / C++ / MFC
game-devtutorialquestion
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 14190981
    wrote on last edited by
    #1

    I am trying to make a app that will record the exact duration, and the sequence of keystrokes. it need to be able to record with very precise timing because I am planing on using it to create a way to record a game follow path. For example a driving game that earns you money for just diving around in free roam and if you follow a specific path you maximize the amount of money you earn. but i don't know what i need for the coding. Is there a way to code something like that?

    L J 2 Replies Last reply
    0
    • M Member 14190981

      I am trying to make a app that will record the exact duration, and the sequence of keystrokes. it need to be able to record with very precise timing because I am planing on using it to create a way to record a game follow path. For example a driving game that earns you money for just diving around in free roam and if you follow a specific path you maximize the amount of money you earn. but i don't know what i need for the coding. Is there a way to code something like that?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Recording keystrokes is frowned upon, and illegal without the users' consent. That being said, you could use a keyboard-hook. That does record keyboard-strokes, not characters. Not one of the easiest things to do, and not something I'm inclined to help with for cheating-purposes.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

      M 1 Reply Last reply
      0
      • L Lost User

        Recording keystrokes is frowned upon, and illegal without the users' consent. That being said, you could use a keyboard-hook. That does record keyboard-strokes, not characters. Not one of the easiest things to do, and not something I'm inclined to help with for cheating-purposes.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        M Offline
        M Offline
        Member 14190981
        wrote on last edited by
        #3

        well it is going to be an app so they will give the consent and i will not see the key strokes

        L L S 3 Replies Last reply
        0
        • M Member 14190981

          well it is going to be an app so they will give the consent and i will not see the key strokes

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          And they will use it to cheat the game company out of money.

          1 Reply Last reply
          0
          • M Member 14190981

            I am trying to make a app that will record the exact duration, and the sequence of keystrokes. it need to be able to record with very precise timing because I am planing on using it to create a way to record a game follow path. For example a driving game that earns you money for just diving around in free roam and if you follow a specific path you maximize the amount of money you earn. but i don't know what i need for the coding. Is there a way to code something like that?

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            Member 14190981 wrote:

            Is there a way to code something like that?

            Yes. Not that difficult if you have experience programming. The app would need admin access and you would need to do a deep dive into OS API calls.

            M 1 Reply Last reply
            0
            • M Member 14190981

              well it is going to be an app so they will give the consent and i will not see the key strokes

              L Offline
              L Offline
              leon de boer
              wrote on last edited by
              #6

              Most serious online games have counter measures to stop this sort of thing and it directly violates there User agreement and gets you banned. If you are dealing with real money it also comes under the fraud act of most countries and selling or distributing the app itself will fall under the same laws. I would think very carefully about what you are doing it will generally be illegal.

              In vino veritas

              1 Reply Last reply
              0
              • M Member 14190981

                well it is going to be an app so they will give the consent and i will not see the key strokes

                S Offline
                S Offline
                Stefan_Lang
                wrote on last edited by
                #7

                Who is 'they'? If it's the company that made the game, it would be trivial for them to do this from within the game itself. If not, it's difficult and illegal. Note that most EULAs specifically prohibit that kind of thing. At the very least, this is true for all multiplayer games, simply because it would create an unfair advantage over other players. P.S.: Just to be clear: any program that is capable of recording user input for other applications has the potential to record login credentials. For that reason alone it is most likely illegal in most countries, and that's on top of EULA and other rights that the game company may claim.

                GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

                1 Reply Last reply
                0
                • J jschell

                  Member 14190981 wrote:

                  Is there a way to code something like that?

                  Yes. Not that difficult if you have experience programming. The app would need admin access and you would need to do a deep dive into OS API calls.

                  M Offline
                  M Offline
                  Member 14190981
                  wrote on last edited by
                  #8

                  well OK it is illegal i wont try it., i mean i only wanted it so i can make an app that will allow you to make a type of AI afk non competitive grinder bot follow path so people can do long distince routs without having to be the PC for long time. i guess i should just start on a auto clicker and do even more research

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups