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 am not able to write a specific address using lua

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
LOLOPOIPA
How do I cheat?
Reputation: 0

Joined: 05 Feb 2022
Posts: 1

PostPosted: Sat Feb 05, 2022 8:05 am    Post subject: I am not able to write a specific address using lua Reply with quote

There is a static memory address that I can edit using cheat engine but can't edit using lua(just can read)
This is the address : Growtopia.exe+8B1790
Code:

strings_add(getAutoAttachList (),"growtopia.exe")
function GROWTOPIASPOOFER_Spoof(sender)
writeFloat("Growtopia.exe+8B1790",getProperty(GROWTOPIASPOOFER_version,"Text"))
showMessage(readFloat("Growtopia.exe+8B1790"))
writeFloat("0x7FF621E21790",getProperty(GROWTOPIASPOOFER_version,"Text"))
end
Back to top
View user's profile Send private message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 510

PostPosted: Sun Feb 06, 2022 2:32 am    Post subject: Reply with quote

convert address to hexadecimal
btw don't use "" when you have address in hex
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sun Feb 06, 2022 4:15 am    Post subject: Reply with quote

CE will view address strings with just numbers as hex by default. So do it like this.
Code:

writeFloat("7FF621E21790",getProperty(GROWTOPIASPOOFER_version,"Text"))


Or like this.
Code:

writeFloat(0x7FF621E21790,getProperty(GROWTOPIASPOOFER_version,"Text"))


But you might also have some issues since you're not using a static address here.

_________________
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Wed Feb 09, 2022 8:18 pm    Post subject: Reply with quote

We don't support online/multiplayer hacking on this site:
https://forum.cheatengine.org/faq.php#0

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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