Announcement

Collapse
No announcement yet.

The Ages Of Man

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    There is no particular mod for the ldl-crash. It was a temporary AOM test setup to try out some ideas for Stan. During the try out, we discovered that moving the button declarations to controlpanel.ldl was a much better idea.

    Thanks for testing the "assignable" arrays. When the following statements
    Code:
    (1)	player[5] = player[3];
    (2)	int3 = player[5];
    (3)	int4 = player[3];
    	...
    (4)	if(player[3] == player[5]){
    	...
    	}
    	...
    (5)	if(int3 == int4){
    	...
    	}
    do not fire if (4), but do fire if (5), I can only conclude that there were no assignable arrays. Using the assumption that it was all based on using uninitialised stack locations that happened to contain an old value, the following is more plausable:
    (1) Does nothing at all - the left hand side can not be assigned to, even when the right hand side may return a (random) result.
    (2) Assigns an uninitialised value to int3.
    (3) Assigns the same (still uninitialised) value to int4, because the stack has the same layout for both assignments, and local variable retval in SlicStack::Eval happens to be at the same (stack) location again.
    (4) Compares 2 different uninitialised values - because there is a stack layout difference (to hold the temporary result) when evaluating the 2 sides of the equality. Once in a while, it may trigger anyway, when the 2 values are identical - pure chance.
    (5) Will always trigger, because of (2) and (3).

    Comment


    • #62
      My CDs arrived, and I've eagerly leaped into a round of AOM. First impressions? VERY TOUGH! (which is a good thing!) So far it's easy to see the Cradle roots, but there's plenty of new stuff, too. A couple minor issues:

      1) When you right click on the capital, instead of the city window it displays a new window with King and Riot status. On one level it's nice to have these available at the click of a button, but why THAT button? I routinely use this method to check build status in all cities, and it's very frustrating for the feature not to work on this single city. On the other hand it may just be a bug, since the left button (a MUCH better choice) displays the same window.

      2) On the build manager, if you select "Caravan", the only description is UNIT_CARAVAN_SUMMARY.

      Well, back to the fray (Incans and Greeks wasted no time launching a war....along with the nasty Barb incursions, I've got my hands full!)
      To La Fayette, as fine a gentleman as ever trod the Halls of Apolyton

      From what I understand of that Civ game of yours, it's all about launching one's own spaceship before the others do. So this is no big news after all: my father just beat you all to the stars once more. - Philippe Baise

      Comment


      • #63
        but why THAT button
        Because it is there. Everyone has a capital and I needed something to use as a trigger for the button. The subsequent change to control panel, which was to remove that function, did not work as it should. I could bring up the message, but NO code of any kind would trigger from the control panel change, so you could not do a score check or spend money on festivities. After a while you get used to not clicking on your capital.

        On the build manager, if you select "Caravan", the only description is UNIT_CARAVAN_SUMMARY.
        I am not sure why that is happening, it happens to a couple of other things as well, indicating a problem in the stings.txt file, but I cannot find it. Ran out of time to track it down.

        I will have another look, amazing how some things appear obvious if you leave them for a while.

        Comment


        • #64
          Originally posted by stankarp


          Because it is there. Everyone has a capital and I needed something to use as a trigger for the button. The subsequent change to control panel, which was to remove that function, did not work as it should. I could bring up the message, but NO code of any kind would trigger from the control panel change, so you could not do a score check or spend money on festivities. After a while you get used to not clicking on your capital.
          My only question is why use the Right AND Left click to bring up this window? It would seem that one would suffice - and if so - my vote would be for the Left!
          To La Fayette, as fine a gentleman as ever trod the Halls of Apolyton

          From what I understand of that Civ game of yours, it's all about launching one's own spaceship before the others do. So this is no big news after all: my father just beat you all to the stars once more. - Philippe Baise

          Comment


          • #65
            My only question is why use the Right AND Left click to bring up this window? It would seem that one would suffice - and if so - my vote would be for the Left!
            Actually, never noticed, it works with either right or left, which means I had no choice in the matter. Right click brings up both windows, so you have to close the message so you can do anything in the city menu.

            I had hoped that the control panel changes would have eliminated this, but they did not. So I was stuck with it.

            Comment


            • #66
              Yeah its not too bad once you get used to it, I never clicked on my capital any more than other cities anyway. I use the national manager a lot more.

              By the way what happens if you lose your capital, you cant get to that information or give festivities from any city? What if you rebuilt the capital in another city would the options appear in the new city?
              Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
              CtP2 AE Wiki & Modding Reference
              One way to compile the CtP2 Source Code.

              Comment


              • #67
                if(CityHasBuilding(city[0],"IMPROVE_CAPITOL")){

                Therefore, even if you loose your capital, when you rebuild it, you should once again be able to activate the function.

                I have never lost my capital anyway :-))

                Comment


                • #68
                  Originally posted by Kull
                  My only question is why use the Right AND Left click to bring up this window? It would seem that one would suffice - and if so - my vote would be for the Left!
                  Because it triggers on the city being selected rather than any mouse click. It should even trigger if you use the city dropdown menu to find the capital I think.
                  Concrete, Abstract, or Squoingy?
                  "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

                  Comment


                  • #69
                    Because it is there. Everyone has a capital and I needed something to use as a trigger for the button. The subsequent change to control panel, which was to remove that function, did not work as it should. I could bring up the message, but NO code of any kind would trigger from the control panel change, so you could not do a score check or spend money on festivities. After a while you get used to not clicking on your capital.


                    We can potentially change that with the source code build, though.

                    BTW, what happens if your capital city gets conquered? There's a time then when you have no capital until you rebuild it elsewhere...
                    Solver, WePlayCiv Co-Administrator
                    Contact: solver-at-weplayciv-dot-com
                    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

                    Comment


                    • #70
                      I guess it an additional penalty....
                      Formerly known as "E" on Apolyton

                      See me at Civfanatics.com

                      Comment


                      • #71
                        BTW, what happens if your capital city gets conquered
                        That is right, no celebrations or scor check if you do not have a capital.

                        Comment


                        • #72
                          The Sumerian "Minor Kingdom" (couldn't really call it an "Empire") grows slowly. Playing with 11 AI civs on a huge map (and all the other recommended settings), and have bumped into most of them. They all hate me, and will start a war given half a chance. Barbs are a frequent nuisance, but don't seem to form the massive stacks ala Cradle (good thing - I'd be toast otherwise). Unfortunately, my start location is right next to the Shang (Orange), and they've been attacking me regularly. Some comments on their strategy:

                          1) Most contact has been nuisance level - skirmishes with size stacks of scouts and javelineers.

                          2) My first invasion was a disaster. The single size 12 stack invasion force was barely able to conquer the nearest Shang city (it had 12 units inside), and once I did, they had a size 10 waiting outside to take it right back. This is not going to be easy.

                          3) There was one interesting AI attack since. They sent in a size 3 all-chariot army which charged down my highways, bypassing my capital (well defended) and took a smaller city nearby. Hadn't seen that tactic before!

                          Bug Report:

                          1) I looked up a Barb unit called "Conscript Swordsman", and the Great Library has no unit stats for it.

                          2) I built Stonehenge, and a tile next to my capital says it sits there, but there's nothing "visible".
                          To La Fayette, as fine a gentleman as ever trod the Halls of Apolyton

                          From what I understand of that Civ game of yours, it's all about launching one's own spaceship before the others do. So this is no big news after all: my father just beat you all to the stars once more. - Philippe Baise

                          Comment


                          • #73
                            Welcome to the world of AOM.
                            Be prepared to abandon a few games until you get the hang of things and have a good start with a little luck.

                            Barbarian units are the same as normal units, the Conscript Swordsman is in my Great Library.

                            Missing Stonehenge: Most likely cause is that you have not loaded one of the new tile files or put it in the wrong place. Go into cheat mode, city, and place a watch tower or border fort. If the border appears but the tile improvement does not, then that is the cause. Has happened in two other cases.

                            Strategy issues are being discussed at:

                            Comment


                            • #74
                              I think it might be a problem in the tileimp.txt where there is no imp for any wonders, where as in IW's visible wponders mod there are.
                              Formerly known as "E" on Apolyton

                              See me at Civfanatics.com

                              Comment


                              • #75
                                Originally posted by stankarp
                                Barbarian units are the same as normal units, the Conscript Swordsman is in my Great Library.
                                It's there all right, but what's missing are the unit stats which would normally be in the right hand column - Attack, Ranged, Defense, etc.

                                Missing Stonehenge: Most likely cause is that you have not loaded one of the new tile files or put it in the wrong place. Go into cheat mode, city, and place a watch tower or border fort. If the border appears but the tile improvement does not, then that is the cause. Has happened in two other cases.
                                That seems to be the problem. What's the name of the file and where is supposed to be located?
                                To La Fayette, as fine a gentleman as ever trod the Halls of Apolyton

                                From what I understand of that Civ game of yours, it's all about launching one's own spaceship before the others do. So this is no big news after all: my father just beat you all to the stars once more. - Philippe Baise

                                Comment

                                Working...
                                X