smeagolheart
Monarch
Question, anyone know stuff about pickling?
I don't
I'm trying to get the great doctor mod merged into my main mod and got this error:
My e drive is my cd drive, I'm not sure where it's getting that stuff (and mod is based off BTS) though I guess the great doc is based of godsofold which was in warlords maybe?
The lines that are being to referred to are this:
and
I don't
I'm trying to get the great doctor mod merged into my main mod and got this error:
Code:
Traceback (most recent call last):
File "BugEventManager", line 361, in _handleDefaultEvent
File "DestinyCvEventManager", line 1142, in onLoadGame
File "DestinyCvEventManager", line 1772, in getGodsVariables
File "e:/main/civilization4/warlords/assets/python/system\pickle.py", line 1394, in loads
File "e:/main/civilization4/warlords/assets/python/system\pickle.py", line 872, in load
File "e:/main/civilization4/warlords/assets/python/system\pickle.py", line 894, in load_eof
EOFError
My e drive is my cd drive, I'm not sure where it's getting that stuff (and mod is based off BTS) though I guess the great doc is based of godsofold which was in warlords maybe?
The lines that are being to referred to are this:
Code:
def onLoadGame(self, argsList):
CvAdvisorUtils.resetNoLiberateCities()
########### Great Doctor Mod by Tsentom1 updated by Smeagolheart Start ###########
self.getGodsVariables() ## 1142
########### Great Doctor Mod by Tsentom1 updated by Smeagolheart End ###########
return 0
and
Code:
def getGodsVariables(self):
pPlayer = gc.getPlayer(0)
lPlagueCityCoord = [ ]
# Load Script Data - Score
szScriptData = pickle.loads(pPlayer.getScriptData()) ## 1772
self.iReligiousVictoryPossible = szScriptData[0]
self.iStarAlignment = szScriptData[1]
self.lPlagueCities = szScriptData[2]
return
########### Great Doctor Mod by Tsentom1 updated by Smeagolheart End ###########