How to get the value of a memory variable?

Asked

Viewed 205 times

0

I course the first period of CC and would like to know how I could achieve variable value of a game, for example, in real time. For example, when a boolean variable changes the value to TRUE, I wanted to have access to that state of the variable. Is there any way to do this ? in java ? I would have to have access to the memory address of this game variable ? The question arose because I need a program that has access to the game data...

  • 3

    http://answall.com/questions/28377/como-ler-vari%C3%A1vel-de-another-program

  • Do you have access to the game’s source code and are free to change it? The game is made in which language?

  • 1

    I don’t have access, it’s not free and I don’t even know the language kk, but thanks for the link, I should have found this link before asking.

1 answer

0

The answers in @bfavaretto link explain well what the situation is, and if you are in the first period of CC, there is still a lot of theory for you to understand the details involved.

Having said that, Jason Devlin had a series on DLL Injection on his blog, applied to making a robot that played poker (the site is off the air, but on Archive.org you can find the other posts in the series). He posted his bot code, which you can study if you want to understand how the process works.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.