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 


Help with something in LUA

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

Joined: 15 May 2025
Posts: 1

PostPosted: Thu May 15, 2025 1:58 pm    Post subject: Help with something in LUA Reply with quote

I would like a LUA script that creates a GUI with a button that, when pressed, modifies a pointer — for example, with the base address abcdef.exe+0027389 and offsets 4 and 489. When I press the button, it should change the value to 2 (Float), and if possible, when I press it again, it should revert to the original values from before the button was pressed. If possible, the address should be frozen when the value is changed.

And a second button that copies the value from, for example, the base address abcdef.exe+002626277 with offsets 0 and 100 (which is a 4-byte type), into the base address abcdef.exe+0002929 with offsets 8 and 88, which is also a 4-byte type. And again, if possible, the second pointer should keep the copied value frozen, and when the button is pressed again, it should restore the original values from before activation. (p1 copy value to p2)

Can someone help me, if possible?

THANK YOU !!
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