Absurd Minds

More than 100 years without a motto.
It is currently 28 Nov 2024 05:20

All times are UTC-04:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 16 May 2010 14:19 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
Earlier, I wrote an extensive thread detailing the installation of my Linux server. Now I'll give a much more brief overview of how to install a Window server.

First off, download the Windows HLDS Update Tool. You should be able to find a download link at http://store.steampowered.com/about.

Now run the download tool with administrator privileges (right click the file and choose "Run as Administrator"). If you keep all the default settings, it will install the server at the path C:\Program Files\Valve\HLServer.

Now you'll have to open up a command prompt. On Windows XP, choose Start > Run > cmd. In Vista or Windows 7, just hit the start button and type cmd into the search bar. It will give you your command prompt.

Go to the directory in which you installed the HLDS Update Tool.
Code:
cd C:\Program Files\Valve\HLServer
Now install whatever HLDS game you want. Counter Strike (cstrike), Condition Zero (czero), Day of Defeat (dod), etc. Check out this list of mods for more information.
Code:
HldsUpdateTool.exe -command update -game cstrike -dir .
Note the . after -dir. That indicates that you're installing it into the current directory.

This could take a while, and you may have to execute this command a couple of times before it completes. Just do it until it says that your installation is up to date.

Once it's done, your server is installed! There are two ways you can run your server:

GUI - easier, but uses more resources

Go to C:\Program Files\Valve\HLServer and double click hlds.exe. It will give you something like this:

Image

Just configure it to your liking and launch the server!

Command Line - more challenging, but more efficient

Go to C:\Program Files\Valve\HLServer and right click the hlds.exe icon. Select "Create Shortcut" or even "Send To > Desktop (Create Shortcut)". Then right click on your newly created shortcut and select "Properties".

There will be a box in that new window that says "Target". Currently, it should say something like "C:\Program Files\Valve\HLServer\hlds.exe". After that, enter all of the command line opearations you want to execute. For example
Code:
"C:\Program Files\Valve\HLServer\hlds.exe" -console -game cstrike -autoupdate +maxplayers 12 +map de_aztec
For a full list of command line operations, see this thread.



That's the basics of server set up. Check out the other threads in this section for more advanced information.

Configuring your server files
Adjusting your server rates
Installing metamod
Installing AMX Mod X
Adding admin
Adding custom maps
Adding plugins


Top
   
PostPosted: 21 Oct 2010 09:24 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
Quote:
think its bcoz the ip add will work if both comps r inside one house or connected in lan
That's exactly right. What you gave them is called an "internal IP", and it only works for people who are connected to the internet in your house.

What you need to give your friends is your "external IP address". This is what other people will connect to. Go to whatismyip.com. That will tell you your external IP address. Give that to your friends.

You can read more about it in this thread.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC-04:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited