 |
|
Spanscape
|
|
And again, just tried commenting these two guys:
HandleEvent(ContactMade) 'DIP_FlagContactMade' pre
HandleEvent(EstablishEmbassy) 'DIP_FlagEmbassyMade' pre
with everything else left in... crashed.
|
|
|  |
 |
|
Spanscape
|
|
quote: Originally posted by Dale
Well, you can elliminate:
HandleEvent(BeginTurn) 'WDT_BeginGame' pre
After the first turn, this is disabled anyways.
Also, I don't think it's going to be:
HandleEvent(InitDiplomaticState) 'DIP_InitDiploState' pre
HandleEvent(NextDiplomaticState) 'DIP_NextDiploState' pre
These two functions will only ever trigger if you're an AI.
Which leaves the embassy functions. I had a hellova time getting that running. Wouldn't surprise if there was still a bug in it. *sigh* |
Wow, actually I think its one of those two exactly:
HandleEvent(InitDiplomaticState) 'DIP_InitDiploState' pre
HandleEvent(NextDiplomaticState) 'DIP_NextDiploState' pre
With those two out, there's no crashing.
The tightest test I have without crashing doesn't have either of those, or these two:
HandleEvent(ContactMade) 'DIP_FlagContactMade' pre
HandleEvent(EstablishEmbassy) 'DIP_FlagEmbassyMade' pre
But just removing those 2 by themself it still crashes... hmmm.
|
|
|  |
 |
|
Spanscape
|
|
Okay, commenting ONLY these 4 lines out, and it does NOT crash:
HandleEvent(InitDiplomaticState) 'DIP_InitDiploState' pre {
// DIP_diplostate = DiplomacyDB(DIPLOMACY_AI_AI_NORMAL);
// if(!(IsHumanPlayer(player[0])) && !(IsHumanPlayer(player[1])) && player[0] != 0 && player[1] != 0) {
// ConsiderDiplomaticState(player[0], player[1], 9999, DIP_diplostate, -1,-1,-1);
// ChangeDiplomaticState(player[0], player[1]);
// }
}
Hard to believe that when those 4 lines are commented out in a new game, I can conquer AI civs without it crashing multiplayer...
Thoughts from the expert SLICers?
Oh, and I tried adding em back in and making this change, but it still crashes:
if(IsPlayerAlive(player[0]) && IsPlayerAlive(player[1]) && !(IsHumanPlayer(player[0])) && !(IsHumanPlayer(player[1])) && player[0] != 0 && player[1] != 0) {
DIP_diplostate = DiplomacyDB(DIPLOMACY_AI_AI_NORMAL);
ConsiderDiplomaticState(player[0], player[1], 9999, DIP_diplostate, -1,-1,-1);
ChangeDiplomaticState(player[0], player[1]);
}
And for giggles I tried 'Cradle More Peaceful AI' - which appears to point to Diplomod 3.6, that also crashes. 
Last edited by Spanscape on 22-03-2002 at 04:29
|
|
|  |
 |
|  |
 |
|
Spanscape
|
|
Hey, I'm stoked... I can finally *fingers crossed* get through a multiplayer Cradle game.
IMO, modded CTP2 really might be the best "Civ" option out there... perhaps we can put everyone's work together and market it? =)
If you don't see me post for a few days now, you can assume I'm happily hooked playing Cradle.
|
|
|  |
All times are GMT. The time now is 05:18. Apolyton Time is 00:18. |
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
|
|
|
|
|
|