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 need help in Lua Script

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

Joined: 09 Sep 2015
Posts: 2
Location: United Arab Emirates

PostPosted: Wed Sep 09, 2015 5:18 am    Post subject: I need help in Lua Script Reply with quote

Hello guys,

I'm new to this Lua Scripting and have seen video instruction on how to create CE Trainers using Lua Script. I got hold of KH Lua Script (Thank you so much KH) and other Trainers similar to it, however I can't figure out how to tackle this problem that I have (see attached picture).

1. Scan 1st known Byte Array and copy the first 4 bytes after it
2. Scan 2nd known Byte Array and paste the values I copied from the first scan after the byte arrays of 2nd scan.

I hope the picture explains it much better. Confused



screenshot.88.jpg
 Description:
 Filesize:  917.31 KB
 Viewed:  2543 Time(s)

screenshot.88.jpg


Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Sep 09, 2015 4:44 pm    Post subject: Reply with quote

Code:
[ENABLE]
aobscan(array1,{blah blah blah})
aobscan(array2,{blah blah blah})
array2+40:
readmem(array1+40,4)
[DISABLE]
Back to top
View user's profile Send private message
LeFaust
How do I cheat?
Reputation: 0

Joined: 09 Sep 2015
Posts: 2
Location: United Arab Emirates

PostPosted: Mon Sep 14, 2015 12:30 am    Post subject: Reply with quote

Thank you so much Zanzer. This helped me a lot. Very Happy
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