Announcement

Collapse
No announcement yet.

Diplomacy mod

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

  • #31
    All I can say is "WEIRD!". I'm playing the Asia-Pacific version with 1.11 patch installed. I don't get that error msg. Maybe it's a problem between localised versions. I'll put in the ID tags again and repost to Omni. I apologise for this, but I quite simply didn't know.

    ------------------
    Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

    Comment


    • #32
      Thanks guys,

      I didn't know this combo was included in that advance - money
      issue previously discussed. I did read the V3.2 text but I have not
      even downloaded the V3.3. I'm playing my first game with the mods
      on the big map.

      Spelelunk forever,

      Dennis

      Comment


      • #33
        Hi, I'm getting the same problem as Metheglyn... I get a message for each of the other civs turn saying 'In Object DIP_MainRoutine, function _ConsiderNewProposal: Wrong number of arguments'


        So i did i search of both version of DiploMod.scl (3.2 and 3.3) and just like Metheglyn said, v3.2 is passing 8 arugments, and v3.3 is only passing 5... I take it the last 3 are supposed to be optional?

        Well, I'm playing the US v1.11.

        Comment


        • #34
          Campers:
          I've emailed the fixed mod (putting the ID tags in again) to Omni and Wes (the Med Mod version). But I don't know if they got it since we have email probs with attachments at work and had to send it from my old hotmail account. I looked into it at home last night and found that yes, with my combo of Asia-Pacific and patch 1.11 the three ID tags seem to be optional. Since the Asia-Pacific local version was the last made, maybe the tags were made optional. No one will know unless Activision tells us eh?

          ------------------
          Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

          Comment


          • #35
            It's posted and replaces the second file in the diplomod download.

            Comment


            • #36
              Dale I don't know what I did wrong, open diplomod to cpt 2 file made changes required. when opening game crashes to desktop with about 20 slc error codes most can't find files. Did I put it in wrong place?

              Must of been bad download, reloaded game and downloaded from anothewr site and it worked ok.
              [This message has been edited by preacherman (edited March 07, 2001).]
              He who believes and is baptized will be saved: But he who does not believe will be condemned. Mark 16:16

              Comment


              • #37
                Preacherman:
                Try the new one that Omni just put up. It fixes a prob where you would get about that many "not enough arguements" errors.

                ------------------
                Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                Comment


                • #38
                  Dale,

                  The new version is giving error messages complaining about the *type* of arguments in ConsiderNewProposal. If I comment out the following lines, it works fine:

                  if(DIP_request == 7) {
                  for(DIP_tmpvalue2 = 1; DIP_tmpvalue2 < DIP_NumOfPlayers; DIP_tmpvalue2 = DIP_tmpvalue2 + 1) {
                  if(DIP_tmpvalue2 != player[0]) {
                  ConsiderNewProposal(player[0], player[1], DIP_requestpriority, 7, DIP_tmpvalue2, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS);
                  }
                  }
                  }
                  if(DIP_request == 8) {
                  for(DIP_tmpvalue2 = 1; DIP_tmpvalue2 < DIP_NumOfPlayers; DIP_tmpvalue2 = DIP_tmpvalue2 + 1) {
                  if(DIP_tmpvalue2 != player[0]) {
                  ConsiderNewProposal(player[0], player[1], DIP_requestpriority, 8, DIP_tmpvalue2, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS);
                  }
                  }
                  }

                  Am I the only one having this problem?

                  Metheglyn

                  Comment


                  • #39
                    Okay, a bit of logical thought required here. I don't get the error msg at all, so I can't even recreate the error above. I tried.

                    ConsiderNewProposal requires these elements:
                    Originator - player[0]
                    Receiver - player[1]
                    Priority - DIP_requestpriority
                    Request number - 7/8
                    Arguement - DIP_tmpvalue2
                    Three sets of text (optional with my setup for some reason) - ID_AIS_LOVE_AIS

                    Request number 7 & 8 are OFFER_BREAK_AGREEMENT and REQUEST_BREAK_AGREEMENT.
                    The arguement required by these proposals is THIRD_PARTY which is the integar value of the player to break the agreements with. What I'm asking is:
                    player[0] requests/offers to player[1] to break agreements with DIP_tmpvalue2.

                    DIP_tmpvalue2 starts at 1 (human player) and proceeds upwards to the last player number. DIP_tmpvalue2 is checked to see that it is NOT the same as the requesting nation. Thirdly, the ConsiderNewProposal is made.

                    Can anyone see the problem? Cuz as the tree said to the lumberjack, "I'm stumped!"

                    ------------------
                    Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                    Comment


                    • #40
                      Erm, well, just to complicate matters well and truly, I'm in Sydney and have the Asia Pacific version, and I'm getting the same problem as everyone else when trying to get to the next turn!! Arrghhhhh!!! (And, yes, I've got 1.11 installed)

                      This is all kinda funny I guess.

                      Well, actually, it isn't.

                      Its just really really weird!!!
                      If the voices in my head paid rent, I'd be a very rich man

                      Comment


                      • #41
                        I am haveing same problem as metheglyn. It happens first time you hit end turn in game. Mod played fine by itself. only after I installed med mod did problem show up.
                        He who believes and is baptized will be saved: But he who does not believe will be condemned. Mark 16:16

                        Comment


                        • #42
                          Hi all,

                          Yes, I just installed the DiploMod 3.3 and am running CTP2 1.11 -- and I cant get past one turn without that error message.

                          Something is a bit amiss. I hope this helps you to know that there are probably a good many of us having this... and hopefully you can isolate the issue and fix. For now I probably have to go back to the lame default diplomacy.. means reinstalling (ick..)

                          Thanks!

                          ------------------
                          Elliott McKinley
                          Composer
                          http://www.mp3.com/emckinley
                          Elliott McKinley
                          Composer
                          http://www.mp3.com/emckinley

                          Comment


                          • #43
                            I have to report that I am getting the following Slic errors: C:\program files\activision\call to power 2\ctp2_data\english\gamedata\MM2_diplomod.slc151: Array index 23 out of bounds.... index 23 thru 28 are also acting up as well. I am using MM2. You know I am not sure what folder I should have but the dip mod in. Please advise
                            Don't hate me because I'm beautiful, hate me because I'm a rat-bastard.

                            Comment


                            • #44
                              Okay guys, how's it going? Okay, down to business.

                              Firstly, I'd like some feedback as to whether the following errors are only isolated in Med Mod, the non-Med Mod version, or both. This will help in debuging because I can go to the specifics.

                              Here is my configuration:
                              Win2000 Pro, DirectX 8, P3 666, 128 RAM, installed "FULL" to E: (ahhh the beauty of a 40GB HDD). I'm running Asia-Pacific with patch 1.11.

                              I get none of these crash errors, and can't even re-create them on my setup.

                              If anyone is in Melbourne getting these errors, maybe we could work something out.

                              1. DIP_MainRoutine, function _ConsiderNewProposal: Wrong Type of Argument

                              - Open diplomod.slc in notepad and scroll down till you find the following. Then comment these lines out (put // in front):
                              Code:
                              // if(DIP_request == 7) {
                              //      for(DIP_tmpvalue2 = 1; DIP_tmpvalue2 < DIP_NumOfPlayers; DIP_tmpvalue2 = DIP_tmpvalue2 + 1) {
                              //		if(DIP_tmpvalue2 != player[0]) {
                              //			ConsiderNewProposal(player[0], player[1], DIP_requestpriority, 7, DIP_tmpvalue2, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS);
                              //		}
                              //	}
                              // }
                              // if(DIP_request == 8) {
                              //	for(DIP_tmpvalue2 = 1; DIP_tmpvalue2 < DIP_NumOfPlayers; DIP_tmpvalue2 = DIP_tmpvalue2 + 1) {
                              //		if(DIP_tmpvalue2 != player[0]) {
                              //			ConsiderNewProposal(player[0], player[1], DIP_requestpriority, 8, DIP_tmpvalue2, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS);
                              //		}
                              //	}
                              // }
                              - This will allow you to avoid the "Wrong type of arguement" errors.

                              2. mm2_diplomod.slc:151:Array index 13 out of bounds (or other various numbers).
                              - This refers to a "for" loop which cycles through each civ in the game and checks to see if an embassy re-create is required. Try changing the code to this:
                              Code:
                              ///////////////////////////////////
                              // Check embassy routine
                              ///////////////////////////////////
                               
                              HandleEvent(BeginTurn) 'DIP_EmbassyCheck' pre {
                              	int_t civ;
                              	int_t civ3;
                                      civ3 = 0;
                              	civ = player[0];
                              	for(civ3; civ3 < DIP_NumOfPlayers; civ3 = civ3 + 1) {
                              		if((AtWarWith(civ, civ3)) && DIP_hasemb[(DIP_NumOfPlayers * civ) + civ3] == 1) {
                              			DIP_hasemb[(DIP_NumOfPlayers * civ) + civ3] = 0;
                              			DIP_hademb[(DIP_NumOfPlayers * civ) + civ3] = 1;
                              		}
                              		if(DIP_hasemb[(DIP_NumOfPlayers * civ) + civ3] == 0 && DIP_hademb[(DIP_NumOfPlayers * civ) + civ3] == 1 && !(AtWarWith(civ, civ3))) {
                              			DIP_EstablishEmbassyFunc(civ3);
                              		}
                              	}
                              }
                              Well, this is pretty much all I can think of right now to help you guys. Remember, I need to know if the V3.3 non-Med Mod version is creating these errors as well?

                              Also, is anyone having problems using scenarios with diplomod? I've had a report of errors relating to DIPLOMACY_AI_AI not in DiplomacyDB.

                              ------------------
                              Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                              Comment


                              • #45
                                Another thing you could try is this:

                                Code:
                                if(DIP_request == 7) {
                                	for(DIP_tmpvalue2 = 1; DIP_tmpvalue2 < DIP_NumOfPlayers; DIP_tmpvalue2 = DIP_tmpvalue2 + 1) {
                                		if(DIP_tmpvalue2 != player[0] && DIP_tmpvalue2 != player[1]) {
                                			ConsiderNewProposal(player[0], player[1], DIP_requestpriority, 7, DIP_tmpvalue2, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS);
                                		}
                                	}
                                }
                                if(DIP_request == 8) {
                                	for(DIP_tmpvalue2 = 1; DIP_tmpvalue2 < DIP_NumOfPlayers; DIP_tmpvalue2 = DIP_tmpvalue2 + 1) {
                                		if(DIP_tmpvalue2 != player[0] && DIP_tmpvalue2 != player[1]) {
                                			ConsiderNewProposal(player[0], player[1], DIP_requestpriority, 8, DIP_tmpvalue2, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS, ID_AIS_LOVE_AIS);
                                		}
                                	}
                                }
                                Only the two lines "if(DIP_tmpvalue2 !=......." have changed in this attempt.

                                Just remember though, you'll just need to bare with me as I experiment, and will need help from you guys to fix these. Thanks for ya support though.

                                Just a curious question here, but is there anyone like me who's NOT having a problem with V3.3?

                                ------------------
                                Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

                                Comment

                                Working...
                                X