[GS] How to find the cause of the error/game self-closing if there is no error information in 'lua.log'?.

jwolf713

Chieftain
Joined
Mar 2, 2021
Messages
57
How to find the cause of the error/game self-closing if there is no error information in 'lua.log'?.
In the database file, in turn, there is the following information:

[1556829.098] [Localization]: StartupErrorMessages.xml
[1556829.098] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[1556831.719] [Localization]: Validating Foreign Key Constraints...
[1556831.719] [Localization]: Passed Validation.
[1556831.749] [Configuration]: Validating Foreign Key Constraints...
[1556831.749] [Configuration]: Passed Validation.
[1556834.230] [FullTextSearch]: Initializing FullTextSearch
[1556836.602] [Gameplay]: Validating Foreign Key Constraints...
[1556836.613] [Gameplay]: Passed Validation.
[1556839.138] [Configuration] ERROR: no such table: Modifiers
[1556842.292] [Configuration]: Validating Foreign Key Constraints...
[1556842.292] [Configuration]: Passed Validation.
[1556845.588] [HallofFame]: Database found. Checking versions...
[1556845.590] [HallofFame]: Database is up-to-date!
[1556870.543] [FullTextSearch]: FTS - Creating Context
[1556896.362] [FullTextSearch]: FTS - Creating Context
[1556937.197] [Configuration] ERROR: no such table: Modifiers
[1556940.144] [Configuration]: Validating Foreign Key Constraints...
[1556940.144] [Configuration]: Passed Validation.
[1556953.087] [Configuration] ERROR: no such table: Modifiers
[1556957.942] [Configuration]: Validating Foreign Key Constraints...
[1556957.943] [Configuration]: Passed Validation.
[1556963.586] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[1556963.586] [Localization]: While executing - 'insert into EnglishText('Tag', 'Text') values (?, ?);'
[1556963.586] [Localization]: In XMLSerializer while inserting row into table insert into EnglishText('Tag', 'Text') with values (LOC_TECH_BUTTRESS_QUOTE_1, “An architect should live as little in cities as a painter. Send him to our hills, and let him study there what nature understands by a buttress, and what by a dome.”[NEWLINE] – John Ruskin, ).
[1556963.586] [Localization]: In XMLSerializer while updating table EnglishText from file Expansion2_Quotes_Text.xml.
[1556963.586] [Localization] ERROR: UNIQUE constraint failed: LocalizedText.Language, LocalizedText.Tag
[1556979.582] [Gameplay] ERROR: UNIQUE constraint failed: District_ValidTerrains.DistrictType, District_ValidTerrains.TerrainType
[1556979.582] [Gameplay]: While executing - 'insert into District_ValidTerrains('DistrictType', 'TerrainType') values (?, ?);'
[1556979.582] [Gameplay]: In XMLSerializer while inserting row into table insert into District_ValidTerrains('DistrictType', 'TerrainType') with values (DISTRICT_CANAL, TERRAIN_GRASS_HILLS, ).
[1556979.582] [Gameplay]: In XMLSerializer while updating table District_ValidTerrains from file canalsOnHills.xml.
[1556979.582] [Gameplay] ERROR: UNIQUE constraint failed: District_ValidTerrains.DistrictType, District_ValidTerrains.TerrainType
[1556989.219] [Gameplay]: Validating Foreign Key Constraints...
[1556989.247] [Gameplay]: Passed Validation.
[1556992.183] [Database] ERROR: UNIQUE constraint failed: IconTextureAtlases.Name, IconTextureAtlases.IconSize
[1556992.183] [Database] ERROR: UNIQUE constraint failed: IconTextureAtlases.Name, IconTextureAtlases.IconSize
[1557003.832] [FullTextSearch]: FTS - Creating Context
[1557003.833] [FullTextSearch]: FTS - Creating Context
[1557004.363] [FullTextSearch]: FTS - Creating Context
[1557004.580] [FullTextSearch]: FTS - Creating Context
[1557007.426] [FullTextSearch]: FTS - Creating Context
 
Lua very rarely causes crashes. Usually it is some wrong data put into DB, that the engine cannot handle. You have an issue with canalsOnHills.xml, so maybe the objects are not loaded properly and hence the crash.
 
Back
Top Bottom