Solved

Trying to start a dedicated Linux Half-Life server

Posted on 2013-01-26
6
983 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

For those of you searching for a fun but also medium paced MMORPG game I would highly suggest Ragnarok Online. This MMORPG is a bit older than World of Warcraft and in a way is extremely different. Compared to WoW's 3D environment and massive wor…
Programming  of  forecasting lottery numbers for self use  on Turbo C++ is done by use of random number generator code by a program algorithm logic. Random numbers usually generates numbers between definite interval. Therefore, when entering the c…
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now