English Explaining Scripts

9 replies
Goto Page
To the start Previous 1 Next To the start
Poll Poll
Which of the following common scripts should be explained next?
Only registered users are allowed to vote
Coloured chat
50.00% (8)
Unlimited building
0.00% (0)
Administration
37.50% (6)
Other (specify in post)
12.50% (2)
16 votes cast
20.03.12 08:50:08 pm
Up
EngiN33R
Moderator
Offline Off
So yeah, I thought that it would be a nice thing to explain how some of the scripts that are commonly found being asked for on the forums function - the explaining will take place on my blog page, but here I want to ask you guys what you want to know.

If you have something else in mind that is not present in the poll above - check the 'Other' option and specify what is it that you have in mind in a post.

A couple of explaining posts have already been posted here. Let me know what script you'd like to see explain and leave general feedback about the idea.

EDIT 1: A post explaining a universal saving script has been added. Thanks to user DannyDeth - in a later addendum to that lesson, I'll explain the possibility of using string.dump for compact binary save files. Also, the poll has been reset - saving system is out and done, vote for the next.
edited 3×, last 21.03.12 10:26:03 am
I code, therefore I exist. | My YouTube channel | Visit my blog for Lua tips and other interesting info | US THREAD SIM 4
20.03.12 09:27:38 pm
Up
Communism
Reviewer
Offline Off
Administration by Engi would be useful.
But I want also minecraft mod
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
20.03.12 09:37:58 pm
Up
apacherev
User
Offline Off
I've seen most of your mods and read some posts on your blog. I highly recommend you create and "explain" a fundamental administration script.
20.03.12 11:32:32 pm
Up
VADemon
User
Offline Off
Admin script? Link ;]

For newbies the hardest part is the saving system.
Because it's not as easy as calling msg() function with some arguments.
21.03.12 07:22:16 am
Up
Alistaire
User
Offline Off
I guess it's gonna be a save script.
IMG:http://i.imgur.com/5zhwOTP.png
21.03.12 08:12:35 am
Up
EngiN33R
Moderator
Offline Off
user VADemon has written:
Admin script? Link ;]


Link to what? Read the OP.

I see that the saving system is getting the most votes - it's probably going to be the first. An administration system will go next.

EDIT: A post explaining the saving system has been added. See OP for details.
edited 1×, last 21.03.12 10:29:36 am
I code, therefore I exist. | My YouTube channel | Visit my blog for Lua tips and other interesting info | US THREAD SIM 4
21.03.12 02:22:46 pm
Up
apacherev
User
Offline Off
Come on you guys!! Color chat is so simple, just a copyright symbol and rgb color codes. Admin script ftw!!
21.03.12 05:25:37 pm
Up
VADemon
User
Offline Off
Code:
1
2
3
function loaddata(file)
    dofile(file)
end

You hope GC will collect and remove that from memory soon? In my opinion it's only usable for configs.
22.03.12 12:13:58 pm
Up
EngiN33R
Moderator
Offline Off
user VADemon has written:
Code:
1
2
3
function loaddata(file)
    dofile(file)
end

You hope GC will collect and remove that from memory soon? In my opinion it's only usable for configs.


It's not really necessary, as I said in the post, you could just do it directly via dofile.

I promised an administration script, I'm gonna make one. After it - I'll explain the coloured chat.
I code, therefore I exist. | My YouTube channel | Visit my blog for Lua tips and other interesting info | US THREAD SIM 4
17.04.12 05:51:36 pm
Up
Eternal
User
Offline Off
RP
To the start Previous 1 Next To the start