Royal Para Regiment

Create your own HD2 server.

Basic steps & Knowledge

Non-dedicated server
Dedicated server

Manual

Introduction

This article only refers to Windows operating systems. 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 you need to install Direct Play.

Regarding UNIX systems we can host our H&D2 servers on FreeBSD and Linux. Special thanks to Paul and Mökki for their dedicated help.

Linux Server Hosting Tutorial (2021)
by Mökki Medium(aka JarnoKai)

FreeBSD Server Hosting Tutorial (2021)
by Paul Blair(aka ToadLife)



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 address: 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( akaThomas 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

Yes, my grandfather was a fisherman too :D He will be 78 on 1st of August

3 hours ago

Hello :cool:
Here the feast of Saint-Pierre is a patronal feast organized by the fishing corporations located between Menton and Port-Vendres since the Middle Ages. Every year, at the end of June, fishermen honour Saint Peter, the patron saint of fishermen, in order to ask his intercession in order to have fruitful fisheries and to protect themselves against the bad weather and all the disasters associated with fishing.

3 hours ago 2

His eyes are about to pop out.

8 hours ago 1

Same. My parents and my grandmother are :rofl:

8 hours ago

Religious stuff is not really my forte. :rofl:

8 hours ago

OK got it. :gj:

8 hours ago

It's Saint Peter and Pavel day. So it's the name celebration. The same as the Sunday before Easter is the day we celebrate people with flowers name, like me :woody:

9 hours ago 1

Headache. Dunno why. :no:
My grandfather had the same name :D (Pietro). What's Saint Peter holiday? I have to look it up.

9 hours ago

Hey. Just woke up. Going to my grandfather for the Saint Peter holiday celebrations. His name is Peter :D How are you today?

9 hours ago

Hey Snow! how's it going?

9 hours ago

Morning :cool:

9 hours ago

:tea:

9 hours ago

Hello :mm4:

16 hours ago

hey everyone :boom:

17 hours ago

Hey Nik. My type of recipe... 3 ingredients :cool:

18 hours ago

You band of amateurs, about coconuts, there are the Congolese rocks and the rest :mm1:

18 hours ago 1

:thonk: I never touched coconuts (phrasing again). I should try to make pancakes from this batter. Stay tuned!

18 hours ago

mmmm

20 hours ago

With fruit juice and fresh mangoes, it’s the best :love:

20 hours ago 1

That sounds like a top quality breakfast .

20 hours ago 1

Good Morning :cool:
The Koba I don't know , even my wife. However the Mokary , I eat it every morning at breakfast . On my street in Madagascar, there is a person who cooks them every morning at the wood fire and even the homemade coffee :love:

1 day ago 3

I've seen it in Departures before. But last night, in another documentary, they actually showed how they make it. The guy said they cook it for 1 week :shocked:

1 day ago 2

I just looked up what Koba is and it sounds delicious!

1 day ago

:gasp:

1 day ago

Hey Maki, have you ever tried koba ?

1 day ago

The shoutbox is unavailable to non-members

Upcoming Events

  • Coop
    To be decided (TBD)
  • Deathmatch
    To be decided (TBD)
  • Objectives
    To be decided (TBD)
  • Occupation
    To be decided (TBD)
You can organize your own event!
Organize Events Now

Who's Online

We have 93 guests and no members online