1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Crash log

Discussion in 'Civ5 - Creation & Customization' started by Frossa, Jan 10, 2014.

  1. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    The entire game crashes upon clicking Next on a game where I am trying to test my mod. The Database.log doesn't even mention my mod, so it's clear that it's a much more fatal error I am struggling with.
    I don't know if it's the right log to check, but these are the contents of the Localization log:
    Spoiler :
    Code:
    [12897.819] WRN: A resource bundle lookup returned a result from the root locale (not an error).
    [14261.018] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.018] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.018] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.018] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.065] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.065] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.065] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.065] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.080] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.080] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.080] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.080] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.096] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.096] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.096] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.096] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.112] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.112] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.112] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.112] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.127] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.127] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.127] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.127] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.127] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.127] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.127] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.127] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.143] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.143] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.143] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.143] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.158] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.158] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.158] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.158] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.158] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.158] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.158] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.158] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14261.205] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [14261.205] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [14261.205] ERR: Missing argument 1. (No bonus from {1_Cause})
    [14261.205] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [14466.035] ERR: Missing argument 1. (Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc}))
    [14466.035] ERR: Failed to evaluate parameter 1. Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc})
    [14505.160] ERR: Missing argument 1. (Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc}))
    [14505.160] ERR: Failed to evaluate parameter 1. Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc})
    [14517.125] ERR: Missing argument 1. (Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc}))
    [14517.125] ERR: Failed to evaluate parameter 1. Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc})
    [14969.575] ERR: Missing argument 1. (Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc}))
    [14969.575] ERR: Failed to evaluate parameter 1. Your people have started worshipping a pantheon of gods. They have chosen the belief: {1_BeliefName} ({@2_BeliefDesc})
    [15837.845] ERR: Missing argument 1. ({1_PlayerName} lost their original [ICON_CAPITAL] Capital. {2_PlayerName} controls the most original [ICON_CAPITAL] Capitals. ({3_Num}))
    [15837.845] ERR: Failed to evaluate parameter 1. {1_PlayerName} lost their original [ICON_CAPITAL] Capital. {2_PlayerName} controls the most original [ICON_CAPITAL] Capitals. ({3_Num})
    [17541.345] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.345] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.345] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.345] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.392] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.392] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.392] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.392] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.392] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.392] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.392] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.392] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.407] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.407] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.407] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.407] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.423] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.423] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.423] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.423] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.438] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.438] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.438] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.438] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.454] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.454] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.454] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.454] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.454] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.454] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.454] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.454] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.470] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.470] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.470] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.470] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.485] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.485] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.485] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.485] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [17541.516] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [17541.532] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [17541.532] ERR: Missing argument 1. (No bonus from {1_Cause})
    [17541.532] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}

    I don't know if it means anything, but it's related to my mod, since it isn't there when I'm playing without it. Other than this, are there any other logs I should be checking?
     
  2. otaman1

    otaman1 Prince

    Joined:
    Mar 14, 2013
    Messages:
    2,697
    Database
     
  3. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    ...as I said, the Database log doesn't present any errors from my mod.
     
  4. otaman1

    otaman1 Prince

    Joined:
    Mar 14, 2013
    Messages:
    2,697
    Did you enable it?
     
  5. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    But of course. I may still only use XML, but I'm an experienced enough modder to have done that long ago.
     
  6. otaman1

    otaman1 Prince

    Joined:
    Mar 14, 2013
    Messages:
    2,697
    Check the XML log then. There might be some errors hidden there.
     
  7. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    Alright. This is everything in there:
    Spoiler :
    Code:
    [29016.591] *** SKIPPING Game Database Validation. ****
    [29016.591] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [29017.277] **** Validating Prefetch Process *****
    [29017.277] **** Validation Success *****
    [29017.277] SetGlobalActionInfo
    [29017.277] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8102312		73210400
    PageCache:	6		12
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7680456		60535776
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		6
    ------------------------------
    [29017.309] *** SKIPPING Game Database Validation. ****
    [29017.309] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [29017.964] **** Validating Prefetch Process *****
    [29017.964] **** Validation Success *****
    [29017.964] SetGlobalActionInfo
    [29017.964] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8103488		73210400
    PageCache:	6		12
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7681632		60535776
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		6
    ------------------------------
    [29072.705] *** SKIPPING Game Database Validation. ****
    [29072.705] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [29073.313] **** Validating Prefetch Process *****
    [29073.313] **** Validation Success *****
    [29073.313] SetGlobalActionInfo
    [29073.313] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8153448		73210400
    PageCache:	7		13
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7726320		60535776
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    [29462.941] *** SKIPPING Game Database Validation. ****
    [29462.941] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [29463.659] **** Validating Prefetch Process *****
    [29463.659] **** Validation Success *****
    [29463.659] SetGlobalActionInfo
    [29463.659] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8112672		73210400
    PageCache:	7		14
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7686336		60541656
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    [29483.018] *** SKIPPING Game Database Validation. ****
    [29483.018] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [29483.658] **** Validating Prefetch Process *****
    [29483.658] **** Validation Success *****
    [29483.658] SetGlobalActionInfo
    [29483.658] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8153496		73210400
    PageCache:	8		14
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7726320		60541656
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    [29767.892] *** SKIPPING Game Database Validation. ****
    [29767.892] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [29768.547] **** Validating Prefetch Process *****
    [29768.547] **** Validation Success *****
    [29768.547] SetGlobalActionInfo
    [29768.547] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8112672		73210400
    PageCache:	7		14
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7686336		60541656
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    [29788.453] *** SKIPPING Game Database Validation. ****
    [29788.453] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [29789.061] **** Validating Prefetch Process *****
    [29789.061] **** Validation Success *****
    [29789.061] SetGlobalActionInfo
    [29789.061] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8153496		73210400
    PageCache:	8		14
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7726320		60541656
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    [30102.717] *** SKIPPING Game Database Validation. ****
    [30102.717] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [30103.403] **** Validating Prefetch Process *****
    [30103.403] **** Validation Success *****
    [30103.403] SetGlobalActionInfo
    [30103.419] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8112672		73210400
    PageCache:	7		14
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7686336		60541656
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    [30131.671] *** SKIPPING Game Database Validation. ****
    [30131.671] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [30132.326] **** Validating Prefetch Process *****
    [30132.326] **** Validation Success *****
    [30132.326] SetGlobalActionInfo
    [30132.326] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8153496		73210400
    PageCache:	8		14
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7726320		60541656
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    [30609.892] *** SKIPPING Game Database Validation. ****
    [30609.892] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
    [30610.531] **** Validating Prefetch Process *****
    [30610.531] **** Validation Success *****
    [30610.531] SetGlobalActionInfo
    [30610.531] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8112672		73210400
    PageCache:	7		14
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7686336		60541656
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------

    Just looks like the same thing repeated over and over.
     
  8. AW Arcaeca

    AW Arcaeca Deus Vult

    Joined:
    Mar 10, 2013
    Messages:
    2,958
    Gender:
    Male
    Location:
    Operation Padlock ground zero
    So, uh, what exactly is your mod supposed to do? That might be some crucial information...
     
  9. otaman1

    otaman1 Prince

    Joined:
    Mar 14, 2013
    Messages:
    2,697
    It looks like you didn't validate your XML. And yes, some crucial information would be necessary.
     
  10. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    Validate XML? I've never heard of that :o
    I've changed the 0 to 1 in the config.ini now. I don't know how I managed to miss the text that said that in the log earlier. Gonna make another test run.

    And yeah, I should have told you what the mod does.
    It removes all of the Medieval, Renaissance, Industrial, Modern and Atomic era technologies, adds new ones, and adds a bunch of new Units, Buildings, City States and Resources on top of it.

    Edit: Ok, I've made a new test run. It crashed just like before, but at least now the XML log has something different to say:
    Spoiler :
    Code:
    [39564.630] **** Validating Game Database *****
    [39566.970] Performing Localization Checks
    [39566.970] Checking Tag Format...
    [39566.970] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
    [39566.985] Validating UnitGameplay2DScripts
    [39566.985] Missing Entry for UNIT_BARBARIAN_HORSEMAN
    [39566.985] Missing Entry for UNIT_MONGOLIAN_KHAN
    [39566.985] **** VALIDATION FAILED *****
    [39566.985] Validation Took 2.364107 seconds
    [39567.641] **** Validating Prefetch Process *****
    [39567.641] **** Validation Success *****
    [39567.641] SetGlobalActionInfo
    [39567.641] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		6199664		71319848
    PageCache:	6		12
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	5784744		58640064
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		6
    ------------------------------
    [39567.672] **** Validating Game Database *****
    [39569.887] Performing Localization Checks
    [39569.887] Checking Tag Format...
    [39569.887] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
    [39569.903] Validating UnitGameplay2DScripts
    [39569.903] Missing Entry for UNIT_BARBARIAN_HORSEMAN
    [39569.903] Missing Entry for UNIT_MONGOLIAN_KHAN
    [39569.903] **** VALIDATION FAILED *****
    [39569.903] Validation Took 2.234845 seconds
    [39570.542] **** Validating Prefetch Process *****
    [39570.542] **** Validation Success *****
    [39570.542] SetGlobalActionInfo
    [39570.542] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		6200840		71319848
    PageCache:	6		12
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	5785920		58640064
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		6
    ------------------------------
    [39656.951] **** Validating Game Database *****
    [39659.260] Performing Localization Checks
    [39659.260] Checking Tag Format...
    [39659.260] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
    [39659.276] Validating UnitGameplay2DScripts
    [39659.276] Missing Entry for UNIT_BARBARIAN_HORSEMAN
    [39659.276] Missing Entry for UNIT_CANNON2
    [39659.276] Missing Entry for UNIT_CATAPULT2
    [39659.276] Missing Entry for UNIT_CROSSBOWMAN2
    [39659.276] Missing Entry for UNIT_DRAGOON
    [39659.276] Missing Entry for UNIT_FIELD_CANNON
    [39659.276] Missing Entry for UNIT_GALLEY1
    [39659.276] Missing Entry for UNIT_HORSE_ARCHER2
    [39659.276] Missing Entry for UNIT_JUNK
    [39659.276] Missing Entry for UNIT_LINESHIP
    [39659.276] Missing Entry for UNIT_MONGOLIAN_KHAN
    [39659.276] Missing Entry for UNIT_MUSKETMAN2
    [39659.276] Missing Entry for UNIT_PIKEANDSHOT
    [39659.276] Missing Entry for UNIT_SAPPER
    [39659.276] Missing Entry for UNIT_SWORDSMAN2
    [39659.276] Missing Entry for UNIT_TREBUCHET2
    [39659.276] Missing Entry for UNIT_WAR_JUNK
    [39659.276] Missing Entry for UNIT_ZHANMADAO
    [39659.276] **** VALIDATION FAILED *****
    [39659.276] Validation Took 2.334845 seconds
    [39659.946] **** Validating Prefetch Process *****
    [39659.946] **** Validation Success *****
    [39659.946] SetGlobalActionInfo
    [39659.946] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		6550400		71319848
    PageCache:	7		13
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	6103440		58640064
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		12
    ------------------------------


    This I don't quite understand... with Missing Entry, do they mean that there's a text file or something missing? I haven't even touched the Mongolian Khan and the Barbarian Horseman Units, so that's weird that they would appear here.
    (the Units with a 2 at the end of their names you see mentioned are the result of me trying to give European and Asian civs a separate tech tree, but still share the same Units. I had to clone them since one Unit can't have two different tech requirements.)
     
  11. otaman1

    otaman1 Prince

    Joined:
    Mar 14, 2013
    Messages:
    2,697
    Looks like you're missing an entry for most of the units.
     
  12. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    Yeah, some of them seemed to be based on text files. Instead of having the duplicate units share the same Descriptions and Civilopedia entries with the original units, I gave them their own ones. This seems to have removed some of them from the log, but some still remain:
    Spoiler :
    Code:
    [43392.582] **** Validating Game Database *****
    [43395.078] Performing Localization Checks
    [43395.078] Checking Tag Format...
    [43395.078] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
    [43395.094] Validating UnitGameplay2DScripts
    [43395.094] Missing Entry for UNIT_BARBARIAN_HORSEMAN
    [43395.094] Missing Entry for UNIT_MONGOLIAN_KHAN
    [43395.094] **** VALIDATION FAILED *****
    [43395.094] Validation Took 2.502808 seconds
    [43395.765] **** Validating Prefetch Process *****
    [43395.765] **** Validation Success *****
    [43395.765] SetGlobalActionInfo
    [43395.765] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8102504		73210400
    PageCache:	6		12
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7680456		60535776
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		6
    ------------------------------
    [43395.796] **** Validating Game Database *****
    [43398.214] Performing Localization Checks
    [43398.214] Checking Tag Format...
    [43398.214] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
    [43398.230] Validating UnitGameplay2DScripts
    [43398.230] Missing Entry for UNIT_BARBARIAN_HORSEMAN
    [43398.230] Missing Entry for UNIT_MONGOLIAN_KHAN
    [43398.230] **** VALIDATION FAILED *****
    [43398.230] Validation Took 2.431008 seconds
    [43398.916] **** Validating Prefetch Process *****
    [43398.916] **** Validation Success *****
    [43398.916] SetGlobalActionInfo
    [43398.916] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8103680		73210400
    PageCache:	6		12
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7681632		60535776
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		6
    ------------------------------
    [43448.056] **** Validating Game Database *****
    [43450.412] Performing Localization Checks
    [43450.412] Checking Tag Format...
    [43450.412] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
    [43450.428] Validating UnitGameplay2DScripts
    [43450.428] Missing Entry for UNIT_BARBARIAN_HORSEMAN
    [43450.428] Missing Entry for UNIT_DRAGOON
    [43450.428] Missing Entry for UNIT_FIELD_CANNON
    [43450.428] Missing Entry for UNIT_GALLEY1
    [43450.428] Missing Entry for UNIT_HORSE_ARCHER2
    [43450.428] Missing Entry for UNIT_JUNK
    [43450.428] Missing Entry for UNIT_LINESHIP
    [43450.428] Missing Entry for UNIT_MONGOLIAN_KHAN
    [43450.428] Missing Entry for UNIT_PIKEANDSHOT
    [43450.428] Missing Entry for UNIT_SAPPER
    [43450.428] Missing Entry for UNIT_WAR_JUNK
    [43450.428] Missing Entry for UNIT_ZHANMADAO
    [43450.428] **** VALIDATION FAILED *****
    [43450.428] Validation Took 2.366382 seconds
    [43451.067] **** Validating Prefetch Process *****
    [43451.067] **** Validation Success *****
    [43451.067] SetGlobalActionInfo
    [43451.067] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8176920		73210400
    PageCache:	7		13
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7722792		60535776
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		12
    ------------------------------
    [43471.628] **** Validating Game Database *****
    [43473.921] Performing Localization Checks
    [43473.921] Checking Tag Format...
    [43473.921] Note: Tags must only use [A-Z_] characters, start with 'TXT_KEY_', and be under 128 characters long.
    [43473.937] Validating UnitGameplay2DScripts
    [43473.937] Missing Entry for UNIT_BARBARIAN_HORSEMAN
    [43473.937] Missing Entry for UNIT_MONGOLIAN_KHAN
    [43473.937] **** VALIDATION FAILED *****
    [43473.937] Validation Took 2.312077 seconds
    [43474.592] **** Validating Prefetch Process *****
    [43474.592] **** Validation Success *****
    [43474.592] SetGlobalActionInfo
    [43474.592] 
    -- SQLite Memory Statistics --
    Memory Usage:
    		[Cur]		[Max]
    Malloc:		8115168		73210400
    PageCache:	6		13
    LookAside:	0		0
    Scratch:	0		1
    
    Static Buffer Overflows:
    		[TooLarge]	[NoSpace]
    PageCache:	7688688		60544008
    Scratch:	0		0
    
    Largest Allocations:
    Malloc:		262144
    PageCache:	1172
    Scratch:	6640
    
    Prepared Statements:
    Current:		8
    ------------------------------
    

    I will try and see what the remaining units have in common that might be missing. Thanks a lot for your help so far :)
     
  13. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,301
    Location:
    Near Portsmouth, UK
    The "missing entry" lines after the "Validating UnitGameplay2DScripts" line are non-fatal and can be ignored (as Firaxis do for the UNIT_BARBARIAN_HORSEMAN and UNIT_MONGOLIAN_KHAN entries)

    All it means is that you are missing entries like the following for each of your new units

    Code:
    <UnitGameplay2DScripts>
    	<Row>
    		<UnitType>UNIT_VIKING_LONGBOAT</UnitType>
    		<SelectionSound>AS2D_SELECT_TRIREME</SelectionSound>
    		<FirstSelectionSound>AS2D_BIRTH_TRIREME</FirstSelectionSound>
    	</Row>
    </UnitGameplay2DScripts>
    
     
  14. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    That's strange, I've never had to give new units selection sounds before... but I'll try doing it. Thanks :)

    Edit: Misunderstood. Just saw you said this wasn't fatal.
     
  15. Frossa

    Frossa Chieftain

    Joined:
    Apr 29, 2012
    Messages:
    408
    Gender:
    Male
    Location:
    Sweden
    I really need a solution for this problem now. The Localization log looks like this still:
    Spoiler :
    Code:
    [8888.094] WRN: A resource bundle lookup returned a result from the root locale (not an error).
    [9246.475] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.475] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.475] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.475] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.522] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.522] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.522] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.522] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.538] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.538] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.538] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.538] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.553] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.553] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.553] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.553] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.553] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.553] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.553] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.553] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.569] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.569] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.569] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.569] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.584] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.584] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.584] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.584] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.584] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.584] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.584] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.584] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.600] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.600] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.600] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.600] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.616] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.616] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.616] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.616] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    [9246.662] ERR: Missing argument 1. ({1_Amount} with {2_Cause})
    [9246.662] ERR: Failed to evaluate parameter 1. {1_Amount} with {2_Cause}
    [9246.662] ERR: Missing argument 1. (No bonus from {1_Cause})
    [9246.662] ERR: Failed to evaluate parameter 1. No bonus from {1_Cause}
    


    And this is a small excerpt from the Database.log, stating all the invalid references due to the massive amounts of techs and buildings I removed. I assume this doesn't have any direct bad effect... right?
    Spoiler :
    Code:
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_PRINTING_PRESS" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_NAVIGATION" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ARCHITECTURE" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ECONOMICS" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ARCHITECTURE" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ECONOMICS" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_CHEMISTRY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_METALLURGY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_CHEMISTRY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ECONOMICS" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_METALLURGY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ARCHAEOLOGY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_SCIENTIFIC_THEORY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_RIFLING" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_INDUSTRIALIZATION" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_SCIENTIFIC_THEORY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_SCIENTIFIC_THEORY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_STEAM_POWER" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ELECTRICITY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_STEAM_POWER" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_DYNAMITE" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_FERTILIZER" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_MILITARY_SCIENCE" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ELECTRICITY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_BIOLOGY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_ELECTRICITY" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_STEAM_POWER" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_RAILROAD" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_FLIGHT" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_RAILROAD" does not exist in Technologies
    [9042.036] Invalid Reference on Technology_PrereqTechs.PrereqTech - "TECH_RADIO" does not exist in Technologies
     

Share This Page