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 


make a code for random address

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

Joined: 15 Sep 2017
Posts: 5

PostPosted: Fri Nov 17, 2017 4:38 pm    Post subject: make a code for random address Reply with quote

i want to make a code that will always change a group of addresses rapidly (im really bad at lua so if somebody could help write the code for me that'd be great) thanks for help im beginner coder
_________________
noodles are the best no doubt can't deny taste better than water but don't ask me why
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sat Nov 18, 2017 8:03 am    Post subject: Reply with quote

Code:
local base = getAddress(process)
fullAccess(base,400)
for i=0,100 do
  writeInteger(base+i*4, 1)
end


will change a group of addresses (getAddress(process) to getAddress(process)+400) to the 4 byte value 1 (hex 01 00 00 00) as rapidly as it can get through the loop...
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