Announcement

Collapse
No announcement yet.

Cradle 1.34a

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    I never had any luck with that string compare function. What strings have you got it to compare?

    Comment


    • #17
      Originally posted by Peter Triggs
      I never had any luck with that string compare function. What strings have you got it to compare?
      Unfortunatly I only was able to compare what is equal obviously. Something like this:
      Code:
      StringCompare("Democracy", "Democracy");
      Here is another example from info_str.txt:
      IA_BREAK_NO_PIRACY "{player[0].sir_cap}, are you sure you wish for us to pirate this trade route? We agreed to respect this nation's routes."
      It doesn't accept IA_BREAK_NO_PIRACY but it does accept the stuff within the "". The variable in this string above is {player[0].sir_cap}. So I hope that something like this would work:
      Code:
      StringCompare("{player[0].govttype}", "{player[1].govttype}");
      Could work as the string is within the "" and the variable is within the {}, if {player[0].govttype} will be finally the same like in the GL and all the message boxes then this should do what we want.

      -Martin
      Civ2 military advisor: "No complaints, Sir!"

      Comment


      • #18
        1.34 possible bugs

        I'm enjoing the game.
        Thanks to Martin The goodmod adds great value.

        The first bug:
        Although Pyramids wonder was built yet by a civ, several turn later a message informed me about another civ was building pyramids.

        The second bug:
        I was in very late about techs discovering so i contacted another civ to try change chariot tech for money.
        Although the civ agreed to it ( and so my cash lost 2000 ) I did'nt find the tech in my discovered techs window!!!.

        I replied the negotiation with the same result.......


        Cradle 1.34a Hard level 8 civs ultra g. map Italian version.
        Bloodlust option barbarian max level.
        MF

        Comment


        • #19
          Just noticed your reply, Martin. As I recall, that's my experience with it too. It would return true for

          Code:
          StringCompare("Democracy", "Democracy");-
          but anything else I tried gave, I think, an error.

          Adriano,

          I don't think either of those have to do with Cradle, I suspect the second is a rare game bug. But Hex will know.

          Comment


          • #20
            Re: 1.34 possible bugs

            Originally posted by Adriano
            I'm enjoing the game.
            Thanks to Martin The goodmod adds great value.
            The first bug:
            Although Pyramids wonder was built yet by a civ, several turn later a message informed me about another civ was building pyramids.
            Could you check and see if the wonder is actually completed by looking at the window with the powergraph? (I have yet to see this occur.) The only thing that I can imagine is that the city that built the wonder somehow got destroyed. (but this is only a guess)


            Originally posted by Adriano
            The second bug:
            I was in very late about techs discovering so i contacted another civ to try change chariot tech for money.
            Although the civ agreed to it ( and so my cash lost 2000 ) I did'nt find the tech in my discovered techs window!!!.

            I replied the negotiation with the same result.......
            I'm going to forward this to Dale, who set up the diplomacy in Cradle. Maybe he can track this one down. I haven't run into this either because I have been trading techs for techs - I never used cash to buy it.

            How did you go about this? Did you demand a tech and the AI countered with a cash demand?
            Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
            ...aisdhieort...dticcok...

            Comment


            • #21
              Peter:

              I get errors to with trying to compare variables. That's why I decided to look at it from a different way using units to find out government. Did you see my thread on the solution to finding out a Govt?

              Martin:

              StringCompare("{player[0].govttype}", "{player[1].govttype}");
              Doesn't work. Always comes back as false. I tried that early on and was able to prove it.

              Hex:

              It's always worked for me, so I'd need more info.

              Comment


              • #22
                [SIZE=1]Originally posted by Dale
                ]
                I get errors to with trying to compare variables. That's why I decided to look at it from a different way using units to find out government. Did you see my thread on the solution to finding out a Govt?[/QUOTE]

                I read your sollution, too. In my opinion it is far away from being perfect, you can't use it in the default game. Therefore I looked on the StringCompare function in the mean time I tried my idea, unfortunatly I got the same result as you.

                -Martin
                Civ2 military advisor: "No complaints, Sir!"

                Comment


                • #23
                  Dale

                  I saw your other thread. It's very ingenious and it looks like that's the way to go.

                  It would be nice to work out this StringCompare function, though, cause I'm sure it would be useful for other things. (Mind you, I can't think of any off of the top of my head.)

                  Comment


                  • #24
                    Re: Re: 1.34 possible bugs

                    Originally posted by hexagonian


                    How did you go about this? Did you demand a tech and the AI countered with a cash demand?
                    No I didn't. I directly asked for chariot tech offering 2000 .........
                    Anyway I hadn't any tech to propose for the negotiation..........
                    MF

                    Comment


                    • #25
                      I played for about 9hrs the other day.
                      Medium level(for a change)
                      bandit level barbs(also for a change!)

                      I ended up stuck in the middle of three civs, so my border limits were reached fairly soon with 7 cities.
                      Even on this level i was way behind on tech, right upto the point my neighbours decided to not like me very much(about 1250bc). I managed to get embassies in a couple of different civs and was always at least 10-12 techs behind the most primitive of them. So i'm not sure that has changed so much?

                      I was attacked alot more in my cities which was great, except i was no match with my backwards tech!!! So i sort of gave up around 800bc after loseing a couple of my cities,wondering how the harder levels would play

                      I wonder how much my starting location had to do with my general lack of progress? Still this seemed strange for a lower difficulty setting than i usually use?

                      The diplomacy still tends to lead to most if not all other civs eventualy hateing you - which makes it hard to actually be diplomatic! Which of course leads to more war. What are others feelings on this?

                      Overall i did notice a change for the better in the way it played, and i was really put under pressure by a better armed AI. I'll have to try another game for comparison
                      'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

                      Bush's Republican=Neo-con for all intent and purpose. be afraid.

                      Comment


                      • #26
                        There's a 1.34b out CoT where the AI tech lead is reduced but they are more aggressive when it comes to war.

                        Haven't had a chance to play it myself yet though.
                        Shores Of Valinor.com - The Premier Tolkien Community -

                        Comment


                        • #27
                          Hey yeah! your right - i thought i was missing something.
                          'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

                          Bush's Republican=Neo-con for all intent and purpose. be afraid.

                          Comment


                          • #28
                            Well I can say that in my current 1.34b game, the tech gap is smaller, so that adjustment I made seems to be working. But I'm still not happy with the way that the barbs are able to get footholds in AI civs. (The Apolytonite civ is systematically losing its cities to them.)
                            Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
                            ...aisdhieort...dticcok...

                            Comment


                            • #29
                              1.34b inst. problem

                              Hex,I wasn't able to install 1.34b version.
                              The message is: CRA_MESSAGEICON.TXT NOT FOUND IN ASSET TREE;
                              COULD NOT OPEN IT!
                              MISSING NUMBER OF FILENAMES.

                              I've Italian version so every time I have to copy English folder gamedata in Italian gamedata....
                              I've no problem with 1.34a....

                              Anything about it??
                              MF

                              Comment


                              • #30
                                I had the same problem.

                                Make a copy of the MESSAGEICON.TXT file in the Ctp2_data/default/gamedata directory and rename it CRA_MESSAGEICON.TXT and it should work.
                                Shores Of Valinor.com - The Premier Tolkien Community -

                                Comment

                                Working...
                                X