Python Exception Error casued by own mod

Phoenix_7

Chieftain
Joined
Aug 16, 2007
Messages
17
I am getting a python exception error in the mod I created for FfH 2. The mod basically adds a bunch of new units, a civ, some technologies etc.

The python error occurs whenever I select one of the heroes I have added to the game. I have posted a picture showing the error below.

I looked in the python file but am not very knowledgable in that area. If anyone knows how I could fix this, I would really appreciate it.

Spoiler :


 
It would be a lot easier to help if you posted the CvSpellInterface.py and CIV4SpellInfos.xml files.


If I had to guess, I'd say that you probably began this mod before 0.33 and tried merging old files with the new, without noticing that Kael split the old take equipment spell into 3 seperate versions (one for picking up the unit form of an equipment, one for taking it form another unit, and one for picking up the building.)
 
you guessed correctly. I have been maintaining my private mod since around version .20 and have had to rebuild it completely at times.

I didn't notice the split in take equipment spells, and that is most likely my culprit as i added my own equipment and accompanying take equipment spell. Thanks a lot for the help.
 
Back
Top Bottom