Pivity

GLua Self Tutorials

Last read Never
#1

Hello ScriptFodder community,

I am rapidly becoming interested in learning to be fluent in GLua. I'm quite tired of only knowing GLua on a very limited basis and having to hire people to do more advanced programming for me. I've read almost everything within these websites; G-Wiki GLua Docs Others

So I understand quite a bit of all the basics, now I am practicing putting it all together! Any suggestions for an online interpreter? I've been trying to use this, but it's not dedicated to GLua.

If you guys have any more good sources to learn GLua or some challenges I can walk through I'd appreciate it!

Thanks,

Jasper

Winner x 1
#2

Reverse engineer scripts to work how you want them to work.

I did that with html, css, js, etc.. and am currently doing it to php as we speak, it works better than teachers or books (imo though, I hate doing set stuff that I don't want to do).

Agree x 3Winner x 2
#3

Why do you want to use an online interpreter? Just download the interpreter from lua.org. You might have to compile/build some stuff, but the instructions are pretty straight forward.

For GLua, you're going to have to open up Garry's Mod, or at least a Garry's Mod server. There's no standalone interpreter as far as I'm aware (and I'm not sure how that would even work).

#4
Byroastchickenat 15th of June 2016 13:56:05
Why do you want to use an online interpreter? Just download the interpreter from lua.org. You might have to compile/build some stuff, but the instructions are pretty straight forward.For GLua, you're going to have to open up Garry's Mod, or at least a Garry's Mod server. There's no standalone interpreter as far as I'm aware (and I'm not sure how that would even work).

Downloading the interpreter from lua.org, could you explain a little more, please? Also, I do have my own server host where I can test out scripts. Thanks for any help.

#5
ByJasper Morgueat 15th of June 2016 20:22:54
Downloading the interpreter from lua.org, could you explain a little more, please? Also, I do have my own server host where I can test out scripts. Thanks for any help.

This guide walks you step-by-step through installing Lua on Windows.

Agree x 1
#6
Byroastchickenat 16th of June 2016 16:09:02
This guidewalks you step-by-step through installing Lua on Windows.

or you could just use Notepad++ with the GLua plugin.

Agree x 3
#7
Byroastchickenat 16th of June 2016 16:09:02
This guidewalks you step-by-step through installing Lua on Windows.

or you could just use Notepad++ with the GLua plugin.

Funny x 1
#8
Byroastchickenat 16th of June 2016 16:09:02
This guidewalks you step-by-step through installing Lua on Windows.

or you could just use Notepad++ with the GLua plugin.

Funny x 1
#9
Bynullsat 16th of June 2016 16:36:01
or you could just use Notepad++ with the GLua plugin.

http://atom.io or d i e

Agree x 6Dumb x 1
#10
ByVirtusat 16th of June 2016 17:24:09
http://atom.io or d i e

Oh I'll have to check this out for Linux.

#11
Bynullsat 16th of June 2016 18:16:00
Oh I'll have to check this out for Linux.

It's great.

Recently found out pressing tab after entering some sort of known code does this:

enter image description here

Agree x 1Funny x 1
#12

its great except for the part where it's made with javascript

shoot me

Dumb x 4
#13
Byroastchickenat 17th of June 2016 11:43:10
its great except for the part where it's made with javascriptshoot me

who gives a flying fuck about what it's made with as long as it looks nice and functions properly?

Agree x 2Funny x 1
#14
Bynullsat 17th of June 2016 18:50:44
who gives a flying fuck about what it's made with as long as it looks nice and functions properly?

people who care about performance

web languages are called web languages for a reason. they are not made for desktop applications. they cannot compete in terms of speed.

Disagree x 2
#15
Byroastchickenat 18th of June 2016 09:12:58
people who care about performanceweb languages are called web languages for a reason. they are not made for desktop applications. they cannot compete in terms of speed.

The fuck you talking about, it preforms as sublime/better than sublime text does. Unless you try it your self you can't judge it.

Adding shit tons of addons to it will cause any app to run slow.

Agree x 4
#16
Byroastchickenat 18th of June 2016 09:12:58
people who care about performanceweb languages are called web languages for a reason. they are not made for desktop applications. they cannot compete in terms of speed.

You should really educate yourself....

Agree x 2Funny x 1
#17
ByJasper Morgueat 15th of June 2016 03:25:09
Hello ScriptFodder community,I am rapidly becoming interested in learning to be fluent in GLua. I'm quite tired of only knowing GLua on a verylimitedbasis and having to hire people to do more advanced programming for me. I've read almost everything within these websites;G-WikiGLua DocsOthersSo I understand quite a bit of all the basics, now I am practicing putting it all together! Any suggestions for an online interpreter? I've been trying to usethis, but it's not dedicated to GLua.If you guys have any more good sources to learn GLua or some challenges I can walk through I'd appreciate it!Thanks,Jasper

Theres also some youtube tutorials that might help you..

I've watched a few like Goature Erigitic Codeblue tutorials and more.

#18

I've tried doing this

local test = 0 local test2 = 3 local total = test + test2 local playersmoney = { ["Alex"] = 100, ["Daniel"] = 200, }

print("Value "..total) for k,v in pairs(playersmoney) do print(v) end

(Just messing around for fun to test lua) How would i make it print the name in this case Alex & Daniel before the money aswell? Not quite sure how that works.

Oh just noticed, k is the names... mehh. Always been told to never use the k as you wont need it lol 3:

#19
ByAlexat 20th of June 2016 12:09:53
snips

Bascially the k means key and v means value.

Lets say you needed the 4th index in your table. You could just do playerlist[4].money

[4] = key

.money = value

Agree x 1
Users viewing this thread
Nobody