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.042 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.042 Downloads

Kommentare

552 Kommentare
Seite
Zum Anfang Vorherige 1 215 16 1727 28 Nächste Zum Anfang

Logge dich ein!

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

alt

SilentDash
User Off Offline

Zitat
((Look to the title.TY!))

stupid? Bad Uploads you rate "Awesome" and Awesome Uploads you rate bad?!
Ich mag es!

alt Good

Verxo
User Off Offline

Sorry its good...many functions TY!
Ich mag es!
1× editiert, zuletzt 08.10.11 09:29:21

alt

SilentDash
User Off Offline

okay i try... it i hope it will work

Edit: Realy Awesome!
Ich mag es!
1× editiert, zuletzt 26.09.11 14:20:07

alt

if
User Off Offline

@German killer
Go to the location and creat 1 document called users.
rename it with .hcu

alt

SilentDash
User Off Offline

Need help.. The Server dont find sys/lua/hc/data/config/users.hcu how to make this fixed?

(sry for bad english)
Ich mag es!

alt

G3tWr3ck3d
User Off Offline

Is there a way to change the server actions something like when i press f5 the config/help/messages/online users and statics appear.
Ich mag es!
1× editiert, zuletzt 24.09.11 16:48:08

alt

Happy Camper
User Off Offline

The order is fine, but there were some extra quotes. I have removed them. Try this:
1
2
3
4
5
6
7
8
9
10
hc.MAP_LIST = {{name = "de_dust", mode = hc.CONSTRUCTION},
			{name = "de_dust2", mode = hc.CONSTRUCTION},
			{name = "de_dust2_snow", mode = hc.CONSTRUCTION},
			{name = "ctf_angle", mode = hc.CONSTRUCTION},
			{name = "ctf_canyon", mode = hc.CONSTRUCTION},
			{name = "ctf_sand", mode = hc.CONSTRUCTION},
			{name = "ctf_sand 1.2", mode = hc.CONSTRUCTION},
			{name = "ctf_swamp_2.0.2", mode = hc.CONSTRUCTION},
			{name = "ctf_warehouse_v17", mode = hc.CONSTRUCTION},
			{name = "ctf_cs2dfortress", mode = hc.CONSTRUCTION}}

alt Is this the right order?

G3tWr3ck3d
User Off Offline

I wanna know if this is the right order of maps or something like that cuz when i start the game the lua don't work cause i changed some maps take a look>>>>>>>>>>

code:
-- Maps to display in the map vote menu.
hc.MAP_LIST = {{name = "de_dust", mode = hc.CONSTRUCTION}, {name = "de_dust2", mode = hc.CONSTRUCTION}, {name = "de_dust2_snow", mode = hc.CONSTRUCTION}, {name = "ctf_angle", mode = hc.CONSTRUCTION"}, {name = "ctf_canyon", mode = hc.CONSTRUCTION"}, {name = "ctf_sand", mode = hc.CONSTRUCTION"}, {name = "ctf_sand 1.2", mode = hc.CONSTRUCTION"}, {name = "ctf_swamp_2.0.2", mode = hc.CONSTRUCTION"}, {name = "ctf_warehouse_v17", mode = hc.CONSTRUCTION"}, {name = "ctf_cs2dfortress", mode = hc.CONSTRUCTION}}

--
Ich mag es!

alt

Happy Camper
User Off Offline

@ZomplantJelo: The problem is that you have spaces in some of the attribute names. You need to put those names inside [""].
1
2
3
4
5
6
7
8
hc.playerattribs.ATTRIBUTES = { 
	["Police Hat"] = "police.png",
	["Terrorist Mask"] = "terrorists.png",
	Headcrab = "crab_head.png",
	Palm = "palm.png",
	["Nuke Armor"] = "toxic.png",
	None = {}
}

alt

Obviously Exactly Myself
User Off Offline

Why when I added some hats (also removed some), i can't see the hats menu.

1
2
3
4
5
6
7
8
hc.playerattribs.ATTRIBUTES = {
	Police Hat = "police.png",
	Terrorist Mask = "terrorists.png",
	Headcrab = "crab_head.png",
	Palm = "palm.png",
	Nuke Armor = "toxic.png",
	None = {}
}
Ich mag es!

alt

Happy Camper
User Off Offline

@ROLF: No, I am not hosting anymore. I play sometimes on the -[IFwsI]- servers. You might catch me there.

alt

-Cloud
User Off Offline

i unziped the package but my lua didnt overwrite it.

@btw nice script
Ich mag es!

alt Do you host?

G3tWr3ck3d
User Off Offline

@Happy Camper do you still hosting a server or you dont host anymore? And if you got one can you post it? I mean i wanna make a match with you :] oh and make a little place on your friends list and add me.
Ich mag es!
3× editiert, zuletzt 16.09.11 13:54:13

alt

Happy Camper
User Off Offline

@ROLF: You remove "teambalance" from hc.MODULES in sys/lua/hc/hc.conf.

alt How too disable the auto team balance

G3tWr3ck3d
User Off Offline

Dear @Happy Camper alright now i got another question LOL. ok so how i dissable the auto team balance from HC admin script.I wanna make it known that i know how to change the auto team balance from server settings but to make it work i have to dissable it from HC admin script too.
Ich mag es!

alt

FaqAp
User Off Offline

wow. +3000 downloads. Rly awesome
Ich mag es!

alt

Bexone
User Off Offline

Best admin script.
Too bad there is not much servers with that lua.
Ich mag es!
Zum Anfang Vorherige 1 215 16 1727 28 Nächste Zum Anfang