English HC Admin Script 1.9.3 icon

510 comments
03.01.11 09:14:34 pm
like 197 like it!
72 kb, 10,523 Downloads
Happy Camper
User
Offline Off
Update
This is just a minor update.

Features Removed:
• Upgrading supplies to super supplies is no longer blocked.

Bugs Fixed:
• Aligned "Next map" text with map name.
• Moved clock to top left corner to avoid clash with next map name.

user Starkkz has written:
This script is damaged on Counter-Strike 2D 0.1.2.6 due to the LuaJIT switch.
Check for solutions on thread cs2d [Fix] HC Admin Script


∗ ∗ ∗

This script has been used on the HC servers. It is actually a script framework which can be extended by modules. Since I have closed the servers I am releasing the script free for everyone to use.

Overview

This is a script used for administrating CS2D servers. Commands are invoked from menus or the say prompt.

Serveraction1 (default F2) - Command menu
Serveraction2 (default F3) - Moderator menu
Serveraction3 (default F4) - Map vote menu

A list of say commands can be found by selecting Help->List Say Commands from the Command menu. The commands available for a certain user depends on which category the user belongs to.

User Categories

There are four categories of registered users handled by the script:

• VIP User
- users with special privileges
• Moderator Level 1
- moderates the game
• Moderator Level 2
- moderates the game, has authority to ban users permanently
• Administrator
- administers the server and the users

Administrator is the highest level. Users at a certain level automatically has the privileges of those at a lower level.

Modules
More >

Installation Instructions

Unzip the package into the CS2D folder. Note that this will overwrite your sys/servertransfer.lst and sys/lua/server.lua files!

Edit the file sys/lua/hc/data/config/users.hcu. Replace 12345 with your U.S.G.N. number:
Code:
1
12345,Adm,Your Name

If you have an old users.hcu file, use it to replace the one provided by this package.

Frequently Asked Questions (FAQ)
More >
imageimageimageimageimage
edited 10×, last 18.12.11 10:30:16 pm

Comments

510 comments
Goto Page
To the start Previous 1 2 ... 25 26 Next To the start

Log in!

You need to log in to be able to write comments!Log in
03.09.15 12:08:51 am
like I like it!
Up
I Need Milk
User
Offline Off
Neat.
03.08.15 05:31:00 pm
like I like it!
Up
csthunder
User
Offline Off
Awesome,
No Bad!
03.08.15 01:50:15 am
Up
HunTeD3105
User
Offline Off
There is no admin when i download it !
13.07.15 02:19:06 pm
like I like it!
Up
Rattle189
User
Offline Off
Awesome script @user Happy Camper:!
06.07.15 03:16:41 am
like I like it!
Up
FaceBook
BANNED
Offline Off
Good Job
05.07.15 01:31:39 am
like I like it!
Up
you pro
BANNED
Offline Off
Good Job
edited 2×, last 10.07.15 07:52:09 pm
01.07.15 09:59:31 am
Up
MarioNette
User
Offline Off
how do i put maps in f4?
can semeone tell me? please
20.05.15 09:22:17 am
Up
Yuki Usagi
User
Offline Off
user PsN:
Open chat.lua inside modules folder, just right the start of file you will see
Code:
1
2
3
4
5
6
hc.chat.SAY_TAGS = {
    [hc.VIP] = "VIP",
    [hc.MODERATOR1] = "Mod",
    [hc.MODERATOR2] = "Mod",
    [hc.ADMINISTRATOR] = "Adm"
}


Just modify it for your own.
19.05.15 10:45:22 pm
like I like it!
Up
PsN
User
Offline Off
Nice script, But how to change the tag?
17.05.15 03:02:25 pm
like I like it!
Up
Revoc
User
Offline Off
user Happy Camper
Hmm
well
How to do this but with a command.
maybe !check

Spoiler >
18.04.15 10:03:13 pm
like I like it!
Up
taiousz
User
Offline Off
Not bad.
18.04.15 09:52:37 pm
Up
andrezinho1997xx
User
Offline Off
@user Happy Camper:
How do I get along with script with hc, for me to reset the score?
17.04.15 04:58:24 am
like I like it!
Up
Revoc
User
Offline Off
Owh my fault thanks alot :3
but there is a problem after i give the comma
( when im pressing f2 or f3 this error showed up )
Error: sys/lua/hc/core/commands.lua:64: attempt to call field 'get_level' (a nil value)

the "get_level" i have no idea

Plus
when i started the game this error showed up on my console
( Auto showed up when i started )
LUA ERROR: sys/lua/hc/core/user.lua:35: table index is nil

this is the code ( updated )
Spoiler >
16.04.15 07:58:58 pm
Up
Happy Camper
User
Offline Off
You are missing a comma:

Code:
1
2
3
4
5
6
7
hc.user.NAME_TO_LEVEL = {
VIP = hc.VIP,
Mod1 = hc.MODERATOR1,
Mod2 = hc.MODERATOR2,
     SCR = hc.SCRIPTER,   -- <===
Adm = hc.ADMINISTRATOR
}
16.04.15 01:57:06 pm
like I like it!
Up
Revoc
User
Offline Off
How to add new rank like maybe the " SCR " it will be a error at main.lua 248
Spoiler >
12.03.15 08:24:33 pm
Up
Pro Gaming Network
COMMUNITY BANNED
Offline Off
Beautiful mood but lacks some of the amendments. As well as how to become a moderateur & super mod & vip?
16.02.15 11:31:10 pm
Up
andrezinho1997xx
User
Offline Off
Hi want to know how I put resetscore using the crossbar.
26.12.14 08:08:44 am
like I like it!
Up
Louie
User
Offline Off
what?
25.12.14 09:25:43 am
like I like it!
Up
routeXYZ
User
Offline Off
Read lines ..
25.12.14 09:09:39 am
like I like it!
Up
Louie
User
Offline Off
This is good im gonna use this on my server tho i have a question,how do i make someone a Mod or VIP?
To the start Previous 1 2 ... 25 26 Next To the start