Files

> > CS2D > Lua Scripts > HC Admin Script 1.9.3
Files overviewCS2D overviewLua Scripts overview

English HC Admin Script 1.9.3 >

552 comments72 kb, 13,133 Downloads

old HC Admin Script 1.9.3

Happy Camper
User Off Offline

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:
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 >
edited 10×, last 18.12.11 10:30:16 pm
Approved by Starkkz

Download Download

72 kb, 13,133 Downloads

Comments

552 comments
Page
To the start Previous 1 217 18 1927 28 Next To the start

Log in!

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

old

Infinite Rain
Reviewer Off Offline

Nice script HC! Btw I got problem
Im admin and when i try to make !bc <text>
It told that the command is not exists =(

Glitches:
Map vote:
     1: Next map in [X] Rounds Map name
     map name is little bit downer than Next map
     2:When clock and vote map is turned on
map name and clock will be mixed
I like it!

old

Happy Camper
User Off Offline

@Jela331:
I just tried zombie mode and it works for me. You must be very careful when entering maps in hc.conf. It's pure Lua code so the syntax is strict. Here is an example:
1
2
3
4
5
hc.MAP_LIST = {
	{name = "ctf_angle",	mode = hc.CONSTRUCTION},
	{name = "de_dust", 	      mode = hc.NORMAL},
	{name = "zm_street",	mode = hc.ZOMBIES}
}

old

Jela331
User Off Offline

This is best admin script(for me) ever!
I don't like crazybooy's script,because he added just fun stuff.
But this one has everything

Just a question,when you add maps in voting map system I can't add zm_ maps.
I write (example) : ''zm_map'' hc.ZOMBIES .
After that it didnt work
I like it!

old

Happy Camper
User Off Offline

@aGlet: Did you download the latest version of the script? server.lua is in sys/lua/ in the zip file.

old

aGlet
User Off Offline

i dont see.. the server.lua D:??
I like it!

old Nice work

ZXavier88Z
User Off Offline

Hiya Happy Camper,u got a REAL lua script there huh, i give u 5/5

what i liked is.
-Admin System ( ALL CLEAN )
-Messaging System ( Nicely Done )
- And Lastly, this lua is useful to any game mode

TOTAL: 5/5
I like it!

old

Happy Camper
User Off Offline

@aGlet: Check the instructions above. Unzip it into the CS2D folder. That will overwrite server.lua and you don't need to do anything else with it. Just add your USGN number to users.hcu.

@eko24: If you mean adding functions for equipping players with different kind of weapons, setting fast speed and so on, I won't do it. It's not that kind of admin script.

old

eko24
User Off Offline

very small options...
update it
I like it!

old

aGlet
User Off Offline

WTF i extracted my file at the lua folder and i putted dofile("sys/lua/hc_admin_script_192.lua") at a file but still nothing appeared at my server plz help me D::
I like it!

old

danielmen123
User Off Offline

asdasdqweqwdasdqwdwadasdwadas
I like it!

old

eledah
User Off Offline

could u plz write all the commands of the script?
I like it!

old

ArChaLV
User Off Offline

@Happy Camper: wtf i put maps in hc.MAP.LIST and then start server and press F4 and nothing help please!!!

No maps to choose between - map voting disabled.

WTF!?? HELP{ }
I like it!

old

Mohat
User Off Offline

thanks but i love the_admin_script_v30_beta
I like it!

old

danielmen123
User Off Offline

lol admin script edit ! Really is of Brazil!
I like it!

old

PRo_maStER
User Off Offline

Cool admin script and thanx for the clock
I like it!

old

Keitou
User Off Offline

Thnx for the help! Best admin script ever
I like it!

old

Happy Camper
User Off Offline

@XxWarHeroxX: It sounds like you have another script, except for the admin script, right? If you have, try swapping the order in which the scripts are initialized in server.lua. That might help.

old Chat

Keitou
User Off Offline

Thnx for the clock! But I have another question...
everytime when i change my chat color and i talk, people can see me talk two times at the same time with the same message and I too can see it as well. One of the msg would be the color i picked and one of them would be the normal color. help?
I like it!

old

Happy Camper
User Off Offline

@DEad_SWAT: Do you see any error messages in the log file?

old

ArChaLV
User Off Offline

@Happy Camper: help i added maps then started server but vote map don't work please help!
I like it!
To the start Previous 1 217 18 1927 28 Next To the start