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 


changing pointer value with script (need help)

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

Joined: 06 Dec 2018
Posts: 3

PostPosted: Tue Nov 10, 2020 2:55 am    Post subject: changing pointer value with script (need help) Reply with quote

so i need to change pointer value with a script.
this is what ive done so far:

[enable]
local addressList = getAddressList()
local antires = addressList.getMemoryRecordByDescription('antirespawn')
antires.Value = 1
[disable]
antires.Value = 1699966543

gives me this error: This instructions can't be compiled

i have no idea what i should do and tried to google for anwser
Back to top
View user's profile Send private message
blankTM
Cheater
Reputation: 1

Joined: 03 May 2020
Posts: 49

PostPosted: Tue Nov 10, 2020 6:16 am    Post subject: Re: changing pointer value with script (need help) Reply with quote

{$lua}
if syntaxcheck then return end
[enable]
local addressList = getAddressList()
local antires = addressList.getMemoryRecordByDescription('antirespawn')
antires.Value = 1
[disable]
antires.Value = 1699966543
Back to top
View user's profile Send private message
Vouts
How do I cheat?
Reputation: 0

Joined: 06 Dec 2018
Posts: 3

PostPosted: Tue Nov 10, 2020 7:46 am    Post subject: Reply with quote

now i didnt get error but i cant turn it off. it just stays activated
Back to top
View user's profile Send private message
blankTM
Cheater
Reputation: 1

Joined: 03 May 2020
Posts: 49

PostPosted: Tue Nov 10, 2020 8:40 am    Post subject: Reply with quote

{$lua}
if syntaxcheck then return end
[enable]
antires = getAddressList().getMemoryRecordByDescription('antirespawn')
antires.Value = 1
[disable]
antires.Value = 1699966543
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