Raised This Month: $51 Target: $400
 12% 

Setting Up Server - Everything you need to know


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Psycho-Path
Senior Member
Join Date: Jun 2005
Old 12-06-2005 , 16:20   Setting Up Server - Everything you need to know
Reply With Quote #1

Instructions Made By: Psycho-Path
+-+-+-+-+-+-+-+-+ +-+-+-+-+-+
|S|E|R|V|E|R| |I|N|S|T|A|L|L|
+-+-+-+-+-+-+-+-+ +-+-+-+-+-+


Ok lets get started.

============================================= ============================================= =========================================

(If you want a HLDS Server instead of a Dedicated server follow the instructions here.)



If you don't have a server go to

1. Pick one and download.

Make an account if you have to.

Get in the waiting list and download HLDS. And install to your computer.

2. Press "Start" then "Run" and type CMD then type cd C:\HLServer

then type hldsupdatetool and let the updates finish.

When you have done that, download amxmodx from

3. http://prdownloads.sourceforge.net/a...0.exe?download

and pick a State

install it to your comp.

Download amxmodx and install then follow what it says and select the mod when it prompts.

4. Make a folder called addons, in your modir. go to metamod.org and put in the metamod to the addons folder, make a folder in it called metamod in that make another folder called dlls, go place metamod.dll in the dlls folder, go back to the meta mod folder and place plugin.ini there. (Look at Metamod below for more info.)

place

;;AMX Mod X 1.60
win32 addons\amxmodx\dlls\amxmodx_mm.dll

in it.


5. If you don't want your server to crash go to www.serverdoc.com and download one.

Put it in C:\HLServer and when you want to start your server open up server doc and put in

C:\HLServer\hlds.exe -game cstrike -port (Port you set on server) +map (map) -console +maxplayers (player #) -secure


Example:

C:\HLServer\hlds.exe -game cstrike -port 27018 +map scoutzknivez -console +maxplayers 18 -secure

That's pretty much it but if you have a router then you need to follow the instructions till you see "ROUTER SERVER SETUP".

============================================= ============================================= =========================================
Update For HLDS
To update your HLDS installation, you need to first open up the command prompt. Go to Start and then click on Run, type:

CMD

In the appearing command prompt, exit to your drive's root by issuing these commands:

cd..
cd..

Then, navigate to your HLserver folder by typing in:

cd hlserver

Finnaly, type this:

hldsupdatetool

Instructions will now appear on your screen on updating HLDS.

============================================= ============================================= =========================================

(If you want a Dedicated server instead of a HLDS Server follow the instructions here.)

Go to "Play Games" menu and go to the very bottom to Dedicated Server.

Download and install.

Repeat Steps 3. and 4.

That's pretty much it but if you have a router then you need to follow the instructions till you see "ROUTER SERVER SETUP".


From waht I know I don't think you can put the serverdoc on a dedicated server because, it doesnt start by the exe in the dir it starts by pressing "Dedicated Server" in the play games menu.

============================================= ============================================= =========================================

Metamod

Installing metamod is practically simple, you can install it by reading the readme file or reading the next few lines.

1. Download it from http://www.metamod.org

2. Install It!
Inside your half-life's mod folder (ex. cstrike), create a new folder named addons and inside that folder make another one named metamod and inside that one make another one called dlls and then extract zip or gz file and copy the DLL file in the last folder you created (/addons/metamod/dlls).

3. Activate It!
Finally, open your liblist.gam file (located in your mod's folder) and modify these lines:
gamedll "dlls\mp.dll"
gamedll_linux "dlls/cs_i386.so"
To this:
gamedll "addons/metamod/dlls/metamod.dll"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"

4. Enjoy It!
That's It! Now try running hlds. If you see this line in your console:
Metamod version 1.17 Copyright (c) 2001-2003 Will Day <[email protected]>
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
That means that Metamod has been installed and is ready to work. Please continue to the Plugins section for more information.

============================================= ============================================= =========================================

ROUTER SERVER SETUP

If you have a router on your computer then you have to call that router company or look at the box

and see what the site is. It will be something like "http://192.168.X.X/" but you can't just guess

you have to find out what it is. When you've done that enter the website and it will prompt you for username and password

leave the username blank and in password type admin

go to Gaming or Open Ports w/e it is and then


Port Range


Application:

HLServer

OR

Dedicated Server
------------------------------------------------------------------
Start:

(Put in your UDP Server Port)
------------------------------------------------------------------
End:

(Put in your UDP Server Port)
------------------------------------------------------------------
Protocol:

Both
------------------------------------------------------------------
IP Address:
100
------------------------------------------------------------------
Enable:
(Check The Box)
-----------------------------------------------------------------------------------------------------------------------------------

[img]http://img424.**************/img424/7003/iptut8yg.gif[/img]
-----------------------------------------------------------------------------------------
sv_downloadurl Tutorial


SUMMARY
-------

Half-Life now supports the download of custom content (maps,
skins, sounds,
and so on) from a HTTP server (ie: webserver) when connecting,
instead of
downloading directly from the game server itself.

HTTP downloading has three major benefits:

1) There is no impact on the game server when downloading
custom content, as
a completely separate HTTP content server does the transfer

2) Players will download custom content at their maximum
transfer rate,
resulting in *much* faster downloads

3) Players who are downloading custom content do not take up a
player slot
on the server while they wait


WHAT PLAYERS CONNECTING TO A SERVER WITH CUSTOM CONTENT WILL SEE
----------------------------------------------------------------

When a player connects to a server utilizing custom content, one
of two
things will occur:

1) If the server is not configured for HTTP download, the game
server
will use the normal "trickle" download mechanism

2) If the server is configured for HTTP downloading, the player
will
see an enhanced download dialog, and much faster downloads.
While
this content is downloading, they are not connected to the
game
server. Once the download finishes, they are automatically
reconnected to the game server, and ready to play.


CONFIGURING YOUR SERVER TO USE FAST HTTP ASSET DOWNLOADING
----------------------------------------------------------

1) Make a list of all the custom files (bsp, wav, mdl, etc)
used on your server

2) Put these files on a HTTP server (ie: webserver), keeping
the folder
layout intact

3) OPTIONAL: To display a "banner image" to players that
download content,
place a 340x56 pixel image in the file <custom content
directory>/gfx/banner.gif

4) Set the sv_downloadurl cvar to
"http://yourserver/custom_content_directory/"


Example:

Your server uses the non-standard map "de_generic", which
requires the following files:

C:\Program
Files\Steam\SteamCache\[email protected]\Cou nter-Strike\cstrike\maps\de
_generic.map
C:\Program
Files\Steam\SteamCache\[email protected]\Cou nter-Strike\cstrike\de_gene
ric.wad
C:\Program
Files\Steam\SteamCache\[email protected]\Cou nter-Strike\cstrike\sound\a
mbience\de_generic_a.wav
C:\Program
Files\Steam\SteamCache\[email protected]\Cou nter-Strike\cstrike\sound\a
mbience\de_generic_b.wav
C:\Program
Files\Steam\SteamCache\[email protected]\Cou nter-Strike\cstrike\sound\a
mbience\de_generic_c.wav


You have web space (perhaps through your ISP) with the URL
"http://www.turtlerockstudios.com/~matt" that you will use to
host your
custom content.

To do this, you copy the files needed for "de_generic" to your
webspace,
placing them in a folder called "my_cstrike" in your webspace
top-level directory,
keeping their directory layout intact.

You now have the following files in your webspace:


http://www.turtlerockstudios.com/~m.../de_generic.map

http://www.turtlerockstudios.com/~m.../de_generic.wad

http://www.turtlerockstudios.com/~m...mbience/de_gene
ric_a.wav

http://www.turtlerockstudios.com/~m...mbience/de_gene
ric_b.wav

http://www.turtlerockstudios.com/~m...mbience/de_gene
ric_c.wav

You now set the "sv_downloadurl" cvar on your game server to
"http://www.turtlerockstudios.com/~matt/my_cstrike/". Now,
players who connect
to your server will automatically download the map "de_generic"
and its required
files from your webspace when they connect (unless they already
have it, of course).


TECHNICAL DETAILS
-----------------

* The maximum length of the sv_downloadurl is 127 characters

* A username and password can be specified for the HTTP server
by embedding
them in the sv_downloadurl like so:

http://[email protected]/

( Note - recent IE patches make disable this functionality )

* If a connecting player has an existing file of the same name,
it will not
be overwritten. The download file will be skipped.

* Certain game-crtical and/or dangerous files cannot be
downloaded (ie: *.exe, *.vbs, etc)

Credit goes to Steam Support Team, and this might not be the newest version of it, I will check and change, if necessary.

Download Maps Here

============================================= ============================================= =========================================
MOTD
go to $moddir/motd.txt and place HTML here for the front screen of your server before you pick teams.

If you have a website just do this

<meta http-equiv="Refresh" content="1;url=http://www.yourwebsite.com/">
============================================= ============================================= =========================================
Adding Admin
Go to $moddir/addons/amxmodx/configs/users.ini

You will use a code like this
Code:
"STEAM_92:0191" "" "abcdefghijklmnopqrstu" "ce"
Examples:

"STEAM_0:1:8541268" "" "abcdefghijklmnopqrstu" "ce"

; Line starting with ; is a comment

; Access flags:
; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin)

; Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)

; Password:
; Add to your autoexec.cfg: setinfo _pw "<password>"
; Change _pw to the value of amx_password_field

; Format of admin account:
; <name|ip|steamid> <password> <access flags> <account flags>

; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"

"loopback" "" "abcdefghijklmnopqrstu" "de"
============================================= ============================================= =========================================
Adding Files
Sound:
$moddir/sound

Sprites:
$moddir/sprites

.amxx files:
$moddir/addons/amxmodx/plugins
Example, place bhop.amxx in plugins folder and go to
$moddir/addons/amxmodx/configs/plugins.ini
Place the text, bhop.amxx on an empty line

.sma files:
$moddir/addons/amxmodx/scripting

config files
$moddir/addons/amxmodx/configs
============================================= ============================================= =========================================
Plz don't post support on my post, make another thread if you have a question.

(Please sticky my post )

This should cover everything you need.

If this isn't stickied....I mean I did so much research....plz sticky...
__________________
XBOX 360, hands down.
------------------------------------------------
I think I found Hawk552's alias!
Psycho-Path is offline
Psycho-Path
Senior Member
Join Date: Jun 2005
Old 12-06-2005 , 16:22  
Reply With Quote #2

This should be stickied I think...it's like EVERYTHING!! plz mods plz
__________________
XBOX 360, hands down.
------------------------------------------------
I think I found Hawk552's alias!
Psycho-Path is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 12-06-2005 , 17:59  
Reply With Quote #3

Not to be rude or anything, but why do you keep posting these? All of them are the same with maybe a little more added? Ever hear of the "Edit" button?

Good job though.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Psycho-Path
Senior Member
Join Date: Jun 2005
Old 12-06-2005 , 18:04  
Reply With Quote #4

I don't edit because I don't like people posting in my tut threads....
__________________
XBOX 360, hands down.
------------------------------------------------
I think I found Hawk552's alias!
Psycho-Path is offline
Gotrice
Senior Member
Join Date: Oct 2005
Old 12-06-2005 , 19:10  
Reply With Quote #5

Wow you just basically double post and add more things that does not include anything about setting up a server.
~~~~~~~~~~~~~~~~~~~~~


WDF DO THIS MEAN?:
(If you want a HLDS Server instead of a Dedicated server follow the instructions here.)

And

(If you want a Dedicated server instead of a HLDS Server follow the instructions here.)

HLDS mean Half Life Dedicated Server

And these are not realy needed in this Tut:

ROUTER SERVER SETUP Because You giving instruction for a linksys router instead of multiple router which you can get from www.portforward.com

And other thing. Adding admins Pretty helpful but not much details on how to realy setup admin.
Gotrice is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 12-06-2005 , 19:26  
Reply With Quote #6

HLDS- Half Life Dedicated Server

Dedicated Server- Steam Dedicated server in game

Way DIfferent Rice

Help with admin is in about 1 million posts here, all they need to do is run a search if they dont get it.

Utoh Psycho people are posting here
__________________
bmann_420 is offline
Gotrice
Senior Member
Join Date: Oct 2005
Old 12-06-2005 , 19:29  
Reply With Quote #7

Quote:
HLDS- Half Life Dedicated Server

Dedicated Server- Steam Dedicated server in game
The only difference is that the HLDS is a stand alone client

and the Dedicated server is an Intergrated Steam tool

And your right about the admin post crap but in the user.ini its self explaintory people should be like how do i add admin some people add admin right they just comment the admin line
Gotrice is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 12-06-2005 , 19:30  
Reply With Quote #8

Im not going to get into it anymore, but there is alot more in that what you just said that you dont know, or you dont care to talk about. (resources is 1)
__________________
bmann_420 is offline
Gotrice
Senior Member
Join Date: Oct 2005
Old 12-06-2005 , 20:01  
Reply With Quote #9

What your post is pretty much true i dont like to talk about it
Gotrice is offline
Psycho-Path
Senior Member
Join Date: Jun 2005
Old 12-06-2005 , 20:13  
Reply With Quote #10

Gotrice if you don't stop trying to flame my threads your gonna get it.

There is a huge difference in HLDS Dedicated server...

And b mann your posts are fair you can in any my threads, I just dont like jackasses like Gotrice flamin them
__________________
XBOX 360, hands down.
------------------------------------------------
I think I found Hawk552's alias!
Psycho-Path is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode