Answer the question
In order to leave comments, you need to log in
How to get the value of a variable from another process through Python?
There is a task - to get the values of some variables from the Dota 2 game in Python, specifically, this is the data on the choice of heroes by allies and enemies, on the screen there is an upper bar with icons of heroes. When a player selects a character, the empty window above the nickname is replaced with the icon of the selected hero. This choice I need to track through the process. Further, based on the set of hero ids, a ready-made algorithm will tell you which character looks best in this draft (set of heroes of allies and enemies).
Are such operations on processes possible through Python? If, for example, I have allocated a set of addresses to these variables and just want to receive data, then how can I implement this? The addresses are dynamic, so you need to add the shift value to them, as far as I understand, but I don’t understand much about these shifts, addresses. Using Cheat Engine to view memory, Python 3.6 on Windows.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question