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 


I want to change the string at a specific value

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

Joined: 17 May 2020
Posts: 5

PostPosted: Mon Jul 20, 2020 3:46 am    Post subject: I want to change the string at a specific value Reply with quote

Code:

local timer = createTimer(getMainForm())
timer.Interval = 100
timer.OnTimer = function(timer)
Value=tonumber(AddressList.getMemoryRecordByDescription('1p').Value)
Valua=tonumber(AddressList.getMemoryRecordByDescription('2p').Value)



if Value == 1634954063 then
readString("[[[[[[[[asd.exe + 034B7550] +0] +60] +30] +88] +80] + E90] +58")




I want to change the string to "off" when the value of 163495406, which is currently written as "ON", comes out.

I don't know how to write a script.

_________________
I'm studying a cheat engine
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