View Full Version : Dedicated server multyplayer savegame and/or pause functionality
May 17 2011, 07:46
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.
May 17 2011, 07:49
You can use the persistant = 1 in the config on the dedicated server but obviously it has ti be left on.
Hope that helps
May 17 2011, 08:12
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 :(
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.
EDIT: I did some more hunting (http://dev-heaven.net/issues/11290), 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 (http://forums.bistudio.com/showthread.php?t=114499&page=2). 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.
Jun 19 2011, 19:20
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.