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 


Understanding Symbols for custom pointers not using image.ex

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

Joined: 04 Oct 2022
Posts: 2

PostPosted: Tue Oct 04, 2022 3:37 am    Post subject: Understanding Symbols for custom pointers not using image.ex Reply with quote

I am having a nightmare trying to understand why local variables can't just be used to create a pointer in LUA.

i create a aob to get addresses and i make a local variable called adr3 for example.
local playerx = readfloat(0xdeadbeef)

local adr3 = number(aob[x],16) //might not be the correct syntax.

writefloat("[adr3]+95]",playerx)

everytime i tried this it would try and write to either adr3+95 which would just be the address + value which is not pointer. or not work at all... its been driving me nuts. help anyone?

i dont want to use image.exe blah blah i have the raw address i just want to pointer step into that address to write a damn value.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25287
Location: The netherlands

PostPosted: Tue Oct 04, 2022 3:50 am    Post subject: Reply with quote

Code:

local a=readPointer(adr3)+0x95
writefloat(a,playerx)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
rapidvolacno
How do I cheat?
Reputation: 0

Joined: 04 Oct 2022
Posts: 2

PostPosted: Tue Oct 04, 2022 3:57 am    Post subject: Reply with quote

Dark Byte wrote:
Code:

local a=readPointer(adr3)+0x95
writefloat(a,playerx)


wow if its that easy kill me now i will try when i get back home from work.
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