Making CvGameUtils Modular

Okay, it was in 4.4 that I removed CvDiplomacyInterface.py from BUG entirely. I added a feature to BugUtil that allows me to add/change functions from BTS modules from Python, i.e. without supplying a modified file.

That means you should leave it in since RevDCM is based on 4.3. In that case, I have no idea why you'd get that error. When that error happens again, please post PythonDbg.log so I can see what's happening at the same time, hopefully the cause.

Still happens when loading a game, but not when starting one. Here's my pythondbg.log..
 

Attachments

  • PythonDbg.zip
    23.2 KB · Views: 42
If anybody reads this later and is looking for a solution to a problem with the same symptoms I've had I found the answer with EmperorFools help. I had one of my custom python files importing the BugEventManager and that was causing the loss of interface. Lesson learned is don't import stuff you don't need I guess?

Anyways, thanks EF and all for the help
 
Top Bottom