 |
|
habitualuser
|
|
New Amsterdam, New York
Feb 2001 time: 05:14
|
|
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.
|
|
|  |
 |
|
preacherman
|
|
Seguin/Texas/usa
Nov 2000 time: 00:14
|
|
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).]
|
|
|  |
 |
|
Metheglyn
|
|
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
|
|
|  |
 |
|
preacherman
|
|
Seguin/Texas/usa
Nov 2000 time: 00:14
|
|
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.
|
|
|  |
 |
|
emckinley
|
|
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
|
|
|  |
 |
|
ssoszka
|
|
Portland, Oregon, United States
Dec 1999 time: 05:14
|
|
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
|
|
|  |
 |
|
Dale
|
 |
Sir! Why do you keep clicking on me?
Dec 2000 time: 15:14
|
|
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."
|
|
|  |
 |
|
Dale
|
 |
Sir! Why do you keep clicking on me?
Dec 2000 time: 15:14
|
|
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."
|
|
|  |
 |
|
alley_cat
|
|
Jerusalem, Israel
Mar 2001 time: 05:14
|
|
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...
|
|
|  |
 |
|
preacherman
|
|
Seguin/Texas/usa
Nov 2000 time: 00:14
|
|
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).]
|
|
|  |
 |
|
emckinley
|
|
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
|
|
|  |
 |
|
Bluevoss
|
|
Orlando, Florida
Dec 2000 time: 05:14
|
|
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-
|
|
|  |
 |
|
emckinley
|
|
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
|
|
|  |
 |
|
preacherman
|
|
Seguin/Texas/usa
Nov 2000 time: 00:14
|
|
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
|
|
|  |
 |
|
ssoszka
|
|
Portland, Oregon, United States
Dec 1999 time: 05:14
|
|
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?
|
|
|  |
 |
|
Bluevoss
|
|
Orlando, Florida
Dec 2000 time: 05:14
|
|
Has there been ANY advance on the deplomod yet? I'm dead in the water right now.
------------------
Bluevoss-
|
|
|  |
 |
|
Milkweed
|
|
Alexandria, VA, USA
Jan 2001 time: 05:14
|
|
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).]
|
|
|  |
 |
|
Mal the magnificient
|
|
Switzerland
Mar 2001 time: 05:14
|
|
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).
|
|
|  |
 |
|  |
 |
|  |
 |
|  |
All times are GMT. The time now is 05:14. Apolyton Time is 00:14. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|