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 


mul or add to a group of values?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
theboy181
Advanced Cheater
Reputation: 0

Joined: 26 Jan 2018
Posts: 90

PostPosted: Tue Apr 26, 2022 11:54 pm    Post subject: mul or add to a group of values? Reply with quote

Is there a way you can select a bunch of address in CE and add or multiply the value to each value automatically?

Lets say I have 5 addresses and they each have a different value and I want to X*2
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Wed Apr 27, 2022 12:05 am    Post subject: Reply with quote

select all 5 addresses, press enter, and then type in
Code:

value*2


also works with hotkeys

_________________
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
Csimbi
I post too much
Reputation: 94

Joined: 14 Jul 2007
Posts: 3107

PostPosted: Wed Apr 27, 2022 2:07 pm    Post subject: Reply with quote

Dark Byte wrote:
select all 5 addresses, press enter, and then type in
Code:

value*2


also works with hotkeys

This I did not know, nice!
Back to top
View user's profile Send private message
theboy181
Advanced Cheater
Reputation: 0

Joined: 26 Jan 2018
Posts: 90

PostPosted: Wed Apr 27, 2022 10:05 pm    Post subject: Reply with quote

Thanks this is helpful! How do you do it via hotkeys?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Apr 28, 2022 1:46 am    Post subject: Reply with quote

create a "set value" hotkey, and set the new value to
Code:

value*2


each time you press the hotkey the value will get multiplied

_________________
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
theboy181
Advanced Cheater
Reputation: 0

Joined: 26 Jan 2018
Posts: 90

PostPosted: Thu Apr 28, 2022 8:27 am    Post subject: Reply with quote

im looking at the Hotkeys section in the Cheat Engine settings Hotkeys section, and I don't see this option.


Is this a LUA setup? can I get more context, as I know very little about how to leverage LUA in this situation.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Apr 28, 2022 11:09 am    Post subject: Reply with quote

it's under individual memory record properies.
_________________
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
Csimbi
I post too much
Reputation: 94

Joined: 14 Jul 2007
Posts: 3107

PostPosted: Thu Apr 28, 2022 3:48 pm    Post subject: Reply with quote

Select cheat table entry and hit CTRL+H.
Create hotkey.
Set Value To: value*2
Back to top
View user's profile Send private message
panraven
Grandmaster Cheater
Reputation: 55

Joined: 01 Oct 2008
Posts: 942

PostPosted: Thu Apr 28, 2022 6:41 pm    Post subject: Reply with quote

May be useful
On hotkey setup,
[Set Value to]
(value+1)%2 : 0->1->0->1 kind of toggle with single hotkey
(value+3)%10+10 : ..->10->13->...->19->12->15... cycle between a range with a step (3 here)

Tested on 7.3.

_________________
- Retarded.
Back to top
View user's profile Send private message
theboy181
Advanced Cheater
Reputation: 0

Joined: 26 Jan 2018
Posts: 90

PostPosted: Thu Apr 28, 2022 7:09 pm    Post subject: Reply with quote

learnt two new things now! Thanks!
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 94

Joined: 14 Jul 2007
Posts: 3107

PostPosted: Fri Apr 29, 2022 3:54 am    Post subject: Reply with quote

panraven wrote:
(value+1)%2 : 0->1->0->1 kind of toggle with single hotkey

That's actually very useful!
Thanksy thankster!
Back to top
View user's profile Send private message
theboy181
Advanced Cheater
Reputation: 0

Joined: 26 Jan 2018
Posts: 90

PostPosted: Mon Apr 10, 2023 12:33 pm    Post subject: Reply with quote

Is it possible to have this work in the Memory Viewer too?

When you select a value in the viewer it doesn't seem to work with hotkeys.

This feature would be appreciated, maybe a script.
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