Help? Crash on wonder creation in my Modmod

LeftBower

Chieftain
Joined
Nov 15, 2008
Messages
56
Location
Nowhere Ctrl
My mod is crashing when I create The Colossus. It's my first wonder this game, so I'm thinking I've done something that messes with the Wonder movies somehow. I haven't mucked around with the game too much yet, so I doubt it's anything unique.

It's a Modmod of Next War. If anyone thinks it's something to do with my mucking about I can put it up the mod and save, but I suspect it's something more generic.

Cheers anyhow. :goodjob:

UPDATE: Mod is fixed.
 
You should be a bit more specific as to what you have changed in the mod, like a new movie for the Colossus, or a new button for the wonder, or a new model for the building.

Is it really crashing when the movie is about to be shown or is it already crashing when you try to build the wonder? Is it showing allright in the Civilopedia?
 
The standard rule of crashing: run a debug build with a debugger attached in window mode and make the game crash. Look at which line it crashes in and you get an idea of what went wrong. Also making a diff of what you changed provides a hint too of what goes wrong and trying to do the same thing in an unmodded Next War to tell if that crashes on your computer is yet another hint regarding the bug hunting.

The problem is that based on the "details" in the bug description, I kind of suspect using the debugger is not really within the scope here. I can't really think of alternatives to learn more though, regardless of this being a Next War or modmod bug.
 
The standard rule of crashing: run a debug build with a debugger attached in window mode and make the game crash. Look at which line it crashes in and you get an idea of what went wrong. Also making a diff of what you changed provides a hint too of what goes wrong and trying to do the same thing in an unmodded Next War to tell if that crashes on your computer is yet another hint regarding the bug hunting.

The problem is that based on the "details" in the bug description, I kind of suspect using the debugger is not really within the scope here. I can't really think of alternatives to learn more though, regardless of this being a Next War or modmod bug.
I've only mucked around in the XML. Changed the base yield for some tiles, added a couple buildings, a tech and and a resource. It works in regular Next War fine.

Bit of a noob to modding, wouldn't know where to start getting a debugger going. But after mucking around with it a bit more it seems to have something to do with having my buildings AND the colossus. This time I built the colossus fine but when I began building my new building (XML in the spoiler here) it crashes.

Spoiler :

<BuildingInfo>
<BuildingClass>BUILDINGCLASS_WATCHDOGS</BuildingClass>
<Type>BUILDING_WATCHDOGS</Type>
<SpecialBuildingType>NONE</SpecialBuildingType>
<Description>Watchdogs</Description>
<Civilopedia>TXT_KEY_BUILDING_WATCHDOGS_PEDIA</Civilopedia>
<Strategy>TXT_KEY_BUILDING_WATCHDOGS_STRATEGY</Strategy>
<Advisor>ADVISOR_MILITARY</Advisor>
<ArtDefineTag>ART_DEF_BUILDING_WATCHDOGS</ArtDefineTag>
<MovieDefineTag>NONE</MovieDefineTag>
<HolyCity>NONE</HolyCity>
<ReligionType>NONE</ReligionType>
<StateReligion>NONE</StateReligion>
<bStateReligion>0</bStateReligion>
<PrereqReligion>NONE</PrereqReligion>
<PrereqCorporation>NONE</PrereqCorporation>
<FoundsCorporation>NONE</FoundsCorporation>
<GlobalReligionCommerce>NONE</GlobalReligionCommerce>
<GlobalCorporationCommerce>NONE</GlobalCorporationCommerce>
<VictoryPrereq>NONE</VictoryPrereq>
<FreeStartEra>NONE</FreeStartEra>
<MaxStartEra>ERA_ANCIENT</MaxStartEra>
<ObsoleteTech>NONE</ObsoleteTech>
<PrereqTech>TECH_DOMESTICATION</PrereqTech>
<TechTypes/>
<Bonus>NONE</Bonus>
<PrereqBonuses/>
<ProductionTraits/>
<HappinessTraits/>
<NoBonus>NONE</NoBonus>
<PowerBonus>NONE</PowerBonus>
<FreeBonus>NONE</FreeBonus>
<iNumFreeBonuses>0</iNumFreeBonuses>
<FreeBuilding>NONE</FreeBuilding>
<FreePromotion>NONE</FreePromotion>
<CivicOption>NONE</CivicOption>
<GreatPeopleUnitClass>NONE</GreatPeopleUnitClass>
<iGreatPeopleRateChange>0</iGreatPeopleRateChange>
<iHurryAngerModifier>0</iHurryAngerModifier>
<bBorderObstacle>0</bBorderObstacle>
<bTeamShare>0</bTeamShare>
<bWater>0</bWater>
<bRiver>0</bRiver>
<bPower>0</bPower>
<bDirtyPower>0</bDirtyPower>
<bAreaCleanPower>0</bAreaCleanPower>
<DiploVoteType>NONE</DiploVoteType>
<bForceTeamVoteEligible>0</bForceTeamVoteEligible>
<bCapital>0</bCapital>
<bGovernmentCenter>0</bGovernmentCenter>
<bGoldenAge>0</bGoldenAge>
<bAllowsNukes>0</bAllowsNukes>
<bMapCentering>0</bMapCentering>
<bNoUnhappiness>0</bNoUnhappiness>
<bNoUnhealthyPopulation>0</bNoUnhealthyPopulation>
<bBuildingOnlyHealthy>0</bBuildingOnlyHealthy>
<bNeverCapture>1</bNeverCapture>
<bNukeImmune>0</bNukeImmune>
<bPrereqReligion>0</bPrereqReligion>
<bCenterInCity>1</bCenterInCity>
<iAIWeight>0</iAIWeight>
<iCost>20</iCost>
<iHurryCostModifier>0</iHurryCostModifier>
<iAdvancedStartCost>40</iAdvancedStartCost>
<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
<iMinAreaSize>-1</iMinAreaSize>
<iConquestProb>0</iConquestProb>
<iCitiesPrereq>0</iCitiesPrereq>
<iTeamsPrereq>0</iTeamsPrereq>
<iLevelPrereq>0</iLevelPrereq>
<iMinLatitude>0</iMinLatitude>
<iMaxLatitude>90</iMaxLatitude>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iGlobalGreatPeopleRateModifier>0</iGlobalGreatPeopleRateModifier>
<iAnarchyModifier>0</iAnarchyModifier>
<iGoldenAgeModifier>0</iGoldenAgeModifier>
<iGlobalHurryModifier>0</iGlobalHurryModifier>
<iExperience>0</iExperience>
<iGlobalExperience>0</iGlobalExperience>
<iFoodKept>0</iFoodKept>
<iAirlift>0</iAirlift>
<iAirModifier>0</iAirModifier>
<iAirUnitCapacity>0</iAirUnitCapacity>
<iNukeModifier>0</iNukeModifier>
<iNukeExplosionRand>0</iNukeExplosionRand>
<iFreeSpecialist>0</iFreeSpecialist>
<iAreaFreeSpecialist>0</iAreaFreeSpecialist>
<iGlobalFreeSpecialist>0</iGlobalFreeSpecialist>
<iMaintenanceModifier>0</iMaintenanceModifier>
<iWarWearinessModifier>0</iWarWearinessModifier>
<iGlobalWarWearinessModifier>0</iGlobalWarWearinessModifier>
<iEnemyWarWearinessModifier>0</iEnemyWarWearinessModifier>
<iHealRateChange>0</iHealRateChange>
<iHealth>0</iHealth>
<iAreaHealth>0</iAreaHealth>
<iGlobalHealth>0</iGlobalHealth>
<iHappiness>0</iHappiness>
<iAreaHappiness>0</iAreaHappiness>
<iGlobalHappiness>0</iGlobalHappiness>
<iStateReligionHappiness>0</iStateReligionHappiness>
<iWorkerSpeedModifier>0</iWorkerSpeedModifier>
<iMilitaryProductionModifier>0</iMilitaryProductionModifier>
<iSpaceProductionModifier>0</iSpaceProductionModifier>
<iGlobalSpaceProductionModifier>0</iGlobalSpaceProductionModifier>
<iTradeRoutes>0</iTradeRoutes>
<iCoastalTradeRoutes>0</iCoastalTradeRoutes>
<iGlobalTradeRoutes>0</iGlobalTradeRoutes>
<iTradeRouteModifier>0</iTradeRouteModifier>
<iForeignTradeRouteModifier>0</iForeignTradeRouteModifier>
<iGlobalPopulationChange>0</iGlobalPopulationChange>
<iFreeTechs>0</iFreeTechs>
<iDefense>5</iDefense>
<iBombardDefense>0</iBombardDefense>
<iAllCityDefense>0</iAllCityDefense>
<iEspionageDefense>5</iEspionageDefense>
<iAsset>1</iAsset>
<iPower>0</iPower>
<fVisibilityPriority>1.0</fVisibilityPriority>
<SeaPlotYieldChanges/>
<RiverPlotYieldChanges/>
<GlobalSeaPlotYieldChanges/>
<YieldChanges/>
<CommerceChanges>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
</CommerceChanges>
<ObsoleteSafeCommerceChanges/>
<CommerceChangeDoubleTimes/>
<CommerceModifiers/>
<GlobalCommerceModifiers/>
<SpecialistExtraCommerces/>
<StateReligionCommerces/>
<CommerceHappinesses/>
<ReligionChanges/>
<SpecialistCounts/>
<FreeSpecialistCounts/>
<CommerceFlexibles/>
<CommerceChangeOriginalOwners/>
<ConstructSound>AS2D_BUILD_MARKET</ConstructSound>
<BonusHealthChanges/>
<BonusHappinessChanges/>
<BonusProductionModifiers/>
<UnitCombatFreeExperiences/>
<DomainFreeExperiences/>
<DomainProductionModifiers/>
<BuildingHappinessChanges/>
<PrereqBuildingClasses/>
<BuildingClassNeededs/>
<SpecialistYieldChanges/>
<BonusYieldModifiers/>
<ImprovementFreeSpecialists/>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_MILITARY</FlavorType>
<iFlavor>3</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_ESPIONAGE</FlavorType>
<iFlavor>2</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_GOLD</FlavorType>
<iFlavor>1</iFlavor>
</Flavor>
</Flavors>
<HotKey/>
<bAltDown>0</bAltDown>
<bShiftDown>0</bShiftDown>
<bCtrlDown>0</bCtrlDown>
<iHotKeyPriority>0</iHotKeyPriority>
</BuildingInfo>


You should be a bit more specific as to what you have changed in the mod, like a new movie for the Colossus, or a new button for the wonder, or a new model for the building.

Is it really crashing when the movie is about to be shown or is it already crashing when you try to build the wonder? Is it showing allright in the Civilopedia?

No changes relating to the Colossus that I can think of. Unless changing the base yields for water tiles would have something do do with it?

:) Cheers for the help, both of you.
 
UPDATE: Okay, sorted it. There was something up with the art stuff on my new buildings. How I got that mixed up with the Colossus I have no idea. Possible there's two bugs, but I can't recreate the Colossus problem, so I'm assuming one fix fixed it all. Thankyou both very much. I'm sure I'll be back with more dumb questions soon. :D
 
Back
Top Bottom