Solved

Trying to start a dedicated Linux Half-Life server

Posted on 2013-01-26
6
1,020 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
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Printing to old printer through Linux (CUPS) Print Server? 7 65
android secure ftp 3 38
Ubuntu Apache Webserver - File Permissions 5 42
Set linux box as ip router 3 23
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

803 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