English HC Admin Script 1.9.3 icon

550 comments
03.01.11 09:14:34 pm
like 224 like it!
72 kb, 12,139 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 ... 20 21 22 ... 27 28 Next To the start

Log in!

You need to log in to be able to write comments!Log in
27.05.11 12:17:39 am
like I like it!
Up
Itibere10
User
Offline Off
Very good!
Very work man! √
Congratulations!!
26.05.11 04:04:14 pm
like I like it!
Up
EngiN33R
Moderator
Offline Off
@DEad_SWAT

Happy Camper has written:
Updated
This is a new version which is easier to install. See installation instructions at the end of the description. The only new feature is the possibility to specify the game mode for each map.
26.05.11 03:36:28 pm
like I like it!
Up
ArChaLV
User
Offline Off
@Happy Camper: What changed in this version?
25.05.11 08:43:48 pm
Up
Happy Camper
User
Offline Off
@Epik Max: Download the new version. It's simpler to install.

@DEad_SWAT: Look at the comments on page 4. There is a description how to add attributes.
25.05.11 07:19:34 pm
like I like it!
Up
ImmortaL SkuLL
User
Offline Off
I give you 5/5.It works great.Thanks to the crator of the script and to DEad_SWAT.
25.05.11 06:38:46 pm
like I like it!
Up
ArChaLV
User
Offline Off
@Happy Camper: How i can add more attributes?
25.05.11 05:59:19 pm
like I like it!
Up
PeterToman
COMMUNITY BANNED
Offline Off
it's awesome, but I don't play this that much.
25.05.11 04:26:08 pm
like I like it!
Up
ArChaLV
User
Offline Off
Happy Camper How I can make a command like: when i say !build then where i click there he makes turret 3:but when i say: !build stop then when i click he don't makes turret 3? plz help
25.05.11 10:07:51 am
Up
HeavyWings
User
Offline Off
Happy Camper its still not working. please make youtube video
25.05.11 09:38:17 am
like I like it!
Up
ImmortaL SkuLL
User
Offline Off
Ah.HELP ME.I did anything to make this work.I followed the instructions and when i host game and enter server...NOTHING
25.05.11 01:56:35 am
like I like it!
Up
loik
User
Offline Off
Yes i did but it still wont open lua i need help can you post a video on how to do it in www.youtube.com
24.05.11 09:52:36 pm
Up
Happy Camper
User
Offline Off
@Epik Max: I have copied the installation instructions from Readme.txt to the description above. I hope everything will be clearer now.

@DEad_SWAT: Adding a new command is not obvious. I am sorry, but I don't have time to teach you how the framework works. I suggest that you have a look at sys/lua/hc/modules/moderation.lua. There is the rcon command which is a good example of a simple command.
24.05.11 08:12:53 pm
Up
HeavyWings
User
Offline Off
Happy camper i dont get a thing in readme full of squares anyways ill try to understand (ps i put the other things sill not working :*( )
24.05.11 05:14:43 pm
like I like it!
Up
ArChaLV
User
Offline Off
@Happy Camper: I want to add build help script but it's not working i say like the build help script said !build 12 but there say !build unknown commands. PLZ HELP!
24.05.11 04:54:39 am
like I like it!
Up
Apache uwu
User
Offline Off
Oh cool I guess I copied ur system lool

The syntax for my script is

cmd symbol(;)cmd name(;)auth required(;)wait time(;)args(;)checks(;)check1(;)error1(;)action(;)syntax (;)hide/show/on

Cool but ur script is faster and more efficient x.x
23.05.11 08:00:49 pm
Up
Happy Camper
User
Offline Off
@GaussFireArm: Search for hc.add_say_command. That's the function you use for adding more commands. You specify the:

* command itself
* a callback function that will be invoked when the command is triggered
* the user level needed in order to be authorized to run the command
* usage string
* help message
* ...

For a simple example, look in modules/moderation.lua (rcon).
23.05.11 06:24:53 pm
like I like it!
Up
Apache uwu
User
Offline Off
this is pro but I'm searching the lua for traces of lua like @kick, !broadcast, !mn, etc and I'm unsure where to look, this would help if I want to add more cmds
23.05.11 04:39:06 pm
like I like it!
Up
Colak
User
Offline Off
This is the best hack ever Häppy i love you. and your maps. and HC
23.05.11 11:55:56 am
Up
Happy Camper
User
Offline Off
@GaussFireArm: It's both serveractions and "say" commands. There is no real list of serveraction commands. Click the F-keys and go through the menus to see what's available. The say commands can be listed by selecting F2->Help->List Say Commands.

@Epik Max: Did you read the installation instructions in Readme.txt? You must enter a few lines into server.lua, not only dofile().
23.05.11 08:55:30 am
Up
HeavyWings
User
Offline Off
Help The lua doesnt work becuase of attempt to call nil value
To the start Previous 1 2 ... 20 21 22 ... 27 28 Next To the start