Jump to content
  • Announcements

    • Battlefront.com

      Special Upgrade 4 Tech Tips   12/27/2016

      Hi all! Now that Upgrade 4 is out and about in large quantities we have now discovered a few SNAFUs that happen out in the scary, real world that is home computing.  Fortunately the rate of problems is extremely small and so far most are easily worked around.  We've identified a few issues that have similar causes which we have clear instructions for work arounds here they are: 1.  CMRT Windows customers need to re-license their original key.  This is a result of improvements to the licensing system which CMBN, CMBS, and CMFB are already using.  To do this launch CMRT with the Upgrade and the first time enter your Engine 4 key.  Exit and then use the "Activate New Products" shortcut in your CMRT folder, then enter your Engine 3 license key.  That should do the trick. 2.  CMRT and CMBN MacOS customers have a similar situation as #2, however the "Activate New Products" is inside the Documents folder in their respective CM folders.  For CMBN you have to go through the process described above for each of your license keys.  There is no special order to follow. 3.  For CMBS and CMFB customers, you need to use the Activate New Products shortcut and enter your Upgrade 4 key.  If you launch the game and see a screen that says "LICENSE FAILURE: Base Game 4.0 is required." that is an indication you haven't yet gone through that procedure.  Provided you had a properly functioning copy before installing the Upgrade, that should be all you need to do.  If in the future you have to install from scratch on a new system you'll need to do the same procedure for both your original license key and your Upgrade 4.0 key. 4.  There's always a weird one and here it is.  A few Windows users are not getting "Activate New Products" shortcuts created during installation.  Apparently anti-virus software is preventing the installer from doing its job.  This might not be a problem right now, but it will prove to be an issue at some point in the future.  The solution is to create your own shortcut using the following steps: Disable your anti-virus software before you do anything. Go to your Desktop, right click on the Desktop itself, select NEW->SHORTCUT, use BROWSE to locate the CM EXE that you are trying to fix. The location is then written out. After it type in a single space and then paste this:

      -showui

      Click NEXT and give your new Shortcut a name (doesn't matter what). Confirm that and you're done. Double click on the new Shortcut and you should be prompted to license whatever it is you need to license. At this time we have not identified any issues that have not been worked around.  Let's hope it stays that way Steve
    • Battlefront.com

      Forum Reorganization   10/12/2017

      We've reorganized our Combat Mission Forums to reflect the fact that most of you are now running Engine 4 and that means you're all using the same basic code.  Because of that, there's no good reason to have the discussion about Combat Mission spread out over 5 separate sets of Forums.  There is now one General Discussion area with Tech Support and Scenario/Mod Tips sub forums.  The Family specific Tech Support Forums have been moved to a new CM2 Archives area and frozen in place. You might also notice we dropped the "x" from distinguishing between the first generation of CM games and the second.  The "x" was reluctantly adopted back in 2005 or so because at the time we had the original three CM games on European store shelves entitled CM1, CM2, and CM3 (CMBO, CMBB, and CMAK).  We didn't want to cause confusion so we added the "x".  Time has moved on and we have to, so the "x" is now gone from our public vocabulary as it has been from our private vocabulary for quite a while already.  Side note, Charles *NEVER* used the "x" so now we're all speaking the same language as him.  Which is important since he is the one programming them
Sign in to follow this  
jeep

Resync of PBEM games

Recommended Posts

jeep   

This has happened to me on a couple of PBEM games now...

It seems like it your computer crashes during or right after turn processing (before it saves) the different players games can get out of sync.

By "out of sync", what happens is each player sees different locations for some of their troops. If it happens enough, the game is unplayable.

Is there any way to resynch these games? I'm thinking that if you could send all the data from the host to each player (instead of just event files) after this occurs you could get it back on track.

Share this post


Link to post
Share on other sites
Brit   
This has happened to me on a couple of PBEM games now...

It seems like it your computer crashes during or right after turn processing (before it saves) the different players games can get out of sync.

By "out of sync", what happens is each player sees different locations for some of their troops. If it happens enough, the game is unplayable.

Is there any way to resynch these games? I'm thinking that if you could send all the data from the host to each player (instead of just event files) after this occurs you could get it back on track.

Ah, I see what you're saying. Right now, there is no way to resend all the data. This can be a particular problem if the host sends out the turn updates to everyone then crashes, since the client-players will get a turn-update that the host doesn't know about. And then the host will have to reprocess the turn (sending, yet another turn update to the clients for the exact same turn). I think I've seen that problem in some people's bad games that were sent to me.

I had thought about writing exactly this type of function a while ago (I have some initial code in the game), but I never ended up writing it. The idea was to output a whole new *.game file for a player (although there could be some security problems with that, since the host could dump out a client-file for another player and open it himself to see what other players are doing).

Share this post


Link to post
Share on other sites
jeep   

Yeah, I think that is exactly what is needed. You could fix the security issue by having each player put a password on your game (sent back to the host as an event on turn 1).

This would be sort of like a failsafe to correct any strange issues that crop up. If the game is messed up or crashing, the host can regenerate the files (which will delete all the events from the server) and email them to the other players. They would then delete all their event files and copy the new save game in.

It would also be nice to be able to go back a few turns in the game (before the bad stuff happened). Maybe this would be as simple as the host keeping autosaved game files for the last 3 turns or so?

Share this post


Link to post
Share on other sites
Brit   
Yeah, I think that is exactly what is needed. You could fix the security issue by having each player put a password on your game (sent back to the host as an event on turn 1).

Actually, there is already a password system in place to prevent players from getting each other's events. Maybe it could use that same password.

This would be sort of like a failsafe to correct any strange issues that crop up. If the game is messed up or crashing, the host can regenerate the files (which will delete all the events from the server) and email them to the other players. They would then delete all their event files and copy the new save game in.

It would also be nice to be able to go back a few turns in the game (before the bad stuff happened). Maybe this would be as simple as the host keeping autosaved game files for the last 3 turns or so?

I should look into that a little more in a few weeks. I have some other projects due at the end of this month.

Share this post


Link to post
Share on other sites
hoolaman   

I stopped particpating in PBEMs because just when it got interesting my game would lose synch to the other players. Happened two or three times when I'd invested days of turns in my expansion phase.

Share this post


Link to post
Share on other sites
Brit   

I'm carving some time out to fix some of the issues with PBEM. In particular, sometimes people email me because their game is not progressing and it turns out the game-events were downloaded incompletely. There's really no way to recover from that situation. I still don't know if that's a network issue or a server issue. Either way, I'm going to set it up so that the game will automatically delete and re-download events when they aren't accurately downloaded. There's a few other issues to clear up with PBEM game I'll address, as well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×