almighty man! now i can begin building it!
i have a few questions bout your fixes:
1. the cathedral thing in the python
the Panthonen is a special building in ROM, but isn't in your mod. Those if checks would always be false, and were just wasting time, so I removed them.
2. the bonus stuff in the main interface
The way the bonus display works is based on the Civ4BonusInfos.xml. Zappara specifically changed the order of the resources, so that the Strategic Resources were the first 19 resources in the file, then the food were resources 19-39, etc. His numbers will not work with your mods, since your resources are in a different order, and you have different resources than RoM. You'd need to reorganize your file, and figure out how you want to divide it out, then update the numbers here:
Code:
# for iLoopBonus in range(0,19):
# bonusTypes.append(gc.getBonusInfo(iLoopBonus).getType())
# for iLoopBonus2 in range(20,39):
# bonusTypes2.append(gc.getBonusInfo(iLoopBonus2).getType())
# for iLoopBonus3 in range(40,59):
# bonusTypes3.append(gc.getBonusInfo(iLoopBonus3).getType())
# for iLoopBonus4 in range(60,gc.getNumBonusInfos()):
# bonusTypes4.append(gc.getBonusInfo(iLoopBonus4).getType())
# for iLoopBonus5 in range(gc.getNumBonusInfos()):
# bonusAllTypes.append(gc.getBonusInfo(iLoopBonus5).getType())
I just removed it from working for the time being as a quick fix.
i wish i knew how you got to the conclusion that they are the problem through the logs.
the bonus i can see the logic a bit, but not to that massive mark out.
I figured out the problem because it said that "NoneType" has no object "getType". Basically, if you try to use "gc.getBonusInfo(-1).doSomething() it won't work. That's what was happening, because Ov2 has a different amount of resources.
3. i noticed that you replaced the dll file? did you compile a new one? if so - wheres the source - i still have to add a few mod parts in i use in ol2.
It's on the SVN now, only CvCity got changed, in one place. Basically to prevent a CTD with your mod.
4 saw mark out in the promotion and another thing i cant remember.
I fixed one misspelling, and there was a promotion that I couldn't find, so I commented it out. I also fixed a bunch of artstyle references in Civ4CivilizationInfo.xml
very interesting how you solved all these stuff.
No problem. I learned most of how to do this stuff from starting with a debug dll, and posting every assert in a thread, where I asked EF a lot of questions. I learned a lot.