1.) I've been making a mod recently and I'm been trying to make the Civ's Unique Unit to not replace any unit. I've got problems making it work. I looked into the database logs and it looks like I messed up.
I can't upload my mod, so here's a link from Mediafire.
http://www.mediafire.com/download/j3i3c07scfucciu/Spongebob_Squarepants_Plankton_and_the_Chum_Bucket_Civilization_(v_1).rar
2.) I'm thinking to add a new part to my Civ's Unique Trait. Is it possible to increase spying effectiveness by XML or with a dummy building? I'm not a expert with Lua, btw.
Database:
XML:
I can't upload my mod, so here's a link from Mediafire.
http://www.mediafire.com/download/j3i3c07scfucciu/Spongebob_Squarepants_Plankton_and_the_Chum_Bucket_Civilization_(v_1).rar
2.) I'm thinking to add a new part to my Civ's Unique Trait. Is it possible to increase spying effectiveness by XML or with a dummy building? I'm not a expert with Lua, btw.
Database:
Spoiler :
[17667.394] columns StrategicViewType, TileType are not unique
[17667.394] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[17671.387] no such table: ContentPackage.LocalizedText
[17671.387] no such table: ContentPackage.LocalizedText
[17671.387] no such table: ContentPackage.LocalizedText
[17673.446] no such table: ContentPackage.LocalizedText
[17676.223] columns StrategicViewType, TileType are not unique
[17676.223] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[17677.502] no such table: ContentPackage.LocalizedText
[17677.502] no such table: ContentPackage.LocalizedText
[17677.502] no such table: ContentPackage.LocalizedText
[17685.895]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8555088 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8133216 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17686.784]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8556264 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8134392 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17771.150] table Units has no column named UnitClassType
[17771.150]
[17771.150] In XMLSerializer while updating table Units from file XML/Units.xml.
[17773.739]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8640968 78221896
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8214360 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 8
------------------------------
[17792.272] no such column: Type
[17792.272] In Query - select * from Natural_Wonder_Placement where Type = ? LIMIT 1
[17667.394] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[17671.387] no such table: ContentPackage.LocalizedText
[17671.387] no such table: ContentPackage.LocalizedText
[17671.387] no such table: ContentPackage.LocalizedText
[17673.446] no such table: ContentPackage.LocalizedText
[17676.223] columns StrategicViewType, TileType are not unique
[17676.223] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[17677.502] no such table: ContentPackage.LocalizedText
[17677.502] no such table: ContentPackage.LocalizedText
[17677.502] no such table: ContentPackage.LocalizedText
[17685.895]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8555088 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8133216 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17686.784]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8556264 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8134392 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17771.150] table Units has no column named UnitClassType
[17771.150]
[17771.150] In XMLSerializer while updating table Units from file XML/Units.xml.
[17773.739]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8640968 78221896
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8214360 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 8
------------------------------
[17792.272] no such column: Type
[17792.272] In Query - select * from Natural_Wonder_Placement where Type = ? LIMIT 1
XML:
Spoiler :
[17685.022] *** SKIPPING Game Database Validation. ****
[17685.022] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[17685.895] **** Validating Prefetch Process *****
[17685.895] **** Validation Success *****
[17685.895] SetGlobalActionInfo
[17685.895]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8555088 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8133216 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17685.942] *** SKIPPING Game Database Validation. ****
[17685.942] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[17686.784] **** Validating Prefetch Process *****
[17686.784] **** Validation Success *****
[17686.784] SetGlobalActionInfo
[17686.784]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8556264 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8134392 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17772.835] *** SKIPPING Game Database Validation. ****
[17772.835] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[17773.739] **** Validating Prefetch Process *****
[17773.739] **** Validation Success *****
[17773.739] SetGlobalActionInfo
[17773.739]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8640968 78221896
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8214360 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 8
------------------------------
[17685.022] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[17685.895] **** Validating Prefetch Process *****
[17685.895] **** Validation Success *****
[17685.895] SetGlobalActionInfo
[17685.895]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8555088 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8133216 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17685.942] *** SKIPPING Game Database Validation. ****
[17685.942] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[17686.784] **** Validating Prefetch Process *****
[17686.784] **** Validation Success *****
[17686.784] SetGlobalActionInfo
[17686.784]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8556264 78221896
PageCache: 6 12
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8134392 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 6
------------------------------
[17772.835] *** SKIPPING Game Database Validation. ****
[17772.835] You can enable it by setting 'ValidateGameDatabase = 1' in config.ini
[17773.739] **** Validating Prefetch Process *****
[17773.739] **** Validation Success *****
[17773.739] SetGlobalActionInfo
[17773.739]
-- SQLite Memory Statistics --
Memory Usage:
[Cur] [Max]
Malloc: 8640968 78221896
PageCache: 7 13
LookAside: 0 0
Scratch: 0 1
Static Buffer Overflows:
[TooLarge] [NoSpace]
PageCache: 8214360 65347968
Scratch: 0 0
Largest Allocations:
Malloc: 262144
PageCache: 1172
Scratch: 6664
Prepared Statements:
Current: 8
------------------------------