Welcome to Gentoox!
The original Xbox adaptation of Gentoo

     Modules
· Home
· Buy_Gentoox
· Contact
· Dev_and_Sources
· Downloads
· FAQ
· Forums
· Links
· Magic_Repository
· Misc
· News Archive
· Patches
· Polls
· Search
· Sections
· Server_Stats
· Top 10
· Tutorials

     IRC

irc.shallax.com
#gentoox


     Search



     Donate

Donors will be listed HERE!

Donations are handled by paypal.com

Hardware donations are also welcome, email me using the contact form!


     Latest Versions
Prov5.1
Homev7.1
Loaderv6.07
MCEv1.3
Resctooxv6.0
Sparklev4.0

     Powered by


HLDS

(732 total words in this text)
(16683 reads)   Printer Friendly Page




HLDS Tutorial – By kollision

What was used:
Modified XBox with Gentoox Linux Distro
Cygwin/XFree86 SSH Client
TightVNC
Great Guide at http://server.counter-strike.net/server.ph...owto&show=linux

Files Needed:
The newest Half-Life Dedicated Server example: hlds_l_3111.full.bin
The newest Counter-Strike Linux Port example:cs_15_full.tar.gz

Setting Up
Half-Life Dedicated Server
Login as root. When you are logged in, type cd / , this will send you to the top directory. Lets then create a directory named hlds by typing mkdir hlds into the command prompt. Download the Half-Life Dedicated Server into this directory. After you have downloaded the file, we have to type chmod a+x hlds_l_3111_full.bin and then we have to execute the .bin file by typing ./hlds_l_3111.bin , this will give you a EULA and then it will create for you a TAR file. Now lets untar it by typing tar zxvf hlds_l_3111.tar.gz This should create a folder hlds_l and install all of the Dedicated Server in it. Lets now change directory to it by typing cd hlds_l

Counter-Strike:
Now that we are in this folder, lets download the Counter-Strike for Linux in this directory. It is going to be a tar file so we have to type tar zxvf cs_15_full.tar.gz The file will create a directory cstrike and all the files that you extracted will be installed into this

Starting the Server:
Yes, we are almost done. You should still be in the hlds_l folder. Now everytime you want to start your server you will have to be here. You must type this into your command prompt to start it:

./hlds_run -game cstrtike +maxplayers +maps

Omit the arrows and input the desired fields. After you input this, push enter and your server should start. Here is an example of the server starting:

root@jwm [/hlds] # ./hlds_run -game cstrike +maxplayers 10 +map cs_assault
Using JWM Optimised binary.
Auto-restarting the server on crash
Console initialized.
Protocol version 46
Exe version 3.1.1.1
Exe build: 21:44:58 Jun 5 2003 (2415)
WON Auth Server
Server IP address 192.168.1.1:27015
Downloading Security Module from Speakeasy.net ...
Completed downloading Security Module from Speakeasy.net
Server is in Secure Mode.
[...]
Adding Auth server 65.73.232.251:27040
Adding Auth server 65.73.232.253:27040
Adding master server 65.73.232.251:27010
Adding master server 65.73.232.253:27010
Adding master server 65.73.232.252:27010

I took this example from my reference. In order for this to be broadcasted online, you must see the WON Auth Server, this tells us that it is online by using the Won Authentication Server. Your server is now up and running!!

Questions:
Q:I can't get any one in my server except on LAN. Why?
A:Do you happen to have a router? This is one of the most reason why people can't get into your server. We must enable the port fowarding on your router. In this example I have a Linksys router. In order for me to get into its settings, I have to enter the default gateway into a browser. You can check your default gateway by going to the Start button on Windows and click Run. Then type winipcfg and push enter. Select your Network Card from the pop down box and look for your default gateway. My default gateway is 192.168.0.1 and it varies on each router. This is not your computers IP! So once you get your default gateways IP enter it into your web browser. It will ask for a user name and password. You should know this from your users manual that came with your router. For Linksys, the password is admin and there is no user name. Once you get into your routers settings, go to the fowarding tabs. In Linksys, you have to click advanced and then you will see fowarding. This is how my settings for Linksys is:

Name: Ext. Port Protocol IP Address: Enable:
cstrike 27015 to 27015 UDP Servers LAN IP Yes
cstrike 27010 to 27010 UDP Servers LAN IP Yes
cstrike 7002 to 7002 TCP Servers LAN IP Yes
cstrike 6003 to 6003 TCP Servers LAN IP Yes

Q:Some people can get in, and others can't because of past cheating violations. Why?
A:This is because Secure Mode is on. Secure mode just means that if a person has had past cheating violations, they cannot join Secure Mode Servers until a certain date and because of this, they will get kicked. You can toggle this on or off, but why would you want cheaters on your server ?

Last Words:
If you still have questions, please refer to the reference. This guide helped me a lot in writing this tutorial and setting up my own server and it should answer any question that you may have. Hope that this helped, enjoy your new Counter-Strike server. Thanks for reading!
  

[ Back to Tutorials | Sections Index ]




Administration
Gentoox is distributed under the terms of the General Public License

Page Generation: 0.03 Seconds