An essential info site for anyone learning the game. Great community and often very insightful posts.
 
HomeGet StartedSearchRulesRegisterLog in
Share
 

 Simple Helbreath Server Setup

Go down 
AuthorMessage
Roazir
Site Admin
Roazir


Simple Helbreath Server Setup Empty
PostSubject: Simple Helbreath Server Setup   Simple Helbreath Server Setup EmptyWed 28 Aug 2019, 8:52 pm

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 [You must be registered and logged in to see this link.]
  • 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.


Instructions
Begin by downloading the server files from our download page [You must be registered and logged in to see this link.]. 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 word "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:

  1. In windows search bar, type "Windows Firewall" and press enter.
  2. Click on "Advanced settings".
  3. Click on "Inbound rules".
  4. Click on "New rule".
  5. Click on "Port" and "Next".
  6. Click on "TCP" and "Specific local port".
  7. Add a port and click "Next".
  8. Click on "Allow the connection" and "Next".
  9. Name your port (it does not matter how you name it).
  10. Click on "Finish".
  11. Repeat the process with all the ports listed on the guide.


Allowing Port forwarding:

  1. Enter to your Router settings, if you don't know how to access your Router configuration, watch this video [You must be registered and logged in to see this link.]
  2. Look for "Port Management" or "Port Forwarding". Opening the "Advanced settings" may be required sometimes.
  3. Click on "Add Port Forwarding".
  4. 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:
[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)

HMLSERVER.cfg
Code:
[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:
[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:
[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.


  1. Go to your server files.
  2. Run MainLServer (press the "Home" key) and minimize.
  3. Run WorldLserver (press the "Home" key") and minimize.
  4. Go to the maps folder and execute "HGServer.exe" and wait for the 9 seconds countdown.
  5. 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:
[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.
Back to top Go down
 
Simple Helbreath Server Setup
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Join Helbreath :: Open Source / Development Corner :: Guides by Players-
Jump to: