Forum

> > CS2D > Scripts > Explaining Scripts
Forums overviewCS2D overview Scripts overviewLog in to reply

English Explaining Scripts

9 replies
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

old Poll Explaining Scripts

EngiN33R
Moderator Off Offline

Quote
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

old Re: Explaining Scripts

Apache uwu
User Off Offline

Quote
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.

old Re: Explaining Scripts

VADemon
User Off Offline

Quote
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.

old Re: Explaining Scripts

EngiN33R
Moderator Off Offline

Quote
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

old Re: Explaining Scripts

Apache uwu
User Off Offline

Quote
Come on you guys!! Color chat is so simple, just a copyright symbol and rgb color codes. Admin script ftw!!

old Re: Explaining Scripts

VADemon
User Off Offline

Quote
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.

old Re: Explaining Scripts

EngiN33R
Moderator Off Offline

Quote
user VADemon has written
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview