Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Health value not changing
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
PeaceKeep0r
Cheater
Reputation: 0

Joined: 01 Sep 2014
Posts: 32

PostPosted: Mon Feb 15, 2016 1:24 pm    Post subject: Health value not changing Reply with quote

Alright, so I'm trying to a find a pointer that lists the health of a unit I select in Command and Conquer Red Alert 3

I found these pointers by using the pointer scanner, problem is, these pointers apparently led to the display of values, where I can't change them as I please; it only tells me how much health it has.

Ex:
Unit health = 150
Pointer = 150

Changing Unit Health to 120 = 120
Changing pointer health to 120 = 150

Where did I go wrong? Am I using the wrong address or is this a lot more complex than I thought it was?

I really want to learn this for other games of the series, any help is greatly appreciated.

_________________
P∃ɑ¢∈ƘεεքΘɼ
Back to top
View user's profile Send private message
realrbn
Expert Cheater
Reputation: 3

Joined: 22 Jan 2016
Posts: 112

PostPosted: Mon Feb 15, 2016 1:29 pm    Post subject: Re: Health value not changing Reply with quote

Why not use a Script? They are really easy to learn and so much more Useful than Pointers when it comes to Health...
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Feb 15, 2016 1:34 pm    Post subject: Reply with quote

Sounds like you have the wrong address. Try a different pointer.
Does the address shown for the pointer match the address you found manually?
When you started the pointer scan, you sure you had the correct address initially? Smile
Back to top
View user's profile Send private message
PeaceKeep0r
Cheater
Reputation: 0

Joined: 01 Sep 2014
Posts: 32

PostPosted: Mon Feb 15, 2016 1:34 pm    Post subject: Reply with quote

realrbn wrote:
Why not use a Script? They are really easy to learn and so much more Useful than Pointers when it comes to Health...


Mainly because I'd like to mess around with the enemies' health and specific units (protect this certain structure in missions and such).

Plus, it would help me to find the veterancy of any unit.

Zanzer wrote:
Sounds like you have the wrong address. Try a different pointer.
Does the address shown for the pointer match the address you found manually?
When you started the pointer scan, you sure you had the correct address initially? Smile


It was the only address that listed the unit's health, I double checked both values and addresses.

_________________
P∃ɑ¢∈ƘεεքΘɼ
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Mon Feb 15, 2016 7:16 pm    Post subject: Reply with quote

But before you did the scan, did you edit the address? If it didn't work then, it won't work after you find a pointer to it because it sounds liker you found the display value, not the real value.

Try scanning different types or unknown initial and then increased/decreased.

_________________
Back to top
View user's profile Send private message
PeaceKeep0r
Cheater
Reputation: 0

Joined: 01 Sep 2014
Posts: 32

PostPosted: Thu Feb 18, 2016 2:21 pm    Post subject: Reply with quote

Sorry for the late reply there, been busy these past few days.

As for my steps,
1. I knew that my unit's health started at 150 (as a float value)
2. I had one of my own units attack it.
3. I would keep setting the scan to search for decreased values until I knew which one it was set at.
4. I right clicked on the address of the value and did a pointer scan, searching for pointers with a value of 120 because that's how much it was damaged. (Should I have done address instead?)
5. I kept restarting the game until the pointers were narrowed down to about 15-20, all of which that contained the same pointer address to the health value. I did this by changing the value needed to be searched each time I restarted the scan.

Ex: Building health = 7000, I damaged it down to 6836 or something and had the scan search for that value.

I'm thinking I should've scanned for my address rather than the value... would that have been the problem?

_________________
P∃ɑ¢∈ƘεεքΘɼ
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Thu Feb 18, 2016 9:20 pm    Post subject: Reply with quote

Before you do any sort of pointer scanning, try changing the initial address you found to see if that has an actual effect. If it does, then yes scan for that address.
_________________
Back to top
View user's profile Send private message
PeaceKeep0r
Cheater
Reputation: 0

Joined: 01 Sep 2014
Posts: 32

PostPosted: Fri Feb 19, 2016 10:21 am    Post subject: Reply with quote

It's so weird, the address does work, as freezing the value makes it invulnerable, but doing a pointer scan always gives it the displayed value, not the real one.

Could it be how the value is stored, or does that not matter for pointers?

_________________
P∃ɑ¢∈ƘεεքΘɼ
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Fri Feb 19, 2016 10:44 am    Post subject: Reply with quote

If there's both real and display values, you should filter by address (especially when floats are involved).
_________________
Back to top
View user's profile Send private message
PeaceKeep0r
Cheater
Reputation: 0

Joined: 01 Sep 2014
Posts: 32

PostPosted: Fri Feb 19, 2016 7:41 pm    Post subject: Reply with quote

Still didn't do it, might have to rely on scripts instead...I'm not particularly swell with them.
_________________
P∃ɑ¢∈ƘεεքΘɼ
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Fri Feb 19, 2016 9:21 pm    Post subject: Reply with quote

1 - Scan for and find the address manually.

2 - Make sure that address works.

3 - Do a pointer scan.

4 - Does that pointer scan have results that point to the same address?

5 - If so, does locking/changing that work just like the original address did?

_________________
Back to top
View user's profile Send private message
PeaceKeep0r
Cheater
Reputation: 0

Joined: 01 Sep 2014
Posts: 32

PostPosted: Mon Feb 22, 2016 4:41 pm    Post subject: Reply with quote

I've tried all past these few days, it only gives me the value of the unit I scanned, not others ones I click on.

Should I resort to a script instead?

_________________
P∃ɑ¢∈ƘεεքΘɼ
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25832
Location: The netherlands

PostPosted: Mon Feb 22, 2016 4:48 pm    Post subject: Reply with quote

In command and conquer games health is stored as a float (tip: set a unit's health to INF+ and it's immortal). So if you used 4 byte, you'll only get a display value

tip: use rounded extreme

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
finnegan waking up
How do I cheat?
Reputation: 13

Joined: 05 Aug 2014
Posts: 0

PostPosted: Wed Feb 24, 2016 2:23 am    Post subject: Reply with quote

rounding is probably definitely your issue. it's a pain in the ass to say 124.666666666666..7 health instead of 125.
Back to top
View user's profile Send private message
PeaceKeep0r
Cheater
Reputation: 0

Joined: 01 Sep 2014
Posts: 32

PostPosted: Thu Feb 25, 2016 6:05 pm    Post subject: Reply with quote

Thanks for the info, I'll check it out tomorrow and display my results. Appreciate the helps guys.
_________________
P∃ɑ¢∈ƘεεքΘɼ
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites