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 really really hate lua

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
grtnd
Newbie cheater
Reputation: 0

Joined: 29 Nov 2015
Posts: 14

PostPosted: Mon Dec 07, 2015 3:59 pm    Post subject: I really really hate lua Reply with quote

Don't have the energy to make a long detailed post about this so i'll be quick.

lua's syntax is horrible! just horrible!!! and not only that, it lacks the most basic functions like sleeping, what does this result in? having to use timers or do other unstable workarounds left and right. the random library uses floats, so if you're going to be generating large numbers, be prepared to do a lot of addition. (after you even figure out that's the reason it fails to work, because it's not going to tell you)

look, lua is the easiest scripting language to integrate into c++ and other native code applications, but i can't see how people can stand this dreadful syntax lua makes use of? in python i can easily automate a task in less than 5 minutes (or less depending on the task), but in lua... even the most basic things like input/output screws up in one way or another, and can take me up to an hour to get working properly, if that even happens.

i know. i'm not making sense and there is a lot of assumption and ignorance in this post, this isn't exactly a hate speech or an anti-lua thread, nor is it all serious, i just wanted to vent off some steam because i can't see anybody complaining about lua here, and hardly anywhere on the internet actually.

but really, i can't stand it.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Dec 07, 2015 5:17 pm    Post subject: Reply with quote

even if it was python it would still be limited to ce's framework and underlying gui component library it makes use of (lcl)

but look into createNativeThread . In there you will be able to sleep without the need for timers (sleep is provided by ce)

the number thing is a bit of an issue yes, but ce's build of lua has a patch applied to better deal with large numbers

_________________
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
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8586
Location: 127.0.0.1

PostPosted: Mon Dec 07, 2015 5:34 pm    Post subject: Reply with quote

If anything it would be nice to see CE implement V8 or another similar Javascript engine.

But your post is more or less just a QQ because you are Python fanboy. No different that someone whom codes in Ruby making the same argument that Lua sucks because 'x' and 'y' in Ruby is easier etc. Every script language has its ups and downs.

Lua is made to be embedded. Python is not. It can be done, but it is not recommended and is often frowned upon. If you want to get into nit-picky shit though, Python is horribly slow compared to Lua where time sensitive operations in game hacking can become a major issue if things are being done in Python.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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