.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old March 10th, 2019, 01:01 PM
ErikCumps's Avatar

ErikCumps ErikCumps is offline
Corporal
 
Join Date: Jan 2019
Location: Leuven, Belgium
Posts: 70
Thanks: 27
Thanked 89 Times in 29 Posts
ErikCumps is on a distinguished road
Question Battle dates: year, month, day, hour?

Hi,

As you may know, I am working on adding support for winSPWW2 to my War Cabinet tool. Good progress is being made, but unfortunately I have hit a bump in the road.

Warcab makes the (logical) assumption that two different battles in a campaign can not happen both at the same point in time. Based on this assumption, warcab uses the battle date as a unique identifier for each battle, and also to place each battle in the correct spot on the campaign timeline so that a correct unit history and progression can be calculated.

Now, about the bump and my question:

It seems that winSPWW2 only records the year and month of a battle, but not the day or the hour? At least, I was not able to find out where it is stored in the savegame.

Warcab can provide a synthetic day (1st of the month) and hour (9 AM), but it cannot avoid problems when dealing with multiple battles in the same month, because these different battles will all end up on the exact same battle date.

Even if I would relax the rules and also take the battle location into account to differentiate between these different battles, warcab would still be unable to determine the correct order of these battles with the risk that the resulting unit history will not be correct.

Having already seen two battles in a campaign that both happen in the same month, I believe these problems are likely to occur.

So, I am really looking for some confirmation about the winSPWW2 battle dates and their storage in the savegames:
  • Does winSPWW2 record the battle day in the savegame, and if so: where?
  • Does winSPWW2 record the battle start hour in the savegame, and if so: where?

It is my sincere hope that at least the battle day is indeed recorded in the savegame, because that would substantially reduce the risk of different battles with the same battle date.

It would also avoid the need for warcab to enlist the help of the user, for example by requiring the user to specify the battle day and hour whenever a new battle is added to the campaign dossier.

Thanks in advance,
Erik
Reply With Quote
  #2  
Old March 10th, 2019, 01:55 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,256
Thanks: 3,809
Thanked 5,422 Times in 2,694 Posts
DRG will become famous soon enough
Default Re: Battle dates: year, month, day, hour?

Month and Year only. No day. No hour.
__________________


If you find you are constantly reacting to your enemy's tactics instead forcing the enemy to react to yours, you are losing the battle....
Reply With Quote
The Following 2 Users Say Thank You to DRG For This Useful Post:
  #3  
Old March 10th, 2019, 03:50 PM
ErikCumps's Avatar

ErikCumps ErikCumps is offline
Corporal
 
Join Date: Jan 2019
Location: Leuven, Belgium
Posts: 70
Thanks: 27
Thanked 89 Times in 29 Posts
ErikCumps is on a distinguished road
Question Re: Battle dates: year, month, day, hour?

Thanks, DRG.

It's not what I was hoping to read, but it is a clear and final answer.

I'll consider in what way to adjust warcab so that it can better cope with this.

One option mentioned already is asking the user to provide the day/hour details, with some kind of dialog box that pops up whenever adding a savegame implies adding a new battle.

In the mean time I'm of course open to any other suggestions, so if any of you has another idea how to approach this, please share!

Erik
Reply With Quote
  #4  
Old March 10th, 2019, 04:10 PM
zovs66's Avatar

zovs66 zovs66 is offline
First Lieutenant
 
Join Date: Mar 2011
Location: Ohio
Posts: 782
Thanks: 1,190
Thanked 570 Times in 310 Posts
zovs66 is on a distinguished road
Default Re: Battle dates: year, month, day, hour?

Why not just add a pop up when a conflict arises allowing the user to pick the order of the saves added?
__________________
ASL
Reply With Quote
The Following User Says Thank You to zovs66 For This Useful Post:
  #5  
Old March 10th, 2019, 04:56 PM
scorpio_rocks's Avatar

scorpio_rocks scorpio_rocks is offline
Major
 
Join Date: Aug 2013
Location: Yorkshire, UK
Posts: 1,036
Thanks: 338
Thanked 432 Times in 311 Posts
scorpio_rocks is on a distinguished road
Default Re: Battle dates: year, month, day, hour?

use the date(day) and time stamp of the save file?
__________________

"Gentlemen, when the enemy is committed to a mistake - we must not interrupt him too soon."
Horatio Nelson.
SPMBT Roundel Objectives Mod
SPMBT Small ID Flags Mod
WW2 Roundel Objectives Mod
Reply With Quote
The Following User Says Thank You to scorpio_rocks For This Useful Post:
  #6  
Old March 12th, 2019, 12:06 PM
ErikCumps's Avatar

ErikCumps ErikCumps is offline
Corporal
 
Join Date: Jan 2019
Location: Leuven, Belgium
Posts: 70
Thanks: 27
Thanked 89 Times in 29 Posts
ErikCumps is on a distinguished road
Default Re: Battle dates: year, month, day, hour?

Quote:
Originally Posted by zovs66 View Post
Why not just add a pop up when a conflict arises allowing the user to pick the order of the saves added?
Thanks Don, that's certainly a possibility.

But, it would make the user interaction less predictable, and I am not so fond of that.

However, if:
  • we are willing to accept warcab substituting synthetic values for the battle day and hour
  • we are willing to assume that users will always add savegames in the correct order
  • or, alternatively, if we provide the user with the means to add battles in the correct spot on the campaign timeline (i.e. after or before an existing battle

Then we could maybe avoid the user interaction entirely.

Erik
Reply With Quote
  #7  
Old March 12th, 2019, 12:11 PM
ErikCumps's Avatar

ErikCumps ErikCumps is offline
Corporal
 
Join Date: Jan 2019
Location: Leuven, Belgium
Posts: 70
Thanks: 27
Thanked 89 Times in 29 Posts
ErikCumps is on a distinguished road
Default Re: Battle dates: year, month, day, hour?

Quote:
Originally Posted by scorpio_rocks View Post
use the date(day) and time stamp of the save file?
Thanks for the suggestion, Scorpio.

Unfortunately, file dates are notoriously unreliable for this type of point-in-time detection,
because this assumes that winSPWW2 is the exclusive creator of savegames.

It works perfectly with savegames created by winSPWW3 only, but it breaks down with
savegames that are created by other means (for example when savegames are copied
back from a backup location).

Erik
Reply With Quote
  #8  
Old March 12th, 2019, 12:17 PM
ErikCumps's Avatar

ErikCumps ErikCumps is offline
Corporal
 
Join Date: Jan 2019
Location: Leuven, Belgium
Posts: 70
Thanks: 27
Thanked 89 Times in 29 Posts
ErikCumps is on a distinguished road
Default Re: Battle dates: year, month, day, hour?

Quote:
Originally Posted by DRG View Post
Month and Year only. No day. No hour.
DRG, could you (or anybody else) help me with the following questions:

What are the odds of more than 28 (or more than the number of days in the month) different battles in a month during a generated campaign?

What about designed campaigns, is there any limitation there?

Could a campaign designer create campaigns with more battles in a month than days in a month?

In that last case, would it be acceptable to consider this quite special and to not require solid support for it in warcab?

Erik
Reply With Quote
  #9  
Old March 12th, 2019, 12:27 PM
scorpio_rocks's Avatar

scorpio_rocks scorpio_rocks is offline
Major
 
Join Date: Aug 2013
Location: Yorkshire, UK
Posts: 1,036
Thanks: 338
Thanked 432 Times in 311 Posts
scorpio_rocks is on a distinguished road
Default Re: Battle dates: year, month, day, hour?

Quote:
Originally Posted by ErikCumps View Post
What are the odds of more than 28 (or more than the number of days in the month) different battles in a month during a generated campaign?

It is possible to generate a campaign lasting 1 month with 200 battles in it...
__________________

"Gentlemen, when the enemy is committed to a mistake - we must not interrupt him too soon."
Horatio Nelson.
SPMBT Roundel Objectives Mod
SPMBT Small ID Flags Mod
WW2 Roundel Objectives Mod
Reply With Quote
  #10  
Old March 12th, 2019, 12:50 PM
zovs66's Avatar

zovs66 zovs66 is offline
First Lieutenant
 
Join Date: Mar 2011
Location: Ohio
Posts: 782
Thanks: 1,190
Thanked 570 Times in 310 Posts
zovs66 is on a distinguished road
Default Re: Battle dates: year, month, day, hour?

I tried something similar once, July 43 - Aug 43, I selected SS with 100 battles. I did get burned out after 25 battles though...
__________________
ASL
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.