Announcement

Collapse
No announcement yet.

Diplomacy mod

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

  • #46
    You know what really surprises me about CTP2 (forgive me if anyone already said that) that you can add to your mod? Everytime I, for example, ask someone to attack someone he either ACCEPT or REJECT. Never has a reason such as "I hate your people so much! Why the hell do you think I will help you you pathetic creature!" :-|)
    This could really spice up the diplomacy if there were things like this for the discussions and not only when I ask somebody's map and he replays by asking my map too.
    Please read this...
    Let people hear what they want to hear

    Comment


    • #47
      Dale,

      The new code for the diplomacy main routine seems to work..i.e. no more "wrong argument" errors.

      When replacing the embassy code, however, MM2 won't even start up - it reverts back to the desktop and tells me it's having a syntax error.

      btw - these errors seem to be exclusive to MM2. Diplomod v3.3 runs fine in normal games.

      -Tim Olorenshaw
      If the voices in my head paid rent, I'd be a very rich man

      Comment


      • #48
        Dale, only have a minute this moring, 3.3 seem to work fine without MM2 it was after I installed MM2 that I got the error messages. I did get sentex errors when I tride to download your patch from wes' web site,with MM2 installed.
        I had 3.3 installed and added MM2 over it, that was when I got wrong type of argument message. uninstall compleat game started over and got same message. You ask for setup info,where can I find it?

        can they do anything about the width of this string? real pain having to scroll back and forth.
        [This message has been edited by preacherman (edited March 09, 2001).]
        He who believes and is baptized will be saved: But he who does not believe will be condemned. Mark 16:16

        Comment


        • #49
          Hi all,

          Dale -- I am getting the "Wrong Type of Argument" message and I do NOT have the MM2 mod installed. Just a plain CTP2 version 1.11 with your DiploMod 3.3 applied.

          North American version (I'm in New York state) - PIII at 600MHZ and 384MB Ram.

          Hope that helps. I havent tried to remove the code as the workaround yet. I will try later and let you all know if it works for me.

          Thanks!
          Elliott
          Elliott McKinley
          Composer
          http://www.mp3.com/emckinley

          Comment


          • #50
            Okay, for my "out of bounds" problem...

            Running 233 Mhz, on a 48meg machine. DirectX 7. 12 meg video card. Installed full to directory D.

            Further, the game I play is Medium level, 5 races, Medium size.

            Uh... Music on?



            ------------------
            Bluevoss-
            Bluevoss-

            Comment


            • #51
              Hi again,

              Well Removing the codes for 7 and 8 (as Dale suggested in one thread) seemed to have cleared up the problem. So now I can play again! Thanks ... but hopefully the solution doesnt really affect the overall improvement in the DiploMod.

              Cheers,
              Elliott
              Elliott McKinley
              Composer
              http://www.mp3.com/emckinley

              Comment


              • #52
                I am running a Celeran mmx 535 190 ram dirx 8 windows 98 second edition.I have had no more problem with deplomacy after I rmoved 7 & 8
                He who believes and is baptized will be saved: But he who does not believe will be condemned. Mark 16:16

                Comment


                • #53
                  Dale,

                  Well, I tried the code you suggested now I get an error "MM_Diplomod.slc incorrect sytax: 153" this happens as I am loading up the game.. haven't even made it to the main screen. What's up?
                  Don't hate me because I'm beautiful, hate me because I'm a rat-bastard.

                  Comment


                  • #54
                    Has there been ANY advance on the deplomod yet? I'm dead in the water right now.



                    ------------------
                    Bluevoss-
                    Bluevoss-

                    Comment


                    • #55
                      Hi, fellow CtPers

                      I believe I have a solution to the array out of bounds errors. Around line 70 in MM2_Diplomod.slc, you will find an event handler called "DIP_BeginGame". After the line:

                      DIP_turns = 0;

                      add the lines:

                      DIP_hasemb[DIP_NumOfPlayers*DIP_NumOfPlayers] = 0;
                      DIP_hademb[DIP_NumOfPlayers*DIP_NumOfPlayers] = 0;

                      The problem may go away

                      Make sure you include the semicolons at the end of each line.

                      [This message has been edited by Milkweed (edited March 11, 2001).]

                      Comment


                      • #56
                        I have not had any problem with the Diplomod until now.
                        I had out-commented it to see if it was causing the glitch in the Med pack (it wasn't), but when I in-commented it, I started getting the array index errors. I used modswapper to go to the original game, and then back to the med mod, but I still got the errors.
                        Why would I start getting them now?

                        Comment


                        • #57
                          I may have discovered the reason why the errors appear for some of us and not for others. While I was experimenting with various settings of "DebugSLIC" in ..\ctp2_program\ctp\userprofile.txt, I found that the SLIC errors disappeared when I set it to 'No'. Just what I wanted
                          When I set it back to 'Yes', the SLIC errors did NOT return!
                          After going through much trouble to reinstall the program, the patch, and the mod, make copies of all the files, and repeat all my actions, I managed to replicate the problem. When I compared the two versions of userprofile.txt, they were exactly the same!!!

                          However I found that if I delete ..\ctp2_program\ctp\userprofile.txt, CtP2 will recreate it; and the SLIC errors return! Therefore, I suggest that everyone delete that file and see what happens!
                          [This message has been edited by Milkweed (edited March 12, 2001).]

                          Comment


                          • #58
                            Milkweed's suggestion works for me. I was having the same problem as many others (i.e. Crashing at end of turn one, Out of bounds errors and then the syntax errors with Dale's modification to the "Check Embassy" code).

                            Only made this one change and put the "Check Embassy" code back to the original setting and the game is now working. Had to stop - something about having to go to work.

                            One thing is puzzling me though is at turn two after setting up both cities, I have only just started building my first warrior when, out of nowhere, some invisible Mayan noble has established an embassy. Methinks this might be a little bit too active or are other civilisations starting the game with several existing units (playing level - medium).
                            Theirs is not to reason why, theirs is but to do and die.

                            Comment


                            • #59
                              Well, it's good to hear there's a solution.

                              On the weekend I spent hours trying out various things to recreate the problems you guys have mentioned. I couldn't recreate the problems. So yesterday I went through and disabled the break agreements proposals and comment-out the re-creating of embassies code. I called this V3.4. It looks like I don't need to do this.

                              So let me get this straight:
                              1. Add to the "BeginGame" routine.
                              DIP_hasemb[DIP_NumOfPlayers*DIP_NumOfPlayers] = 0;
                              DIP_hademb[DIP_NumOfPlayers*DIP_NumOfPlayers] = 0;
                              2. Leave the "Check Embassy" code as per original.
                              3. Delete userprofile.txt and let CTP2 recreate it.

                              This will elliminate the errors? I need confirmation so I can put it into the readme.txt file.

                              ------------------
                              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


                              • #60
                                quote:

                                Originally posted by Dale on 03-12-2001 10:03 PM

                                3. Delete userprofile.txt and let CTP2 recreate it.




                                No, this won't eliminate the errors. It may make the SLIC errors visable to anyone who hasn't been seeing them.

                                I'm assuming that when I set debugSLIC to 'no' in userprofile.txt that the errors still occur, but CtP2 won't report them to me. What baffles me is that, when I reset debugSLIC to 'yes', why aren't the SLIC errors reported?

                                Some flag in some file (not userprofile.txt!) must get set when debugSLIC is set to 'no', but doesn't get reset when debugSLIC is subsequently changed. I'm guessing that when CtP sees userprofile.txt is not there, it goes through some initialization process that properly sets this mysterious flag.

                                The change in step 1 handles the "array out of bounds" problem. The "Wrong type of argument" error still exists. Of course, your earlier suggestion of commenting out the logic for DIPrequests 7 and 8 does eliminate this error.

                                Comment

                                Working...
                                X