Help me with my hideous python error

Spillsandstains

Warlord
Joined
Mar 31, 2008
Messages
273
Dear boppers, I hope you can help me . . . I received an error message when I last ran up CIV4 and was about 75% through the game. The XML is modded, but I haven't yet touched the python, apart from the pyEvent thingy . . . I searched the code in this, but it seemed to be totally kosher! The popup (attached) points at the error being something to do with UNITAI coding, beyond which my knowledge disappears, like the melted snows of last winter.

Here is a screenie, any advice on where to look/how to cure appreciated.
 

Attachments

  • helpmewithmyhideouspythonerrror.JPG
    helpmewithmyhideouspythonerrror.JPG
    147.6 KB · Views: 147
Well, this seems to be related to the World Builder. Did you perhaps leave it up while editing .py files?

What is pyEvent, by the way?
 
Well, I can only test that tomorrow, i it is too late here, but I can give you a hint. Next time, use this editor: http://forums.civfanatics.com/downloads.php?do=file&id=9412
It is amazing, and absolutely works. Sure, it is not as user-friendly as others maybe, but at least it is easy-to-use, and learns from XML, so almost everything can be done with it. :) I used it to create many long XML easily in my Napoleon Mod.
 
Back
Top Bottom