This commit is contained in:
22
trunk/dist/sql/game/updates/20080107update.sql
vendored
Normal file
22
trunk/dist/sql/game/updates/20080107update.sql
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
ALTER TABLE `characters` DROP `acc`;
|
||||
ALTER TABLE `characters` DROP `crit`;
|
||||
ALTER TABLE `characters` DROP `evasion`;
|
||||
ALTER TABLE `characters` DROP `mAtk`;
|
||||
ALTER TABLE `characters` DROP `mDef`;
|
||||
ALTER TABLE `characters` DROP `mSpd`;
|
||||
ALTER TABLE `characters` DROP `pAtk`;
|
||||
ALTER TABLE `characters` DROP `pDef`;
|
||||
ALTER TABLE `characters` DROP `pSpd`;
|
||||
ALTER TABLE `characters` DROP `runSpd`;
|
||||
ALTER TABLE `characters` DROP `walkSpd`;
|
||||
ALTER TABLE `characters` DROP `str`;
|
||||
ALTER TABLE `characters` DROP `con`;
|
||||
ALTER TABLE `characters` DROP `dex`;
|
||||
ALTER TABLE `characters` DROP `_int`;
|
||||
ALTER TABLE `characters` DROP `men`;
|
||||
ALTER TABLE `characters` DROP `wit`;
|
||||
ALTER TABLE `characters` DROP `movement_multiplier`;
|
||||
ALTER TABLE `characters` DROP `attack_speed_multiplier`;
|
||||
ALTER TABLE `characters` DROP `colRad`;
|
||||
ALTER TABLE `characters` DROP `colHeight`;
|
||||
ALTER TABLE `characters` DROP `maxload`;
|
||||
1
trunk/dist/sql/game/updates/20080128update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20080128update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` ADD `transform_id` int(8) NOT NULL DEFAULT 0 AFTER `base_class`;
|
||||
56
trunk/dist/sql/game/updates/20080218update.sql
vendored
Normal file
56
trunk/dist/sql/game/updates/20080218update.sql
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
ALTER TABLE characters MODIFY `account_name` VARCHAR(45) DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `obj_Id` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `char_name` VARCHAR(35) NOT NULL;
|
||||
ALTER TABLE characters MODIFY `level` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `maxHp` MEDIUMINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `curHp` MEDIUMINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `maxCp` MEDIUMINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `curCp` MEDIUMINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `maxMp` MEDIUMINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `curMp` MEDIUMINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `face` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `hairStyle` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `hairColor` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `sex` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `heading` MEDIUMINT DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `x` MEDIUMINT DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `y` MEDIUMINT DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `z` MEDIUMINT DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `exp` BIGINT UNSIGNED DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `expBeforeDeath` BIGINT UNSIGNED DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `sp` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `karma` INT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `pvpkills` SMALLINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `pkkills` SMALLINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `clanid` INT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `race` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `classid` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `base_class` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `transform_id` SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `deletetime` BIGINT DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `cancraft` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `title` VARCHAR(16) DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `rec_have` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `rec_left` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `accesslevel` MEDIUMINT DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `online` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `onlinetime` INT DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `char_slot` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `newbie` MEDIUMINT UNSIGNED DEFAULT 1;
|
||||
ALTER TABLE characters MODIFY `lastAccess` BIGINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `clan_privs` MEDIUMINT UNSIGNED DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `wantspeace` TINYINT UNSIGNED DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `isin7sdungeon` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `in_jail` TINYINT UNSIGNED DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `jail_timer` INT UNSIGNED DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `power_grade` TINYINT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE characters MODIFY `nobless` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `subpledge` SMALLINT NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `last_recom_date` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `lvl_joined_academy` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `apprentice` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `sponsor` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `varka_ketra_ally` TINYINT NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `clan_join_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `clan_create_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE characters MODIFY `death_penalty_level` SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
8
trunk/dist/sql/game/updates/20080316update.sql
vendored
Normal file
8
trunk/dist/sql/game/updates/20080316update.sql
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
UPDATE grandboss_list SET zone = 12000 WHERE zone = 'LairofZaken';
|
||||
UPDATE grandboss_list SET zone = 12001 WHERE zone = 'LairofAntharas';
|
||||
UPDATE grandboss_list SET zone = 12002 WHERE zone = 'LairofBaium';
|
||||
UPDATE grandboss_list SET zone = 12003 WHERE zone = 'LairofAnakim';
|
||||
UPDATE grandboss_list SET zone = 12003 WHERE zone = 'LairofLilith';
|
||||
UPDATE grandboss_list SET zone = 12010 WHERE zone = 'LairofValakas';
|
||||
UPDATE grandboss_list SET zone = 12014 WHERE zone = 'AltarofSacrifice';
|
||||
ALTER TABLE grandboss_list MODIFY zone decimal(11,0) NOT NULL;
|
||||
2
trunk/dist/sql/game/updates/20080404update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20080404update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE items DROP COLUMN price_sell;
|
||||
ALTER TABLE items DROP COLUMN price_buy;
|
||||
3
trunk/dist/sql/game/updates/20080419update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20080419update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `fort` DROP `siegeDayOfWeek`;
|
||||
ALTER TABLE `fort` DROP `siegeHourOfDay`;
|
||||
ALTER TABLE `fort` ADD `lastOwnedTime` DECIMAL(20,0) DEFAULT '0' NOT NULL AFTER `siegeDate`;
|
||||
3
trunk/dist/sql/game/updates/20080429update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20080429update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `clan_subpledges` ADD COLUMN `leader_id` INTEGER NOT NULL DEFAULT 0;
|
||||
UPDATE `clan_subpledges` , `characters` SET clan_subpledges.leader_id = characters.obj_id WHERE clan_subpledges.leader_name = characters.char_name;
|
||||
ALTER TABLE `clan_subpledges` DROP COLUMN `leader_name`;
|
||||
17
trunk/dist/sql/game/updates/20080505update.sql
vendored
Normal file
17
trunk/dist/sql/game/updates/20080505update.sql
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
ALTER TABLE `characters` CHANGE `obj_Id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_quests` CHANGE `char_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_recipebook` CHANGE `char_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_hennas` CHANGE `char_obj_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_macroses` CHANGE `char_obj_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_shortcuts` CHANGE `char_obj_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_subclasses` CHANGE `char_obj_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_skills` CHANGE `char_obj_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_skills_save` CHANGE `char_obj_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
|
||||
ALTER TABLE `character_friends` CHANGE `char_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `character_friends` CHANGE `friend_id` `friendId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
|
||||
ALTER TABLE `cursed_weapons` CHANGE `playerId` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `heroes` CHANGE `char_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `olympiad_nobles` CHANGE `char_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `seven_signs` CHANGE `char_obj_id` `charId` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
14
trunk/dist/sql/game/updates/20080517update.sql
vendored
Normal file
14
trunk/dist/sql/game/updates/20080517update.sql
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
ALTER TABLE `access_levels` CHANGE `access_level` `accessLevel` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `name_color` `nameColor` CHAR(6);
|
||||
ALTER TABLE `access_levels` CHANGE `title_color` `titleColor` CHAR(6);
|
||||
ALTER TABLE `access_levels` CHANGE `child_access` `childAccess` VARCHAR(255);
|
||||
ALTER TABLE `access_levels` CHANGE `is_gm` `isGm` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `allow_peace_attack` `allowPeaceAttack` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `allow_fixed_res` `allowFixedRes` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `allow_transaction` `allowTransaction` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `allow_altg` `allowAltg` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `give_damage` `giveDamage` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `take_aggro` `takeAggro` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `access_levels` CHANGE `gain_exp` `gainExp` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `admin_command_access_rights` CHANGE `admin_command` `adminCommand` VARCHAR(255);
|
||||
ALTER TABLE `admin_command_access_rights` CHANGE `access_levels` `accessLevels` VARCHAR(255);
|
||||
4
trunk/dist/sql/game/updates/20080611update.sql
vendored
Normal file
4
trunk/dist/sql/game/updates/20080611update.sql
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
update clanhall set lease=0 where Grade=0;
|
||||
update clanhall set lease=200000 where Grade=1;
|
||||
update clanhall set lease=500000 where Grade=2;
|
||||
update clanhall set lease=1000000 where Grade=3;
|
||||
12
trunk/dist/sql/game/updates/20080614update.sql
vendored
Normal file
12
trunk/dist/sql/game/updates/20080614update.sql
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
ALTER TABLE `custom_armorsets` ADD `skill_lvl` TINYINT UNSIGNED NOT NULL DEFAULT 0 AFTER `skill_id`;
|
||||
ALTER TABLE `custom_armorsets` MODIFY id SMALLINT UNSIGNED NOT NULL auto_increment;
|
||||
ALTER TABLE `custom_armorsets` MODIFY chest SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY legs SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY head SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY gloves SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY feet SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY skill_id SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY skill_lvl TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY shield SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY shield_skill_id SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `custom_armorsets` MODIFY enchant6skill SMALLINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
2
trunk/dist/sql/game/updates/20080626update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20080626update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE character_skills MODIFY `skill_level` INT(3) NOT NULL DEFAULT 1;
|
||||
ALTER TABLE character_skills_save MODIFY `skill_level` INT(3) NOT NULL DEFAULT 1;
|
||||
3
trunk/dist/sql/game/updates/20080714update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20080714update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `custom_npc` MODIFY mp decimal(6,0) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY rhand decimal(5,0) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY lhand decimal(5,0) DEFAULT NULL;
|
||||
1
trunk/dist/sql/game/updates/20080727update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20080727update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `custom_npc` ADD `drop_herbs` int(1) DEFAULT 0 AFTER `AI`;
|
||||
1
trunk/dist/sql/game/updates/20080816update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20080816update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `character_skills_save` ADD `systime` BIGINT UNSIGNED NOT NULL AFTER `reuse_delay`;
|
||||
1
trunk/dist/sql/game/updates/20080817update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20080817update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `custom_npc` MODIFY `drop_herbs` enum('true','false') DEFAULT 'false' NOT NULL;
|
||||
4
trunk/dist/sql/game/updates/20080917update.sql
vendored
Normal file
4
trunk/dist/sql/game/updates/20080917update.sql
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `castle` DROP COLUMN `siegeDayOfWeek`;
|
||||
ALTER TABLE `castle` DROP COLUMN `siegeHourOfDay`;
|
||||
ALTER TABLE `castle` ADD `regTimeOver` enum('true','false') DEFAULT 'true' NOT NULL AFTER `siegeDate`;
|
||||
ALTER TABLE `castle` ADD `regTimeEnd` DECIMAL(20,0) NOT NULL DEFAULT 0 AFTER `regTimeOver`;
|
||||
13
trunk/dist/sql/game/updates/20080920update.sql
vendored
Normal file
13
trunk/dist/sql/game/updates/20080920update.sql
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
-- DELETE INCORRECT DEATH SPIKE SKILLS
|
||||
DELETE FROM character_skills WHERE skill_id = 1148 AND class_index = 0 AND charid IN ( SELECT charid FROM characters WHERE base_class IN (41, 111));
|
||||
DELETE FROM character_skills WHERE skill_id = 1148 AND class_index = 1 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (41, 111) AND class_index = 1);
|
||||
DELETE FROM character_skills WHERE skill_id = 1148 AND class_index = 2 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (41, 111) AND class_index = 2);
|
||||
DELETE FROM character_skills WHERE skill_id = 1148 AND class_index = 3 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (41, 111) AND class_index = 3);
|
||||
|
||||
-- DELETE INCORRECT DEATH SPIKE SHORTCUTS
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1148 AND class_index = 0 AND charid IN ( SELECT charid FROM characters WHERE base_class IN (41, 111));
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1148 AND class_index = 1 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (41, 111) AND class_index = 1);
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1148 AND class_index = 2 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (41, 111) AND class_index = 2);
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1148 AND class_index = 3 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (41, 111) AND class_index = 3);
|
||||
|
||||
update `character_quests` set `value`='Start' WHERE `name`='637_ThroughOnceMore' AND `var`='<state>' AND `value`='Completed';
|
||||
2
trunk/dist/sql/game/updates/20081004update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20081004update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
INSERT INTO item_attributes (itemId, augAttributes, augSkillId, augSkillLevel) (SELECT * from augmentations);
|
||||
DROP TABLE IF EXISTS augmentations;
|
||||
35
trunk/dist/sql/game/updates/20081227update.sql
vendored
Normal file
35
trunk/dist/sql/game/updates/20081227update.sql
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
-- DELETE INCORRECT SMART CUBIC SKILLS
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 96 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 96 and class_index = 1 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 96 and class_index = 2 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 96 and class_index = 3 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 104 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 104 and class_index = 1);
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 104 and class_index = 2);
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 104 and class_index = 3);
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 106 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 106 and class_index = 1 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 106 and class_index = 2 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 106 and class_index = 3 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 111 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 111 and class_index = 1 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 111 and class_index = 2 );
|
||||
DELETE FROM character_skills where skill_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 111 and class_index = 3 );
|
||||
|
||||
-- DELETE INCORRECT SMART CUBIC SHORTCUTS
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 96 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 96 and class_index = 1 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 96 and class_index = 2 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 96 and class_index = 3 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 104 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 104 and class_index = 1);
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 104 and class_index = 2);
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 104 and class_index = 3);
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 106 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 106 and class_index = 1 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 106 and class_index = 2 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 106 and class_index = 3 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 0 and charid in ( select charid from characters where base_class = 111 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 1 and charid in ( select charid from character_subclasses where class_id = 111 and class_index = 1 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 2 and charid in ( select charid from character_subclasses where class_id = 111 and class_index = 2 );
|
||||
DELETE FROM character_shortcuts where shortcut_id = 779 and class_index = 3 and charid in ( select charid from character_subclasses where class_id = 111 and class_index = 3 );
|
||||
4
trunk/dist/sql/game/updates/20090118update.sql
vendored
Normal file
4
trunk/dist/sql/game/updates/20090118update.sql
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `characters` CHANGE `in_jail` `punish_level` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `characters` CHANGE `jail_timer` `punish_timer` INT UNSIGNED NOT NULL DEFAULT 0;
|
||||
UPDATE `admin_command_access_rights` SET `adminCommand` = 'admin_ban_chat' WHERE `adminCommand` = 'admin_banchat';
|
||||
UPDATE `admin_command_access_rights` SET `adminCommand` = 'admin_unban_chat' WHERE `adminCommand` = 'admin_unbanchat';
|
||||
9
trunk/dist/sql/game/updates/20090131update.sql
vendored
Normal file
9
trunk/dist/sql/game/updates/20090131update.sql
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
ALTER TABLE `fort` ADD COLUMN `fortType` int(1) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `fort` ADD COLUMN `state` int(1) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `fort` ADD COLUMN `castleId` int(1) NOT NULL DEFAULT 0;
|
||||
UPDATE `fort` SET `fortType` = '1' WHERE id IN (102,104,107,109,110,112,113,116,117,118);
|
||||
ALTER TABLE `fortsiege_clans` DROP `type`;
|
||||
ALTER TABLE `fortsiege_clans` DROP `fort_owner`;
|
||||
DROP TABLE IF EXISTS `fort_door`;
|
||||
UPDATE `fort` SET `name`='Swamp' WHERE id = 110;
|
||||
UPDATE `fort` SET `name`='Cloud Mountain' WHERE id = 113;
|
||||
4
trunk/dist/sql/game/updates/20090208update.sql
vendored
Normal file
4
trunk/dist/sql/game/updates/20090208update.sql
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `olympiad_nobles` DROP COLUMN `char_name`;
|
||||
ALTER TABLE `olympiad_nobles` ADD COLUMN `competitions_won` decimal(3,0) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `olympiad_nobles` ADD COLUMN `competitions_lost` decimal(3,0) NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `olympiad_nobles` ADD COLUMN `competitions_drawn` decimal(3,0) NOT NULL DEFAULT 0;
|
||||
5
trunk/dist/sql/game/updates/20090304update.sql
vendored
Normal file
5
trunk/dist/sql/game/updates/20090304update.sql
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE `pets` DROP `karma`;
|
||||
ALTER TABLE `pets` DROP `pkkills`;
|
||||
ALTER TABLE `pets` ADD `weapon` int(5) NOT NULL DEFAULT 0 AFTER `fed`;
|
||||
ALTER TABLE `pets` ADD `armor` int(5) NOT NULL DEFAULT 0 AFTER `weapon`;
|
||||
ALTER TABLE `pets` ADD `jewel` int(5) NOT NULL DEFAULT 0 AFTER `armor`;
|
||||
2
trunk/dist/sql/game/updates/20090305update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20090305update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `grandboss_list` DROP PRIMARY KEY;
|
||||
ALTER TABLE `grandboss_list` ADD PRIMARY KEY (`player_id`,`zone`);
|
||||
1
trunk/dist/sql/game/updates/20090331update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090331update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` ADD `fame` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0 AFTER `karma`;
|
||||
2
trunk/dist/sql/game/updates/20090412update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20090412update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `items` DROP `time_left`;
|
||||
alter table `items` add `time` decimal NOT NULL DEFAULT 0 after `mana_left`;
|
||||
2
trunk/dist/sql/game/updates/20090424update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20090424update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `items` MODIFY `count` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `itemsonground` MODIFY `count` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
1
trunk/dist/sql/game/updates/20090504update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090504update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
alter table `fort` add `blood` int(3) NOT NULL DEFAULT 0 after `castleId`;
|
||||
1
trunk/dist/sql/game/updates/20090507update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090507update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
delete from character_skills where skill_id in (426,427);
|
||||
1
trunk/dist/sql/game/updates/20090510update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090510update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` add `bookmarkslot` int(5) NOT NULL DEFAULT '0' after `death_penalty_level`;
|
||||
1
trunk/dist/sql/game/updates/20090518update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090518update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE character_recipebook ADD `classIndex` TINYINT NOT NULL DEFAULT 0 AFTER id;
|
||||
1
trunk/dist/sql/game/updates/20090519update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090519update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `items` MODIFY `time` decimal(13) NOT NULL DEFAULT 0;
|
||||
1
trunk/dist/sql/game/updates/20090705update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090705update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `items` MODIFY `mana_left` decimal(5) NOT NULL DEFAULT 0;
|
||||
1
trunk/dist/sql/game/updates/20090710update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090710update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `castle` MODIFY `treasury` BIGINT NOT NULL DEFAULT 0;
|
||||
2
trunk/dist/sql/game/updates/20090807update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20090807update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `character_skills` DROP `skill_name`;
|
||||
ALTER TABLE `heroes` DROP `char_name`;
|
||||
1
trunk/dist/sql/game/updates/20090824update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20090824update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` ADD `vitality_points` SMALLINT UNSIGNED NOT NULL DEFAULT 0 AFTER `bookmarkslot`;
|
||||
3
trunk/dist/sql/game/updates/20090901update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20090901update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `custom_armorsets` DROP `skill_id`;
|
||||
ALTER TABLE `custom_armorsets` DROP `skill_lvl`;
|
||||
ALTER TABLE `custom_armorsets` ADD `skill` VARCHAR(70) NOT NULL DEFAULT '0-0;' AFTER `feet`;
|
||||
2
trunk/dist/sql/game/updates/20090916update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20090916update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `character_recipebook` DROP PRIMARY KEY;
|
||||
ALTER TABLE `character_recipebook` ADD PRIMARY KEY (`id`,`charId`,`classIndex`);
|
||||
4
trunk/dist/sql/game/updates/20090921update.sql
vendored
Normal file
4
trunk/dist/sql/game/updates/20090921update.sql
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
UPDATE character_subclasses SET class_id=128 WHERE class_id=129 AND charId IN (SELECT charId FROM characters where race=5 AND sex=1); -- female main -> male soulbreaker sub
|
||||
UPDATE character_subclasses SET class_id=129 WHERE class_id=128 AND charId IN (SELECT charId FROM characters where race=5 AND sex=0); -- male main -> female soulbreaker sub
|
||||
UPDATE character_subclasses SET class_id=132 WHERE class_id=133 AND charId IN (SELECT charId FROM characters where race=5 AND sex=1); -- female main -> male soulhound sub
|
||||
UPDATE character_subclasses SET class_id=133 WHERE class_id=132 AND charId IN (SELECT charId FROM characters where race=5 AND sex=0); -- male main -> female soulhound sub
|
||||
1
trunk/dist/sql/game/updates/20091014update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091014update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `character_quests` SET `value`=1 WHERE (`name`='606_WarWithVarkaSilenos' AND `var`='cond' AND `value` > 1);
|
||||
1
trunk/dist/sql/game/updates/20091118update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091118update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `castle` ADD `showNpcCrest` enum('true','false') DEFAULT 'false' NOT NULL AFTER `regTimeEnd`;
|
||||
1
trunk/dist/sql/game/updates/20091202update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091202update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` ADD `createTime` DECIMAL(20,0) NOT NULL DEFAULT '0' AFTER `vitality_points`;
|
||||
1
trunk/dist/sql/game/updates/20091207update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091207update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` ADD `title_color` MEDIUMINT UNSIGNED NOT NULL DEFAULT '16777079' AFTER `title`;
|
||||
3
trunk/dist/sql/game/updates/20091208update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20091208update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `character_friends` DROP PRIMARY KEY;
|
||||
ALTER TABLE `character_friends` ADD PRIMARY KEY (`charId`, `friendId`);
|
||||
ALTER TABLE `character_friends` DROP column `friend_name`;
|
||||
1
trunk/dist/sql/game/updates/20091209update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091209update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `character_friends` ADD `relation` INT UNSIGNED NOT NULL DEFAULT 0 AFTER `friendId`;
|
||||
1
trunk/dist/sql/game/updates/20091210update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091210update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `custom_npc` ADD `enchant` INT NOT NULL DEFAULT 0 after `armor`;
|
||||
1
trunk/dist/sql/game/updates/20091216update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091216update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `items` SET `loc` = 'WAREHOUSE' WHERE `loc` = 'FREIGHT';
|
||||
1
trunk/dist/sql/game/updates/20091224update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20091224update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `raidboss_spawnlist` WHERE `boss_id` IN (25140,25162,25467,25490,25514);
|
||||
2
trunk/dist/sql/game/updates/20100107update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100107update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `custom_npc` CHANGE `ss` `soulshot_count` int(4) DEFAULT 0;
|
||||
ALTER TABLE `custom_npc` CHANGE `bss` `spiritshot_count` int(4) DEFAULT 0;
|
||||
2
trunk/dist/sql/game/updates/20100110update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100110update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `seven_signs_status` MODIFY `date` decimal(20,0) NOT NULL DEFAULT 0;
|
||||
-- UPDATE `seven_signs_status` SET `date` = UNIX_TIMESTAMP() * 1000;
|
||||
3
trunk/dist/sql/game/updates/20100126update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20100126update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `soulshot_count`;
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `spiritshot_count`;
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `ss_rate`;
|
||||
3
trunk/dist/sql/game/updates/20100127update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20100127update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `faction_id`;
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `faction_range`;
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `AI`;
|
||||
3
trunk/dist/sql/game/updates/20100209update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20100209update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
DELETE FROM `character_quests` WHERE `name`='376_GiantsExploration1' AND `var`='progress';
|
||||
DELETE FROM `character_quests` WHERE `name`='376_GiantsExploration1' AND `var`='awaitBook';
|
||||
UPDATE `character_quests` SET `value`='1' WHERE `name`='376_GiantsExploration1' AND `var`='cond' AND `value`>'1';
|
||||
2
trunk/dist/sql/game/updates/20100217update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100217update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `raidboss_spawnlist` DROP PRIMARY KEY;
|
||||
ALTER TABLE `raidboss_spawnlist` ADD PRIMARY KEY (`boss_id`);
|
||||
4
trunk/dist/sql/game/updates/20100306update.sql
vendored
Normal file
4
trunk/dist/sql/game/updates/20100306update.sql
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `auction_bid` MODIFY `maxBid` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `auction` MODIFY `itemQuantity` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `auction` MODIFY `startingBid` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
ALTER TABLE `auction` MODIFY `currentBid` BIGINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
1
trunk/dist/sql/game/updates/20100307update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20100307update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS enchant_skill_trees;
|
||||
1
trunk/dist/sql/game/updates/20100308update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20100308update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` ADD `language` VARCHAR(2) DEFAULT NULL AFTER `createTime`;
|
||||
2
trunk/dist/sql/game/updates/20100325update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100325update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `character_skills_save` DROP PRIMARY KEY;
|
||||
ALTER TABLE `character_skills_save` ADD PRIMARY KEY (`charId`,`skill_id`,`skill_level`,`class_index`);
|
||||
2
trunk/dist/sql/game/updates/20100528update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100528update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `custom_teleport` ADD `itemId` decimal(11,0) NOT NULL DEFAULT '57' AFTER `fornoble`;
|
||||
UPDATE `custom_teleport` SET itemId = 13722 WHERE fornoble = 1;
|
||||
2
trunk/dist/sql/game/updates/20100622update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100622update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `character_tpbookmark` MODIFY `tag` VARCHAR(50) NULL DEFAULT NULL;
|
||||
ALTER TABLE `character_tpbookmark` MODIFY `name` VARCHAR(50) NOT NULL;
|
||||
2
trunk/dist/sql/game/updates/20100706update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100706update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `character_macroses` MODIFY `commands` VARCHAR( 500 ) NULL DEFAULT NULL;
|
||||
ALTER TABLE `heroes` ADD COLUMN `message` varchar(300) NOT NULL DEFAULT '';
|
||||
2
trunk/dist/sql/game/updates/20100712update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100712update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Fix for pet summon items with name
|
||||
UPDATE `items` SET `custom_type2` = 1 WHERE `object_id` IN (SELECT `item_obj_id` FROM `pets` WHERE `name` IS NOT NULL);
|
||||
1
trunk/dist/sql/game/updates/20100718update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20100718update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `character_quests` SET `value`=1 WHERE (`name`='636_TruthBeyond' AND `var`='cond' AND `value` > 1);
|
||||
3
trunk/dist/sql/game/updates/20100720update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20100720update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
DROP TABLE IF EXISTS
|
||||
merchants,
|
||||
merchant_areas_list;
|
||||
1
trunk/dist/sql/game/updates/20100805update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20100805update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `fort` ADD COLUMN `supplyLvL` int(2) NOT NULL DEFAULT 0;
|
||||
2
trunk/dist/sql/game/updates/20100806update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100806update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `absorb_level`;
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `absorb_type`;
|
||||
3
trunk/dist/sql/game/updates/20100808update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20100808update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
INSERT INTO item_elementals (itemId, elemType, elemValue) SELECT itemId, elemType, elemValue FROM item_attributes;
|
||||
ALTER TABLE item_attributes DROP COLUMN elemType;
|
||||
ALTER TABLE item_attributes DROP COLUMN elemValue;
|
||||
2
trunk/dist/sql/game/updates/20100825update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20100825update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `custom_npc` ADD COLUMN `dropHerbGroup` int(2) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` DROP COLUMN `drop_herbs`;
|
||||
3
trunk/dist/sql/game/updates/20100908update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20100908update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `clan_skills` ADD COLUMN `sub_pledge_id` INT NOT NULL DEFAULT '-2';
|
||||
ALTER TABLE `clan_skills` DROP PRIMARY KEY;
|
||||
ALTER TABLE `clan_skills` ADD PRIMARY KEY (`clan_id`,`skill_id`,`sub_pledge_id`);
|
||||
10
trunk/dist/sql/game/updates/20100914update.sql
vendored
Normal file
10
trunk/dist/sql/game/updates/20100914update.sql
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Delete incorrect Dwarven Craft skill
|
||||
DELETE FROM character_skills WHERE skill_id = 1321 AND class_index = 0 AND charId NOT IN ( SELECT charId FROM characters WHERE base_class IN (53, 54, 55, 56, 57, 117, 118));
|
||||
DELETE FROM character_skills WHERE skill_id = 1321 AND class_index = 1 AND charId NOT IN ( SELECT charId FROM character_subclasses WHERE class_id IN (55, 117) AND class_index = 1);
|
||||
DELETE FROM character_skills WHERE skill_id = 1321 AND class_index = 2 AND charId NOT IN ( SELECT charId FROM character_subclasses WHERE class_id IN (55, 117) AND class_index = 2);
|
||||
DELETE FROM character_skills WHERE skill_id = 1321 AND class_index = 3 AND charId NOT IN ( SELECT charId FROM character_subclasses WHERE class_id IN (55, 117) AND class_index = 3);
|
||||
-- Delete incorrect Dwarven Craft shortcuts
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1321 AND class_index = 0 AND charid NOT IN ( SELECT charid FROM characters WHERE base_class IN (53, 54, 55, 56, 57, 117, 118));
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1321 AND class_index = 1 AND charid NOT IN ( SELECT charid FROM character_subclasses WHERE class_id IN (55, 117) AND class_index = 1);
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1321 AND class_index = 2 AND charid NOT IN ( SELECT charid FROM character_subclasses WHERE class_id IN (55, 117) AND class_index = 2);
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id = 1321 AND class_index = 3 AND charid NOT IN ( SELECT charid FROM character_subclasses WHERE class_id IN (55, 117) AND class_index = 3);
|
||||
14
trunk/dist/sql/game/updates/20100922update.sql
vendored
Normal file
14
trunk/dist/sql/game/updates/20100922update.sql
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
-- Delete Male Soldier skills:
|
||||
-- Ancient Sword Mastery, Strike Back, Dark Strike, Sword Shield, Rush, Disarm, Courage, Increase Power
|
||||
-- from Female SoulBreakers/SoulHounds and Inspectors/Judicators (subclass only)
|
||||
DELETE FROM character_skills WHERE skill_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 0 AND charId IN ( SELECT charId FROM characters WHERE base_class IN (129, 133));
|
||||
DELETE FROM character_skills WHERE skill_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 1 AND charId IN ( SELECT charId FROM character_subclasses WHERE class_id IN (129, 133, 135, 136) AND class_index = 1);
|
||||
DELETE FROM character_skills WHERE skill_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 2 AND charId IN ( SELECT charId FROM character_subclasses WHERE class_id IN (129, 133, 135, 136) AND class_index = 2);
|
||||
DELETE FROM character_skills WHERE skill_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 3 AND charId IN ( SELECT charId FROM character_subclasses WHERE class_id IN (129, 133, 135, 136) AND class_index = 3);
|
||||
-- Delete Male Soldier shortcuts:
|
||||
-- Ancient Sword Mastery, Strike Back, Dark Strike, Sword Shield, Rush, Disarm, Courage, Increase Power
|
||||
-- from Female SoulBreakers/SoulHounds and Inspectors/Judicators (subclass only)
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 0 AND charid IN ( SELECT charid FROM characters WHERE base_class IN (129, 133));
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 1 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (129, 133, 135, 136) AND class_index = 1);
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 2 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (129, 133, 135, 136) AND class_index = 2);
|
||||
DELETE FROM character_shortcuts WHERE shortcut_id IN (472, 475, 476, 483, 484, 485, 499, 1432) AND class_index = 3 AND charid IN ( SELECT charid FROM character_subclasses WHERE class_id IN (129, 133, 135, 136) AND class_index = 3);
|
||||
89
trunk/dist/sql/game/updates/20100928update.sql
vendored
Normal file
89
trunk/dist/sql/game/updates/20100928update.sql
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
ALTER TABLE `custom_armorsets` MODIFY `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT;
|
||||
ALTER TABLE `custom_armorsets` MODIFY `chest` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `legs` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `head` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `gloves` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `feet` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `skill` varchar(70) NOT NULL DEFAULT '0-0;';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `shield` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `shield_skill_id` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `enchant6skill` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `mw_legs` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `mw_head` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `mw_gloves` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `mw_feet` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_armorsets` MODIFY `mw_shield` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `custom_droplist` MODIFY `mobId` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_droplist` MODIFY `itemId` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_droplist` MODIFY `min` int(8) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_droplist` MODIFY `max` int(8) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_droplist` MODIFY `category` smallint(3) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_droplist` MODIFY `chance` mediumint(7) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `item_id` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `price` int(10) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `shop_id` mediumint(7) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `order` tinyint(3) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `count` tinyint(2) NOT NULL DEFAULT '-1';
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `currentCount` tinyint(2) NOT NULL DEFAULT '-1';
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `time` int(11) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `savetimer` decimal(20,0) NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `custom_merchant_shopids` MODIFY `shop_id` mediumint(7) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_merchant_shopids` MODIFY `npc_id` varchar(5) DEFAULT NULL;
|
||||
|
||||
ALTER TABLE `custom_npc` MODIFY `id` mediumint(7) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `idTemplate` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `name` varchar(200) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `custom_npc` MODIFY `serverSideName` tinyint(1) NOT NULL DEFAULT '1';
|
||||
ALTER TABLE `custom_npc` MODIFY `title` varchar(45) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `custom_npc` MODIFY `serverSideTitle` tinyint(1) NOT NULL DEFAULT '1';
|
||||
ALTER TABLE `custom_npc` MODIFY `class` varchar(200) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `collision_radius` decimal(6,2) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `collision_height` decimal(6,2) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `level` tinyint(2) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `sex` varchar(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `type` varchar(22) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `attackrange` smallint(4) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `hp` decimal(8,0) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `mp` decimal(8,0) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `hpreg` decimal(6,2) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `mpreg` decimal(6,2) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `str` tinyint(2) NOT NULL DEFAULT '40';
|
||||
ALTER TABLE `custom_npc` MODIFY `con` tinyint(2) NOT NULL DEFAULT '43';
|
||||
ALTER TABLE `custom_npc` MODIFY `dex` tinyint(2) NOT NULL DEFAULT '30';
|
||||
ALTER TABLE `custom_npc` MODIFY `int` tinyint(2) NOT NULL DEFAULT '21';
|
||||
ALTER TABLE `custom_npc` MODIFY `wit` tinyint(2) NOT NULL DEFAULT '20';
|
||||
ALTER TABLE `custom_npc` MODIFY `men` tinyint(2) NOT NULL DEFAULT '20';
|
||||
ALTER TABLE `custom_npc` MODIFY `exp` int(9) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `sp` int(9) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `patk` mediumint(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `pdef` mediumint(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `matk` mediumint(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `mdef` mediumint(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `atkspd` smallint(4) NOT NULL DEFAULT '230';
|
||||
ALTER TABLE `custom_npc` MODIFY `aggro` smallint(4) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `matkspd` smallint(4) NOT NULL DEFAULT '333';
|
||||
ALTER TABLE `custom_npc` MODIFY `rhand` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `lhand` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `armor` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `enchant` tinyint(1) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `walkspd` smallint(3) NOT NULL DEFAULT '60';
|
||||
ALTER TABLE `custom_npc` MODIFY `runspd` smallint(3) NOT NULL DEFAULT '120';
|
||||
ALTER TABLE `custom_npc` MODIFY `isUndead` tinyint(1) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `dropHerbGroup` tinyint(1) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npc` MODIFY `basestats` tinyint(1) NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `custom_npcskills` MODIFY `npcid` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npcskills` MODIFY `skillid` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_npcskills` MODIFY `level` tinyint(2) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `custom_teleport` MODIFY `Description` varchar(75) DEFAULT NULL;
|
||||
ALTER TABLE `custom_teleport` MODIFY `id` mediumint(7) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_teleport` MODIFY `loc_x` mediumint(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_teleport` MODIFY `loc_y` mediumint(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_teleport` MODIFY `loc_z` mediumint(6) DEFAULT NULL;
|
||||
ALTER TABLE `custom_teleport` MODIFY `price` int(10) unsigned DEFAULT NULL;
|
||||
ALTER TABLE `custom_teleport` MODIFY `fornoble` tinyint(1) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_teleport` MODIFY `itemId` smallint(5) unsigned NOT NULL DEFAULT '57';
|
||||
13
trunk/dist/sql/game/updates/20101004update.sql
vendored
Normal file
13
trunk/dist/sql/game/updates/20101004update.sql
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT;
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `location` varchar(40) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `count` tinyint(1) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `npc_templateid` mediumint(7) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `locx` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `locy` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `locz` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `randomx` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `randomy` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `heading` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `respawn_delay` mediumint(5) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `loc_id` int(9) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `custom_spawnlist` MODIFY `periodOfDay` tinyint(1) unsigned NOT NULL DEFAULT '0';
|
||||
2
trunk/dist/sql/game/updates/20101009update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20101009update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `custom_npc` DROP `armor`;
|
||||
ALTER TABLE `custom_npc` DROP `isUndead`;
|
||||
1
trunk/dist/sql/game/updates/20101010update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20101010update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `items` SET `enchant_level`='0' WHERE `item_id` IN (7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,13293,13294,13296);
|
||||
6
trunk/dist/sql/game/updates/20101019update.sql
vendored
Normal file
6
trunk/dist/sql/game/updates/20101019update.sql
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE `custom_npc` MODIFY `sex` ENUM('etc','female','male') NOT NULL DEFAULT 'etc';
|
||||
ALTER TABLE `custom_npc` MODIFY `hpreg` DECIMAL(10,4) NULL DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `mpreg` DECIMAL(10,4) NULL DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` ADD `targetable` TINYINT(1) NOT NULL DEFAULT '1' AFTER `runspd`;
|
||||
ALTER TABLE `custom_npc` ADD `show_name` TINYINT(1) NOT NULL DEFAULT '1' AFTER `targetable`;
|
||||
ALTER TABLE `custom_npcaidata` CHANGE `canMove` `can_move` TINYINT(1) NOT NULL DEFAULT '1';
|
||||
11
trunk/dist/sql/game/updates/20101106update.sql
vendored
Normal file
11
trunk/dist/sql/game/updates/20101106update.sql
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE `pets` DROP `armor`;
|
||||
ALTER TABLE `pets` DROP `weapon`;
|
||||
ALTER TABLE `pets` DROP `jewel`;
|
||||
|
||||
DROP TABLE IF EXISTS
|
||||
armor,
|
||||
etcitem,
|
||||
weapon,
|
||||
custom_armor,
|
||||
custom_etcitem,
|
||||
custom_weapon;
|
||||
1
trunk/dist/sql/game/updates/20101111update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20101111update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `characters` SET `base_class`='126' WHERE `base_class` in (135,136);
|
||||
1
trunk/dist/sql/game/updates/20101114update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20101114update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS `walker_routes`;
|
||||
1
trunk/dist/sql/game/updates/20101117update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20101117update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `custom_npc` ADD `critical` TINYINT(1) NOT NULL DEFAULT '1' AFTER `atkspd`;
|
||||
49
trunk/dist/sql/game/updates/20101119update.sql
vendored
Normal file
49
trunk/dist/sql/game/updates/20101119update.sql
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
-- Mana correction for old items
|
||||
UPDATE `items` SET mana_left=90 WHERE mana_left <= 0 AND item_id IN (8821,8822,8823,8824,8825,8826,8827,8828,8829,10005,10006,10007);
|
||||
UPDATE `items` SET mana_left=300 WHERE mana_left <= 0 AND item_id IN (8830,8831,8832,8833,8834,8835,8836,8837,8838,8839,8840,8841,8842,8843,8844,8845,8846,8847,8848,8849,8850,8851,8852,8853,8854,8855,8856,8857,8858,8859,8860,8861,8862,8863,8864,8865,8866,8867,9820,9821,9822,9823,9824,9825,9826,9827,9828,9829,9840,9841,9842,9843,9844,9845,9846,9847,9848,10125,12835,12836,12837);
|
||||
UPDATE `items` SET mana_left=120 WHERE mana_left <= 0 AND item_id IN (8926,8927,8928,8929,8930,8931,8932,8933,8934,8937,10008,10009,10010,10011);
|
||||
UPDATE `items` SET mana_left=600 WHERE mana_left <= 0 AND item_id IN (8972,8973,8974,8975,8976,8977,8978,8979,8980,8981,8982,8983,8984,8985,8986,8987,8988,8989,8990,8991,8992,8993,8994,8995,8996,8997,8998,8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9011,9012,9013,9014,9015,9016,9017,9018,9019,9020,9021,9022,9023,9024,9025,9026,9027,9028,9029,9030,9031,9032,9033,9034,9035,9036,9037,9038,9039,9040,9041,9042,9043,9044,9045,9046,9047,9048,9049,9050,9051,9052,9053,9054,9055,9056,9057,9058,9059,9060,9061,9062,9063,9064,9065,9066,9067,9068,9069,9070,9071,9072,9073,9074,9075,9076,9077,9078,9079,9080,9081,9082,9083,9084,9085,9086,9087,9088,9089,9090,9091,9092,9093,9094,9095,9096,9097,9098,9099,9100,9101,9102,9103,9128,9129,14104,14790,14791);
|
||||
UPDATE `items` SET mana_left=230 WHERE mana_left <= 0 AND item_id IN (9141);
|
||||
UPDATE `items` SET mana_left=360 WHERE mana_left <= 0 AND item_id IN (9177,9178,9179,9180,9181,9182,9183,9184,9185,9186,9187,9188,9189,9190,9191,9192,9193,9194,9195,9196,9197,9198,9199,9200,9201,9202,9203,9204,14753,14754,14755,14756,14757,14758,14759,14760,14761,14762,14763,14764);
|
||||
UPDATE `items` SET mana_left=400 WHERE mana_left <= 0 AND item_id IN (9900);
|
||||
UPDATE `items` SET mana_left=700 WHERE mana_left <= 0 AND item_id IN (9909,10139);
|
||||
UPDATE `items` SET mana_left=60 WHERE mana_left <= 0 AND item_id IN (9913,9933,9934,9935,9936,9937,9938,9939,9940,9941,9942,9943,9944,9945,9946,9947,9948,9949,9950,9951,9960,9961,9962,9963,9964,9965,9966,10158,10423,10535,10536,10537,10538,10539,10540,10541,10543,12814,13770,20098);
|
||||
UPDATE `items` SET mana_left=65 WHERE mana_left <= 0 AND item_id IN (9914,9916,9917,9919,9921,9922,9923,9926,9927,9928,9929,9930,9954,9955,9956,9957,9958,9959,10416,10417,10418,10419,10420,10421,10422,10424,10533,10534,12815,12816,12817,12818,14810,14811,14814);
|
||||
UPDATE `items` SET mana_left=75 WHERE mana_left <= 0 AND item_id IN (9915);
|
||||
UPDATE `items` SET mana_left=74 WHERE mana_left <= 0 AND item_id IN (9918,9931,9932,14813);
|
||||
UPDATE `items` SET mana_left=64 WHERE mana_left <= 0 AND item_id IN (9920,9924,9925,9952,9953,10542);
|
||||
UPDATE `items` SET mana_left=250 WHERE mana_left <= 0 AND item_id IN (10140);
|
||||
UPDATE `items` SET mana_left=70 WHERE mana_left <= 0 AND item_id IN (10141,10142,10518);
|
||||
UPDATE `items` SET mana_left=180 WHERE mana_left <= 0 AND item_id IN (10211,10470,10471,10472,10474,10475,10476,10477,10478,10479,13153,13154,13155,13156,13157,13158,13159,13160,13161,13162,13163,13164,13165,13166,13167,13168,13169,13170,13171,13172,13173,13174,13175,13176,13177,13178,13179,13180,13181,13182,13183,13184,13185,13186,13187,13188,13189,13190,13191,13192,13193,13194,13195,13196,13197,13198,13199,13200,13201,13202,13203,13204,13205,13206,13207,13208,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13219,13220,13221,13222,13223,13224,15313,15314,15315,15316,15317,15318,15319,15320,15321,15322,15323,15324,15325,15326,15403);
|
||||
UPDATE `items` SET mana_left=200 WHERE mana_left <= 0 AND item_id IN (10273);
|
||||
UPDATE `items` SET mana_left=500 WHERE mana_left <= 0 AND item_id IN (10315,10321);
|
||||
UPDATE `items` SET mana_left=80 WHERE mana_left <= 0 AND item_id IN (10519);
|
||||
UPDATE `items` SET mana_left=1440 WHERE mana_left <= 0 AND item_id IN (10620,10621,10622,10623,10624,10625,10626,10627,10628,10629,10630,10631,22154,22155);
|
||||
UPDATE `items` SET mana_left=10080 WHERE mana_left <= 0 AND item_id IN (13074,13075,13076);
|
||||
UPDATE `items` SET mana_left=100 WHERE mana_left <= 0 AND item_id IN (13393,13394);
|
||||
UPDATE `items` SET mana_left=10 WHERE mana_left <= 0 AND item_id IN (13845,13881);
|
||||
UPDATE `items` SET mana_left=66 WHERE mana_left <= 0 AND item_id IN (14604,14605,14812);
|
||||
|
||||
-- Time correction for old items
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(43200*60*1000) WHERE time <= 0 AND item_id IN (12781,12782,12783,12784,12785,12786,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,13023,13024,13025,13026,13027,13309,13310,13311,13312,13313,13314,13315,13316,13317,13318,13319,13320,13321,13322,13323,13324,13382,13752,13753,13754,14056,14057,14058,14059,14060,14069,14070,14071,14072,14073,14075,14076,14077,14728,14966,14967,14968,14969,14970,14971,14972,14973,14974,14975,14976,14977,14978,14979,14980,14981,14982,14983,14984,14985,14986,14987,14988,14989,14990,14991,14992,14993,14994,14995,14996,14997,14998,14999,15000,15001,15002,15003,15004,15005,15006,15007,15008,15009,15010,15011,15012,15013,15014,15015,15016,15017,15018,15019,15020,15021,15022,15023,15024,15025,15026,15027,15028,15029,15030,15031,15032,15033,15034,15035,15036,15037,15038,15039,15040,15041,15042,15043,15044,15045,15046,15047,15048,15049,15050,15051,15052,15053,15054,15055,15056,15057,15058,15059,15060,15061,15062,15063,15064,15065,15066,15067,15068,15069,15070,15071,15072,15073,15074,15075,15076,15077,15078,15079,15201,15202,15203,15204,15205,15206,15207,15208,15211,15213,15215,15217,15219,15246,15247,15248,15249,15250,15251,15252,15253,15254,15255,15256,15257,15258,15259,15260,15261,15262,15263,15264,15265,15266,15267,15268,15269,15274,15275,15276,15277,15358,15359,15360,15361,15362,15363,15384,15389,15394,15399,15418,15428,17033,20009,20010,20011,20013,20014,20015,20030,20085,20088,20091,20094,20199,20203,20503,20504,20535,20536,20780,20932,20933,20934,20939,20976,22057,22061,22065);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(10080*60*1000) WHERE time <= 0 AND item_id IN (13022,13239,13240,13241,13242,13243,13244,13245,13246,13247,13248,13249,13250,13251,13252,13253,13254,13255,13308,13325,13326,13327,13328,13329,13330,13331,13332,13333,13334,13335,13336,13337,13338,13339,13340,14053,14054,14066,14067,14088,14089,14090,14091,14092,14093,14094,14095,14096,14097,14098,14099,14100,14101,14102,14103,15383,15388,15393,15398,15429,15436,15464,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,20099,20201,20205,20208,20224,20225,20226,20231,20232,20237,20238,20248,20249,20250,20255,20256,20257,20258,20259,20260,20261,20262,20263,20264,20265,20266,20267,20268,20269,20270,20298,20300,20302,20304,20305,20306,20308,20311,20313,20339,20340,20345,20346,20351,20352,20399,20400,20405,20406,20407,20408,20409,20410,20411,20412,20413,20414,20415,20416,20417,20418,20419,20420,20421,20422,20423,20424,20425,20426,20427,20428,20429,20430,20431,20432,20433,20434,20435,20436,20437,20438,20439,20440,20441,20442,20443,20444,20445,20446,20447,20448,20449,20496,20537,20538,20539,20568,20600,20601,20616,20617,20618,20626,20628,20633,20655,20657,20659,20661,20663,20665,20667,20669,20671,20673,20675,20677,20679,20724,20727,20743,20744,20745,20746,20747,20762,20774,20775,20776,20777,20778,20781,20785,20786,20787,20790,20791,20794,20795,20819,20821,20823,20825,20827,20829,20831,20833,20835,20837,20839,20841,20867,20897,20938,20940,20941,20943,20945,20956,20982,21042,21046,21049,21051,21053,21055,21057,21059,21061,22055,22059,22063);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(21600*60*1000) WHERE time <= 0 AND item_id IN (13153,13154,13155,13156,13157,13158,13159,13160,13161,13162,13163,13164,13165,13166,13167,13168,13169,13170,13171,13172,13173,13174,13175,13176,13177,13178,13179,13180,13181,13182,13183,13184,13185,13186,13187,13188,13189,13190,13191,13192,13193,13194,13195,13196,13197,13198,13199,13200,13201,13202,13203,13204,13205,13206,13207,13208,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13219,13220,13221,13222,13223,13224,15313,15314,15315,15316,15317,15318,15319,15320,15321,15322,15323,15324,15325,15326,15403,15421,20066,20067,20068,20190,20202,20206,20209);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(600*60*1000) WHERE time <= 0 AND item_id IN (13260,20337,20338,20343,20344,20349,20350);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(20160*60*1000) WHERE time <= 0 AND item_id IN (14611,14617,14771,14773,14774,14775,14776,20900,22056,22060,22064);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(180*60*1000) WHERE time <= 0 AND item_id IN (14621,14622,14623,14624,14625,14626,14627,14628,14629,14630,14631,14632,14633,14634,14674,20083,20086,20089,20572);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(47520*60*1000) WHERE time <= 0 AND item_id IN (14675);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(1440*60*1000) WHERE time <= 0 AND item_id IN (14765,20100,20320,20497,20592,20594,20621,20755,20756,20757,20759,20763,20921,22054,22058,22062,22066);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(14400*60*1000) WHERE time <= 0 AND item_id IN (15080,15081,15082,15083,15084,15085,15086,15087,15088,15089,15090,15091,15092,15093,15094,15095,15096,15097,15098,15099,15100,15101,15102,15103,15104,15105,15106,15107,15108,15109,15110,15111,15112,15113,15114,15115,15116,15117,15118,15119,15120,15121,15122,15123,15124,15125,15126,15127,15128,15129,15130,15131,15132,15133,15134,15135,15136,15137,15138,15139,15140,15141,15142,15143,15144,15145,15146,15147,15148,15149,15150,15151,15152,15153,15154,15155,15156,15157,15158,15159,15160,15161,15162,15163,15164,15165,15166,15167,15168,15169,15170,15171,15172,15173,15174,15175,15176,15177,15178,15179,15180,15181,15182,15183,15184,15185,15186,15187,15188,15189,15190,15191,15192,15193,15194,15195,15196,15197,15198,15199,15200,15210,15220,15222,15223,15224,15225,15226,15227,15228,15229,15230,15231,15232,15233,15234,15235,15236,15237,15238,15239,15240,15241,15242,15243,15244,15245,15270,15271,15272,15273,15422);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(7200*60*1000) WHERE time <= 0 AND item_id IN (15310,15423);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(86400*60*1000) WHERE time <= 0 AND item_id IN (15342,15344,15385,15390,15395,15400);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(129600*60*1000) WHERE time <= 0 AND item_id IN (15386,15391,15396,15401,16853,16854,16855,16856,16857,16858,16859,16860,16861,16862,16863,16864,16865,16866,16867,16868,16869,16870,16871,16872,16873,16874,16875,16876,16877,16878,16879,16880,16881,16882,16883,16884,16885,16886,16887,16888,16889,16890,16891,16892,16893,16894,16895,16896,16897,16898,16899,16900,16901,16902,16903,16904,16905,16906,16907,16908,16909,16910,16911,16912,16913,16914,16915,16916,16917,16918,16919,16920,16921,16922,16923,16924,16925,16926,16927,16928,16929,16930,16931,16932,16933,16934,16935,16936,16937,16938,16939,16940,16941,16942,16943,16944,16945,16946,16947,16948,16949,16950,16951,16952,16953,16954,16955,16956,16957,16958,16959,16960,16961,16962,16963,16964,16965,16966,16967,16968,16969,16970,16971,16972,16973,16974,16975,16976,16977,16978,16979,16980,16981,16982,16983,16984,16985,16986,16987,16988,16989,16990,16991,16992,16993,16994,16995,16996,16997,16998,16999,17000,17001,17002);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(36000*60*1000) WHERE time <= 0 AND item_id IN (15419);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(28800*60*1000) WHERE time <= 0 AND item_id IN (15420);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(4320*60*1000) WHERE time <= 0 AND item_id IN (15424,20084,20087,20090,20200,20204,20207,20498,20567,20571,20593,20622);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(240*60*1000) WHERE time <= 0 AND item_id IN (15443,15444,15445,15446,15447,15449,15450,15451,15452,15453,20075,20076,20077,20078,20109,20110,20111,20112,20113,20114,20115,20116,20117,20118,20119,20120,20121,20122,20123,20124,20125,20126,20127,20128,20129,20130,20131,20132,20133,20134,20135,20136,20137,20138,20139,20140,20141,20142,20143,20144,20145,20146,20147,20148,20149,20150,20151,20152,20153,20154,20155,20156,20157,20158,20159,20160,20161,20162,20163,20164,20165,20166,20167,20168,20169,20170,20171,20172,20173,20174,20175,20176,20177,20178,20718,20719,20720,20721,20722);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(4*60*1000) WHERE time <= 0 AND item_id IN (15485);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(480*60*1000) WHERE time <= 0 AND item_id IN (20103,20104,20105,20106,20606);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(720*60*1000) WHERE time <= 0 AND item_id IN (20107,20108);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(300*60*1000) WHERE time <= 0 AND item_id IN (20335,20336,20341,20342,20347,20348,20570);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(120*60*1000) WHERE time <= 0 AND item_id IN (20712,20713,20714,20715,20716);
|
||||
UPDATE `items` SET time=(unix_timestamp(NOW())*1000)+(60*60*1000) WHERE time <= 0 AND item_id IN (20741,20742,21084,21086);
|
||||
1
trunk/dist/sql/game/updates/20101121update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20101121update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS `pets_stats`;
|
||||
7
trunk/dist/sql/game/updates/20101203update.sql
vendored
Normal file
7
trunk/dist/sql/game/updates/20101203update.sql
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
DROP TABLE IF EXISTS `character_recommends`;
|
||||
|
||||
ALTER TABLE `characters` DROP `rec_have`;
|
||||
ALTER TABLE `characters` DROP `rec_left`;
|
||||
ALTER TABLE `characters` DROP `last_recom_date`;
|
||||
|
||||
DELETE FROM `global_tasks` WHERE `task`='sp_recommendations';
|
||||
1
trunk/dist/sql/game/updates/20101204update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20101204update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `character_reco_bonus` CHANGE `task_end` `time_left` decimal(20,0) unsigned NOT NULL DEFAULT '0';
|
||||
1
trunk/dist/sql/game/updates/20101206update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20101206update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `character_reco_bonus` DROP `first_time`;
|
||||
18
trunk/dist/sql/game/updates/20101217update.sql
vendored
Normal file
18
trunk/dist/sql/game/updates/20101217update.sql
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
ALTER TABLE `admin_command_access_rights` MODIFY `accessLevels` tinyint(3) NOT NULL DEFAULT '1';
|
||||
ALTER TABLE `admin_command_access_rights` ADD `confirmDlg` enum('true','false') NOT NULL DEFAULT 'false' AFTER `accessLevels`;
|
||||
UPDATE `admin_command_access_rights` SET `confirmDlg`='true' WHERE `adminCommand` IN (
|
||||
'admin_reload',
|
||||
'admin_manualhero',
|
||||
'admin_endolympiad',
|
||||
'admin_ban_acc',
|
||||
'admin_jail',
|
||||
'admin_stopallbuffs',
|
||||
'admin_clan_changeleader',
|
||||
'admin_give_item_target',
|
||||
'admin_give_item_to_all',
|
||||
'admin_cw_add',
|
||||
'admin_kick',
|
||||
'admin_recall_char_menu',
|
||||
'admin_server_shutdown',
|
||||
'admin_server_restart'
|
||||
);
|
||||
3
trunk/dist/sql/game/updates/20101220update.sql
vendored
Normal file
3
trunk/dist/sql/game/updates/20101220update.sql
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
DROP TABLE IF EXISTS `custom_notspawned`;
|
||||
ALTER TABLE `custom_spawnlist` DROP COLUMN `id`;
|
||||
ALTER TABLE `custom_spawnlist` DROP INDEX `key_npc_templateid`;
|
||||
1
trunk/dist/sql/game/updates/20110103update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20110103update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `grandboss_data` MODIFY `currentHP` DECIMAL(12,0) DEFAULT NULL;
|
||||
1
trunk/dist/sql/game/updates/20110105update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20110105update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `admin_command_access_rights` WHERE `adminCommand`='admin_explore';
|
||||
5
trunk/dist/sql/game/updates/20110112update.sql
vendored
Normal file
5
trunk/dist/sql/game/updates/20110112update.sql
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE `character_offline_trade_items` MODIFY `charId` int(10) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `character_offline_trade_items` MODIFY `item` int(10) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `character_offline_trade_items` MODIFY `count` bigint(20) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `character_offline_trade_items` MODIFY `price` bigint(20) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `character_offline_trade_items` DROP PRIMARY KEY;
|
||||
9
trunk/dist/sql/game/updates/20110210update.sql
vendored
Normal file
9
trunk/dist/sql/game/updates/20110210update.sql
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
ALTER TABLE `character_offline_trade_items` MODIFY `charId` int(10) unsigned NOT NULL;
|
||||
|
||||
ALTER TABLE `character_offline_trade` MODIFY `charId` int(10) unsigned NOT NULL;
|
||||
|
||||
UPDATE `character_reco_bonus` SET `rec_have`=255 WHERE `rec_have`>255;
|
||||
UPDATE `character_reco_bonus` SET `rec_left`=255 WHERE `rec_left`>255;
|
||||
|
||||
ALTER TABLE `character_reco_bonus` MODIFY `rec_have` tinyint(3) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `character_reco_bonus` MODIFY `rec_left` tinyint(3) unsigned NOT NULL DEFAULT '0';
|
||||
73
trunk/dist/sql/game/updates/20110316update.sql
vendored
Normal file
73
trunk/dist/sql/game/updates/20110316update.sql
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
ALTER TABLE `auction` MODIFY `endDate` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `auction_bid` MODIFY `time_bid` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `castle` MODIFY `siegeDate` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `castle` MODIFY `regTimeEnd` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `castle_functions` MODIFY `endTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `character_instance_time` MODIFY `time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `character_offline_trade` MODIFY `time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `character_skills_save` MODIFY `systime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `character_reco_bonus` MODIFY `time_left` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `characters` MODIFY `deletetime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `characters` MODIFY `lastAccess` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `characters` MODIFY `clan_join_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `characters` MODIFY `clan_create_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `characters` MODIFY `createTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `clan_data` MODIFY `ally_penalty_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `clan_data` MODIFY `char_penalty_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `clan_data` MODIFY `dissolving_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `clanhall` MODIFY `paidUntil` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `clanhall_functions` MODIFY `endTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `cursed_weapons` MODIFY `endTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `fort` MODIFY `siegeDate` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `fort` MODIFY `lastOwnedTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `fort_functions` MODIFY `endTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `grandboss_data` MODIFY `respawn_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `games` MODIFY `enddate` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `global_tasks` MODIFY `last_activation` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `heroes_diary` MODIFY `time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `item_auction` MODIFY `startingTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `item_auction` MODIFY `endingTime` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `itemsonground` MODIFY `drop_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `messages` MODIFY `expiration` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `merchant_buylists` MODIFY `savetimer` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `olympiad_data` MODIFY `olympiad_end` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `olympiad_data` MODIFY `validation_end` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `olympiad_data` MODIFY `next_weekly_change` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `olympiad_fights` MODIFY `start` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `olympiad_fights` MODIFY `time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `posts` MODIFY `post_date` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `raidboss_spawnlist` MODIFY `respawn_time` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `seven_signs_festival` MODIFY `date` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `seven_signs_status` MODIFY `date` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `topic` MODIFY `topic_date` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `custom_merchant_buylists` MODIFY `savetimer` bigint(13) unsigned NOT NULL DEFAULT '0';
|
||||
20
trunk/dist/sql/game/updates/20110320update.sql
vendored
Normal file
20
trunk/dist/sql/game/updates/20110320update.sql
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
ALTER TABLE `custom_npc` MODIFY `hp` decimal(30,15) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `mp` decimal(30,15) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `hpreg` decimal(30,15) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `mpreg` decimal(30,15) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `patk` decimal(12,5) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `pdef` decimal(12,5) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `matk` decimal(12,5) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `mdef` decimal(12,5) DEFAULT NULL;
|
||||
ALTER TABLE `custom_npc` MODIFY `walkspd` decimal(10,5) NOT NULL DEFAULT '60';
|
||||
ALTER TABLE `custom_npc` MODIFY `runspd` decimal(10,5) NOT NULL DEFAULT '120';
|
||||
ALTER TABLE `custom_npc` ADD `basestats` tinyint(1) NOT NULL DEFAULT '0' AFTER `dropHerbGroup`;
|
||||
|
||||
ALTER TABLE `grandboss_data` MODIFY `boss_id` smallint(5) unsigned NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `grandboss_data` MODIFY `loc_x` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `grandboss_data` MODIFY `loc_y` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `grandboss_data` MODIFY `loc_z` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `grandboss_data` MODIFY `heading` mediumint(6) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `grandboss_data` MODIFY `currentHP` decimal(30,15) NOT NULL;
|
||||
ALTER TABLE `grandboss_data` MODIFY `currentMP` decimal(30,15) NOT NULL;
|
||||
ALTER TABLE `grandboss_data` MODIFY `status` tinyint(1) unsigned NOT NULL DEFAULT '0';
|
||||
1
trunk/dist/sql/game/updates/20110331update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20110331update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE IF EXISTS `zone_vertices`;
|
||||
1
trunk/dist/sql/game/updates/20110416update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20110416update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `raidboss_spawnlist` WHERE `boss_id`=29096;
|
||||
1
trunk/dist/sql/game/updates/20110427update.sql
vendored
Normal file
1
trunk/dist/sql/game/updates/20110427update.sql
vendored
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `characters` SET `fame`=100000 WHERE `fame`>100000;
|
||||
2
trunk/dist/sql/game/updates/20110507update.sql
vendored
Normal file
2
trunk/dist/sql/game/updates/20110507update.sql
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
-- H5 Summon Cursed Bones has been deleted since the Cursed Bones are no longer required.
|
||||
DELETE FROM `character_skills` WHERE skill_id=1387;
|
||||
4
trunk/dist/sql/game/updates/20110511update.sql
vendored
Normal file
4
trunk/dist/sql/game/updates/20110511update.sql
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE `castle` ADD COLUMN `bloodAlliance` int(3) NOT NULL DEFAULT 0 AFTER `showNpcCrest`;
|
||||
|
||||
ALTER TABLE `pets` ADD COLUMN `ownerId` int(10) NOT NULL DEFAULT '0' AFTER `fed`;
|
||||
ALTER TABLE `pets` ADD COLUMN `restore` enum('true','false') NOT NULL DEFAULT 'false' AFTER `ownerId`;
|
||||
16
trunk/dist/sql/game/updates/20110514update.sql
vendored
Normal file
16
trunk/dist/sql/game/updates/20110514update.sql
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
ALTER TABLE `character_summons` MODIFY `ownerId` int(10) unsigned NOT NULL;
|
||||
ALTER TABLE `character_summons` MODIFY `summonSkillId` int(10) unsigned NOT NULL;
|
||||
ALTER TABLE `character_summons` MODIFY `curHp` int(9) unsigned DEFAULT '0';
|
||||
ALTER TABLE `character_summons` MODIFY `curMp` int(9) unsigned DEFAULT '0';
|
||||
ALTER TABLE `character_summons` MODIFY `time` int(10) unsigned NOT NULL DEFAULT '0';
|
||||
|
||||
ALTER TABLE `pets` MODIFY `item_obj_id` int(10) unsigned NOT NULL;
|
||||
ALTER TABLE `pets` MODIFY `name` varchar(16);
|
||||
ALTER TABLE `pets` MODIFY `level` smallint(2) unsigned NOT NULL;
|
||||
ALTER TABLE `pets` MODIFY `curHp` int(9) unsigned DEFAULT '0';
|
||||
ALTER TABLE `pets` MODIFY `curMp` int(9) unsigned DEFAULT '0';
|
||||
ALTER TABLE `pets` MODIFY `exp` bigint(20) unsigned DEFAULT '0';
|
||||
ALTER TABLE `pets` MODIFY `sp` int(10) unsigned DEFAULT '0';
|
||||
ALTER TABLE `pets` MODIFY `fed` int(10) unsigned DEFAULT '0';
|
||||
ALTER TABLE `pets` MODIFY `ownerId` int(10) NOT NULL DEFAULT '0';
|
||||
ALTER TABLE `pets` MODIFY `restore` enum('true','false') NOT NULL DEFAULT 'false';
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user