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 


Lua Scripting ReadPointer of 32 bit game.

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

Joined: 20 Jul 2017
Posts: 22

PostPosted: Sat Aug 05, 2017 12:12 am    Post subject: Lua Scripting ReadPointer of 32 bit game. Reply with quote

Hi guys. So far I've been breezing through reading / writing to static addresses but I've now gotten to that point we all get to where we must read / write to pointer scan addresses. I've tried a few things I've read on the forums and none of them seem to work.

[img]

I went ahead and took an SS of the pointer scan I want to read using Lua. If anyone can help me with this. I'd really appreciate it. Thank you. [/img]


Edit: Yayyyyyy I think I've figured it out. Since this is a forum I'll post what worked for me below

DemonStrike = 65576


local Value = readInteger("[[[[[game.exe + 01F5AA0C] + 8] + 4] + 8] + 10] + 274")


if (Value == 0) then
writeInteger("0x221101e",DemonStrike)
end



Pointer Scan Help.png
 Description:
 Filesize:  130.85 KB
 Viewed:  4520 Time(s)

Pointer Scan Help.png


Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sat Aug 05, 2017 9:56 am    Post subject: Reply with quote

Good job figuring it out!
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