Solved Plugin Magma

Ferum

Plugin Developer
Plugin Developer
Jan 3, 2015
14
25
3
32
Belarus, Grodno
No offense to the LUA users at all seriously.

Even javascript handles a lot of thing better than that. So looking at the interpreters now:

Py > Js > Lua

Python vs Lua

Lua is absolutely unreadable. It is something that was made to look really different than every other languages.

In every modern language, you use the + sign to connect variables.

var = word + word2

In lua you do:

var = word .. word2;

How to check if something is not equal with something:

1 ~= 2

Basic concept that you do in 90% of the programming languages:

1 != 2


But seriously It's just against every programming concept.

Python is thought to be useful as a general programming language while Lua is totally targeted to be an embedded scripting language.

And I didn't even mention the performance.

But LUA wins in the size. It's really small. Due to that size, It has limitations. I would say that you should start practicing some javascript or python. Both languages will make you benefit a lot later.
serious plus Lua to C Sharp, Java or Python that Galois teach the easiest to learn, Java is a serious thing for a sysadmin, I think Lua is just mischief, major projects will not write it, but you can learn it in a week
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
serious plus Lua to C Sharp, Java or Python that Galois teach the easiest to learn, Java is a serious thing for a sysadmin, I think Lua is just mischief, major projects will not write it, but you can learn it in a week
Oh well. Dunno. LUA sadly is just not for me.
 

MasterPeace

Retired Staff
Retired Staff
Feb 2, 2015
269
69
28
45
Poland
It don't matter for fougerite. Just get Notepad++ at least and write. Download some plugins so you can see how others write their scripts.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
I'm guessing you can't use any Oxide plugin, it'll have to be re coded?
I dont know If I should do the oxide hooks and pass them them the same parameters. If I can do that, I will add It. Probs the Module is going to call fougerite and oxide hooks too.

Sent from my Samsung Galaxy S4
 

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
I dont know If I should do the oxide hooks and pass them them the same parameters. If I can do that, I will add It. Probs the Module is going to call fougerite and oxide hooks too.

Sent from my Samsung Galaxy S4
Would be interesting to see what the outcome is
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Haha, you will see It later today. I will have to get the hook names from Oxide and get them in the module. Question is If i can pass the same hook parameters. (Probs can, Fougerite has premade classes for easier API but u can get the rust classes from them)
 
  • Informative
Reactions: Jakkee