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 


Have Problem With LUA. Help Please!

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

Joined: 18 Feb 2016
Posts: 2

PostPosted: Thu Feb 18, 2016 9:09 am    Post subject: Have Problem With LUA. Help Please! Reply with quote

Hello. When I write this code it does not work.
Code:
function CEButton1Click(sender)
writeInteger("PlantsVsZombies.exe"+0007C070", getProperty(CETrainer_CEEdit1,"Text"))
end
form_show(CETrainer)
strings_add(getAutoAttachList(),"PlantsVsZombies.exe")


But it has many offset .Please help me! I am new. Tks all.



Capture.PNG
 Description:
Problem
 Filesize:  6.79 KB
 Viewed:  2272 Time(s)

Capture.PNG


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Thu Feb 18, 2016 10:38 am    Post subject: Reply with quote

it's easier to just use the AddressList object, find tbe entry named bug lv, and set the value property to the value you wish
_________________
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
LMQK
How do I cheat?
Reputation: 0

Joined: 18 Feb 2016
Posts: 2

PostPosted: Thu Feb 18, 2016 11:50 pm    Post subject: Reply with quote

Dark Byte wrote:
it's easier to just use the AddressList object, find tbe entry named bug lv, and set the value property to the value you wish

Not. I use this code for my trainer. But it not working. so what should i do
Back to top
View user's profile Send private message
BringChaos
Advanced Cheater
Reputation: 5

Joined: 31 Jul 2011
Posts: 92

PostPosted: Fri Feb 19, 2016 10:07 am    Post subject: Reply with quote

maybe "PlantsVsZombies.exe"+0007C070" should be "PlantsVsZombies.exe+0007C070"?
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