I'm using LoR, which I think uses BUG.
Ah, 'kay, good.
Means I'll have to restructure my code. Should do that in the next days

I'm using LoR, which I think uses BUG.
Then this python popup:Assert Failed
File: CvGlobals.cpp
Line: 2258
Expression: eBuildingClassNum > -1
Message:
Anyone know what the problem is?Traceback (Most recent call last):
File "CvScreensInterface", line 419, in pediaMain
File "SevoPediaMain", line 246, in pediaJump
Flie "SevoPediaMain", line 305, in showContents
File "SevoPediaMain", line 491, in placeBuildings
File "SevoPediaMain", line 495, in getBuildingList
File "SevoPediaBuilding", line 254, in getBuildingSortedList
File "SevoPediaBuilding", line 241, in getBuildingType
Error: unidentifiable C++ exception
On an unrelated note, I am having what experts such as you and I call a 'Problem'. When I click on the Sevopedia page for Buildings, National Wonders, or World Wonders, I get this:
Thank you so much!
On an unrelated note, I am having what experts such as you and I call a 'Problem'. When I click on the Sevopedia page for Buildings, National Wonders, or World Wonders, I get this:
Then this python popup:
Anyone know what the problem is?
EDIT: On another note, I uploaded the final Screenshot for America's pedia page.
Do any buildings appear at all?
Can you access the UBs via the civs section?
In the spreadsheet, the unique power of France is called "Achen Regieme". Should you mean "Ancien Régime" instead?
![]()
if (gDLL->getXMLIFace()->SetToChildByTagName(pXML->GetXML(),"PrereqOrCivics"))
{
/&if (pXML->SkipToNextVal())
{
iNumSibs = gDLL->getXMLIFace()->GetNumChildren(pXML->GetXML());
if (0 < iNumSibs)
{
if (pXML->GetChildXmlVal(szTextVal))
{
for (j=0;j<iNumSibs;j++)
{
m_aszExtraXMLforPass3.push_back(szTextVal);
m_bRequiresOrCivic = true;
if (!pXML->GetNextXmlVal(szTextVal))
{
break;
}
}
gDLL->getXMLIFace()->SetToParent(pXML->GetXML());
}
}
}*/
}
m_aszExtraXMLforPass3.push_back("STOP");
Unhandled exception at 0x76b8c41f in Civ4BeyondSword.exe: Microsoft C++ exception: std::out_of_range at memory location 0x0018f60c..
/*for(i++; m_aszExtraXMLforPass3.at(i) != "STOP"; i++)
{
m_pbPrereqOrCivics[GC.getInfoTypeForString(m_aszExtraXMLforPass3.at(i))] = true;
}*/
if (gDLL->getXMLIFace()->SetToChildByTagName(pXML->GetXML(),"PrereqOrCivics"))
{
if (pXML->SkipToNextVal())
{
/*iNumSibs = gDLL->getXMLIFace()->GetNumChildren(pXML->GetXML());
if (0 < iNumSibs)
{
if (pXML->GetChildXmlVal(szTextVal))
{
for (j=0;j<iNumSibs;j++)
{
m_aszExtraXMLforPass3.push_back(szTextVal);
m_bRequiresOrCivic = true;
if (!pXML->GetNextXmlVal(szTextVal))
{
break;
}
}
gDLL->getXMLIFace()->SetToParent(pXML->GetXML());
}
}*/
}
}
/*if (gDLL->getXMLIFace()->SetToChildByTagName(pXML->GetXML(),"PrereqOrCivics"))
{
if (pXML->SkipToNextVal())
{
iNumSibs = gDLL->getXMLIFace()->GetNumChildren(pXML->GetXML());
if (0 < iNumSibs)
{
if (pXML->GetChildXmlVal(szTextVal))
{
for (j=0;j<iNumSibs;j++)
{
m_aszExtraXMLforPass3.push_back(szTextVal);
m_bRequiresOrCivic = true;
if (!pXML->GetNextXmlVal(szTextVal))
{
break;
}
}
gDLL->getXMLIFace()->SetToParent(pXML->GetXML());
}
}
}
}*/
if (gDLL->getXMLIFace()->SetToChildByTagName(pXML->GetXML(),"PrereqOrCivics"))
{
/*if (pXML->SkipToNextVal())
{
iNumSibs = gDLL->getXMLIFace()->GetNumChildren(pXML->GetXML());
if (0 < iNumSibs)
{
if (pXML->GetChildXmlVal(szTextVal))
{
for (j=0;j<iNumSibs;j++)
{
m_aszExtraXMLforPass3.push_back(szTextVal);
m_bRequiresOrCivic = true;
if (!pXML->GetNextXmlVal(szTextVal))
{
break;
}
}
gDLL->getXMLIFace()->SetToParent(pXML->GetXML());
}
}
}*/
}
if (gDLL->getXMLIFace()->SetToChildByTagName(pXML->GetXML(),"PrereqOrCivics"))