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 


Add certain value to an address?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
akikazu12
Newbie cheater
Reputation: 0

Joined: 08 Apr 2020
Posts: 14

PostPosted: Mon Sep 20, 2021 12:35 am    Post subject: Add certain value to an address? Reply with quote

is there any way to add a certain value to changing address?

for example an address' value is 70, I want to add 100 to it so it becomes 170
but when the original value change to 20, I want it would be automatically added with 100, so it becomes 120..
but when the original value change to 0, I want it to be still 0, so unless it's 0, I want the value to be added with 100
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Mon Sep 20, 2021 12:55 am    Post subject: Reply with quote

set the value to
Code:

((value~=0) and (value+100)) or 0

_________________
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
akikazu12
Newbie cheater
Reputation: 0

Joined: 08 Apr 2020
Posts: 14

PostPosted: Mon Sep 20, 2021 12:58 am    Post subject: Reply with quote

Dark Byte wrote:
set the value to
Code:

((value~=0) and (value+100)) or 0

damn that's fast reply, thank you I'll try that
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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