Bugs/Error reports

Deon, that code you posted is not in the file, but battleships and scouts are on the list and I have still seem them spawn. I will still add planetary defense to the file though and test it. Did it work for you?

Also, I'm pretty sure Final Frontier relies on SDK to spawn barbarians, I've read posts of people talking about code that is for spawning barbarians for the FF mod. Something about it being weird code. I can't remember.

I just didn't have time to test it, that's why I asked. Family family family lol... You get the idea.

What do you mean by "battleships and scouts are on the list and I have still seem them spawn"?

Oh wait, I looked into Minor, not into Barbarian.
I will look into the SDK code when I have time to fix it.

I see, it's "CvGame::createBarbarianUnits()" in CvGame.cpp. I will try to dig into it, although it has a really weird huge "if/else" tree which is really hard to read. :)
 
Ahha, I've caught it! It's CvFinalFrontierEvents.py

There you see (in def doPirateSpawning(self) ):
Code:
					iDestroyerI = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_DESTROYER_I')
					iInvasionShipI = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_INVASION_SHIP_I')
					iPlanetaryDefenseI = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_PLANETARY_DEFENSE_I')
					iBattleshipI = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_BATTLESHIP_I')
					
					iInvasionShipII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_INVASION_SHIP_II')
					iPlanetaryDefenseII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_PLANETARY_DEFENSE_II')
					iDestroyerII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_DESTROYER_II')
					iBattleshipII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_BATTLESHIP_II')
					
					iInvasionShipIII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_INVASION_SHIP_III')
					iPlanetaryDefenseIII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_PLANETARY_DEFENSE_III')
					iDestroyerIII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_DESTROYER_III')
					iBattleshipIII = CvUtil.findInfoTypeNum(gc.getUnitInfo,gc.getNumUnitInfos(),'UNIT_BATTLESHIP_III')
					
					aiUnitList = -1
					
					aiUnitList1 = [iDestroyerI, iInvasionShipI, iInvasionShipI, iPlanetaryDefenseI, iPlanetaryDefenseI] # More Inv & PD ships than Destroyers
					aiUnitList2 = [iDestroyerII, iDestroyerII, iInvasionShipII, iPlanetaryDefenseII, iBattleshipI]
					aiUnitList3 = [iDestroyerIII, iDestroyerIII, iDestroyerIII, iInvasionShipIII, iPlanetaryDefenseIII, iBattleshipII, iBattleshipII, iBattleshipIII]

All the pretty ships here :p. Change this list to change barbarian types.
 
Nice find. :) So simply removing the PDF units from there would be enough? (If so, I'll try and do that before uploading v. 5.0.)

Hm, on closer look this worries me a bit:

# More Inv & PD ships than Destroyers

Also, Scout units aren't mentioned and they do appear in-game as well.
 
Yes, barbarians still spawn both ways- via Python and via the SDK.

In FF+ I moved everything to the SDK but added tags to the XML to provide more control over barbarian spawns. Short of doing that, there should be a function in CvGameUtils.py, "createBarbarianUnits":

Code:
	def createBarbarianUnits(self):
		return False

Which is the Python override. If you make it return True instead the game won't spawn barbarians via the SDK- but it still will via Python. So only specified units would be created, not all units (like the Marines).
 
Checking for unresolved bugs I found these:

Unit Titan II in Civopedia is broken, can you fix it ?. i have try your mod.

I found two bugs at the end of the game:

Around turn 260 I couldn't build any buildings on any of my stars, even the stars that were just conquered and had almost no buildings. I could only build projects and units. It was just after I researched Trans Genetics if that is what caused it. It was also just before I conquered the last enemy star. I don't know what else would have caused the bug.

I only had conquest checked in victory conditions and I never won once I beat everybody. It just kept going.

EDIT: Maybe I couldn't build buildings because I passed the time limit? I had the time limit turned off though...

Please add a Logs.zip with your report if at all possible. (Added a note to this effect to post #1 as well).
 
You have removed basic techs (MILITARY_0 etc) but they are still added via python in CvFinalFrontierEvents.py, which generates python exception.

You removed carrier units (CARRIER_I, CARRIER_II, CARRIER_III) but they are still in Python (I think in CvAI.py) which generates lots of python exceptions.
 
Having a problem here. The mod crashes upon trying to start it. you get the little window with init python, then it tries to draw a fullscreen and crashes as it does.

Im up to date, can play FF anf FF plus and FFH2 np, and am running on win 7.

I have not had previous versions of this mod installed. I have it installed in a non default location as i am using H:\games as my games folder.
 
Sorry to hear... I'm guessing there's no trouble with installing or an error report. Could you post a Logs.zip of your trying to load the mod, maybe?
 
ok checking which log files have modified last time i ran the mod. These are only ones that are changed.


init

[46664.173] DBG: CIV Init
[46664.189] VERSION: App: H:\Games\Civ 4\Beyond the Sword\Civ4BeyondSword.exe
[46664.189] VERSION: Build: Thu May 14 15:17:10 2009
[46664.189] VERSION: 3.1.9.0 (128100)
[46666.809] VERSION: Mod Loaded: Mods\MOO2Civ 5.0\
[46666.809] DBG: FILE Cat Init

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 CvEventManager
load_module CvScreensInterface
load_module CvMainInterface
load_module ScreenInput
load_module CvScreenEnums
load_module time
load_module CvSolarSystem
load_module CvDomesticAdvisor
load_module CvTechChooser
load_module CvForeignAdvisor
load_module math
load_module CvExoticForeignAdvisor
load_module IconGrid
load_module DomPyHelpers
load_module PyHelpers
load_module TechTree
load_module re
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 CvGameUtils
load_module CvAI
load_module pickle
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 Popup
load_module FeatureRemoval





init-ing CvAI





load_module CvWorldBuilderDiplomacyScreen
load_module CvDebugTools
load_module CvDebugInfoScreen
load_module CvMapGeneratorUtil
load_module CvGFCScreen
load_module CvPopupInterface
load_module CvScreenUtilsInterface
load_module CvScreenUtils
load_module CvPlanetInfoScreen
init-ing world builder screen
load_module CvWBPopups
load_module CvCameraControls
load_module CvAdvisorUtils
load_module CvFinalFrontierEvents





init-ing CvAI





PY:OnInit
load_module CvAppInterface


xml

[46668.120] Loading XML file xml\GameInfo/CIV4PlayerOptionInfos.xml
[46668.260] Load XML file xml\GameInfo/CIV4PlayerOptionInfos.xml SUCCEEDED
[46668.260] SetGlobalClassInfo (Civ4PlayerOptionInfos/PlayerOptionInfos/PlayerOptionInfo)
[46668.385] Loading XML file xml\GameInfo/CIV4GraphicOptionInfos.xml
[46668.385] Load XML file xml\GameInfo/CIV4GraphicOptionInfos.xml SUCCEEDED
[46668.385] SetGlobalClassInfo (Civ4GraphicOptionInfos/GraphicOptionInfos/GraphicOptionInfo)
 
Hm. That should have been helpful, but all I see is a python error and that was already clear from your previous post... Would you mind trying to load an earlier version to see what happens? (They're linked on the 5.0 download page and posts #1 of the main thread and the Download Latest Version thread here.)
 
Running Vista 32 bit if it matters. Running latest version. Never have gotten any version to load I've tried. Get Load Error: GFC Error: Failed to initialize the primary control theme. Nothing. Hope I posted this correctly...first one so try not to trash me.

VC
 
Not a very good welcome, I must say... But if you never were able to load any version of MOO2Civ so far (assuming you've checked if it's not an install problem) I'm afraid there isn't much I can suggest or do about it... Sorry. :(

At least you posted it correctly.

EDIT:

GFC Error: Failed to initialize the primary control theme.

Actually, that does sound like an install problem - so you might want to check if the mod is installed as should be.
 
Seems to install correctly. Tried uninstalling all versions and clearing out directory and reinstalling to no avail. The only mention of this error I could find mentioned a HUD file issue (don't know what a HUD file is) to make sure it installed correctly and is configured correctly. Have same issue with 1 other MOD "Final Frontier Plus" but run many others just fine. Big MoO fan and by the way, thanks to you and all the MOD creators...Great stuff overall...if I could just get yours working.
Path is C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\MOO2Civ 5.0\(all files and directories are here)
There is something mentioned on the first post regarding custom assets folder...where would I find it?

VC
 
Top Bottom