Dateien

> > CS2D > Lua Scripts > HC Admin Script 1.9.3
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch HC Admin Script 1.9.3 >

552 Kommentare72 kb, 13.028 Downloads

alt 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 hat geschrieben
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
Mehr >

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)
Mehr >
10× editiert, zuletzt 18.12.11 22:30:16
Zugelassen von Starkkz

Download Download

72 kb, 13.028 Downloads

Kommentare

552 Kommentare
Seite
Zum Anfang Vorherige 1 220 21 2227 28 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

MrShock
User Off Offline

C-c-c-c-Combo Breaker. This Script is damn awesome. Thanks for that.
Ich mag es!
2× editiert, zuletzt 27.05.11 13:06:31

alt Dude

loik
User Off Offline

Dude you know when you open Counter-Strike 2D folder it says sys then lua...where it says lua theres alot of notes copy and paste the note that says server so we can see how to put in "server.lua"
Ich mag es!

alt

Itibere10
User Off Offline

Very good!
Very work man! √
Congratulations!!
Ich mag es!

alt

EngiN33R
Moderator Off Offline

@DEad_SWAT

Happy Camper hat geschrieben
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.
Ich mag es!

alt

ArChaLV
User Off Offline

@Happy Camper: What changed in this version?
Ich mag es!

alt

Happy Camper
User Off Offline

@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.

alt TY

ImmortaL SkuLL
User Off Offline

I give you 5/5.It works great.Thanks to the crator of the script and to DEad_SWAT.
Ich mag es!

alt

ArChaLV
User Off Offline

@Happy Camper: How i can add more attributes?
Ich mag es!

alt

PeterToman
COMMUNITY BANNED Off Offline

it's awesome, but I don't play this that much.
Ich mag es!

alt

ArChaLV
User Off Offline

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
Ich mag es!

alt

HeavyWings
User Off Offline

Happy Camper its still not working. please make youtube video

alt Ahhh....

ImmortaL SkuLL
User Off Offline

Ah.HELP ME.I did anything to make this work.I followed the instructions and when i host game and enter server...NOTHING
Ich mag es!

alt Yes i did

loik
User Off Offline

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
Ich mag es!

alt

Happy Camper
User Off Offline

@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.

alt

HeavyWings
User Off Offline

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 :*( )

alt

ArChaLV
User Off Offline

@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!
Ich mag es!

alt

Apache uwu
User Off Offline

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
Ich mag es!

alt

Happy Camper
User Off Offline

@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).

alt

Apache uwu
User Off Offline

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
Ich mag es!

alt

Colak
User Off Offline

This is the best hack ever Häppy i love you. and your maps. and HC
Ich mag es!
Zum Anfang Vorherige 1 220 21 2227 28 Nächste Zum Anfang