Files

> > CS2D > Lua Scripts > [Bolt]Alternative User System
Files overviewCS2D overviewLua Scripts overview

English [Bolt]Alternative User System >

24 comments2 kb, 472 Downloads

old [Bolt]Alternative User System

Avo
User Off Offline

(aus, not anus)

As we all know USGN is sometimes not available and we can't use our USGN IDs in game, so I decided to write short script that would help some servers' owners who can't script. Idea of it is really easy:

•Owner creates accounts for admins, moderators and vips (server files access needed)
•Certain user uses data given from the owner to login in game.
•When user is logged in, he/she can use #USGN in normal way to use special tools (if any) like kicking players, using lua menus or saving player's progress in some gamemode.
•You can also log out.

Available in-game commands:
Spoiler >


Adding users:
∗little update∗ Caution! User logins can't contain spaces and passwords can't contain spaces at the beginning and at the end of a password. (I was too lazy to include it )
Spoiler >


To check if it really works you can use script I lastly did for some guy. Included in the zip. Leave your comments and like it if you want, I don't care.

EDIT: I realised I forgot about the most important thing:
If your servers uses script(s) with another "say" hook, you will have to paste code below, at the beginning of each function attached to "say" hook. Otherwise all server players will see your login data. √
Spoiler >
edited 5×, last 18.07.13 04:05:01 pm
Approved by EngiN33R

Download Download

2 kb, 472 Downloads

Comments

24 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

thesk5tera
User Off Offline

nice but is there !register command ??
I like it!

old

Avo
User Off Offline

@Lucas: you´re mad because I said "be quiet" to you commenting some file. Good to you, your behaviour doesn´t seem to be "as a child so you are". √

old

Ashelin
BANNED Off Offline

I was thinking when someone created a script like this. Good job.
I like it!

old

SpriNG
User Off Offline

i like it √
I like it!

old

lucaSWAT
User Off Offline

user Avo:
and your comment as a child so you are.

user Sparty:
The ignorance is a virtue pity that few people have.

old

AzmaN
User Off Offline

please upload the pointer pls
I like it!

old

Avo
User Off Offline

Not exactly. This script supports other scripts that use #USGNs to log in to server, for example as administrator (admin scripts etc.).

Since USGN is down, we can't use our accounts in-game. AUS allows you to create username and password for certain USGN number, so players can't register themselves (otherwise there would be a bloody mess). Logging to AUS in server, sets an USGN to you until you log out or disconnect.

Main element of this script is edited "player" function that returns USGN number, if player is logged to AUS on a server correctly.

As I stated in example in description, if I say: "!login Bolt password123", my USGN will 88318, even if masterserver is not available.

old new idea

berserk
User Off Offline

will be very cool if in this script will and !register (new player)
I like it!

old

Sparty
Reviewer Off Offline

@user Avo: take a chill pill mate.. dont care about them.
I like it!

old

Avo
User Off Offline

@user lucaSWAT: I understand behaviour of user krabob, reasons of user Infinite Rain and user VADemon, because they at least know what my file is. You're comparing two diffrent things and I'm not going to explain you for what you could use my script, you have description for that (I really believe you didn't read it). Stop being mad ignorant, your senseless comment only showed how stupid you are OR how you tried to pretend mr. I-know-everything. Please think before you post instead of posting before thinking. Thank you and good luck next time.

old

lucaSWAT
User Off Offline

Do not think your good because already has an equal, Equal in the sense of doing the same thing.

file File does not exist (7456)

old

Avo
User Off Offline

Map huehuehue.

old

nobilit
User Off Offline

Good script
I like it!
edited 1×, last 23.07.13 09:13:38 pm

old

SekYo
User Off Offline

nice
I like it!

old

Gajos
BANNED Off Offline

I think this is good.
I like it!

old

Pseudon
User Off Offline

I like.
I like it!

old

Sparty
Reviewer Off Offline

*heart is broken*
I like it!

old

Infinite Rain
Reviewer Off Offline

Quote
Caution! Passwords and and names can't contain spaces!

D;

old

krabob
User Off Offline

anus.
To the start Previous 1 2 Next To the start