Solved

Trying to start a dedicated Linux Half-Life server

Posted on 2013-01-26
6
1,062 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Author Cited: Konstantinos Dimopoulos URL Cited From: Article from Indie Games: http://indiegames.com/2012/07/browser_game_pick_the_grid.html The Grid (http://codeelf.com/games/grid/) is the sort of game I haven't played in over 10 years. It is …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

751 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