English HC Admin Script 1.9.3 icon

552 comments
03.01.11 09:14:34 pm
like 226 like it!
72 kb, 13,008 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

552 comments
Goto Page
To the start Previous 1 2 ... 6 7 8 ... 27 28 Next To the start

Log in!

You need to log in to be able to write comments!Log in
22.09.13 09:24:09 am
Up
Happy Camper
User
Offline Off
Do you get any error messages in the log file?
21.09.13 08:47:10 pm
like I like it!
Up
Kantos
BANNED
Offline Off
i can't be admin and i can change users.hcu
11.09.13 02:42:41 pm
like I like it!
Up
Kirito2K
User
Offline Off
it's okay now that script put in maps and some edits >=) work
10.09.13 07:19:20 pm
Up
Happy Camper
User
Offline Off
Sorry, I don't make scripts on request. I don't have time for it. Try asking in the lua forum.
10.09.13 05:14:18 pm
like I like it!
Up
Kirito2K
User
Offline Off
can't u make script for me please
and do u visit once minercaft server ?
they have a nother vote map mode do u know how please
08.09.13 08:50:04 pm
Up
Happy Camper
User
Offline Off
Ah, sorry. I don't have such a script.
08.09.13 06:38:11 pm
like I like it!
Up
Kirito2K
User
Offline Off
i were mean like this one http://www.unrealsoftware.de/files_show.php?file=1732
(the script put in maps )
07.09.13 05:20:12 pm
Up
Happy Camper
User
Offline Off
Yes, it's just for HC // Fun. user Infinite Rain made a similar one: file cs2d Random Rounds Mod v1.0 (47). You are free to use that one.
07.09.13 11:47:03 am
like I like it!
Up
Kirito2K
User
Offline Off
why ? it's just for HC // fun ? if u don't want can u please make for me one like it ? couse i like that things
07.09.13 09:05:22 am
Up
Happy Camper
User
Offline Off
@user Kirito2K: Thanks. Yes, I know that script. I have written it, but I'm not giving it away, sorry.
07.09.13 06:41:33 am
like I like it!
Up
Kirito2K
User
Offline Off
@Happy Camper
do u know the script for dm_dust map like in HC // fun ?
u spawn all team same weapons auto what that script
and ur script is the best
31.08.13 02:24:30 pm
Up
alien-striker
User
Offline Off
thx
31.08.13 01:38:48 pm
Up
Happy Camper
User
Offline Off
See Frequently Asked Questions/Adding maps to map vote menu above
31.08.13 10:17:34 am
Up
alien-striker
User
Offline Off
how i can change the maps to my maps?
27.08.13 01:37:40 pm
like I like it!
Up
Deleted
User
Offline Off
@user Happy Camper: Ok , still good .
26.08.13 09:53:24 pm
Up
Happy Camper
User
Offline Off
@user Martz: You mean the restart after a certain number of rounds?

Open sys/lua/hc/modules/maps.lua in a text editor. Look for this function:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
function hc.maps.new_round()
-- Reset the map votes
    for i=1,hc.SLOTS do
        if hc.player_exists(i) then
            hc.players[i].map_vote.vote = nil
            hc.players[i].map_vote.time = nil
        end
    end
    hc.maps.rounds_left = hc.MAP_ROUNDS + 1 -- endround_hook will decrease by one
    hc.next_map = nil
    parse("restart")
end

Remove this line:
Code:
1
parse("restart")


@user dragon13: See Installation Instructions above.

@user Deleted: Sorry, I haven't planned any updates.
23.08.13 09:02:12 am
like I like it!
Up
Deleted
User
Offline Off
Good script but ,
@user Happy Camper: You will make update?
20.08.13 06:08:57 pm
Up
dragon13
User
Offline Off
how i can be admin i add lua but i am not admin
20.08.13 08:04:55 am
like I like it!
Up
Martz
User
Offline Off
How to remove the auto restart?
20.08.13 08:01:27 am
Up
Happy Camper
User
Offline Off
@user DannY-PhantoM: Look at the FAQ in the description.
To the start Previous 1 2 ... 6 7 8 ... 27 28 Next To the start