English HC Admin Script 1.9.3 icon

550 comments
03.01.11 09:14:34 pm
like 224 like it!
72 kb, 12,079 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
ok This file has been reviewed and approved by Starkkz (29.11.15 02:43:05 pm)

Comments

550 comments
Goto Page
To the start Previous 1 2 ... 24 25 26 27 28 Next To the start

Log in!

You need to log in to be able to write comments!Log in
03.04.11 11:22:18 pm
Up
Happy Camper
User
Offline Off
@Piclas: Enter these lines in server.lua:
Code:
1
2
3
hc_dir  = "sys/lua/hc"
hc_conf = hc_dir.."/hc.conf"
dofile("sys/lua/hc/hc.lua")
03.04.11 10:54:55 pm
like I like it!
Up
Picias
BANNED
Offline Off
sorry but the problem is not closed
iam done with i take my Usgn in adm..
but
now i writed in Server .lua
--dofile("sys/lua/hc/hc.lua")     but it is not work ??
03.04.11 10:21:26 pm
Up
Happy Camper
User
Offline Off
@Erdem_: It's most likely a bug. Sorry, but I don't have time to fix it now. You could try to create the file (top.hct) yourself and see if that helps. Just create an empty file. Maybe then the script will save some stuff to it.

@holhit11: Save attributes as png files in gfx/hc/attribs. Then open sys/lua/hc/modules/playerattribs.lua in a text editor. Look for hc.playerattribs.ATTRIBUTES. Here you can add the new attributes. Type the name you want in the menu on the left side and the filename on the right side, like this:
Code:
1
2
3
hc.playerattribs.ATTRIBUTES = {
     Angel = "angel.png",
     Devil = "devil.png",


@Piclas: Open the file sys/lua/hc/data/config/users.hcu in a text editor. Enter this line:
Code:
1
53068,Adm,Piclas

Now you should be admin.
03.04.11 01:24:19 pm
like I like it!
Up
Picias
BANNED
Offline Off
sorry ..
its SO HARD I FIND WHERE i Give MY usgn ...
Do you can Show me image..?
28.03.11 06:16:46 am
like I like it!
Up
Amoeba
User
Offline Off
HC,How do I add new attributes?
27.03.11 11:16:18 am
Up
Erdem_
User
Offline Off
Error : sys/lua/hc/stats/top.hct no such file or directory .
No top30 ... Top30 always resets.
26.03.11 05:44:51 pm
Up
Happy Camper
User
Offline Off
@raffy154: I am not sure exactly what you mean. Did you look at Readme.txt? There are some instructions there how to install and configure the script.
26.03.11 12:34:23 pm
like I like it!
Up
raffy154
User
Offline Off
What will I change in SCRIPTNAME.lua
25.03.11 09:23:55 am
like I like it!
Up
Amoeba
User
Offline Off
Thnx a lot HC.
I do not matter whether you replied late but replied me.Thnx a lot
I had done what U told but mistake was I did
hc.MAP_LIST = {"de_dust,de_dust2"}
Inverted commas were not there.
24.03.11 10:39:09 am
Up
Happy Camper
User
Offline Off
@lohit11: Sorry, I didn't see your question. This is what you do:

Open sys/lua/hc/hc.conf in a text editor. Look for hc.MAP_LIST. Enter maps like this:
Code:
1
hc.MAP_LIST = {"de_dust","de_dust2"}
24.03.11 10:33:37 am
like I like it!
Up
Amoeba
User
Offline Off
HC,You replied all of them but not me.
I make a server(From new Game).
I woant VOTE_MAPLIST containing maps to vote.
Where shall I add them?
20.03.11 05:50:19 pm
like I like it!
Up
h3LLiuM
User
Offline Off
thank you happy Camper its very good lua i say it
20.03.11 05:39:43 pm
Up
Happy Camper
User
Offline Off
@h3LLiuM: Look a few posts below. I told Quickshooter052 how to make himself admin. Just do the same with your UGSN number (47861). Once you are admin, you press F2->Say Colour and select a colour.
20.03.11 04:42:48 pm
like I like it!
Up
h3LLiuM
User
Offline Off
happy camper i love your scripts but i dont know how to say color? and im not admin
19.03.11 10:14:45 pm
Up
Happy Camper
User
Offline Off
19.03.11 10:48:24 am
like I like it!
Up
Hanz
User
Offline Off
Hello, Happy Camper can you help me to make emoticon lua script i mean like your lua script but i just need the emoticon lua script example and automatic when we say it show smiling image

Can you help me to make that lua script?
17.03.11 11:54:22 am
Up
Nameless052
User
Offline Off
@Happy Camper
Thanks alot!
13.03.11 05:43:57 pm
like I like it!
Up
VegBerg
User
Offline Off
Hello, Häppy C@mper, I loved your servers...
And the script is awesome
13.03.11 03:53:43 pm
Up
Happy Camper
User
Offline Off
@Quickshooter052:

You add new users by editing the file sys/lua/hc/data/config/users.hcu . Enter lines like this:
Code:
1
usgn,role,name

usgn = the USGN (Unreal Software forum) number
role = Adm | Mod2 | Mod1 | VIP
name = the name of the user

Here is what you should enter to make yourself admin:
Code:
1
39837,Adm,Quickshooter052

Once you are admin you can manage users using the in-game menus: F3->Administrate->Register User/Manage Users
edited 1×, last 13.03.11 04:10:20 pm
13.03.11 09:17:11 am
Up
Nameless052
User
Offline Off
How can i make someone an ADMIN,Mods.,VIP?
To the start Previous 1 2 ... 24 25 26 27 28 Next To the start