Dawn of Civilization - an RFC modmod by Leoreth

Status
Not open for further replies.
This is a Marathon Aztec game, 3000BC start (though I don't think civ, speed or start date matters). Turn 1030.

Spoiler :
init:
[98428.659] DBG: CIV Init
[98428.659] VERSION: App: C:\Games\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Civ4BeyondSword.exe
[98428.659] VERSION: Build: Thu May 14 15:17:10 2009
[98428.659] VERSION: 3.1.9.0 (128100)
[98432.730] VERSION: Mod Loaded: Mods\RFC Dawn of Civilization\
[98432.746] DBG: FILE Cat Init
[98434.056] DBG: Game Init
[98434.056] DBG: Multiplayer Init BEGIN
[98434.961] DBG: Multiplayer Init END
[98434.961] DBG: Audio Init
[98436.334] DBG: ArtFileMgr Init
[98436.350] DBG: Python Init
[98445.944] VERSION: CIV Version: 319
[98445.944] VERSION: Minimum Version: 0
[98445.944] VERSION: Save Version: 302
[98445.944] DBG: Input Init
[98445.944] DBG: Engine Init
[98445.959] DBG: Checking available screen resolution
[98445.990] DBG: Validating screen resolution
[98445.990] DBG: Creating rendererer
[98446.680] DBG: Engine: renderer Initialized
[98446.711] DBG: Engine: Shaders Initialized
[98446.867] DBG: Engine: Scene Lights Initialized
[98446.883] DBG: Music Start
[98446.914] DBG: Font Init
[98446.945] DBG: Begin MenuManager
[98446.961] DBG: Total Frame MS: 18566.0 FPS: 000 Min:000 Max:000 Avg:000 SampleFilter:10.000000
Time : Ave : Min% : Max% : Num : Profile Name
-----------------------------------------------------
--------------------------------------------------
[98467.531] DBG: Engine: Camera Initialized
[98480.484] DBG: SyncRandSeed is 98447389, MapRandSeed is 98447389
[99161.492] DBG: Engine: Camera Initialized
[101428.172] DBG: Engine: Camera Initialized

initmgr
[98464.008] CvInitMgr::GameCoreNew()
[98478.094] InitMgr elapsed time = 12.00
[98478.203] DBG: Total Frame MS: 12108.0 FPS: 000 Min:000 Max:000 Avg:000 SampleFilter:0.010000
Time : Ave : Min% : Max% : Num : Profile Name
-----------------------------------------------------
--------------------------------------------------
[98478.203] RELEASE build, World size=Huge

[99160.289] CvInitMgr::GameCoreNew()
[99169.039] InitMgr elapsed time = 8.75
[99169.180] DBG: Total Frame MS: 28923.0 FPS: 000 Min:200 Max:000 Avg:000 SampleFilter:0.010000
Time : Ave : Min% : Max% : Num : Profile Name
-----------------------------------------------------
--------------------------------------------------
[99169.180] RELEASE build, World size=Huge

[101447.406] InitMgr elapsed time = 27.65
[101447.406] DBG: Total Frame MS: 27758.0 FPS: 000 Min:200 Max:000 Avg:000 SampleFilter:0.010000
Time : Ave : Min% : Max% : Num : Profile Name
-----------------------------------------------------
--------------------------------------------------
[101447.406] RELEASE build, World size=Huge

PythonErr:
Traceback (most recent call last):

File "CvEventInterface", line 23, in onEvent

File "CvRFCEventManager", line 111, in handleEvent

File "CvRFCEventManager", line 122, in _handleDefaultEvent

File "CvRFCEventHandler", line 442, in onBeginGameTurn

File "CvRFCEventHandler", line 1124, in printDebug

File "CvRFCEventHandler", line 1240, in printStabilityDebug

RuntimeError: unidentifiable C++ exception
ERR: Python function onEvent failed, module CvEventInterface

PythonErr2
sys.path = ['..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\email', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\encodings', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\build', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\lib', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\py', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\tools', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\colourchooser', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\editor', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\floatcanvas', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\masked', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\mixins', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\lib\\ogl', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\af', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\ca', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\cs', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\da', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\de', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\el', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\es', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\eu', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\fi', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\fr', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\hi', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\hu', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\id', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\it', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\ja', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\lv', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\nb', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\nl', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\pl', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\pt_BR', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\ru', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\sl', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\sv', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\tr', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\uk', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\zh_CN', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\zh_TW', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\af\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\ca\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\cs\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\da\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\de\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\el\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\es\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\eu\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\fi\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\fr\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\hi\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\hu\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\id\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\it\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\ja\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\lv\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\nb\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\nl\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\pl\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\pt_BR\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\ru\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\sl\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\sv\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\tr\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\uk\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\zh_CN\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\locale\\zh_TW\\LC_MESSAGES', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\py\\tests', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\tools\\XRCed', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM\\wx\\tools\\XRCed\\src-images', '..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM']

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')
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 StoredData
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 CvCivSpecificGreatPeopleModEventManager
load_module CivSpecificGreatPeopleModNameUtils
load_module CvRFCEventHandler
load_module RiseAndFall
load_module CityNameManager
load_module Barbs
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
 
@DisposableHero
Spoiler :
Please use a spoiler :crazyeye:
 
Done :)

I have also discovered the bugged-marathon-catapault thing affects ALL civilizations on 600AD starts EXCEPT the starting Civs (China, Japan, Vikings, Arabs) and the Dutch, Mongols & Turks

The affected civ list is: Americans, Aztec, Mali, Inca, Portugese, Russians, Germans, English, French, Spanish, Khmer.

I'm going to try and check these civs on 3000BC too.

Tried a couple and they worked fine. Looks like it is something to do with 600AD starts and the Aztecs.
 
Really? I have never got it as Germany and France. However, it occures when playing Spain, though I get normal starting units in Iberia (the catapult on the South Pole is just an additional unit).

I'll try all of them (maybe except America and the Netherlands) and report here.

Civs with this bug in my game:
China
Japan
Khmer
Viking
Arabia
Spain - the catapult is just an aditional unit, can continue after autoplay, get normal units in Iberia
France
England
Germany
Russia
Mali
Portugal
Inca
Mongolia
Aztec - can't continue, catapult is the only unit you get.
Turkey

Edit: I'm sorry, but I can't continue my tests today. I'll carry on tomorrow.
Edit2: Done :)
 
Good news everyone: my PC is working again, so then bugfixing can commence :)

I'm very grateful for all your investigative testing here, that saves me a lot of time.
 
I just saw that Arabia's text says "in the year 622" in the new version even though I'm in 600AD. Wouldn't 600 be better ?
 
That's because they spawn in 622 in the 3000 BC scenario. The dawn of man texts are not scenario-specific at the moment.
 
I'll likely release a new subversion (1.62) soon, that will fix some of the problems mentioned here and add a few features, including a refined Italy spawn that doesn't produce city ruin graphics anymore.

The only problems left unsolved are the Maya WB crash and the Aztecs marathon bug.
 
Getting a repeatable crash at around 60 AD, Epic speed. Guess it has to do with the Mayan spawn. Too bad, I had a good chinese game going :(

(putting two saves: one which should trigger the crash on load and the second which will trigger the crash a few turns later, just in case you need to see the state of the game)
 

Attachments

Sorry for these crashes, I know how annoying that can be after you've invested so much time in a Chinese game.

The crash gave me the same Python exception I had earlier, related to the utils.makeUnit() method. I grow more and more convinced that this Maya spawn crash and the WB crashes share the same cause.

Edit: Uploaded the 1.62 patch. As always, extract it into your Mods folder and overwrite everything. The proper download will be updated soon, as well.

Spoiler Features 1.62 :
  • added a war on spawn between Turkey and Arabia
  • doubled the chance for a war on spawn between Arabia and Egypt
  • German Haithabu is renamed to Hamburg after the Renaissance
  • London is called Lundúvir by the Vikings
  • Constantinople is renamed to "Kostantiniyye" when captured by Turkey
  • Turkish Kostantiniyye changes its name to "Istanbul" in the Industrial Age
  • fixed Reformation popup bug
  • fixed China's new UHV condition
  • Egypt's Obelisk and Ethiopia's Stele now also expire with Divine Right
  • fixed the typo in the "production consumes food" entry
  • increased the likeliness that Russia attacks Kyiv
  • undocumented 1.6 change: the Levant is now part of Europe until Arabia spawns to encourage Phoenicia's focus on Europe
  • refined the triggered respawn mechanic:
    • all civilizations now spawn with a stack of units first
    • cities and culture are converted the next turn
    • no city ruins bug anymore
 
Italy could use its cities before as well (it was only the ruin graphics, not actual ruins).

But now even that problem is gone. Work will focus now on settler maps / stability maps / UP / UHV.
 
I have an idea or two for the UP since Italy does appear in the middle ages.

Power of the Maritime Republics : 1 + Trade route for every city.

Power of the Italian Trade Fleets : Ships are built 50% faster

Power of the Italian Republics : Representation / Universal Suffrage is unlocked at the beggining.

Are you also going to change the dynamic names?
 
How do respawns work exactly?

Are they triggered if the cities in the area belong to an unstable civ? Or can it happen even if the civ is stable? Any other details concerning their mechanisms?

I thought Italy spawned around 1860?
 
I don't know, in the previous version they did spawn around 1860, though I never got to see them since they died the next turn :)

Indeed:
Code:
# Leoreth: date-triggered respawn for certain civs
tRebirth = (
-1,
-1,
-1,
-1,
-1,
-1,
-1,
1861,    # Italy
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1)
 
Personally, I think "Modern" Italy, which DOES spawn in the 19th century, has to get some significant UP, but I REALLY can't think of anything. Leoreth, do you have any idea? Perhaps, the "Power of Unification"?? Which would perhaps give you some extra culture per city, considering the historic past of having city-states??
Talking about the reunification of Italy, I would recommend having a city in Sicily, that flips to the Spanish in the 16th century. You should also have Milan, (rather than Venice), and ALSO have it flip to the Germans instead, in the 15th century. I wonder if you could recreate Charles V's Empire, in this game :lol:

Btw are you still going ahead with adding Brazil, Sweden etc?
 
Yeah,but i also thought they were meant to be playable.By 1861,only around 4 countries would still not have finished the UHV.

In fact,there are screenshots on page 33 showing them being respawned and then played in 760.
 
Leoreth said:
and it's 760 AD because I don't want to play until 1861 ;)
That said, only Leoreth could give a definitive answer.

Power of Spaghetti: every wheat resource has +3 food, +6 commerce! :D

Not sure seriously. Italy still strikes me as a renaissance nation; 1861 is a bit too late for my knowledge. Something about perhaps independent cities being more willing to join or having a benefit for conquering independent cities...
 
Status
Not open for further replies.
Back
Top Bottom