G&K + Mods

Alewx

Chieftain
Joined
Jun 22, 2012
Messages
45
Location
Lübeck Germany
Hey there,
I made a tiny mod for my Civ5, which changes the worldsize of huge maps. Before G&K came out it worked without problems, but not i get some strange messages in the database log.

The Database Log
Spoiler :

[55807.875] constraint failed
[55807.875] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[55813.881] Validating Foreign Key Constraints...
[55814.162] Invalid Reference on Civilization_CityNames.CityName - "TXT_KEY_CITY_NAME_ST_JOHNS" does not exist in Language_en_US
[55814.380] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_HARALD" does not exist in Leaders
[55814.380] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[55814.380] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[55814.380] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[55814.380] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[55814.646] Invalid Reference on Unit_FreePromotions.PromotionType - "PROMOTION_WITHDRAW_BEFORE_MELEE" does not exist in UnitPromotions
[55814.646] Invalid Reference on Unit_FreePromotions.PromotionType - "PROMOTION_WITHDRAW_BEFORE_MELEE" does not exist in UnitPromotions
[55814.880] Failed Validation.
[55815.566]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 383440 32157120
PageCache: 4278 4982
LookAside: 0 0
Scratch: 0 1

Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 0 27214760
Scratch: 0 0

Largest Allocations:
Malloc: 131072
PageCache: 1160
Scratch: 6376

Prepared Statements:
Current: 10
------------------------------


My Mod XML
Spoiler :

<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 23.06.2012 01:29:27 -->
<GameData>
<!-- New Values for Huge Worlds -->
<Worlds>
<Update>
<Where Type ="WORLDSIZE_HUGE" />
<Set>
<GridWidth>160</GridWidth>
<GridHeight>100</GridHeight>
<!--<DefaultPlayers>16</DefaultPlayers>
<DefaultMinorCivs>38</DefaultMinorCivs>
<NumNaturalWonders>10</NumNaturalWonders>
<ResearchPercent>150</ResearchPercent>
<NumCitiesUnhappinessPercent>50</NumCitiesUnhappinessPercent>-->
</Set>
</Update>
</Worlds>
</GameData>


My Civ5 has all DLCs that are out there and is the Deluxe Steam Edition, has anyone an advice why I get the Database Errors?

greetings Alewx
 
Welcome, Alex W.

It sounds like they must've changed the defines on the leaders between the expansion and the base game. It doesn't sound like hardly anyone is working on G&K modding yet, anyway, because it's too soon since first release for people to want more "flavor". That's just my opinion, but it sounds like you might wanna check the leader defines in the Lua.

Hope that helped! :goodjob:
 
How it looks to me, is that inside the assets of the expansion, there are also DLC Folders with XMLs and if you activate a Mod these DLCs are not loaded and causing the Database to crash.
I guess Firaxis has to change there something interal.
 
Just from playing the game, there are currently a lot of under- and over-powered elements. I assume there will be many patches in the near future, and that could possibly fix the worldbuilder (mine's not working) and fix/make compatible all the XML files. Otherwise.... we might have to start over with all the XML.

If enabling the DLC/expansion causes the XML files to not load correctly, maybe try opening your mod in ModBuddy, if there's an error it is occasionally highlighted in red. Who knows, maybe they changed some of the XML tags between the expansion and the base game.

EDIT: Sorry, misread your post, I guess maybe modding just isn't quite balanced out yet with the release of the expansion. Maybe mods that change certain things are disabled. IDK, this is coming from someone who does most of their "creating" on WorldBuilder.
 
I don't even get acess email for the 2K forums to post the issue there, to get some statement from Devs to this problem.:cry::cry::cry:
 
So I found out that Changing Worldsize causes G+K to CTD. just dont know why, because that is the only real thing I want to change, feeling maps far too small.

Is there anyone who could give a hint or advice?

Update:
with Update 1.0.1.674 and G&K Civ nolonger accepts Worldgridsizes bigger than default, just smaller, otherwise it gives a CCTD.
Tested with Civ5 G&K, and with Civ 5 pure, same results.
I want bigger maps :cry::cry::cry:
Someone with a solution or similar problem?
 
Back
Top Bottom