Beginner's Guide to Setting Up a Helbreath Server

#1
Beginner's guide to setting up a server

This tutorial takes you through the steps of setting up your own server. This guide is designed for beginners and is the first step to take into account on your way to develop a server.

Notes:
  • If you want to develop certain Helbreath files, we recommend that you take a course on the basics of C ++. Learning a programming language to an extension is essential for the development of a server.
  • Developing a successful server takes determination, and some technical knowledge. Don't try to set up a server unless you have some basic computer abilities. Probably, your best bet can be to look on this website for more guides on how to continue developing your server.
  • If you decide you don't want to host, but still want to let people play online, check out the hosting public server options. I recommend https://www.nfoservers.com/
  • If for some reason you have trouble with connecting publicly over your IPv4, try connecting over IPv6. This should only be done for testing whether your server is online, external players should still use IPv4.
`
Warning
Please note that running a server online on your computer without a clear understanding of what you are doing may make your system vulnerable for attacks from outside.
`
Instructions

Begin by downloading the server files from our download page viewforum.php?f=13. To set up a server, the process requires the use of your External IP Address, your Local IP Address, and the activation of the ports of the server. Port forwarding allows computers on the Internet to connect to a specific computer. If you wish to host your server for local reasons, it is not required that you do so, however, it's essential to activate the ports in order for other people to access your Helbreath server.

To get your External IP Address:
  • Go to WhatIsMyIP.com
  • Copy and annotate the IP Address
`
To get your Local IP Address:
  • In the search bar on your computer, type the words "cmd" (without the quotes) and press enter
  • Wait for the program to load, and type the words "ipconfig" (without the quotes)
  • Copy and annotate the IPv4 Address
`
List of ports to activate:
  • 6502
  • 2101
  • 2848
  • 3840
  • 2500
  • 9900
`
The game server needs to have its host based Firewall configured to allow requests on the specified port and protocol

Allowing ports on Firewall:
  • In windows search bar, type "Windows Firewall" and press enter
  • Click on "Advanced settings"
  • Click on "Inbound rules"
  • Click on "New rule"
  • Click on "Port" and "Next"
  • Click on "TCP" and "Specific local port"
  • Add a port and click "Next"
  • Click on "Allow the connection" and "Next"
  • Name your port (it does not matter how you name it)
  • Click on "Finish"
  • Repeat the process with all the ports listed on the guide
`
Allowing Port forwarding:
  • Look for "Port Management" or "Port Forwarding". Opening the "Advanced settings" may be required sometimes
  • Click on "Add Port Forwarding"
  • Apply the following options;
  • Name: (Name the port)
    Protocol: TCP
    Port: (Add the Port number)
    Forward to Port: (Add the same port number)
    Select a host or IP address: (Type your local IP address)
  • Repeat the process with all the ports listed on the guide
`
So far we have activated the ports of the game server. Now we need to configure our files. This is the easy part, let's continue!

In the files folder we must search for GateServer.cfg, HMLServer.cfg, WLServer.cfg, and in the maps folder Gserver.cfg. Configure them as follows:

GateServer.cfg

Code: Select all

[CONFIG]

gate-server-address = 10.0.0.3 (Local IP address)
gate-server-port = 6502

game-server-list = 10.0.0.3  (Local IP address)
game-server-list = 10.0.0.3       (Local IP address)
game-server-address = 10.0.0.3   (Local IP address)
game-server-address = 10.0.0.3   (Local IP address)
game-server-port = 2101
build-date = 1126

game-server-list = 190.137.94.24  (External IP Address) 

permitted-address = 190.137.94.24  (External IP Address)  

accept = 190.137.94.24  (External IP Address)[/size] 
`
HMLSERVER.cfg

Code: Select all

[CONFIG]


log-server-address = 10.0.0.3 (Local IP address) 
log-server-port = 2848
internal-log-server-port = 3840
gate-server-address = 10.0.0.3 (Local IP address)
gate-server-port = 6502
backup-drive-letter = C

permitted-address = 190.137.94.24 (External IP Address)  
`
WLSERVER.cfg

Code: Select all

[CONFIG]


world-server-name = WS1

world-server-address = 10.0.0.3 (Local IP address) 
world-server-port = 2500
internal-world-server-port = 3840

main-log-server-address = 10.0.0.3 (Local IP address) 
main-log-server-port = 2848

gate-server-address = 10.0.0.3 (Local IP address) 
gate-server-port = 6502
`
Gserver.cfg

Code: Select all

[CONFIG]

gate-server-dns = false
log-server-dns = false

game-server-name = Aresden
game-server-address = 10.0.0.3 (Local IP address) 
game-server-internal-address = 10.0.0.3 (Local IP address) 
game-server-external-address = 190.137.94.24 (External IP Address)  
game-server-port = 9900
log-server-address = 10.0.0.3 (Local IP address) 
internal-log-server-port = 2500
gate-server-address = 10.0.0.3 (Local IP address) 
gate-server-port = 6502

game-server-mode = LAN (<<<<<< change it to LAN)

[MAPS]

game-server-map = aresden
game-server-map = arefarm
game-server-map = aresdend1
game-server-map = arebrk11
etc
`
As of now, we have configured our files, but we still need the activate the server
`
Follow the steps:
  • Go to your server files
  • Run MainLServer (press the "Home" key) and minimize
  • Run WorldLserver (press the "Home" key") and minimize
  • Go to the maps folder and execute "HGServer.exe" and wait for the 9 seconds countdown
  • Run GateServer (press "F3") if you desire to check the maps activated, and minimize
`
The server should be activated. In order to login on the game, you need to configure your client as follows:
  • Open your client login, and configure the IP Address
`

Code: Select all

[CONFIG]

log-server-address = 190.137.94.24 (Local IP address for you, and External IP address to allow other people to log in.) 
log-server-port = 2848


game-server-mode = INTERNET
// LAN: forces router compatibility, but no more multi-host possible.
// INTERNET: standard mode.
// IP & port here overide IP/Ports coded in client.

Image


Alternatively, if you decide that you don't wish to create your own server, you are welcome to join ours at https://www.helbreath.co/

My next guide is going to be about "Virtual Private Servers" or "Setting up a VPN". Let me know if you need me to clarify anything, and if you have any concerns, I greatly appreciate your questions on the help desk section. Have an awesome day!
You do not have the required permissions to view the files attached to this post.
There is no greater education than one that is self-driven.

Who is online

Users browsing this forum: No registered users and 1 guest