TechpriestEnginseer / Community-Patch-Events-Development

If you are interested in joining or have any issues. Leave me a PM or post in the issue tab.
GNU General Public License v3.0
2 stars 2 forks source link

Are Hokath's events the wrong fortmat? #26

Closed biship closed 8 years ago

biship commented 8 years ago

I integrated all his events into the mod, but many of them error:

[2088.093] In XMLSerializer while inserting row into table insert into Language_en_US('Tag', 'Text') with values (TXT_KEY_EUI_UNIT_MOVEAFTERPURCHASE, Can move after purchase, ). [2088.093] In XMLSerializer while updating table Language_en_US from file EUI/EUI_text_en_us.xml. [2088.109] columns Language, Tag are not unique [2089.781] columns Language, Tag are not unique [2089.781] While executing - 'insert into Language_en_US('Tag', 'Text') values (?, ?);' [2089.781] In XMLSerializer while inserting row into table insert into Language_en_US('Tag', 'Text') with values (TXT_KEY_PROMOTION_UE_VIENNA_RELIEF, Sun Never Sets, ). [2089.781] In XMLSerializer while updating table Language_en_US from file XML/England.xml. [2089.796] columns Language, Tag are not unique [2093.500] column Type is not unique [2093.500] While executing - 'insert into CityEvents('Type', 'Description', 'Help', 'NumChoices', 'RandomChance', 'RandomChanceDelta', 'IsOneShot', 'EventCooldown', 'NearbyFeature') values (?, ?, ?, ?, ?, ?, ?, ?, ?);' [2093.500] In XMLSerializer while inserting row into table insert into CityEvents('Type', 'Description', 'Help', 'NumChoices', 'RandomChance', 'RandomChanceDelta', 'IsOneShot', 'EventCooldown', 'NearbyFeature') with values (CITY_EVENT_NW_BARRINGER_CRATER, TXT_KEY_CITY_EVENT_NW_BARRINGER_CRATER_DESCRIPTION, TXT_KEY_CITY_EVENT_NW_BARRINGER_CRATER_HELP, 4, 50, 30, 0, 30, FEATURE_CRATER, ). [2093.500] In XMLSerializer while updating table CityEvents from file XML/BarringerCrater.xml. [2093.500] column Type is not unique [2093.515] column Type is not unique [2093.515] While executing - 'insert into CityEvents('Type', 'Description', 'Help', 'NumChoices', 'RandomChance', 'RandomChanceDelta', 'IsOneShot', 'EventCooldown', 'NearbyFeature') values (?, ?, ?, ?, ?, ?, ?, ?, ?);' [2093.515] In XMLSerializer while inserting row into table insert into CityEvents('Type', 'Description', 'Help', 'NumChoices', 'RandomChance', 'RandomChanceDelta', 'IsOneShot', 'EventCooldown', 'NearbyFeature') with values (CITY_EVENT_NW_EL_DORADO, TXT_KEY_CITY_EVENT_NW_EL_DORADO_DESCRIPTION, TXT_KEY_CITY_EVENT_NW_EL_DORADO_HELP, 4, 50, 15, 0, 30, FEATURE_EL_DORADO, ). [2093.515] In XMLSerializer while updating table CityEvents from file XML/ElDorado.xml. [2093.515] column Type is not unique [2093.515] column Type is not unique [2093.515] While executing - 'insert into CityEvents('Type', 'Description', 'Help', 'NumChoices', 'RandomChance', 'RandomChanceDelta', 'IsOneShot', 'EventCooldown', 'NearbyFeature', 'RequiredNoActiveCityEventChoice') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?);' [2093.515] In XMLSerializer while inserting row into table insert into CityEvents('Type', 'Description', 'Help', 'NumChoices', 'RandomChance', 'RandomChanceDelta', 'IsOneShot', 'EventCooldown', 'NearbyFeature', 'RequiredNoActiveCityEventChoice') with values (CITY_EVENT_NW_FOUNTAIN_YOUTH, TXT_KEY_CITY_EVENT_NW_FOUNTAIN_YOUTH_DESCRIPTION, TXT_KEY_CITY_EVENT_NW_FOUNTAIN_YOUTH_HELP, 4, 50, 15, 0, 30, FEATURE_FOUNTAIN_YOUTH, CITY_EVENT_NW_FOUNTAIN_YOUTH_CHOICE_3, ). [2093.515] In XMLSerializer while updating table CityEvents from file XML/FountainOfYouth.xml. [2093.515] column Type is not unique [2093.515] column Type is not unique

biship commented 8 years ago

I only have one XML, with one CITY_EVENT_NW_BARRINGER_CRATER, so i dont know why it doesn't think it's unique.

TechpriestEnginseer commented 8 years ago

It's saying you have duplicate entries. Maybe you should wait for version 2 of the release no?

Hokath commented 8 years ago

The only error I can explain is the (TXT_KEY_PROMOTION_UE_VIENNA_RELIEF, Sun Never Sets, ), which I have fixed yesterday(?) if you redownload the England.xml file

Rest must be your doing, no idea

biship commented 8 years ago

Ah, I have some of the XML's twice in the modinfo. Thanks for the help!