server persistence question

Hey - I’m guessing this has been discussed before, but I couldn’t find a thread about it.

I want to setup and play a game that may take several months to complete - with 1-5 turns per day. I’d like to have the game ‘hosted’ on the VASSAL server so that players could login when it’s their turn. So it would be like a PBEM except that we don’t have to pass attached files around. Or if the data is not persistent on the main server (or if it’s not reliable enough) I could host the game on a server that I have access to and control of it’s firewall (i.e. I can open up ports if needed).

Are either of these option possible? Has anyone else set this up?

thanks! Matt

Thus spake “hazmatt”:

The game server holds no information about games beyond the name of the
room and the names and IP addresses of the participants. Even if you were
able to run a game server yourself, for what you propose to work, all
of the players would have to remain connected to it continuously.

You’re better off sending save files among the players.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Ok, thanks for the reply. That’s too bad. I can understand why a constant connection is required.

Maybe next version :wink:

As Joel says, no data persists in the server,

However, the game data does persist within the clients of any players that stay connected and synchronized. Theoretically, if a player where to stay continuously connected to a server, then the game room would stay constantly active and the game be constantly available.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

So if I were to have an observer constantly connected to the game on the server, then all the other players could come and go? That might work. I still would worry about the server going down. It would suck to get 2 months into a game and then lose it.

You could instruct the players to do a save before they leave, each time as they come and go. This way if the server did go down the last player that entered would have the latest game state which can be reloaded and put back up on server after a crash

From: hazmatt messages@forums.vassalengine.org
To: messages@forums.vassalengine.org
Sent: Friday, May 29, 2009 10:39:20 AM
Subject: [General Discussion]Re: server persistence question

So if I were to have an observer constantly connected to the game on the server, then all the other players could come and go? That might work. I still would worry about the server going down. It would suck to get 2 months into a game and then lose it.


Messages mailing list
Messages@forums.vassalengine.org (Messages@forums.vassalengine.org)
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “hazmatt”:

You can’t lose your game as a result of the server going down—the server
doesn’t have your game data. If the server went down while you were
connected, what you’d have to do is save your game, reconnect, and then have
the other players sync back with the saved game.

Also, I can guarantee that you wouldn’t be able to remain connected to the
game server for 2 months straight: There’s a bug which causes it to die
every few days right now, and even if that were fixed, it’s unlikely that
there would be a two-month stretch where I wouldn’t need to reboot the
machine for a kernel update.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)