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 Read/Write value to a specific address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1065
Location: 0x90

PostPosted: Mon Mar 27, 2023 9:37 pm    Post subject: Reply with quote

You can use Lua for this:
Code:

{$LUA}
if syntaxcheck then return end
if tmr then tmr.destroy; tmr = nil end

--Set address to read from here
local address1 = 0x00000000

--Set address to read to here
local address2 = 0x00000000

local tmr = createTimer()
tmr.Interval = 20
tmr.OnTimer = function()
                        local value = readaInteger(address1)
                        if value == 9 then
                          writeInteger(address2, value)
                        end
                      end
Back to top
View user's profile Send private message
Logar08
How do I cheat?
Reputation: 0

Joined: 25 Mar 2023
Posts: 1
Location: Brazil

PostPosted: Wed Mar 29, 2023 4:18 pm    Post subject: Reply with quote

Not all code is injectable.
(Lua error in the script at line 2:[string "local syntaxcheck,memrec=...
..."]:3: syntax error near ';')

I am tryng to do a auto block fighting game.
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 Gamehacking 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