Probably something simple, but I'm SDK stupid

antaine

King
Joined
Aug 1, 2005
Messages
737
So I'm trying to merge the RFC Marathon elements into my own mod of RFC. I used Winmerge to merge in several thousand lines of code to both the python and the c++ files.

But when I try to recompile the DLL I get the following list of errors. I wouldn't be surprised if there's just one dumb thing I forgot to do, but I don't understand what the error log is trying to tell me. Can anyone help me translate from C++ to idiot?

(ps, this was my second attempt...it takes me 3-4 hours for it to compile to this point, so I'm hoping insight will help me get this fixed today instead of weeks of compiling or recompiling via trial and error)

halp... :confused:
 
You can't merge two source files together and expect them to work. The people who wrote the code for each file didn't design it to work with the other file.
 
but the mod I'm looking to merge was designed to work with RFC. I just successfully added a civ to RFC's mod, and this other mod adds a different year-counting feature to the original RFC to enable marathon and epic speeds...so they were both designed to work with RFC.

They shouldn't really conflict with each other as the marathon mod changes the turn mechanism while my own mod changes tile properties for one civ and changes a settler map (the rest of my alterations are in python).

I was just able to successfully merge the marathon mod files and the original RFC files (I ran it to make sure they work), re-make all my alterations, and am trying a clean recompile from scratch.
 
The SDK part RFC Marathon should merge easily with your mod, don't think there could be any overlapping. There messages are rather vague, looks like all the functions from CvEventReporter.cpp are missing but I don't really know what it means.

Let me get this straight: you merged RFC Marathon into RFC (kind of redundant but OK) and it works?
Then you re-add your stuff in CvRhyes.cpp and it doesn't work? What other files did you change apart from CvRhyes?
 
Well, the first time, I merged v2 and v3 (and made sure to include the extra files in that other package, marathon-3x-files) into my RFC Irish. When I tried to recompile the DLL I got the error messages printed here.

I figured there might be a problem due to files created when I compiled my mod etc, so I then merged the v2 and then v3 into RFC (but did not recompile the DLL, I was testing everything else at that point). Then I re-made all my changes into this re-modded mod of a mod and tried recompiling. 3 hrs later, I got the same set of error messages.

I'm now finishing a recompile in which I weeded out the CAR mod, and just included your stuff. I seem to be having better luck with that, it seems that if I reject all lines associated with the CAR mod (that's the stuff marked "Sanguo," no?) I don't get the error messages.

The problem right now is that while *almost* every line associated with Sanguo is signed, there are a few stray lines that are not (I just ran into a bunch in CvTeamAI.cpp), so I "build" and then get errors which make enough sense to me to see what lines are causing the problems, change those lines back and try again.

The good thing is that at this point, I don't have to do the compile from scratch. I can get the errors, change the lines, hit "build" and pick up from where I left off (no more 3 hour waits...yay!).

I should have the rest of the lines weeded out within the hour and a DLL compiled that I can try and see if it runs or crashes.
 
alright, eliminating CAR seemed to work, but I'm getting a python error now,




File "RiseAndFall", line 330, in getExileData

EOFError



the line in question reads:

scriptDict = pickle.loads( gc.getGame().getScriptData() )



the lines around it read (it's the second line, below):

def getExileData( self, i ):
scriptDict = pickle.loads( gc.getGame().getScriptData() )
return scriptDict['lExileData']

def setExileData( self, i, iNewValue ):
scriptDict = pickle.loads( gc.getGame().getScriptData() )
scriptDict['lExileData'] = iNewValue
gc.getGame().setScriptData( pickle.dumps(scriptDict) )


I'm not sure what an EOFError is, how do I fix it?
 
You have a bad luck for vague, uninformative errors. EOFError means End Of File Error that pickle gets, but that in my experience doesn't have anything to do with what it says. I had this error when I was caching the years/turns in a dictionary, even though I didn't use pickle at all.

Only thing that comes to mind is that getExileData should not be called at the beginning of the game. Maybee the human player was killed/collapsed pre-maturely. Make sure you converted all the years/turns in Consts.py, and that they match the years from CvRhyes, and that at least all the functions using tBirth have been converted to getTurnForYear...
 
if this helps, this is the turn by turn python log

Spoiler :

sys.modules =

{'zipimport': <module 'zipimport' (built-in)>, 'signal': <module 'signal' (built-in)>, '__builtin__': <module '__builtin__' (built-in)>, 'sys': <module 'sys' (built-in)>, '__main__': <module '__main__' (built-in)>, 'exceptions': <module 'exceptions' (built-in)>, 'CvPythonExtensions': <module 'CvPythonExtensions' (built-in)>}


sys.builtin_module_names =

('CvPythonExtensions', '__builtin__', '__main__', '_bisect', '_codecs', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw', '_csv', '_heapq', '_hotshot', '_locale', '_multibytecodec', '_random', '_sre', '_subprocess', '_symtable', '_weakref', '_winreg', 'array', 'audioop', 'binascii', 'cPickle', 'cStringIO', 'cmath', 'collections', 'datetime', 'errno', 'exceptions', 'gc', 'imageop', 'imp', 'itertools', 'marshal', 'math', 'md5', 'mmap', 'msvcrt', 'nt', 'operator', 'parser', 'regex', 'rgbimg', 'sha', 'signal', 'strop', 'struct', 'sys', 'thread', 'time', 'xxsubtype', 'zipimport')

1. Using moduleSearchDirs: python\screens\
2. Using moduleSearchDirs: python\entrypoints\
3. Using moduleSearchDirs: python\
4. Using moduleSearchDirs: python\mercenaryutils\
5. Using moduleSearchDirs: python\pywb\
6. Using moduleSearchDirs: python\pitboss\
7. Using moduleSearchDirs: python\pyhelper\
8. Using moduleSearchDirs: python\pyunit\
9. Using moduleSearchDirs: python\_debugtools\
10. Using moduleSearchDirs:
EntryPoint module:cvrandomeventinterface
EntryPoint module:cvscreensinterface
EntryPoint module:cveventinterface
EntryPoint module:cvtranslator
EntryPoint module:cvgameinterface
EntryPoint module:cvoptionsscreencallbackinterface
EntryPoint module:cvwbinterface
EntryPoint module:pbmain
EntryPoint module:cvappinterface
EntryPoint module:hemispheres
EntryPoint module:arboria
EntryPoint module:highlands
EntryPoint module:rainforest
EntryPoint module:terra
EntryPoint module:donut
EntryPoint module:tectonics
EntryPoint module:randomscriptmap
EntryPoint module:big_and_small
EntryPoint module:boreal
EntryPoint module:earth2
EntryPoint module:medium_and_small
EntryPoint module:team_battleground
EntryPoint module:global_highlands
EntryPoint module:cvgameinterfacefile
EntryPoint module:cvmapscriptinterface
EntryPoint module:islands
EntryPoint module:great_plains
EntryPoint module:continents
EntryPoint module:fantasy_realm
EntryPoint module:archipelago
EntryPoint module:wheel
EntryPoint module:lakes
EntryPoint module:tilted_axis
EntryPoint module:inland_sea
EntryPoint module:mirror
EntryPoint module:fractal
EntryPoint module:oasis
EntryPoint module:pangaea
EntryPoint module:hub
EntryPoint module:balanced
EntryPoint module:maze
EntryPoint module:custom_continents
EntryPoint module:shuffle
EntryPoint module:ring
EntryPoint module:cvunitcontrolinterface
EntryPoint module:cvdiplomacyinterface
EntryPoint module:cvdebuginterface
EntryPoint module:cvpopupinterface
EntryPoint module:cvscreenutilsinterface
EntryPoint module:ice_age
load_module CvEventInterface

load_module CvUtil

load_module traceback

load_module CvRFCEventManager

load_module CvEventManager

load_module CvScreensInterface

load_module CvMainInterface

load_module ScreenInput

load_module CvScreenEnums

load_module time

load_module Consts

load_module RFCUtils

load_module PyHelpers

load_module cPickle

load_module CvMercenaryManager

load_module Popup

load_module MercenaryUtils

load_module MercenaryNameUtils

load_module math

load_module CvTranslator

load_module re

load_module SdToolKit

load_module CvMercenaryScreensEnums

load_module CvGameInterface

load_module CvGameUtils

load_module CvGameInterfaceFile

load_module CvDomesticAdvisor

load_module CvTechChooser

load_module CvForeignAdvisor

load_module CvExoticForeignAdvisor

load_module IconGrid

load_module DomPyHelpers

load_module TechTree

load_module CvMilitaryAdvisor

load_module CvFinanceAdvisor

load_module CvReligionScreen

load_module CvCorporationScreen

load_module CvCivicsScreen

load_module string

load_module CvVictoryScreen

load_module CvEspionageAdvisor

load_module CvOptionsScreen

load_module CvReplayScreen

load_module CvHallOfFameScreen

load_module CvDanQuayle

load_module CvUnVictoryScreen

load_module CvDawnOfMan

load_module CvTechSplashScreen

load_module CvTopCivs

load_module random

load_module CvInfoScreen

load_module CvIntroMovieScreen

load_module CvVictoryMovieScreen

load_module CvWonderMovieScreen

load_module CvEraMovieScreen

load_module CvSpaceShipScreen

load_module CvPediaMain

load_module CvPediaScreen

load_module CvScreen

load_module CvPediaTech

load_module CvPediaUnit

load_module CvPediaBuilding

load_module CvPediaPromotion

load_module CvPediaUnitChart

load_module CvPediaBonus

load_module CvPediaTerrain

load_module CvPediaFeature

load_module CvPediaImprovement

load_module CvPediaCivic

load_module CvPediaCivilization

load_module CvPediaLeader

load_module CvPediaSpecialist

load_module CvPediaHistory

load_module CvPediaProject

load_module CvPediaReligion

load_module CvPediaCorporation

load_module CvWorldBuilderScreen

load_module CvWorldBuilderDiplomacyScreen

load_module CvDebugTools

load_module CvDebugInfoScreen

load_module CvMapGeneratorUtil

load_module CvGFCScreen

load_module CvPopupInterface

load_module CvScreenUtilsInterface

load_module CvScreenUtils

init-ing world builder screen

load_module CvWBPopups

load_module CvCameraControls

load_module CvAdvisorUtils

load_module CvRFCEventHandler

load_module StoredData

load_module RiseAndFall

load_module CityNameManager

load_module Barbs

load_module Custom

load_module Religions

load_module Resources

load_module UniquePowers

load_module AIWars

load_module Congresses

load_module Victory

load_module Stability

load_module Plague

load_module Communications

PY:OnInit
load_module CvAppInterface

load_module Archipelago

load_module Balanced

load_module Continents

load_module Custom_Continents

load_module Fantasy_Realm

load_module Fractal

load_module Great_Plains

load_module Highlands

load_module Hub

load_module Ice_Age

load_module Inland_Sea

load_module Islands

load_module Lakes

load_module Maze

load_module Mirror

load_module Oasis

load_module Pangaea

load_module Ring

load_module Shuffle

load_module Team_Battleground

load_module Terra

load_module Tilted_Axis

load_module Wheel

load_module Arboria

load_module Big_and_Small

load_module Boreal

load_module Donut

load_module Earth2

load_module Global_Highlands

load_module Hemispheres

load_module Medium_and_Small

load_module Rainforest

load_module RandomScriptMap

load_module Tectonics

load_module CvWBInterface

load_module CvWBDesc

load_module array

PY:loadDesc:mods\rfc irish marathon\publicmaps\rfc irish marathon 600ad start, curDir:C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword
Reading game desc

Reading teams desc

reading team 0

reading team 1

reading team 2

reading team 3

reading team 4

reading team 5

reading team 6

reading team 7

reading team 8

reading team 9

reading team 10

reading team 11

reading team 12

reading team 13

reading team 14

reading team 15

reading team 16

reading team 17

reading team 18

reading team 19

reading team 20

reading team 21

reading team 22

reading team 23

reading team 24

reading team 25

reading team 26

reading team 27

reading team 28

reading team 29

reading team 30

Reading players desc

load_module encodings

load_module encodings.latin_1

Reading map desc

Reading/creating 8432 plot descs

Reading/creating 0 sign descs

WB read done

PY:Player 0's alive status set to: 1
PY:Player 1's alive status set to: 1
PY:Player 2's alive status set to: 1
PY:Player 3's alive status set to: 1
PY:Player 4's alive status set to: 1
PY:Player 5's alive status set to: 1
PY:Player 6's alive status set to: 1
PY:Player 7's alive status set to: 1
PY:Player 8's alive status set to: 1
PY:Player 9's alive status set to: 1
PY:Player 10's alive status set to: 1
PY:Player 11's alive status set to: 1
PY:Player 12's alive status set to: 1
PY:Player 13's alive status set to: 1
PY:Player 14's alive status set to: 1
PY:Player 15's alive status set to: 1
PY:Player 16's alive status set to: 1
PY:Player 17's alive status set to: 1
PY:Player 18's alive status set to: 1
PY:Player 19's alive status set to: 1
PY:Player 20's alive status set to: 1
PY:Player 21's alive status set to: 1
PY:Player 22's alive status set to: 1
PY:Player 23's alive status set to: 1
PY:Player 24's alive status set to: 1
PY:Player 25's alive status set to: 1
PY:Player 26's alive status set to: 1
PY:Player 27's alive status set to: 1
PY:Player 28's alive status set to: 1
PY:Player 29's alive status set to: 1
PY:Player 30's alive status set to: 1
PY:Player 31's alive status set to: 1
map rebuild. gridw=124, gridh=68

preapply plots

map apply - recalc areas/regions

apply plots

apply signs

Randomize Resources

WB apply done

PY:City Acquired Event: Palermo
PY:City Acquired and Kept Event: Palermo
PY:City Acquired Event: Brindisi
PY:City Acquired and Kept Event: Brindisi
8500 - gold

8501 - research

8502 - culture

8503 - espionage

8483 - food

8484 - production

8485 - commerce

8550 - judaism

8551 - judaism

8552 - christianity

8553 - christianity

8554 - islam

8555 - islam

8556 - hinduism

8557 - hinduism

8558 - buddhism

8559 - buddhism

8560 - confucianism

8561 - confucianism

8562 - taoism

8563 - taoism

3 SCREEN TURNED ON

99 SCREEN TURNED ON

('leader starting switch:', 17, 'in civ', 3)

('leader starting switch:', 24, 'in civ', 7)

('leader starting switch:', 13, 'in civ', 16)

('leader starting switch:', 8, 'in civ', 17)

('leader starting switch:', 36, 'in civ', 18)

('leader starting switch:', 50, 'in civ', 26)

PY:saveDesc:C:\users\crossover\My Documents\My Games\Beyond the Sword\Saves\WorldBuilder\WBQuickSave, curDir:C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword
WBSave done

PY:OnPreSave
load_module pickle

PY:Player 0's alive status set to: 0
PY:Player 1's alive status set to: 0
PY:Player 3's alive status set to: 0
PY:Player 4's alive status set to: 0
PY:Player 5's alive status set to: 0
PY:Player 6's alive status set to: 0
PY:Player 7's alive status set to: 0
PY:Player 9's alive status set to: 0
PY:Player 10's alive status set to: 0
PY:Player 14's alive status set to: 0
PY:Player 15's alive status set to: 0
PY:Player 16's alive status set to: 0
PY:Player 17's alive status set to: 0
PY:Player 18's alive status set to: 0
PY:Player 19's alive status set to: 0
PY:Player 20's alive status set to: 0
PY:Player 21's alive status set to: 0
PY:Player 22's alive status set to: 0
PY:Player 23's alive status set to: 0
PY:Player 24's alive status set to: 0
PY:Player 25's alive status set to: 0
PY:Player 26's alive status set to: 0
PY:Player 13's alive status set to: 0
PY:City Tianjin's culture has expanded
PY:City Built Event: Tianjin
PY:City Satsuma's culture has expanded
PY:City Built Event: Satsuma
PY:City Birka's culture has expanded
PY:City Built Event: Birka
('iGameTurn', 549)

late start

('Birth', 2)

('cityList', u"Xi'an", (100, 44))

PY:City Tianjin's culture has expanded
PY:City Acquired Event: Xi'an
('tCityPlot After', (100, 44))

('iConvertedCitiesCount', 1)

('cityList', u'Qufu', (104, 45))

PY:City Tianjin's culture has expanded
PY:City Acquired Event: Qufu
('tCityPlot After', (104, 45))

('iConvertedCitiesCount', 2)

('Birth', 12)

('cityList', u'Memphis', (69, 35))

PY:City Kufah's culture has expanded
PY:City Acquired Event: Memphis
('tCityPlot After', (69, 35))

('iConvertedCitiesCount', 1)

('cityList', u"Sana'a", (76, 30))

PY:City Kufah's culture has expanded
PY:City Acquired Event: Sana'a
('tCityPlot After', (76, 30))

('iConvertedCitiesCount', 2)

PY:OnPreSave
PY:Player 13's alive status set to: 1
PY:Player 13's alive status set to: 0
('iGameTurn', 550)

('TOTAL UNITS', 144)

('TOTAL CITIES', 47)

Stability

('dead', 0)

('dead', 1)

('Base:', 14, 'Modifier:', 14, 'Total:', 28, 'civic', 25, u'Middle Country of China')

('dead', 3)

('dead', 4)

('dead', 5)

('dead', 6)

('dead', 7)

('Base:', 15, 'Modifier:', 6, 'Total:', 21, 'civic', 25, u'Japanese Shogunate')

('dead', 9)

('dead', 10)

('Base:', 13, 'Modifier:', 6, 'Total:', 19, 'civic', 25, u'Viking Union')

('Base:', 0, 'Modifier:', 10, 'Total:', 10, 'civic', 25, u'Caliphate of Arabia')

('dead', 13)

('dead', 14)

('dead', 15)

('dead', 16)

('dead', 17)

('dead', 18)

('dead', 19)

('dead', 20)

('dead', 21)

('dead', 22)

('dead', 23)

('dead', 24)

('dead', 25)

('dead', 26)

('Parameter', 0, 0)

('Parameter', 1, 0)

('Parameter', 2, 0)

('Parameter', 3, 0)

('Parameter', 4, 0)

('Parameter', 5, 0)

('Parameter', 6, 0)

('Parameter', 7, 0)

('Parameter', 8, 0)

('Parameter', 9, 0)

('Parameter', 10, 0)

('Parameter', 11, 0)

('Parameter', 12, 0)

(u'Egypt', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'India', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'China', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Babylonia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Greece', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Persia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Carthage', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Rome', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Japan', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Ethiopia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Maya', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Vikings', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Arabia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Ireland', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Spain', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'France', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'England', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Germany', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Russia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Netherlands', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Mali', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Portugal', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Inca', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Mongolia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Aztec', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Turkey', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'America', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

PY:OnPreSave
PY:Player 13's alive status set to: 1
PY:Player 13's alive status set to: 0
PY:City Palermo's culture has expanded
PY:City Brindisi's culture has expanded
('iGameTurn', 551)

(u'China', True, False)

(u'Japan', True, False)

(u'Vikings', False, False)

(u'Arabia', False, False)

PY:OnPreSave
PY:City Satsuma's culture has expanded
PY:City Built Event: Satsuma
PY:City Kufah's culture has expanded
PY:City Built Event: Kufah
PY:Player 13's alive status set to: 1
PY:Player 13's alive status set to: 0
PY:City Alexandria's culture has expanded
('iGameTurn', 552)

('Minor war', u'Hanseong', u'Japanese')

PY:OnPreSave
PY:Player 13's alive status set to: 1
PY:City Kufah's culture has expanded
PY:City Built Event: Kufah
PY:Player 13's alive status set to: 0
PY:City Hesperides's culture has expanded
PY:City Hierusalem's culture has expanded
('iGameTurn', 553)

PY:City Kufah's culture has expanded
PY:City Acquired Event: Alexandria
PY:City Acquired and Kept Event: Al-Iskandariya
PY:OnPreSave
PY:Player 13's alive status set to: 1
PY:City Birka's culture has expanded
PY:City Built Event: Birka
PY:Player 13's alive status set to: 0
PY:City Hanseong's culture has expanded
('iGameTurn', 554)

PY:City Kufah's culture has expanded
PY:City Acquired Event: Hesperides
PY:City Acquired and Kept Event: Bangazi
PY:OnPreSave
PY:City Tianjin's culture has expanded
PY:City Built Event: Tianjin
PY:City Satsuma's culture has expanded
PY:City Built Event: Satsuma
PY:City Palermo's culture has expanded
PY:Player 13's alive status set to: 1
PY:Player 13's alive status set to: 0
('iGameTurn', 555)

('TOTAL UNITS', 141)

('TOTAL CITIES', 53)

Stability

('dead', 0)

('dead', 1)

('Base:', 14, 'Modifier:', 12, 'Total:', 26, 'civic', 25, u'Middle Country of China')

('dead', 3)

('dead', 4)

('dead', 5)

('dead', 6)

('dead', 7)

('Base:', 15, 'Modifier:', 2, 'Total:', 17, 'civic', 25, u'Japanese Shogunate')

('dead', 9)

('dead', 10)

('Base:', 13, 'Modifier:', 0, 'Total:', 13, 'civic', 25, u'Viking Union')

('Base:', 0, 'Modifier:', 11, 'Total:', 11, 'civic', 25, u'Caliphate of Arabia')

('dead', 13)

('dead', 14)

('dead', 15)

('dead', 16)

('dead', 17)

('dead', 18)

('dead', 19)

('dead', 20)

('dead', 21)

('dead', 22)

('dead', 23)

('dead', 24)

('dead', 25)

('dead', 26)

('Parameter', 0, 0)

('Parameter', 1, 0)

('Parameter', 2, 0)

('Parameter', 3, 0)

('Parameter', 4, 0)

('Parameter', 5, 0)

('Parameter', 6, 0)

('Parameter', 7, 0)

('Parameter', 8, 0)

('Parameter', 9, 0)

('Parameter', 10, 0)

('Parameter', 11, 0)

('Parameter', 12, 0)

(u'Egypt', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'India', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'China', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Babylonia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Greece', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Persia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Carthage', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Rome', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Japan', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Ethiopia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Maya', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Vikings', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Arabia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Ireland', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Spain', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'France', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'England', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Germany', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Russia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Netherlands', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Mali', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Portugal', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Inca', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Mongolia', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Aztec', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'Turkey', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

(u'America', 'PLOT OWNERSHIP ABROAD:', 0, 'CITY OWNERSHIP LOST:', 0)

('spreading Islam', 19)

PY:OnPreSave
PY:Player 13's alive status set to: 1
PY:Player 13's alive status set to: 0
('iGameTurn', 556)

('Cutting contacts between', u'Japan', 'and', u'China')

PY:City Kufah's culture has expanded
PY:City Acquired Event: Hierusalem
PY:City Acquired and Kept Event: Al-Quds
PY:OnPreSave
PY:City Tianjin's culture has expanded
PY:City Built Event: Tianjin
PY:City Al-Iskandariya's culture has expanded
PY:City Aksum's culture has expanded
PY:City Tripolis's culture has expanded
PY:Player 13's alive status set to: 1
2 SCREEN TURNED ON

PY:Player 13's alive status set to: 0
('iGameTurn', 557)

PY:OnPreSave
PY:City Kufah's culture has expanded
PY:City Built Event: Kufah
PY:Player 13's alive status set to: 1
PY:Player 13's alive status set to: 0
('iGameTurn', 558)

PY:OnPreSave
PY:City Birka's culture has expanded
PY:City Built Event: Birka
PY:City Hangzhou's culture has expanded
PY:Player 13's alive status set to: 1
PY:Player 13's alive status set to: 0
('iGameTurn', 559)

PY:City Kufah's culture has expanded
PY:City Acquired Event: Tripolis
PY:City Acquired and Kept Event: Tarabulus
PY:City Tianjin's culture has expanded
PY:City Acquired Event: Hangzhou
PY:City Acquired and Kept Event: Hangzhou
Game is ending

PY:Victory! Team 2 achieves a Cultural victory
PY:OnPreSave
PY:Al-Qahirah has grown
PY:Player 13's alive status set to: 1
SCREEN OFF

13 SCREEN TURNED ON

PY:OnUnInit
UnInit Python

 
in CvRhyes, you have the following:

int startingTurn[27] = {0, 0, 0, 0, 50, 84, 86, 90, 97, 121, 145, 177, 183, 187, 193, 196, 203, 205, 207, 213, 220, 234, 236, 240, 241, 249, 346}; //332 for 1733

// edead: replaces the above to allow different game speeds
int startingTurnYear[27] = {-3000, -3000, -3000, -3000, -1600, -850, -820, -753, -660, -300, 60, 551, 620, 655, 720, 750, 820, 840, 860, 920, 989, 1130, 1150, 1190, 1200, 1280, 1775};


should the first int starting turn etc be commented out? I've compiled it both ways, and it makes no difference to the eoferror, but it struck me as odd.


In any event, it seems that I had forgotten to merge the lines into culturelevelinfos.xml...once I fixed that, that seems to have fixed the problem.

Shame that I can't seem to get the CAR mod portions to work, as the game runs somewhat slower through CrossOver than I imagine it would normally, but I could be wrong about that...maybe someday I'll get that stuff in there...
 
Yeah, from the log you posted it's clear it was because of culture levels (cultural victory on 2nd turn).

The first array in CvRhyes is unused and not commented out because I'm lazy ;)

The speed loss in RFCMarathon is negligible - through tests I wasn't able to tell if it is slower at all. The CAR mod was added just because it was available and any speed gain is good.
 
Thanks...I won't bother with CAR then...too much to do in real life than debug for negligible speed increases ;)

I got it running, for anyone following this thread...the most updated version appears in the first post of this thread

http://forums.civfanatics.com/showthread.php?t=359542

the marathon/epic version is v2...still a few cosmetic, "housecleaning" things to do with it, but it's basically done unless a major bug/imbalance presents itself that wasn't present in the regular version.

Regarding speed, however, does enabling debug in the ini slow things down appreciably?
 
Yes, both logging enabled in the INI and using debug DLL which you did, decrease the game speed greatly.
 
Back
Top Bottom