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 


Struggling to input negatives for a specific game

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Aldrath
How do I cheat?
Reputation: 0

Joined: 24 Jul 2019
Posts: 4

PostPosted: Wed Jul 24, 2019 2:18 pm    Post subject: Struggling to input negatives for a specific game Reply with quote

Basically, I am trying to change a value on a slider to a negative so the use of said slider will actually give the 'negative' to the person using it instead of depleting said resource. Locating the address is simple enough. If i freeze the address value and then set is to a negative it will remain negative in CE, but would bounce between the desired number and a flat 0 constantly. Would really appreciate some help on this one.
_________________
The Chill Pill Costs Money, Broman
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3325

PostPosted: Thu Jul 25, 2019 3:59 am    Post subject: Re: Struggling to input negatives for a specific game Reply with quote

Aldrath wrote:
Basically, I am trying to change a value on a slider to a negative so the use of said slider will actually give the 'negative' to the person using it instead of depleting said resource. Locating the address is simple enough. If i freeze the address value and then set is to a negative it will remain negative in CE, but would bounce between the desired number and a flat 0 constantly. Would really appreciate some help on this one.

Are you sure it's a negative value that goes there and not a positive with some flag stored elsewhere?
Back to top
View user's profile Send private message
Aldrath
How do I cheat?
Reputation: 0

Joined: 24 Jul 2019
Posts: 4

PostPosted: Thu Jul 25, 2019 8:59 pm    Post subject: Re: Struggling to input negatives for a specific game Reply with quote

Csimbi wrote:
Aldrath wrote:
Basically, I am trying to change a value on a slider to a negative so the use of said slider will actually give the 'negative' to the person using it instead of depleting said resource. Locating the address is simple enough. If i freeze the address value and then set is to a negative it will remain negative in CE, but would bounce between the desired number and a flat 0 constantly. Would really appreciate some help on this one.

Are you sure it's a negative value that goes there and not a positive with some flag stored elsewhere?


Well, when I insert a positive number it reads and functions correctly. So if your guess is correct, how would that work if i may ask?

_________________
The Chill Pill Costs Money, Broman
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4704

PostPosted: Thu Jul 25, 2019 10:03 pm    Post subject: Reply with quote

The game probably checks if it's less than 0, and if so, set it to 0.

Look at what's writing 0 to the address and back trace it from there. You can probably look at a nearby read from the address to get a good range of instructions to check.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Aldrath
How do I cheat?
Reputation: 0

Joined: 24 Jul 2019
Posts: 4

PostPosted: Thu Jul 25, 2019 11:14 pm    Post subject: Reply with quote

ParkourPenguin wrote:
The game probably checks if it's less than 0, and if so, set it to 0.

Look at what's writing 0 to the address and back trace it from there. You can probably look at a nearby read from the address to get a good range of instructions to check.


Well, would anyone be able to kinda give me a little bit of a crash course on this stuff since i am pretty much self taught and my knowledge/understanding of this software is a mess.

I have a rough idea on how to find addresses that write to and read from the address I am currently trying to edit, but once I find them, to be honest I have no idea what I'm looking at.

Any help would very greatly appreciated.

_________________
The Chill Pill Costs Money, Broman
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3325

PostPosted: Fri Jul 26, 2019 1:57 am    Post subject: Reply with quote

Add address to address list, right click, find out what writes, look for the code that resets the value and analyze.
Back to top
View user's profile Send private message
Aldrath
How do I cheat?
Reputation: 0

Joined: 24 Jul 2019
Posts: 4

PostPosted: Fri Jul 26, 2019 7:58 am    Post subject: Reply with quote

Csimbi wrote:
Add address to address list, right click, find out what writes, look for the code that resets the value and analyze.


Ok, gonna see what i can come up with. Hope i come right x_x.

[Update]

Ok, so I had a look at what writes to the address. There's 4 things that write to it, and to be honest this is the part that kills my brain. How would I isolate the thing that changes it back to 0?

[2nd Update]

I came right. Thank you so much for the input everyone.

_________________
The Chill Pill Costs Money, Broman
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
Page 1 of 1

 
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