Solved

Trying to start a dedicated Linux Half-Life server

Posted on 2013-01-26
6
1,087 Views
Last Modified: 2013-01-27
After downloading and installing(http://www.fileplanet.com/58368/50000/fileinfo/Half-Life-Dedicated-Server-v3.1.1.1-[Linux]) on my Debian Linux server(+ setting up configuration):

/home/hlds/hlds_l# ./hlds_run -game valve +ip <iphere> +maxplayers 24 +map rapidcore +coop 0 +deathmatch 1
Auto-restarting the server on crash

Console initialized.
Protocol version 46
Exe version 3.1.1.1
Exe build: 22:35:19 Apr 29 2003 (2378)
Error connecting to Auth server: ES_INVALID_ADDR
Auth Server
Server IP address <iphere>:27015
Trying to authenticate with WON servers
Error connecting to Auth server: ES_INVALID_ADDR
No auth servers parsed from }
Disabling Valve Authentication.
No masters parsed from valvecomm.lst
Using default master

I then issue in another terminal window on same server:
#lsof -i
hlds      3446        root    4u  IPv4  15846      0t0  UDP cm-<iphere>.getinternet.no:27015

So I know it is listening. I then ping the server from the client, all OK. I then start Half-Life via Valve and click "Find Servers" -> choose the Favorites tab -> enter the ip address (also tried ip:port) -> press "Find games at this address." I then receive the reply: Server is not responding.

I can't find more documentation. Is there a way to get this running?

Configuration looks like this:
/home/hlds/hlds_l/cwc# more server.cfg
/ Use this file to configure your DEDICATED server.
// This config file is executed everytime the server changes levels.

// disable autoaim
sv_aim 0

// player bounding boxes (collisions, not clipping)
sv_clienttrace 3.5

// disable clients' ability to pause the server
pausable 0

// default server name. Change to "Bob's Server", etc.
hostname "Dedicated server!"

// maximum client movement speed
sv_maxspeed 270

// 20 minute timelimit
// mp_timelimit 20

sv_maxrate 8333
sv_minrate 0
sv_maxupdaterate 40
0
Comment
Question by:itnifl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 38822372
Can you check you have the correct CS files?
./steam -command update -game cstrike -dir . -verify_all

Open in new window


How is your server configured on the network?  Fixed IP?  DMZ or port forwarding?
Are you configuring for LAN or Internet play?
0
 
LVL 2

Author Comment

by:itnifl
ID: 38822433
I am not wanting to start a Counter Strike server, I want to start a Half-Life server.
My server is directly connected to the internet, no firewall in between.
The IP is not fixed, but the refresh rate is weeks in between and I use dyndns.
Configuring for internet play.
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 38822493
>>I am not wanting to start a Counter Strike server, I want to start a Half-Life server.
Do you have the HLDSUpdateTool?

>>My server is directly connected to the internet, no firewall in between.
How is the client connected?
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 2

Author Comment

by:itnifl
ID: 38822648
Do you have the HLDSUpdateTool?
- Can't seem to find anything update'ish under the install folder.

How is the client connected?
- It is connected via a Debian NAT router that is totally open with no restrictions when it comes to that client. Shouldn't be a problem, I connect to other servers on the internet just fine.
0
 
LVL 62

Accepted Solution

by:
☠ MASQ ☠ earned 500 total points
ID: 38822655
https://developer.valvesoftware.com/wiki/HLDSUpdateTool

Just wondering how the client/server relate locally & if you should be pointing it at LocalHost if it's in the same network rather than an external IP that they might share.  Probably haven't quite got my head around the setup yet :)
0
 
LVL 2

Author Closing Comment

by:itnifl
ID: 38823637
That did the trick!
It is now up and running, and you can even try it at halflifededicated.homelinux.net if you want(add to favorites I guess, to single it out from the bunch).
0

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question