Royal Para Regiment

Create your own HD2 server.

Basic steps & Knowledge

Non-dedicated server
Dedicated server

Manual

Introduction

First of all you need Windows XP or above to get a server running. To be able to run a H&D2 server on newer Windows servers(2019) you need to install Direct Play. Regarding UNIX systems, you can read this tutorial created by Paul Blair for FreeBSD. A Linux option is still to be discovered. You certainly have to run a compatibility layer like Wine that allows Windows applications to run on Linux. However, this article only refers to Windows operating systems.
In HD2 you can choose between two server types, dedicated or non-dedicated, last you have to participate on the server as host whereas dedicated servers are running without host.

You can run and play on a dedicated server on the same machine. This gives you the advantage that if your game crashes, the server is still online and other players won't loose their connection.
To join your own dedicated server, connect via your local IP adress: launch HD2, navigate to MULTIPLAYER INTERNET, click on ENTER SERVER IP and enter your local IP and connection port. Update the list and your server should appear then.
Note: If you join via your internet IP other clients might get kicked!



What is my local IP adress?

  1. Click on the Start button.
  2. In the search box, type the following: cmd
  3. Click on cmd.exe in the search results listing.
  4. Command Prompt will now open
  5. Type ipconfig/all and press Enter
  6. Read off your IPv4 adress, e.g 192.168.178.23

H&D2 Server Hosting Tutorial

A complete guide to hosting H&D2 servers on Windows machines. Follow the simple and detailed instructions provided by Maletzki(Thomas Tailor). When you have any questions, please post them on our forum thread or on our Discord group. We greatly appreciate your efforts to keep the H&D2 community alive!

Basic steps & Knowledge

Run as administrator

If you are using Windows Vista or above make sure you run any HD2 relevant program as administrator!
Therefore right-click on the program and select "run as administrator"
If you don't want to repeat this step every time select "Properties", switch to "compatibility" -tab and tick "run as administrator". Apply and exit.

Install HD2

Self-evident you need HD2 (Sabre Squadron) installed and patched to latest version 1.12.

Download HD2 v1.12 patch via GoogleDrive

Download HD2 Sabre Squadron v1.12 patch via GoogleDrive

Forward ports

Each HD server is run on a specific set of ports which are blocked by your router and firewall software by default for security reasons. If you don't forward these ports on router and firewall, nobody is able to join your server but yourself.
Each server needs a specific connection port forwarded and the next three ports hereafter. (Last is called Query port) In the example below we run our HD2 server on port 11001, so we have to forward port 11001 to 11004 UDP protocol.

Ports to forward
11001 UDP Connection Port
11002 UDP
11003 UDP
11004 UDP Query Port
2332 TCP Server Manager Client 2.9


To forward ports you have to log-in the router's admin panel. In most cases you connect over your browser with entering your local IPv4 adress or a router specific adress, e.g "fritz.box" or "dns" for Fritz! routers. Check your router manual for further information about forwarding ports or contact your internet provider. As there are many different router types out there, the panel always looks different. Same for firewalls. If you just want to test accessibility for now i'd recommend to disable the firewall for the time being.

If you need more help fowarding ports of a router please have a look at following website:
portforward.com

In case nobody can't access your server though you have forwarded ports as mentioned above, download CurrPorts and forward all listed ports which refer to HD2. Note: HD2 Server must be running.

IPv6 and IP Helper

Only mind this section if you are running a Windows version above XP. (Windows Vista, Windows 7, Windows 8)
In case you have to disable IPv6 protocol and the IP Helper service as described below.

Step 1 Disable the IP Helper service

  1. Hold the windows key and type R, enter "services.msc" (without quotes) and press enter
  2. Scroll down to the IP Helper service, right click on it and select Properties
  3. In the dropdown box that says "Automatic" or "Manual", set it to Disabled and then click on "Apply"
  4. Then click on "Stop" to stop the service from running in the current session.
  5. Click OK to exit the dialog

Step 2 Disable Internet Protocol version 6 (IPv6)

Follow all steps provided in the link below
Disable IPv6
You need to disable IPv6 for tunnel interfaces as well (Step 5 et seqq.)

Step 3 Reset TCP/IP Stack

  1. To open a command prompt, click Start and then type cmd in the Search programs and files box.
  2. Under Programs, right-click the CMD.exe icon, and then click Run as administrator.
  3. When the User Account Control box appears, click Yes.
  4. At the command prompt, enter the following command, and then press Enter:
    netsh int ip reset c:\resetlog.txt

    Note If you don't want to specify a directory path for the log file, run the following command instead:
    netsh int ip reset resetlog.txt
  5. Restart the computer.

Non-Dedicated server

Make sure you have carried out the basic steps.

Via HD2 menu

Launch HD2 (Sabre Squadron)
Navigate to MULTIPLAYER GAME INTERNET → adapt server settings → CREATE SERVER

Dedicated server

Make sure you have carried out the basic steps.
Running a dedicated server can be achived manually or with Server Tools like the HD2 Server Launcher or the Server Manager 2.9.

Make sure you have ticked the Dedicated server box

If you now click on START, HD2 is shut-down and a dedicated server gets launched.

Server Manager 2.9

Extract the .zip file and move the HD2ServerManager.exe in a folder of your choice. Then launch the program. You now should see a HD2 icon in your system tray bar.


Exit the program again. This should create a config.txt file in the folder the HD2ServerManager.exe is located.



Open config.txt and enter the correct path to your HD2DS.exe (HD2DS_SabreSquadron.exe). Also choose an admin login name and password.

Now launch HD2ServerManager.exe again and then HD2ServerManagerCilent.exe and login with the previously defined username and password. When sucessfully logged-in you can setup several servers with repeating admin messages, ban system and more which does not come along with the regular Server Manager. (Server Launcher)

Server Launcher

If you're server is meant to run occasionally you should choose the in-built Server Launcher of HD2. The exe can be found in the main directory of your HD2 installation.

Manual

If you don't like the server tools mentioned above, of course you have the opportunity to launch HD2DS.exe (HD2DS_SabreSquadron.exe) and enter the required settings directly into the console. So you don't have to repeat these steps each time you have to re-launch your server, the exec command can be used for executing batches of commands to make starting dedicated servers quicker from the DOS command line. Assume that you have created two text files:

Name: server-occupation.txt
sessionname testserver
style occupation
mapname normandy3
mapname africa2
domain internet
dedicated 1
server

and

Name: server-objectives.txt
With the content:
sessionname testserver
style objectives
mapname africa3
mapname normandy1
domain internet
dedicated 1
server

Note: When entering the list of commands there has to be an empty line below last command. In this case that means pressing enter after typing “server”.

There are then two ways to create the server using either file.
Open the multiplayer dedicated multiplayer console window by typing “hd2.exe –c” in the DOS command line.
Then type “exec server-objectives.txt" or "exec server-occupation.txt” to start the preferred game server.

Alternatively execute the batch file without opening the dedicated multiplayer console window by typing "hd2.exe –cmd -exec server-objectives.txt" on command.


Shoutbox

COM_KUNENA_LIB_AVATAR_TITLE Sqdn. Ldr. Ted Striker

Lower Saxony might be a more common term

5 hours ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

Almost 600 dead today here...

13 hours ago
Stompinidus

What is a Nether Saxon?

17 hours ago
COM_KUNENA_LIB_AVATAR_TITLE Sqdn. Ldr. Ted Striker

So, who is not from Nether Saxon?

1 day ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

Nice!

1 day ago
COM_KUNENA_LIB_AVATAR_TITLE Sqdn. Ldr. Ted Striker

finally a GOD old game, played thru in 2 weeks.

1 day ago 1
COM_KUNENA_LIB_AVATAR_TITLE snowman

Good evening :)

1 day ago
COM_KUNENA_LIB_AVATAR_TITLE «†mariolka†»®

you to have a nice week:rambo:

1 day ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

Gooood morning :) Have a great week everyone :cool:

1 day ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

Good job! We can't fix it more than this. We will update everyone on facebook too. Actually I posted about this problem, but only a few read it :sarcy:

2 days ago
COM_KUNENA_LIB_AVATAR_TITLE Rs_Emy

thank you very much snowman, n ow can return play online

2 days ago 1
COM_KUNENA_LIB_AVATAR_TITLE snowman

HELLO!

2 days ago
COM_KUNENA_LIB_AVATAR_TITLE Maquisard

Hello Soldiers :love:

2 days ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

I'd tell him to not bother with it when it's not so expensive.

3 days ago
COM_KUNENA_LIB_AVATAR_TITLE Sqdn. Ldr. Ted Striker

Purchased something and payed with PayPal
the guy writes me he’s in hospital now due to possible infection with corona, so he can’t send me the objects and that he has send back the money. Isn’t that strange?

3 days ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

It's possible to play if you read this

3 days ago
COM_KUNENA_LIB_AVATAR_TITLE Rs_Emy

hi all, sorry 1 question, why not possibile play online? in future is possible return play?

3 days ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

Good morning

3 days ago
COM_KUNENA_LIB_AVATAR_TITLE Maquisard

Morning :)

3 days ago
COM_KUNENA_LIB_AVATAR_TITLE Damni

How are you Sir?

4 days ago
COM_KUNENA_LIB_AVATAR_TITLE Maquisard

Good Afternoon Damni :cool:

4 days ago
COM_KUNENA_LIB_AVATAR_TITLE Damni

:D

4 days ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

Btw... my old HDD still works! It's my computer that's giving up :mm6:

4 days ago
COM_KUNENA_LIB_AVATAR_TITLE Damni

This laptop already had btrfs. But I didn't like how I setup the subvolumes last time. So I'm redoing it.

4 days ago
COM_KUNENA_LIB_AVATAR_TITLE snowman

Same temps here. I think I'll stick to ext4.

4 days ago 1

The shoutbox is unavailable to non-members

Upcoming Events

You can organize your own event!
Organize Events Now

We need your help!
H&D2 Community Survey

Who's Online

We have 236 guests and no members online

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.