Did you notice the comments I made in CvPlayerAI?
Code://If using RevDCM, use AI_beginDiplomacy, otherwise, use gDLL->beginDiplomacy() gDLL->beginDiplomacy(pDiplo, (PlayerTypes)iI); //AI_beginDiplomacy(pDiplo, (PlayerTypes)iI);
They appear a few times and will make the new trade items compatible with the Cease Bothering Us option.
Check to see if you have a function in CvPlayerAI called "AI_BeginDiplomacy". It's not in BTS normally, which is why I ask. If you do, change the code like the comment says. If not, leave it alone.
/*************************************************************************************************/
/** REVOLUTIONDCM_MOD 02/04/08 Glider1 */
/** */
/** */
/*************************************************************************************************/
// RevolutionDCM start - new diplomacy option
AI_beginDiplomacy(pDiplo, (PlayerTypes)iI);
// gDLL->beginDiplomacy(pDiplo, (PlayerTypes)iI);
// RevolutionDCM end
/*************************************************************************************************/
/** REVOLUTIONDCM_MOD END Glider1 */
/*************************************************************************************************/
/************************************************************************************************/
/* REVOLUTIONDCM_MOD 02/04/08 Glider1 */
/* */
/* */
/************************************************************************************************/
// RevolutionDCM start - new diplomacy option
void CvPlayerAI::AI_beginDiplomacy(CvDiploParameters* pDiploParams, PlayerTypes ePlayer)
{
if (isDoNotBotherStatus(ePlayer))
{
// Divert AI diplomacy away from the diplomacy screen and induce the appropriate reaction
// in the AI equivalent to a human rejecting the AI's requests in the interface. There are
// a number of AI requests that do not need handling and that simply time out. There are
// also AI requests that occur in CvTeam that induce the diplomacy screen in any case.
// This diplomacy modification does not alter the AI's characteristics at all and is actually
// just an interface modification for a player to shut down talks with an AI automatically.
int ai_request;
ai_request = (DiploCommentTypes)GC.getInfoTypeForString("AI_DIPLOCOMMENT_RELIGION_PRESSURE");
if (ai_request == pDiploParams->getDiploComment())
{
this->handleDiploEvent(DIPLOEVENT_NO_CONVERT, ePlayer, -1, -1);
}
ai_request = (DiploCommentTypes)GC.getInfoTypeForString("AI_DIPLOCOMMENT_CIVIC_PRESSURE");
if (ai_request == pDiploParams->getDiploComment())
{
this->handleDiploEvent(DIPLOEVENT_NO_REVOLUTION, ePlayer, -1, -1);
}
ai_request = (DiploCommentTypes)GC.getInfoTypeForString("AI_DIPLOCOMMENT_JOIN_WAR");
if (ai_request == pDiploParams->getDiploComment())
{
this->handleDiploEvent(DIPLOEVENT_NO_JOIN_WAR, ePlayer, -1, -1);
}
ai_request = (DiploCommentTypes)GC.getInfoTypeForString("AI_DIPLOCOMMENT_STOP_TRADING");
if (ai_request == pDiploParams->getDiploComment())
{
this->handleDiploEvent(DIPLOEVENT_NO_STOP_TRADING, ePlayer, -1, -1);
}
ai_request = (DiploCommentTypes)GC.getInfoTypeForString("AI_DIPLOCOMMENT_ASK_FOR_HELP");
if (ai_request == pDiploParams->getDiploComment())
{
this->handleDiploEvent(DIPLOEVENT_REFUSED_HELP, ePlayer, -1, -1);
}
ai_request = (DiploCommentTypes)GC.getInfoTypeForString("AI_DIPLOCOMMENT_DEMAND_TRIBUTE");
if (ai_request == pDiploParams->getDiploComment())
{
this->handleDiploEvent(DIPLOEVENT_REJECTED_DEMAND, ePlayer, -1, -1);
if (AI_demandRebukedWar(ePlayer))
{
this->handleDiploEvent(DIPLOEVENT_DEMAND_WAR, ePlayer, -1, -1);
}
}
}
else
{
gDLL->beginDiplomacy(pDiploParams, (PlayerTypes)ePlayer);
}
}
// RevolutionDCM end
/************************************************************************************************/
/* REVOLUTIONDCM_MOD END Glider1 */
/************************************************************************************************/
Arian, when you set up an embassy do you have visibility with the target civ?
I have no visibility in that civ.
Also I can not propose a RoP or to establish an embassy. It seems only AIs can make proposals.
I cancelled an embassy with a civ and later tried to reestablish one but no option available in the diplo-screen. Not even in red...
Did you notice the comments I made in CvPlayerAI?
Code://If using RevDCM, use AI_beginDiplomacy, otherwise, use gDLL->beginDiplomacy() gDLL->beginDiplomacy(pDiplo, (PlayerTypes)iI); //AI_beginDiplomacy(pDiplo, (PlayerTypes)iI);
They appear a few times and will make the new trade items compatible with the Cease Bothering Us option.
2. BBAI. Afaik the hegemon needs the tech, not the vassal.
Forgot to change this.Will test later.Done.
1. I can't make any diplo-proposals (RoP and embassies)
2. Not sure if this belongs here or BBAI but AI can agree to become vassals of an other AI prior to feudalism, the tech that allows vassal states
I'd bet that you screwed up the merge. If you play the modcomp as a mod (you can, I included a dll), you'll see it works fine.