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 


(Solved) HotKey Pasting/Value Changing

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

Joined: 24 Mar 2015
Posts: 11

PostPosted: Sat Mar 28, 2015 1:40 am    Post subject: (Solved) HotKey Pasting/Value Changing Reply with quote

I am looking for a way to set a hotkey to change a value of a certain address, however, i want multiple keys for different value types. The addresses will be an "Array of bytes"

For example: I have an address (3B31A74C) The Value (Array of bytes) is 36 06 B2 45 EA 25 A5 43 DD 27 3F 45(But it changes almost constantly). I want to be able to press the Up Arrow key, and the value will change to 36 06 B2 45 EA 25 A5 43 DD 27 3F 42.



Anyway this is possible?


Last edited by drewfist98 on Mon Mar 30, 2015 1:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Mar 28, 2015 9:54 am    Post subject: Reply with quote

Code:
[ENABLE]
aobscan(cheat1,36 06 B2 45 EA 25 A5 43 DD 27 3F 45)
cheat1:
db 36 06 B2 45 EA 25 A5 43 DD 27 3F 42
registersymbol(cheat1)
[DISABLE]
cheat1:
db 36 06 B2 45 EA 25 A5 43 DD 27 3F 45
unregistersymbol(cheat1)
Back to top
View user's profile Send private message
drewfist98
Newbie cheater
Reputation: 0

Joined: 24 Mar 2015
Posts: 11

PostPosted: Sat Mar 28, 2015 10:15 am    Post subject: Reply with quote

Zanzer wrote:
Code:
[ENABLE]
aobscan(cheat1,36 06 B2 45 EA 25 A5 43 DD 27 3F 45)
cheat1:
db 36 06 B2 45 EA 25 A5 43 DD 27 3F 42
registersymbol(cheat1)
[DISABLE]
cheat1:
db 36 06 B2 45 EA 25 A5 43 DD 27 3F 45
unregistersymbol(cheat1)


Im sorry, but could you please explain this for me?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Mar 28, 2015 11:19 am    Post subject: Reply with quote

Click the Memory View button (mid-left)
Tools > Auto Assemble
Paste the script
File > Assign to current cheat table
Right-click the new script > Set hotkeys
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 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