Jump to content
Sign in to follow this  
[csla]zerxen2

Dedicated server multyplayer savegame and/or pause functionality

Recommended Posts

Hello guys,

I am desperately trying to find a way to save a multiplayer game on a dedicated server to continue playing later. This is possible when you host a game on you PC, but this should be somehow accessible for a dedicated server as well, no ?

Alternatively, is it possible to pause the multiplayer game simulation on a dedicated server? If no savegame is possible, I would at least like to make the server mission persistent, but then pause the game until I and other players can go back to the game later and find the game in the state that we have left.

This is mainly for the Arma2 Warfare CTI missions related :)

Any help appreciated.

Share this post


Link to post
Share on other sites

You can use the persistant = 1 in the config on the dedicated server but obviously it has ti be left on.

Hope that helps

Share this post


Link to post
Share on other sites

Yes, that is what we are using, but the server we are using is one of our working laptops, so letting it just run for a week until we have time to finish the game is out of options.

We can only force the notebook to go into sleep mode, but that renders the machine unusable until the next game.

Any other suggestions? The save game functionality is built into Arma2 while hosting like a game directly as a player, I just need to access that via the console on dedicated server :(

Share this post


Link to post
Share on other sites

Was a solution ever found for this? I'd very much like to be able to host on a dedicated server to take advantage of my quad core, but I'd like to be able to save my Warfare mission and shut down the server between sessions.

KG

EDIT: I did some more hunting, and it seems there is a "savegame" command that works for non-dedicated servers, but not dedicated ones.

It seems to me that there's no reason not to have that functionality available in a dedicated server if non-dedicated already has it. In my case, I play over a LAN with friends, and would like to have the additional stability and speed of using a dedicated server...having everyone disconnected because the host machine locked up on the client end is irritating.

EDIT 2: For the meantime, I've found a successful workaround, building off of helling3r's work here. As he explains, issuing a STOP command to the Arma 2 dedicated server process will effectively hold the server's state, allowing the admin to resume it by issuing a CONT command.

I'm running my dedicated server as a virtual machine through VirtualBox, so after issuing the stop command, I can take a snapshot of the current state and can turn off my server instance. This allows me to resume where I left off at any time, by restoring the system snapshot and issuing a CONT command.

It isn't pretty, but it gets the job done. If anyone would like a more detailed walkthrough, let me know.

Edited by kg333

Share this post


Link to post
Share on other sites

Was a solution ever found for this? I'd very much like to be able to host on a dedicated server to take advantage of my quad core, but I'd like to be able to save my Warfare mission and shut down the server between sessions.KGEDIT: I did some more hunting, and it seems there is a "savegame" command that works for non-dedicated servers, but not dedicated ones. It seems to me that there's no reason not to have that functionality available in a dedicated server if non-dedicated already has it. In my case, I play over a LAN with friends, and would like to have the additional stability and speed of using a dedicated server...having everyone disconnected because the host machine locked up on the client end is irritating.EDIT 2: For the meantime, I've found a successful workaround, building off of helling3r's work here. As he explains, issuing a STOP command to the Arma 2 dedicated server process will effectively hold the server's state, allowing the admin to resume it by issuing a CONT command.I'm running my dedicated server as a virtual machine through VirtualBox, so after issuing the stop command, I can take a snapshot of the current state and can turn off my server instance. This allows me to resume where I left off at any time, by restoring the system snapshot and issuing a CONT command.It isn't pretty, but it gets the job done. If anyone would like a more detailed walkthrough, let me know.

I am very interested in learning how to do this. Would you show me?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×