Link to home
Start Free TrialLog in
Avatar of itnifl
itniflFlag for Norway

asked on

Trying to start a dedicated Linux Half-Life server

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
Avatar of ☠ MASQ ☠
☠ MASQ ☠

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?
Avatar of itnifl

ASKER

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.
>>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?
Avatar of itnifl

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of ☠ MASQ ☠
☠ MASQ ☠

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of itnifl

ASKER

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).