Hello,
Ive a general question regarding .xml mods. I've written a simple mod and it does what it should. The problem is, that while using the mod the game sometimes freezes at the end of the computers turn. This happens completely random and is not reproducible. When I save the game before hitting the "Next Turn" button and the game freezes afterwards it will not freeze after reloading, although I've changed nothing and just pressed the button again.
I would like to know weather there is a systematic way to find out where the games freezes. The "database.log" file looks normal, all entry have nothing to do with my mod.
I'm glad for any ideas.
Thanks a lot!
Ive a general question regarding .xml mods. I've written a simple mod and it does what it should. The problem is, that while using the mod the game sometimes freezes at the end of the computers turn. This happens completely random and is not reproducible. When I save the game before hitting the "Next Turn" button and the game freezes afterwards it will not freeze after reloading, although I've changed nothing and just pressed the button again.
I would like to know weather there is a systematic way to find out where the games freezes. The "database.log" file looks normal, all entry have nothing to do with my mod.
I'm glad for any ideas.
Thanks a lot!
Code:
[9491.366] constraint failed
[9491.366] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[9494.922] no such table: ContentPackage.LocalizedText
[9496.389] Validating Foreign Key Constraints...
[9496.748] Invalid Reference on Civilization_CityNames.CityName - "TXT_KEY_CITY_NAME_ST_JOHNS" does not exist in Language_en_US
[9497.013] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_HARALD" does not exist in Leaders
[9497.013] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.013] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[9497.013] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[9497.013] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_NEBUCHADNEZZAR" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_KAMEHAMEHA" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_PACHACUTI" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_SEJONG" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_NEBUCHADNEZZAR" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_NEBUCHADNEZZAR" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_NEBUCHADNEZZAR" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_NEBUCHADNEZZAR" does not exist in Leaders
[9497.028] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_NEBUCHADNEZZAR" does not exist in Leaders
[9497.450] Invalid Reference on UnitPromotions.PediaEntry - "TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE" does not exist in Language_en_US
[9497.496] Invalid Reference on UnitPromotions.Help - "TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE_HELP" does not exist in Language_en_US
[9497.528] Invalid Reference on UnitPromotions.Description - "TXT_KEY_PROMOTION_WITHDRAW_BEFORE_MELEE" does not exist in Language_en_US
[9497.528] Failed Validation.
[9498.058]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 387768 32329248
PageCache: 4282 4982
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 0 26872560
Scratch: 0 0
Largest Allocations:
Malloc: 131072
PageCache: 1160
Scratch: 6376
Prepared Statements:
Current: 10
------------------------------