strategyonly
C2C Supreme Commander
OK now to a different GP stuff i am doing with BUG ok, but i STILL need the above stuff for a DIFFERENT mod, thx.
I dont know how to set this up?
I got this in the Logs?

I dont know how to set this up?
Spoiler :
Code:
## Changes:
## - add GreatPersons mod
##
from CvPythonExtensions import *
import CvEventInterface
import CvUtil
import Popup as PyPopup
import SdToolKit
import PyHelpers
#try:
# import cPickle as pickle
#except:
# import pickle
import CvGameUtils
import BugOptions
import BugCore
import BugUtil
import OOSLogger
import PlayerUtil
#import autolog
# BUG - Mac Support - start
BugUtil.fixSets(globals())
# BUG - Mac Support - end
gc = CyGlobalContext()
localText = CyTranslator()
PyPlayer = PyHelpers.PyPlayer
PyInfo = PyHelpers.PyInfo
PyCity = PyHelpers.PyCity
PyGame = PyHelpers.PyGame
# --------- GreatPersonMod BTS -------------
import CvGreatPersonModEventManager
class GPEventManager:
def __init__(self, eventManager):
# --------- GreatPersonMod BTS ------------------
CvGreatPersonModEventManager.CvGreatPersonModEventManager(eventManager)
I got this in the Logs?
Spoiler :
Traceback (most recent call last):
File "BugConfig", line 99, in unknown_starttag
File "BugConfig", line 326, in startChild
ConfigError: Element <events> does not accept child <events>
Traceback (most recent call last):
File "BugConfig", line 99, in unknown_starttag
File "BugConfig", line 326, in startChild
ConfigError: Element <None> does not accept child <init>
Traceback (most recent call last):
File "BugConfig", line 77, in parse
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 171, in feed
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 268, in goahead
File "BugConfig", line 119, in handle_data
AttributeError: 'NoneType' object has no attribute 'addText'
Traceback (most recent call last):
File "CvAppInterface", line 69, in preGameStart
File "BugEventManager", line 337, in fireEvent
File "BugEventManager", line 347, in _dispatchEvent
File "BugEventManager", line 398, in _handleInitBugEvent
File "BugEventManager", line 558, in initBug
File "BugInit", line 48, in init
File "BugInit", line 69, in loadMod
File "BugConfig", line 77, in parse
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 171, in feed
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 268, in goahead
File "BugConfig", line 119, in handle_data
AttributeError: 'NoneType' object has no attribute 'addText'
ERR: Python function preGameStart failed, module CvAppInterface
File "BugConfig", line 99, in unknown_starttag
File "BugConfig", line 326, in startChild
ConfigError: Element <events> does not accept child <events>
Traceback (most recent call last):
File "BugConfig", line 99, in unknown_starttag
File "BugConfig", line 326, in startChild
ConfigError: Element <None> does not accept child <init>
Traceback (most recent call last):
File "BugConfig", line 77, in parse
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 171, in feed
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 268, in goahead
File "BugConfig", line 119, in handle_data
AttributeError: 'NoneType' object has no attribute 'addText'
Traceback (most recent call last):
File "CvAppInterface", line 69, in preGameStart
File "BugEventManager", line 337, in fireEvent
File "BugEventManager", line 347, in _dispatchEvent
File "BugEventManager", line 398, in _handleInitBugEvent
File "BugEventManager", line 558, in initBug
File "BugInit", line 48, in init
File "BugInit", line 69, in loadMod
File "BugConfig", line 77, in parse
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 171, in feed
File "e:/main/civilization4/warlords/assets/python/system\xmllib.py", line 268, in goahead
File "BugConfig", line 119, in handle_data
AttributeError: 'NoneType' object has no attribute 'addText'
ERR: Python function preGameStart failed, module CvAppInterface
