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 


Trying to recreate and|or upgrade Xenoblade X ct. Need help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Archezuli
Advanced Cheater
Reputation: 0

Joined: 28 Oct 2019
Posts: 58

PostPosted: Sat Nov 23, 2019 2:25 pm    Post subject: Trying to recreate and|or upgrade Xenoblade X ct. Need help Reply with quote

After a lot of help and learning from a lovely user named DanyDollaro in the AA section of this forum, who selflessly helped me slowly learn a bit on CE, AA, scripts, hax, debugs, dissects, and the likes, even without getting anything in return (Other than my eternal grattitude, of course. pls shower him with updoots'n love kthnkxbai)... I have but reached this gigantic barrier that is "learning lua and trying to use it with CE to create a proper and clean ct for this game that I love called Xenoblade X"

As expectable, I'm barely started in anything and already getting my ass wh00ped by Lua. :D

This:
Code:
{$lua}


[ENABLE]

    function AOBScan("00 01 02 03","",2,4)

[DISABLE]


Is what I got atm. (Assuming I even got that part right, that is...)

And thanks to my sheer ignorance towards the Lua language, I am still trying to decipher how its scripting and syntax and commands work...

I have been told by the lovely user mentioned above, before moving to this more appropriate section, that such line (my cringeworthy attempt of trying to script the lua equivalent of an AOBScan) isn't properly formatted.

The official CE Wiki does not provide functional examples of lua commands like it does for the regular AA ones. and attempting to locate good tutorials for it have proven... borderline fruitless...

Alas, would anyone be so kind as to help me get this working and in the proper direction...? :D


Thank you all regardless, and have a good day. ^-^

_________________
Hi! I'm Archy. Nice to meet you! 'v'

Am idiot. pls handle with care. ;w; 💙


This is my baby and I love him very very much... can you tell? '∀' 💙
Just wanted to tell you that. 'v'
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4702

PostPosted: Sat Nov 23, 2019 5:39 pm    Post subject: Reply with quote

If you're new to Lua, disregard CE entirely. Learn Lua first then come back to learn the stuff CE adds to Lua.

There's a book called "Programming in Lua" that's pretty good. The first edition is free (link) and covers Lua 5.0 which is somewhat different from 5.3 (the version CE uses), but most information is still relevant. The fourth edition covers 5.3 which you can buy or find online (e.g. libgen).

Alternatively, there are plenty of other tutorials and videos that cover Lua.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Archezuli
Advanced Cheater
Reputation: 0

Joined: 28 Oct 2019
Posts: 58

PostPosted: Sun Nov 24, 2019 7:17 am    Post subject: Reply with quote

Oh hey there! I know you! :D

You're the guy I saw in several of the threads I found here when doing my google searches into learning AA and CE! (I guess you really do post a lot, eh? :D)

Nice to meet you! Hi! XD


Dw! I'm not really good at learning with books, and buying any kinds of it in this moment of life is (unfortunately) out of question. But I absolutely already realized that yesterday and was making a huge research spree on it... XD


(No seriously. I still got like 9 other tabs still open this very moment just for the very sake of it. They're basically imo all of the best results I found. :D)


(Personally, this is one of my favorites -> codingame.com

I love the way it teaches, reminds me of codecademy. it's a shame the very first puzzle I tried in it, which was one of the easiest options, already throws at me a bunch of stuff that I barely have any idea what does... XD)



(PS: I Have just found out the guys who created Lua are Brazillians like me :D That's so cool!!! XD)

_________________
Hi! I'm Archy. Nice to meet you! 'v'

Am idiot. pls handle with care. ;w; 💙


This is my baby and I love him very very much... can you tell? '∀' 💙
Just wanted to tell you that. 'v'
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