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 


"set to previous value" for group?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
CheatInTheHole
Newbie cheater
Reputation: 0

Joined: 31 Jul 2013
Posts: 11

PostPosted: Mon Aug 05, 2013 11:20 am    Post subject: "set to previous value" for group? Reply with quote

Hi, lets say i have xx amount of addresses with different values in a group called "abc".
Is there an easy way to "on a press of a button" change all these values to their previous value?

The second best would be to be able to see "previous value" just like in the "found list"

(I thought i saw someone ask something similar some days ago, but cant find it now.)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Aug 05, 2013 12:13 pm    Post subject: Reply with quote

Ctrl+z undoes the last edit on selected addresses
_________________
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
CheatInTheHole
Newbie cheater
Reputation: 0

Joined: 31 Jul 2013
Posts: 11

PostPosted: Mon Aug 05, 2013 12:28 pm    Post subject: Reply with quote

only on values manually changed?. its a task in the attached process that causes the values to change, not I.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Aug 05, 2013 12:51 pm    Post subject: Reply with quote

No, You will have to keep track of that yourself by constantly polling the value and store the last value change that you caught

Note though that even if you poll the value every 10 milliseonds, you may miss the last value. (e.g if it changes from 100 to 1 in 4 milliseconds, you will only see 100 and 1, or worse, depending on pure chance, 2 and 1)

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

Joined: 31 Jul 2013
Posts: 11

PostPosted: Mon Aug 05, 2013 1:04 pm    Post subject: Reply with quote

I´m not sure i follow you :/
Is what i´m asking for possible with lua. or do i have to go in and copy every value by hand, and then when desired paste the value one by one?

Edit: with "an easy way" i meant "relativly short script" and if so, can someone lead me in the right direction.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Aug 06, 2013 2:53 am    Post subject: Reply with quote

You could use a timer that gets the values of the cheatentries and store them in a table. Then create a hotkey or a button to click that will set the values of the cheatentries to the last saved value
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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