Anvil Game Studios

Author Topic: Host Your Own Game Server! - Documentation  (Read 8838 times)

0 Members and 1 Guest are viewing this topic.

Offline Aranos92

  • Able Seaman
  • *
  • Posts: 29
  • Faction: French Empire
  • Nick: Aranos92
Re: Host Your Own Game Server! - Documentation
« Reply #15 on: May 27, 2019, 06:18:15 pm »
It is possible to have the Server Files - Documentation updated version? Thanks in advance!

Offline Walki

  • Anvil Game Studios
  • Midshipman's Mate
  • ******
  • Posts: 171
  • Creator of Things
  • Faction: Neutral
  • Nick: Walki
Re: Host Your Own Game Server! - Documentation
« Reply #16 on: May 27, 2019, 06:19:39 pm »
It is possible to have the Server Files - Documentation updated version? Thanks in advance!

What exactly are you looking for? We are currently working on migrating the .pdf to the new wiki:
https://wiki.holdfastgame.com/Server_Hosting
https://wiki.holdfastgame.com/Server_Configuration

Offline Aranos92

  • Able Seaman
  • *
  • Posts: 29
  • Faction: French Empire
  • Nick: Aranos92
Re: Host Your Own Game Server! - Documentation
« Reply #17 on: May 27, 2019, 07:04:54 pm »
Thanks for those links! Anyway i am trying to host a local server with the new Frigate's update, is there a template for that?

Offline Walki

  • Anvil Game Studios
  • Midshipman's Mate
  • ******
  • Posts: 171
  • Creator of Things
  • Faction: Neutral
  • Nick: Walki
Re: Host Your Own Game Server! - Documentation
« Reply #18 on: May 27, 2019, 07:07:49 pm »
Thanks for those links! Anyway i am trying to host a local server with the new Frigate's update, is there a template for that?

Not really. However you can build your own ship presets now.
Check this:

https://wiki.holdfastgame.com/Server_Configuration#Ship_Spawning_.26_Custom_Ship_Presets


Offline TacticalDiplomacy

  • Master's Mate
  • *
  • Posts: 459
  • Faction: British Empire
Re: Host Your Own Game Server! - Documentation
« Reply #19 on: June 06, 2019, 01:09:24 am »
I'm assuming an i7-4770K @ 4/4.4GHz could run as a holdfast server? Even if it is a little old?

Offline Walki

  • Anvil Game Studios
  • Midshipman's Mate
  • ******
  • Posts: 171
  • Creator of Things
  • Faction: Neutral
  • Nick: Walki
Re: Host Your Own Game Server! - Documentation
« Reply #20 on: June 07, 2019, 01:27:49 pm »
I'm assuming an i7-4770K @ 4/4.4GHz could run as a holdfast server? Even if it is a little old?

Yes. That one is still quiet good, especially since you can overclock it.

Offline 如月红

  • Landsman
  • *
  • Posts: 3
  • Faction: Neutral
Re: Host Your Own Game Server! - Documentation
« Reply #21 on: June 18, 2019, 12:51:12 pm »
hi, I try it and my serve can be discovered in lobby successfully. But when you try joining it,you will find ERROR 14 on it and fail.
How to solve it,please :-[

Offline Walki

  • Anvil Game Studios
  • Midshipman's Mate
  • ******
  • Posts: 171
  • Creator of Things
  • Faction: Neutral
  • Nick: Walki
Re: Host Your Own Game Server! - Documentation
« Reply #22 on: June 18, 2019, 05:50:05 pm »
hi, I try it and my serve can be discovered in lobby successfully. But when you try joining it,you will find ERROR 14 on it and fail.
How to solve it,please :-[

Can you show me your config?
Make sure to open the ports on your firewall.

Offline 如月红

  • Landsman
  • *
  • Posts: 3
  • Faction: Neutral
Re: Host Your Own Game Server! - Documentation
« Reply #23 on: June 19, 2019, 05:16:46 am »
hi, I try it and my serve can be discovered in lobby successfully. But when you try joining it,you will find ERROR 14 on it and fail.
How to solve it,please :-[

Can you show me your config?
Make sure to open the ports on your firewall.

Thanks,i5 9400f and rx580,
The vapuriloadtester show that
Code: [Select]
Number of clients to open: 0
Open interval (seconds): 1
Bot Clients? False
Headless clients? False
Carbon Players: (Server) 0

Opening server
When the bat works,the HF NAW.exe starts in black forever
Thanks again

Offline Walki

  • Anvil Game Studios
  • Midshipman's Mate
  • ******
  • Posts: 171
  • Creator of Things
  • Faction: Neutral
  • Nick: Walki
Re: Host Your Own Game Server! - Documentation
« Reply #24 on: June 19, 2019, 12:16:55 pm »

Thanks,i5 9400f and rx580,
The vapuriloadtester show that
Code: [Select]
Number of clients to open: 0
Open interval (seconds): 1
Bot Clients? False
Headless clients? False
Carbon Players: (Server) 0

Opening server
When the bat works,the HF NAW.exe starts in black forever
Thanks again

I meant I needed the .bat content and the server config (.txt) file.

Offline 如月红

  • Landsman
  • *
  • Posts: 3
  • Faction: Neutral
Re: Host Your Own Game Server! - Documentation
« Reply #25 on: June 19, 2019, 02:27:08 pm »

Thanks,i5 9400f and rx580,
The vapuriloadtester show that
Code: [Select]
Number of clients to open: 0
Open interval (seconds): 1
Bot Clients? False
Headless clients? False
Carbon Players: (Server) 0

Opening server
When the bat works,the HF NAW.exe starts in black forever
Thanks again

I meant I needed the .bat content and the server config (.txt) file.

sorry,.bat =
Code: [Select]
start "vapuriloadtester.exe" /affinity 3 "C:\holdfast_naw_public_servers\vapuriloadtester.exe" -s --serverConfigFilePath "serverconfig_newserver7_meleearena.txt" --outputLog "C:\holdfast_naw_public_servers\logs_output\outputlog_newserver7_meleearena.txt" --adminCommandLogFilePath "C:\holdfast_naw_public_servers\logs_adminactions\adminactions_newserver7_meleearena.txt" --logArchivesDirectory "C:\holdfast_naw_public_servers\logs_archive"
and config =
Code: [Select]
server_port 20244
steam_communications_port 8857
steam_query_port 27244


server_name JOJO CHU
server_welcome_message Welcome
server_region china
server_admin_password abeitalekia
server_password abeitaleki

network_broadcast_mode HighAccuracy


thanks again

Offline Walki

  • Anvil Game Studios
  • Midshipman's Mate
  • ******
  • Posts: 171
  • Creator of Things
  • Faction: Neutral
  • Nick: Walki
Re: Host Your Own Game Server! - Documentation
« Reply #26 on: June 19, 2019, 02:31:37 pm »
sorry,
No worries ;).

.bat =
Code: [Select]
start "vapuriloadtester.exe" /affinity 3 "C:\holdfast_naw_public_servers\vapuriloadtester.exe" -s --serverConfigFilePath "serverconfig_newserver7_meleearena.txt" --outputLog "C:\holdfast_naw_public_servers\logs_output\outputlog_newserver7_meleearena.txt" --adminCommandLogFilePath "C:\holdfast_naw_public_servers\logs_adminactions\adminactions_newserver7_meleearena.txt" --logArchivesDirectory "C:\holdfast_naw_public_servers\logs_archive"

Add "--serverheadless" to the end, that will make the empty black window disappear.

and config =
Code: [Select]
server_port 20244
steam_communications_port 8857
steam_query_port 27244


server_name JOJO CHU
server_welcome_message Welcome
server_region china
server_admin_password abeitalekia
server_password abeitaleki

network_broadcast_mode HighAccuracy


thanks again

Open port 20244, 8857 and 27244 on your firewall (TCP&UDP). If you are hosting this on your home pc make sure to also setup port forwarding from your router to your machine with these ports as well.

Offline Hadrian

  • Petty Officer
  • *
  • Posts: 20
  • Faction: British Empire
Re: Host Your Own Game Server! - Documentation
« Reply #27 on: June 20, 2019, 05:23:33 pm »
Quick question that's been bothering me for some time --

Why on earth would you guys make it so that all the game servers for this game contact the lobby server at a hardcoded IP address? CNAME or subdomain (i.e. lobby.holdfastgame.com) would be much safer if you ever need migrate off of Hetzner's network or are forced to change IP's/servers for some reason down the road. You'd be able to update the DNS of that subdomain much easier than having EVERY server owner update their config to point to a new IP address in order to have their server listed.

Quote
Note: "94.130.66.231" - is the holdfast lobby server IP (masterserver).

Offline Walki

  • Anvil Game Studios
  • Midshipman's Mate
  • ******
  • Posts: 171
  • Creator of Things
  • Faction: Neutral
  • Nick: Walki
Re: Host Your Own Game Server! - Documentation
« Reply #28 on: June 20, 2019, 05:36:58 pm »
Why on earth would you guys make it so that all the game servers for this game contact the lobby server at a hardcoded IP address? CNAME or subdomain (i.e. lobby.holdfastgame.com) would be much safer if you ever need migrate off of Hetzner's network or are forced to change IP's/servers for some reason down the road. You'd be able to update the DNS of that subdomain much easier than having EVERY server owner update their config to point to a new IP address in order to have their server listed.

Quote
Note: "94.130.66.231" - is the holdfast lobby server IP (masterserver).

I wasn't the one who made the decision (I wasn't part of the team back then). However, I do know that it will in fact default to a FQDN (anvilstudios.eu) if the IP should ever become unreachable/reject the connection.

Offline Hadrian

  • Petty Officer
  • *
  • Posts: 20
  • Faction: British Empire
Re: Host Your Own Game Server! - Documentation
« Reply #29 on: June 20, 2019, 05:42:15 pm »
I wasn't the one who made the decision (I wasn't part of the team back then). However, I do know that it will in fact default to a FQDN (anvilstudios.eu) if the IP should ever become unreachable/reject the connection.

Ohh okay. Wasn't aware of the fallback, so that's good so you guys can set up a temporary lobby service on that server or proxy it elsewhere if necessary. Likely won't be a major issue, just had me puzzled when I first encountered that since it didn't appear to be fault tolerant at all. Thanks for the quick response!