Afforess
The White Wizard
I recently added several new diplomatic trading options to my SDK for Rise of Mankind, which uses BUG & BULL, whatever the latest version is. The new diplomatic options are to trade "Embassies", "Workers", "Military Units", and to Pledge "Secretary General Votes." (These are really just modified versions of what Dom Pedro's ToT added, and I stole...)
My changes were purely SDK based, there were no changes to the Python at all.
I didn't have any problems adding them, but BUG is giving me some python errors now, and I also have another question...
Python Error:
I'm certain this has to do with my changes, but I haven't the slightest clue what could cause this. It doesn't seem have any effect on the game whatsoever, except at the start of a game it says AttitudeUtil - failed to load, or something like that. Any Idea how to fix this?
Also, I like the notifications BUG gives for when the AI will trade gold, techs, etc... with the human player. What would I need to modify to add my new diplomatic trades in too?
My changes were purely SDK based, there were no changes to the Python at all.
I didn't have any problems adding them, but BUG is giving me some python errors now, and I also have another question...
Python Error:
Traceback (most recent call last):
File "BugInit", line 98, in callInits
File "BugUtil", line 586, in __call__
File "BugUtil", line 583, in call
File "AttitudeUtil", line 95, in init
File "AttitudeUtil", line 207, in initModifiers
AttributeError: 'NoneType' object has no attribute 'getTextKey'
I'm certain this has to do with my changes, but I haven't the slightest clue what could cause this. It doesn't seem have any effect on the game whatsoever, except at the start of a game it says AttitudeUtil - failed to load, or something like that. Any Idea how to fix this?
Also, I like the notifications BUG gives for when the AI will trade gold, techs, etc... with the human player. What would I need to modify to add my new diplomatic trades in too?