How To: Configure and Host a Hidden & Dangerous 2 Dedicated Server on FreeBSD

2 years 11 months ago #7 by toadlife
I've added a download to a pre-configured virtual machine created using this guide. See the first post, near the top.
The following user(s) said Thank You: snowman, Damni

Please Log in or Create an account to join the conversation.

2 years 11 months ago #8 by snowman
Now British Bulldog and everyone interested to save resources have the option to test hosting H&D2 servers, served on the plate

Thank you

"Straight and narrow is the path."

Please Log in or Create an account to join the conversation.

2 years 11 months ago #9 by toadlife
For some reason, some of the links I put in the first post don't seem to be working. I have no idea why. You can right-click on the links, copy the url and paste in a new browser window and they will work. 
The following user(s) said Thank You: snowman

Please Log in or Create an account to join the conversation.

2 years 11 months ago - 2 years 11 months ago #10 by Stern
*Have to select: Open in new window (google chrome) and refresh, then it works.

But does this monitor servers and restart Console if its terminated ?
(I guess one reason it happens when there is a connection loss)

And if you using separate Console exe files then you can use separate maplist files:
Like the ones here (10x Consoles 0-9 )
HD2DS_SabreSquadron_0-9

Can this Shell Script access memory ?
Because for Co-op style its useful to have more than 6 players,
And only way is to modify it from console memory.
And Its complicated :(
because Console must be running so script have to wait.
Then if its started with  -cmd it gives 6 players max so the script must modify memory first and then send maxclients # to get the desired player slots.

Othen than that it seems good solution to host servers, if it takes less effort from host computer.

The one who hesitates is lost !
The following user(s) said Thank You: snowman, toadlife

Please Log in or Create an account to join the conversation.

2 years 11 months ago - 2 years 11 months ago #11 by toadlife

But does this monitor servers and restart Console if its terminated ?

The script doesn't monitor the consoles. It launches the consoles using the OS's built-in "daemon" program.

daemon launches, monitors the process and re-launches the process if it dies.

https://www.freebsd.org/cgi/man.cgi?query=daemon&manpath=FreeBSD+13.0-current

And if you using separate Console exe files then you can use separate maplist files:
 


Yeah, I used separate console names in case I want to use your console text logger and/or broadcast messages to the consoles. I also have a script that broadcasts messages to the consoles, but it uses the console names too so they have to be different for each server.

Can this Shell Script access memory ?


Nope. 6 players max on my servers.
The following user(s) said Thank You: snowman

Please Log in or Create an account to join the conversation.

  • Lukasz birthday is in 3 days (41)
  • spartacus birthday is in 10 days (63)
Powered by Kunena Forum