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

Comments

552 comments
Page
To the start Previous 1 26 7 827 28 Next To the start

Log in!

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

old

Happy Camper
User Off Offline

Do you get any error messages in the log file?

old

Kantos
BANNED Off Offline

i can't be admin and i can change users.hcu
I like it!

old

Kirito2K
User Off Offline

it's okay now that script put in maps and some edits >=) work
I like it!

old

Happy Camper
User Off Offline

Sorry, I don't make scripts on request. I don't have time for it. Try asking in the lua forum.

old

Kirito2K
User Off Offline

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
I like it!

old

Happy Camper
User Off Offline

Ah, sorry. I don't have such a script.

old

Kirito2K
User Off Offline

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
I like it!

old

Happy Camper
User Off Offline

@user Kirito2K: Thanks. Yes, I know that script. I have written it, but I'm not giving it away, sorry.

old

Kirito2K
User Off Offline

@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
I like it!

old

Happy Camper
User Off Offline

See Frequently Asked Questions/Adding maps to map vote menu above

old

alien-striker
User Off Offline

how i can change the maps to my maps?

old

Deleted User

@user Happy Camper: Ok , still good .
I like it!

old

Happy Camper
User Off Offline

@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:
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:
1
parse("restart")

@user dragon13: See Installation Instructions above.

@user User does not exist: Sorry, I haven't planned any updates.

old

Deleted User

Good script but ,
@user Happy Camper: You will make update?
I like it!

old

dragon13
User Off Offline

how i can be admin i add lua but i am not admin

old

Martz
User Off Offline

How to remove the auto restart?
I like it!
To the start Previous 1 26 7 827 28 Next To the start