is it possible to read health in a game? Topic is solved

Ask gaming related questions (AHK v1.1 and older)
kentpachi
Posts: 152
Joined: 15 May 2016, 01:23

is it possible to read health in a game?

16 Dec 2022, 12:19

Good day AHKers,

Is it possible to read games memory health

Lets say a game as HP, it will read the total amount of health

and if the specific health reach a specific amount, it will press a key.
User avatar
mikeyww
Posts: 27211
Joined: 09 Sep 2014, 18:38

Re: is it possible to read health in a game?

16 Dec 2022, 17:06

Hello,

If you have an image to be matched, you could try :arrow: ImageSearch.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: is it possible to read health in a game?

16 Dec 2022, 20:42

its not possible. ure the first person in the known observable multiverse to come up with such a novel idea
User avatar
mikeyww
Posts: 27211
Joined: 09 Sep 2014, 18:38

Re: is it possible to read health in a game?

16 Dec 2022, 20:44

Darn, I thought I was going to win some kind of an innovation prize here.

:)
User avatar
Smile_
Posts: 859
Joined: 03 May 2020, 00:51

Re: is it possible to read health in a game?  Topic is solved

18 Dec 2022, 14:50

I would suggest the following:
1 - Analyze your game to find a static pointer for your game health-bar, this video may help
2 - Then use an AHK memory reader to grab the values constantly (Each one second maybe)? this class may help
3 - here you are, you got it!, I'm not sure about that though.
kentpachi
Posts: 152
Joined: 15 May 2016, 01:23

Re: is it possible to read health in a game?

19 Dec 2022, 08:49

Smile_ wrote:
18 Dec 2022, 14:50
I would suggest the following:
1 - Analyze your game to find a static pointer for your game health-bar, this video may help
2 - Then use an AHK memory reader to grab the values constantly (Each one second maybe)? this class may help
3 - here you are, you got it!, I'm not sure about that though.
thanks, I already know the step 1 using cheat engine.
hopefully step 2 works, going to ask some basic question in step2 tho
kentpachi
Posts: 152
Joined: 15 May 2016, 01:23

Re: is it possible to read health in a game?

19 Dec 2022, 08:52

mikeyww wrote:
16 Dec 2022, 17:06
Hello,

If you have an image to be matched, you could try :arrow: ImageSearch.
thanks, yes, I am actually using pixelsearch for now

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 35 guests