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,135 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,135 Downloads

Comments

552 comments
Page
To the start Previous 1 29 10 1127 28 Next To the start

Log in!

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

old

Hosten
User Off Offline

Best script
I like it!

old

Dousea
User Off Offline

may the best script win forever.. lol..
I like it!

old

Shawni
User Off Offline

This is the best admin script ever.
I like it!

old

resullan
User Off Offline

lua is hard wtf

old

Happy Camper
User Off Offline

See installation instructions above.

old

Cr1sS LeO
User Off Offline

how to aaply lua to the server???

old

Happy Camper
User Off Offline

@user Bruno_0123 s: You don't need to write anything in server.lua if you unpack the zip file into your CS2D folder. It will overwrite the existing server.lua. If you don't like that, you can copy all files and edit server.lua manually.

old

Bruno_0123 s
User Off Offline

what write in server lua in settings to open lua ?

old

Happy Camper
User Off Offline

@user ItsAdamLY: That file will be created automatically. It's normal (but misleading) to get that error message. It shouldn't cause any problems with the menus.

old

firefox
BANNED Off Offline

Best Admin script Ever ... contains ideas from Great Man
I like it!

old

ItsAdamLY
User Off Offline

What NoHackStudios Saids =
[11:42:51] Error: sys/lua/hc/data/stats/top.hct: No such file or directory
__________________________________________________
He is right, I had see this message in dedicated server.
Where the file(s)?
I like it!

old

Happy Camper
User Off Offline

Those error messages shouldn't be a problem. Strange. You don't see anything else?

old

NoHackStudios
User Off Offline

Code : [11:43:03] Error: sys/lua/hc/data/stats/108718.hcs: No such file or directory
[11:44:18] Error: sys/lua/hc/data/messages/108718.hcm: No such file or directory
[11:42:51] Error: sys/lua/hc/data/stats/top.hct: No such file or directory
I like it!

old

Happy Camper
User Off Offline

Ok, check the log file for errors then. It sounds like there is some problem.

old

NoHackStudios
User Off Offline

I didn't change the keys =/
I like it!

old

Happy Camper
User Off Offline

Ok, have you re-mapped the serveraction keys? It should be serveraction 2. You could also check the log for error messages.

old

NoHackStudios
User Off Offline

K, but the F3 Method doesn't work for me even though i'm an admin. When I press F3 no menu shows up.
I like it!
To the start Previous 1 29 10 1127 28 Next To the start