For the complete documentation index, see llms.txt. This page is also available as Markdown.

Half-Life: WON2

Half-Life: WON2 (hlwonserver) runs the native Linux Half-Life dedicated server 3.1.1.1 (engine 1.1.1.0, protocol 46). This is the last release from before Half-Life moved to Steam. Community WON2 master servers keep the server browser working.

For the Steam version of Half-Life, use Half-Life: Deathmatch (hldmserver) instead.

Requirements

  • Players need the retail (pre-Steam) Half-Life client, patched to version 1.1.1.0 and with the WON2 player patch installed. The Steam version of Half-Life uses protocol 48 and can't connect.

  • The server is 32-bit. LinuxGSM installs the 32-bit libraries it needs during install.

Installation

LinuxGSM downloads a single archive from linuxgsm.download. It contains:

  • Half-Life dedicated server 3.1.1.1 with the 3.1.1.1e update.

  • The WON2 hlds_run launcher and the community protection libraries (nowon.so, hlds_20040707fix.so and hlshield.so).

  • The WON2 master server list (valve/valvecomm.lst).

The server doesn't use SteamCMD and its version is fixed, so the update, check-update and validate commands aren't available.

Server Settings

The port, map and max players are set in your instance config (lgsm/config-lgsm/hlwonserver/hlwonserver.cfg):

Setting
Default

port

27015

clientport

27005

defaultmap

crossfire

maxplayers

16

Other settings, including hostname, rcon_password and sv_password, are in the server config:

Ports

Port
Protocol
Default
Description

Game

UDP

27015

Set by port.

Query

UDP

27015

The same port as the game.

Client

UDP

27005

Set by clientport.

Connecting

Players can join from the in-game console:

The server also lists itself on the WON2 master servers in valve/valvecomm.lst, which the server browser in a WON2-patched client uses.

Security

Unavailable Commands

  • update, check-update and validate: there are no updates for this server.

  • fastdl: protocol 46 clients predate HTTP downloads (sv_downloadurl), so custom content downloads from the game server itself.

Stopping

LinuxGSM uses stop mode 9 (GoldSrc), which sends quit to the server console.

Logs

The server writes its logs to serverfiles/valve/logs.

Last updated

Was this helpful?