Files

> > CS2D > Lua Scripts > Transcript Lua Experiment 1.07 [TLex]
Files overviewCS2D overviewLua Scripts overview

English Transcript Lua Experiment 1.07 [TLex] >

145 comments23 kb, 2,609 Downloads

old Transcript Lua Experiment 1.07 [TLex]

Apache uwu
User Off Offline

TLex 1.07 [Version.Major.Revision]

Features
•Preprocesser system
More >


•Command System
More >


•Blacklist system
More >


•User System
More >


•Report System
More >


•Voting System
More >


•Banning System
More >


•Config System
More >


•Shortcut System
More >


•Anti-AWP system
More >




•Side Notes
More >



•Changelog
More >



To add the first superadmin read the readme or click read User System+

Enjoy!

Spoiler >


IMG:https://i.creativecommons.org/l/by-sa/3.0/88x31.png
edited 59×, last 19.09.12 01:17:14 am
Approved by Starkkz

Download Download

23 kb, 2,609 Downloads

Comments

145 comments
Page
To the start Previous 1 2 3 4 5 6 7 8 Next To the start

Log in!

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

old

Apache uwu
User Off Offline

Try disabling other lua scripts that you might have used with Tlex, it will conflict.

As for a command list I have never made one, check commands.txt for a raw copy.

old

HeavyWings
User Off Offline

CAn i have someone list all the comands? ps reports not working becuase it's disabled how to enable it??
I like it!

old

Cohle
User Off Offline

Very very very good scripts.Thanks
I like it!

old

HeavyWings
User Off Offline

I'm saying in my mind that is a something in a something that a something that something that doest make that something sense (get my logic?)
I like it!

old

PeterToman
COMMUNITY BANNED Off Offline

lol he is the clone of hamzan6? ...
I like it!

old

Smilesoldier
User Off Offline

This is an awesome script. That's all i have to say about it.
I like it!

old :)

MiHawkLaw
User Off Offline

I had the idea of ​​taking the other scripts I was using, and leave only the TLex and it worked perfectly! Thanks man, much better than I expected! (It seems that google translator isn't so bad, haha, but that doesn't means that my english sucks either!)
I like it!

old

Apache uwu
User Off Offline

This system is completely different from most admin scripts.

If you type '@autologin' it should correct you to '!autologin'.

Red = Error
Yellow = Attention
Green = Success
Orange = Return Success

@Hamzaaa If I wanted to hack servers I could just create a LuaSocket that takes your "sys/usgn_pw.cfg" and send it back to me. This is an admin script, My servers have been "hacked" while using this script, it's not my script's fault. DC has already released a patch to prevent people usgn exploitation. My lua script assigns permissions on join--even during map transfer.

old Weird

MiHawkLaw
User Off Offline

good job! idk why but the commands aren't working :(, i guess it's !autologin or @autologin? !login or @login?? do not know if I typed the wrong command or something like that... (sry for bad english and a little of crap google translator)
Anyway, still it's a great script dude, really good job!
I like it!

old

Kel9290
User Off Offline

what? Just delete his usgn from admins =_=
I like it!

old

KimKart
Idiot Off Offline

@Hamzaaa.now ur the bigest *Epic Fail* i ever seen

old

LeProdigy
User Off Offline

He uses the script
To hack servers
DONT USE THIS SCRIPT

old

Apache uwu
User Off Offline

It should work if you also did:

Open "TLex/Settings/authorization.txt"

Add "-PRO-ADMIN;0" and "-ELITE-ADMIN;0".

It should look like this.

1
2
3
4
5
6
7
8
9
user;0
poweruser;0
vip;0
member;0
moderator;0
admin;0
superadmin;0
-pro-admin;0
-elite-admin;0

Complete lowercase, it's okay to change the say list in caps but not okay in the userdata files.

authorization.txt shows up on @listusers and "TLex/Users".

Once you have done that you can open up your own userfile and edit superadmin to -eliteadmin.

old

Xanamaros
User Off Offline

I think its right but still not working:
1
2
v_say_list={"USER", "PWR-USER", "MINOR", "VIP", "MEMBER", "MODERATOR", "ADMIN", "-SUPER-ADMIN", "-PRO-ADMIN", "-ELITE-ADMIN"}
v_color_list={"000000000", "255192203", "255220000", "255000255", "040000255", "090255000", "255255000", "255000000", "255255255"}
I like it!
edited 2×, last 20.07.11 01:42:42 pm

old

Apache uwu
User Off Offline

Very easy as well.

1
Symbol(;)Name(;)Power Level(;)Wait Time(;)Args(;)Checks(;)Check1(;)Error1(;)Action(;)Syntax(;)Hide/Show/On


So the highest power, counting from 0, is 9. So replace 6 with 9.

1
@(;)authset(;)9(;)0(;)2(;)3(;)t_ranks[t_args[3]]~=nil(;)file_exists(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg")==true(;)file_exists(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg")==true(;)Error: Level was not defined.(;)Error: Username does not exist.(;)Error: Username does not exist.(;)v_temp=read_line(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", 1):match("(.*) (.*) ;") v_temp2=io.open(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", "w") v_temp2:write(v_temp.." "..string.lower(t_args[3]).." ;") v_temp2:close() msg2(me,v_copyright..v_color["green"]..string.lower(t_args[2]).." was successfully set as "..string.lower(t_args[3])..".")(;)@authset <username> <level>(;)0

@say will not work because the say list, as well as the color list has not been edited.

Open config.txt and make sure that these both have 9 values.

1
2
v_say_list={"USER", "PWR-USER", "VIP", "MEMBER", "MODERATOR", "ADMIN", "-S-ADMIN","Eight","Nine"}
v_color_list={"000000000", "255192203", "128000191", "000000255", "000255000", "255000000", "255255255","000000000","000000000"}

old

Xanamaros
User Off Offline

Ok I got another question, how do I set what each user can do? Eg.
1
@(;)authset(;)6(;)0(;)2(;)3(;)t_ranks[t_args[3]]~=nil(;)file_exists(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg")==true(;)file_exists(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg")==true(;)Error: Level was not defined.(;)Error: Username does not exist.(;)Error: Username does not exist.(;)v_temp=read_line(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", 1):match("(.*) (.*) ;") v_temp2=io.open(v_TLex_Users.."/"..read_line(v_TLex_Users.."/"..string.lower(t_args[2])..".cfg", 1):match(" (.*) ;")..".cfg", "w") v_temp2:write(v_temp.." "..string.lower(t_args[3]).." ;") v_temp2:close() msg2(me,v_copyright..v_color["green"]..string.lower(t_args[2]).." was successfully set as "..string.lower(t_args[3])..".")(;)@authset <username> <level>(;)0
So that it can only be used by the highest lvl (which is now 9(inculding user and powervip))


Also, @say isnt working now, but everything else is
I like it!
edited 2×, last 20.07.11 01:43:10 pm

old

Apache uwu
User Off Offline

Very easy.

Config.txt.

1
2
3
4
5
6
7
v_clan="[Clan] "
v_clantag="%[Clan%]"
v_clanname="Clan"

v_clanwebsite="www.Clan.com"
v_command_clan="clan"
v_command_clancheck="clancheck"

I'll explain in detail.

v_clan is for server names and msgs. (Ex. @con ---> "[Clan] Construction")

v_clantag is the clantag of the tag, this must be written in LUA pattern. So '[' or ']' have to be '%[' or '%]'.

v_clanname is what your clan is called (long form).

v_clanwebsite is the website of the clan.
v_command_clan is the command to use to show the website of the clan.

(**v_command_clan -> commands.txt)

v_command_clancheck, ah just like @evilcheck, it prevents anyone that is below 'member' to join. They will be kicked once they pass autologin.

Clanchat can be used in 2 ways, '~ message' or '@clanchat message'.

Look in 'settings/shortcuts.txt'.

~ @clancheck

old Clan ~

GooDCatKill
BANNED Off Offline

How i create a clan tag on TLex ??? nad how i can add menbers? to use clan chat

old

Xanamaros
User Off Offline

Thanks that was all I needed, hope to see more from you.
I like it!

old

Apache uwu
User Off Offline

Yes, look in config.txt,

I'm not sure which one you are talking about.

There are 2 types of "levels".

•The first one is the visual.

@say ---> user,pwr,vip,member,mod,admin,superadmin
@listusers ---> same idea, it loads for @say

These are located in config.txt, look for...

1
2
v_say_list={"USER", "PWR-USER", "VIP", "MEMBER", "MODERATOR", "ADMIN", "-S-ADMIN"}
v_color_list={"000000000", "255192203", "128000191", "000000255", "000255000", "255000000", "255255255"}

•The seconds one is server-sided.

Remember TLex/Users? Well inside the users it will have...

1
autologin superadmin ;

Or whatever rank you have. To change this look in settings/authorization.txt, you can add new ranks with newlines, it's listed lowest power to highest.

Once you have made another rank you are able to change settings/commands.txt to match your privilege levels.
To the start Previous 1 2 3 4 5 6 7 8 Next To the start