GM Mike's Group 1- New Hope - Turn 2 is out
Moderators: Duke, trewqh, korexus
- trewqh
- Moderator
- Posts: 1877
- Joined: Mon Dec 09, 2002 8:00 am
- Location: Bialystok, Poland clan: The Vulkings
When you run the manager for the first time for a particular INI neutrals already have 0.3 dfs. So since they produce more during turn 00 (which I am aware of, since it's the same case as with WOK 4) at the beginning of turn 1 they should have 0.5 dfs. In my game when I load the data from the beginning of turn 01 I see that neutals have 0.2 dfs. Also now, when turn 1 was run, (so at the beginning of turn 2) untouched neutrlas again have 0.2 dfs and provinces freshly acquired by players have 0.1 dfs (I did not yet check what's the situation with dfs in home provinces).gm_al wrote:16 workers will produce 0.2 defense, even in the initial turn that you ran.
I dont see the 'bug' in all this. maybe you can clear that up for me ?
So it seems that although the Province Data tool shows proper values the Manager sets dfs to 0.0 when it runs the turn thus giving those provinces only what the workers will produce. There is a difference fom the POP bug I had. POP values were reset to initial values while now dfs is brought to 0.0.
That's it.
trewqh
PS Still
-
- Moderator
- Posts: 380
- Joined: Mon Sep 02, 2002 7:00 am
- gm_al
- Creator
- Posts: 1479
- Joined: Tue Sep 03, 2002 7:00 am
- Location: Vienna, Austria
- Dameon
- Moderator
- Posts: 1056
- Joined: Tue Sep 03, 2002 7:00 am
- Location: Valn Ohtar Chapterhouse
The neutrals having no defense NOW makes little difference, but it certainly could later in the game. ANd what happens if this same bug appears in player combat? THAT would definetely be a problem. Bah! I just mailed Mike about this without checking the boards first, obviously the problem has been spotted, but if it is another manifistation of the pop problem I hate to think what might happen next.
"A Knight is sworn to valor, his heart knows only virtue, his blade defends the helpless, his might upholds the weak, his word speaks only truth, his wrath outdoes the wicked."
- Aussie Gaz
- Moderator
- Posts: 416
- Joined: Mon Sep 02, 2002 7:00 am
- Location: Thursday Island, Australia. Clan : Valn Ohtar
- gm_al
- Creator
- Posts: 1479
- Joined: Tue Sep 03, 2002 7:00 am
- Location: Vienna, Austria
ABSOLUTELY RIGHT !!
Ive been preaching this a dozen times - the WOK5 manager is done with the US version of the VB6 Devkit (no questions plz) and needs the '.' instead of ',' as standard divider in order to work.
The manager will not treat a '2,004' like a '2.004' !!!
This may indeed have been all the cause of trouble !
What happened ? 0,3 Defense was seen as ZERO, so the DFS was reset ! Because "," also is a separator (!), other values went the wrong way.... seems the POP bug is cleared !!
Thanx a trillion Aussie, we know what to do now.
TREWQH, do the following:
* Go into Start/Settings/System/Regional settings and change the separtor to be '.'
* Run the turn again and check that it uses the '.'
AUSSIE GAZ for WOK president !!
Ive been preaching this a dozen times - the WOK5 manager is done with the US version of the VB6 Devkit (no questions plz) and needs the '.' instead of ',' as standard divider in order to work.
The manager will not treat a '2,004' like a '2.004' !!!
This may indeed have been all the cause of trouble !
What happened ? 0,3 Defense was seen as ZERO, so the DFS was reset ! Because "," also is a separator (!), other values went the wrong way.... seems the POP bug is cleared !!
Thanx a trillion Aussie, we know what to do now.
TREWQH, do the following:
* Go into Start/Settings/System/Regional settings and change the separtor to be '.'
* Run the turn again and check that it uses the '.'
AUSSIE GAZ for WOK president !!
- gm_al
- Creator
- Posts: 1479
- Joined: Tue Sep 03, 2002 7:00 am
- Location: Vienna, Austria
- Dameon
- Moderator
- Posts: 1056
- Joined: Tue Sep 03, 2002 7:00 am
- Location: Valn Ohtar Chapterhouse
Wow Gaz great catch! I would have never noticed that. The Manager does work in mysterious ways, so even though pop has no comma in the value numbers, using it elsewhere in the programming may indeed be causing the bug as well. I hope this is it- eager to hear if it works Mike!
"A Knight is sworn to valor, his heart knows only virtue, his blade defends the helpless, his might upholds the weak, his word speaks only truth, his wrath outdoes the wicked."
- trewqh
- Moderator
- Posts: 1877
- Joined: Mon Dec 09, 2002 8:00 am
- Location: Bialystok, Poland clan: The Vulkings
- gm_al
- Creator
- Posts: 1479
- Joined: Tue Sep 03, 2002 7:00 am
- Location: Vienna, Austria
Actually - the good news is that you dont have to.
I looked up the code from the manager in detail, and I also checked the .DAT files you have been sending.
Trying to avoid the COMMA BUG (as we will call it from now on) I had changed the structure of the saved data in an earlier version (this was actually quite useless, because the manager still treats every operation differently while processing the Turn).
So the .DAT file contains all relevant game data, but the level of Provinces troops is actually saved as lev(x)*1000 and the defense a dfs(x)*10 - this helped me avoid using points or coma when saving values in .DAT files.
So the file structure from Turn#01 seems quite ok to me (just check Province#70 and Player#10 in details) all you hopefully need to do is change the defense value to their real values (0.5 after Turn#0, right ?)
Then re-run the Turn.
PS: funny thing - Kermit did you notice that in your initial posting you used the point and not the comma to explain values ? Yet only AG noticed the bug in the setup of the Turn reports..... congratulations again man, you saved me some sleep.
I looked up the code from the manager in detail, and I also checked the .DAT files you have been sending.
Trying to avoid the COMMA BUG (as we will call it from now on) I had changed the structure of the saved data in an earlier version (this was actually quite useless, because the manager still treats every operation differently while processing the Turn).
So the .DAT file contains all relevant game data, but the level of Provinces troops is actually saved as lev(x)*1000 and the defense a dfs(x)*10 - this helped me avoid using points or coma when saving values in .DAT files.
So the file structure from Turn#01 seems quite ok to me (just check Province#70 and Player#10 in details) all you hopefully need to do is change the defense value to their real values (0.5 after Turn#0, right ?)
Then re-run the Turn.
PS: funny thing - Kermit did you notice that in your initial posting you used the point and not the comma to explain values ? Yet only AG noticed the bug in the setup of the Turn reports..... congratulations again man, you saved me some sleep.
- trewqh
- Moderator
- Posts: 1877
- Joined: Mon Dec 09, 2002 8:00 am
- Location: Bialystok, Poland clan: The Vulkings