diff --git a/changelog.txt b/changelog.txt index 85ac6c97a..073827861 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Uleat: Fixed a few glitches related to bot trading and other affected code - Return messages no longer repeat the top cursor item when multiple items are pushed there - Test slot for client returns is now handled appropriately for parent and bag searches - FindFreeSlotForTradeItem() now begins at the correct bag index on subsequent parent iterations +Uleat: First step of implementing inventory v2.0 == 03/08/2017 == Uleat: Complete rework of the bot trading system diff --git a/common/version.h b/common/version.h index 1eb98558f..60d594dea 100644 --- a/common/version.h +++ b/common/version.h @@ -30,7 +30,7 @@ Manifest: https://github.com/EQEmu/Server/blob/master/utils/sql/db_update_manifest.txt */ -#define CURRENT_BINARY_DATABASE_VERSION 9106 +#define CURRENT_BINARY_DATABASE_VERSION 9107 #ifdef BOTS #define CURRENT_BINARY_BOTS_DATABASE_VERSION 9015 #else diff --git a/utils/sql/db_update_manifest.txt b/utils/sql/db_update_manifest.txt index c21d00951..428fd52c8 100644 --- a/utils/sql/db_update_manifest.txt +++ b/utils/sql/db_update_manifest.txt @@ -360,6 +360,7 @@ 9104|2017_02_09_npc_spells_entries_type_update.sql|SHOW COLUMNS IN `npc_spells_entries` LIKE `type`|contains|smallint(5) unsigned 9105|2017_02_15_bot_spells_entries.sql|SELECT `id` FROM `npc_spells_entries` WHERE `npc_spells_id` >= 701 AND `npc_spells_id` <= 712|not_empty| 9106|2017_02_26_npc_spells_update_for_bots.sql|SELECT * FROM `npc_spells` WHERE `id` = '701' AND `name` = 'Cleric Bot'|not_empty| +9107|2017_03_09_inventory_version.sql|SHOW TABLES LIKE 'inventory_version'|empty| # Upgrade conditions: # This won't be needed after this system is implemented, but it is used database that are not diff --git a/utils/sql/git/required/2017_03_09_inventory_version.sql b/utils/sql/git/required/2017_03_09_inventory_version.sql new file mode 100644 index 000000000..37ef38548 --- /dev/null +++ b/utils/sql/git/required/2017_03_09_inventory_version.sql @@ -0,0 +1,11 @@ +DROP TABLE IF EXISTS `inventory_version`; + +CREATE TABLE `inventory_version` ( + `version` INT(11) UNSIGNED NOT NULL DEFAULT '0', + `step` INT(11) UNSIGNED NOT NULL DEFAULT '0' +) +COLLATE='latin1_swedish_ci' +ENGINE=MyISAM +; + +INSERT INTO `inventory_version` VALUES (2, 0);