November 26, 2014, 08:13:42 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Do you live near Cincinnati? Join us this weekend for A&A Spring Gathering XI on April 5-6, 2013. Search me
  Articles  
   Home   Help Login Register AACalc  
Loading
Pages: 1 2
  Print  
Author Topic: TripleA 1.5.0.0 and US/Chinese turn  (Read 774 times)
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« on: February 29, 2012, 11:43:26 am »
0

In my test game

http://www.axisandallies.org/forums/index.php?topic=26522.msg926857#msg926857

all American and Chinese actions are not posted, except the Chinese placement.

I found out that I can view all actions using the "Show History" feature in the "Game"-menu.
So this has no impact on the gameplay.

Is this a bug or is there something special behind the US/Chinese Movement that I missed so far?

I am also missing the US Territory Summary in the post. And the Americans PUSummary is wrong.

Also I was not asked about what nation should be moved first.
US' turn happened strictly before China's turn.
Is this the way it is intendend to be?
As a result the savegame file is named containing "C1" instead of "US1" or something like that.

Thank you!  smiley
« Last Edit: February 29, 2012, 11:56:09 am by P@nther » Logged
Veqryn
A&A.org Bomber
*
*
*****
Posts: 2316



View Profile
« Reply #1 on: March 01, 2012, 12:21:03 am »
0

The play-by-forum / play-by-email Turn Summary will not show the "correct" information when player's turns happen at the same time or are interspersed.

AA50th (ww2v3) has the chinese turn happen inside of the american turn, which causes funny results for these summaries.
This is strictly a problem with the map XML, not with TripleA's engine.  (and since the only thing it affects is the "turn summary", noone actually has cared enough to change it)

In the future, we might separate it so that the Chinese turn happens after the American turn, which would make the summary show correctly.

TripleA does not have the ability to dynamically change when turn phases happen, once the game starts.  This issue will not be solved because it really does not matter.

If you want the chinese turn to happen before the american turn, it is quite simple to open up the XML and move the chinese stuff to be above the american stuff.  Same with the other way around. 

Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #2 on: March 01, 2012, 01:00:43 am »
0

Thank you again for your explanation.

I will try and edit the map-XML the way you suggested and see what happens.

smiley
Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #3 on: March 01, 2012, 12:21:14 pm »
0

Please take a look here:

http://www.axisandallies.org/forums/index.php?topic=26522.msg927219#msg927219

What I did was changing the following part of the XML:

Quote
<!-- Chinese/Americans Game Sequence -->
                        <step name="americanTech" delegate="tech" player="Americans"/>
                        <step name="americanTechActivation" delegate="tech_activation" player="Americans"/>
                        <step name="americanPurchase" delegate="purchase" player="Americans"/>
                  <step name="chinesePurchase" delegate="purchaseNoPU" player="Chinese"/>
                        <step name="americanCombatMove" delegate="move" player="Americans"/>
                        <step name="americanBattle" delegate="battle" player="Americans"/>
                        <step name="americanNonCombatMove" delegate="move" player="Americans" display="Non Combat Move"/>
                  <step name="chineseCombatMove" delegate="move" player="Chinese"/>
                  <step name="chineseBattle" delegate="battle" player="Chinese"/>
                  <step name="chineseNonCombatMove" delegate="move" player="Chinese" display="Non Combat Move"/>
                        <step name="americanPlace" delegate="place" player="Americans"/>
                  <step name="chinesePlace" delegate="place" player="Chinese"/>
                  <step name="chineseEndTurn" delegate="endTurnNoPU" player="Chinese"/>
                        <step name="americanEndTurn" delegate="endTurn" player="Americans"/>

into this:

Quote
<!-- Chinese Game Sequence -->
                        
         <step name="chinesePurchase" delegate="purchaseNoPU" player="Chinese"/>
                        <step name="chineseCombatMove" delegate="move" player="Chinese"/>
         <step name="chineseBattle" delegate="battle" player="Chinese"/>
         <step name="chineseNonCombatMove" delegate="move" player="Chinese" display="Non Combat Move"/>
                        <step name="chinesePlace" delegate="place" player="Chinese"/>
         <step name="chineseEndTurn" delegate="endTurnNoPU" player="Chinese"/>
                        
                  <!-- Americans Game Sequence -->
                        <step name="americanTech" delegate="tech" player="Americans"/>
                        <step name="americanTechActivation" delegate="tech_activation" player="Americans"/>
                        <step name="americanPurchase" delegate="purchase" player="Americans"/>
         <step name="americanCombatMove" delegate="move" player="Americans"/>
                        <step name="americanBattle" delegate="battle" player="Americans"/>
                        <step name="americanNonCombatMove" delegate="move" player="Americans" display="Non Combat Move"/>
         <step name="americanPlace" delegate="place" player="Americans"/>
         <step name="americanEndTurn" delegate="endTurn" player="Americans"/>

I went quickly through G1 up to I1 simply doing nothing. Then - as expected - China started with it's Combat Moves
I moved Inf and Fig to Kwa attacking the British Inf there. But the battle did not occur. What instantly occurred was the Chinese NCM .

After that the US turn went as expected. But when loading the turn summary I got some error messages. And the "Post Turn Window" did not close
although the turn was already posted.

Could you please give me a clue what I may have missed?
Thanks again.
smiley
« Last Edit: March 01, 2012, 12:34:22 pm by P@nther » Logged
Veqryn
A&A.org Bomber
*
*
*****
Posts: 2316



View Profile
« Reply #4 on: March 01, 2012, 10:26:42 pm »
0

China and the British are on the same side, so there is no reason for a battle to occur....


here is what you probably want for the xml, which I think is what you have above (thought i did not double check):


      <!-- Chinese/Americans Game Sequence -->
      <step name="chinesePurchase" delegate="purchaseNoPU" player="Chinese"/>
      <step name="chineseCombatMove" delegate="move" player="Chinese"/>
      <step name="chineseBattle" delegate="battle" player="Chinese"/>
      <step name="chineseNonCombatMove" delegate="move" player="Chinese" display="Non Combat Move"/>
      <step name="chinesePlace" delegate="place" player="Chinese"/>
      <step name="chineseEndTurn" delegate="endTurnNoPU" player="Chinese"/>

      <step name="americanTech" delegate="tech" player="Americans"/>
      <step name="americanTechActivation" delegate="tech_activation" player="Americans"/>
      <step name="americanPurchase" delegate="purchase" player="Americans"/>
      <step name="americanCombatMove" delegate="move" player="Americans"/>
      <step name="americanBattle" delegate="battle" player="Americans"/>
      <step name="americanNonCombatMove" delegate="move" player="Americans" display="Non Combat Move"/>
      <step name="americanPlace" delegate="place" player="Americans"/>
      <step name="americanEndTurn" delegate="endTurn" player="Americans"/>

thx,
veqryn
Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #5 on: March 01, 2012, 11:51:30 pm »
0

Quote from: Veqryn
China and the British are on the same side, so there is no reason for a battle to occur....
Ouch....I was so focussed on testing that I did not even care about that.
Quote from: Veqryn
here is what you probably want for the xml, which I think is what you have above (thought i did not double check):
...
Thank you, it is the same.
I will do some more tests this evening.
smiley
« Last Edit: March 01, 2012, 11:53:55 pm by P@nther » Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #6 on: March 02, 2012, 11:06:30 am »
0

Before I continue testing I have got - out of curiosity - another question.

In the original XML the order of phases is:
Quote
                        ...
                        <step name="americanCombatMove" delegate="move" player="Americans"/>
                        <step name="americanBattle" delegate="battle" player="Americans"/>
                        <step name="americanNonCombatMove" delegate="move" player="Americans" display="Non Combat Move"/>
                  <step name="chineseCombatMove" delegate="move" player="Chinese"/>

                  <step name="chineseBattle" delegate="battle" player="Chinese"/>
                  <step name="chineseNonCombatMove" delegate="move" player="Chinese" display="Non Combat Move"/>
                        <step name="americanPlace" delegate="place" player="Americans"/>
                  <step name="chinesePlace" delegate="place" player="Chinese"/>
                  <step name="chineseEndTurn" delegate="endTurnNoPU" player="Chinese"/>
                        <step name="americanEndTurn" delegate="endTurn" player="Americans"/>
So this means that the American NCM occurs before the Chinese Battle.
According to the rules
Quote
The U.S. player must complete the Combat Move and Conduct Combat phases for Chinese forces before beginning the Combat Move phase for U.S. forces, or vice versa.
Following this the NCM of China and USA take place after the battles of both countries.

This is of practical relevance:
Following the rules an American unit could (in NCM) enter a territory the Chinese have captured/liberated just before (or vice versa of course).
If -as indicated in the XML - America does it's NCM before the chinese battle, an American unit cannot enter this territory in NCM,
because at this moment it is hostile.

So for meeting the rules the XML should contain

Quote
                        ...
                        <step name="americanCombatMove" delegate="move" player="Americans"/>
                        <step name="americanBattle" delegate="battle" player="Americans"/>                        
                  <step name="chineseCombatMove" delegate="move" player="Chinese"/>
                  <step name="chineseBattle" delegate="battle" player="Chinese"/>
                        <step name="americanNonCombatMove" delegate="move" player="Americans" display="Non Combat Move"/>
                  <step name="chineseNonCombatMove" delegate="move" player="Chinese" display="Non Combat Move"/>
                        <step name="americanPlace" delegate="place" player="Americans"/>
                  <step name="chinesePlace" delegate="place" player="Chinese"/>
                  <step name="chineseEndTurn" delegate="endTurnNoPU" player="Chinese"/>
                        <step name="americanEndTurn" delegate="endTurn" player="Americans"/>

Am I right? Or are the rules (especially the China rules including battling and NCM) in fact hard coded in any other part of the program?
I am very interested in this question because it is relevant for my tries to seperate American from Chinese phases.

Either it is: "For the purpose of having accurate Chinese and American turn posts forget about the exact rules."
or: "Forget about the exact turn posts and stick to the rules." (that would include the NCMs happening after both battles, which is only a very small exchange of lines in the game-xml).

Maybe it is all a bit theoretical. But I really like TripleA v. 1.5 and just am balancing reasons about accurate rules on the one hand and (maybe) gameplay on the other hand.

Thank you  smiley
Logged
Veqryn
A&A.org Bomber
*
*
*****
Posts: 2316



View Profile
« Reply #7 on: March 02, 2012, 12:07:56 pm »
0

what about:

                        <step name="americanCombatMove" delegate="move" player="Americans"/>
                        <step name="americanBattle" delegate="battle" player="Americans"/>                       
                  <step name="chineseCombatMove" delegate="move" player="Chinese"/>
                  <step name="chineseBattle" delegate="battle" player="Chinese"/>
                  <step name="chineseNonCombatMove" delegate="move" player="Chinese" display="Non Combat Move"/>
                  <step name="chinesePlace" delegate="place" player="Chinese"/>
                  <step name="chineseEndTurn" delegate="endTurnNoPU" player="Chinese"/>
                        <step name="americanNonCombatMove" delegate="move" player="Americans" display="Non Combat Move"/>
                        <step name="americanPlace" delegate="place" player="Americans"/>
                        <step name="americanEndTurn" delegate="endTurn" player="Americans"/>


would that meet the rules?

if that meets the rules, i would go with that
Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #8 on: March 02, 2012, 12:39:30 pm »
0

Looks fine at first glance.

But I experienced a bug when testing.

http://www.axisandallies.org/forums/index.php?topic=26522.msg927641#msg927641

I'm going to test again to see if I can reproduce that.
« Last Edit: March 02, 2012, 12:42:51 pm by P@nther » Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #9 on: March 02, 2012, 12:57:56 pm »
0

The bug remains.

The US bomber moved four steps to SZ 13 and destroys the Transporter.
In NCM it should land in Gib.

After the Chinese sequence - when it comes to US NCM, the Bomber is away.
Game history says it was destroyed because it could not land.

I can't say if this is realted to the changes in the sequence.

If not this sequence is a well balanced compromise between rules and turn post information.
The most important thing here is that the NCM both happen after both nations' battles.

It would be even better to embed the US lines in the chinese lines as I think.
I am going to try this next.
Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #10 on: March 02, 2012, 01:17:10 pm »
0

I found out what causes the bomber issue:

For any reason the American bomber in SZ 13 is destroyed in the Chinese NCM.
That means that the program considers that bomber as Chinese.
Therefore it cannot land and is destroyed.

That is strange.

See
http://www.axisandallies.org/forums/index.php?topic=26522.msg927675#msg927675
Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #11 on: March 02, 2012, 01:57:41 pm »
0

This is definitely caused by the changed sequence. It happens when after the US battle the Chinese NCM occurs before the US NCM. This results in the bomber becoming Chinese.
I don't know how this can be corrected.
Logged
Veqryn
A&A.org Bomber
*
*
*****
Posts: 2316



View Profile
« Reply #12 on: March 03, 2012, 12:39:05 am »
0

ah, ya, i know why that is happening

basically, you are not supposed to have turns interspersed, or they may be weird effects

essentially, the game keeps track of which territories are conquered for a turn, but it doesn't do so on a per player basis,

in addition, the game validates where units can land at the end of noncombat phases, unless you have purchased a carrier and are validating fighter, etc etc, complex stuff

anyway, i suggest you either have the Chinese and American turns COMPLETELY separate from each other

OR you leave the game xml as it currently is (since it works well already)

I honestly do not think this affects the game at all, because China gets completely destroyed in the first 2 turns anyway.

In 3 years of people playing this and testing it (AA50 is the most popular game on triplea, and there are at least 20-60 games of it played every day), noone has ever noticed this "bug" or reported it.  So that means it does not affect any 'real' games.  

« Last Edit: March 03, 2012, 12:57:07 am by Veqryn » Logged
P@nther
A&A.org Battleship
*
*
*
*
******
Posts: 3982


I just want to play!


View Profile
« Reply #13 on: March 03, 2012, 01:47:20 am »
0

Quote from: Veqryn
ah, ya, i know why that is happening

basically, you are not supposed to have turns interspersed, or they may be weird effects

essentially, the game keeps track of which territories are conquered for a turn, but it doesn't do so on a per player basis,

in addition, the game validates where units can land at the end of noncombat phases, unless you have purchased a carrier and are validating fighter, etc etc, complex stuff
OK, I understand. So this is how TripleA is coded - and this is not an issue of the Game-XML itself.

Quote from: Veqryn
anyway, i suggest you either have the Chinese and American turns COMPLETELY separate from each other

OR you leave the game xml as it currently is (since it works well already)

I honestly do not think this affects the game at all, because China gets completely destroyed in the first 2 turns anyway.

In 3 years of people playing this and testing it (AA50 is the most popular game on triplea, and there are at least 20-60 games of it played every day), noone has ever noticed this "bug" or reported it.  So that means it does not affect any 'real' games.  
Yes, I agree. Personally I would tend towards seperating China from America completely as is is much more comfortable and clearly arranged.
( see for example   http://www.axisandallies.org/forums/index.php?topic=26522.msg927681#msg927681  ).

Either this or leaving the XML as it is - of course - is not rules-compliant. But as you pointed out this does not really matter in the games that are played.
And - players can use the Edit Mode to correct or change some issues. So all in all for PBF-Purposes I would vote for transparent information in the turn posts.

But - I think that in a game the players have to use the same XML, am I right? Or is it possible that for example the Axis player plays with the downloaded XML as it is and the Allies player uses a modified game-XML in which turns for China and America are separated?

« Last Edit: March 03, 2012, 05:54:07 am by P@nther » Logged
Veqryn
A&A.org Bomber
*
*
*****
Posts: 2316



View Profile
« Reply #14 on: March 03, 2012, 08:14:49 am »
0

games always use the hosts' xml
and after the game starts, the xml you started is in the game data (memory), so you do not even need the xml after the game has started

i think in the future, i will move the chinese and american turns to be separate

what is better, China then America,
or America then China?
Logged
Pages: 1 2
  Print  
 
Jump to:  

2014 Support Drive
Support Level
Forum Username
Note: payee will appear as Livid Labs, LLC.
Buy Axis & Allies
  • Axis & Allies 1942 [Amazon]
  • A&A Pacific 1940 [Amazon]
  • A&A Europe 1940 [FMG]
  • [eBay]
  • [eBay]
  • A&A D-Day [Amazon]
  • A&A Battle of the Bulge [Amazon]
  • [eBay]
  • [eBay]
  • WWII Themed Combat Dice [FMG]



Axis and Allies.org Official Gold Sponsor: Field Marshal Games

Axis & Allies.org Official Silver Sponsor: Historical Board Gaming
Powered by MySQL Powered by PHP © 2014 Livid Labs, LLC. All rights reserved.
Axis & Allies is registered trademark of Wizards of the Coast, a division of Hasbro, Inc.
Note: the copyright below is for the forum software only.
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Valid XHTML 1.0! Valid CSS!