diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-02 23:31:51 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-02 23:31:51 +0000 |
commit | 4b83ab5aa37c6c61ae7bfe1e92d20894d00844d4 (patch) | |
tree | 8bd834a15368ca23f3d380121ce2b4d69828b23c /sql-files | |
parent | 05cb73e9caeddfb27729ad1d1652bb7bbfeba27e (diff) | |
download | hercules-4b83ab5aa37c6c61ae7bfe1e92d20894d00844d4.tar.gz hercules-4b83ab5aa37c6c61ae7bfe1e92d20894d00844d4.tar.bz2 hercules-4b83ab5aa37c6c61ae7bfe1e92d20894d00844d4.tar.xz hercules-4b83ab5aa37c6c61ae7bfe1e92d20894d00844d4.zip |
Spring cleaning in sql-files/
Officialized a very small bit of the wedding NPC
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10133 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files')
35 files changed, 0 insertions, 459 deletions
diff --git a/sql-files/oA2eA-rc5.sql b/sql-files/oA2eA-rc5.sql deleted file mode 100644 index b501b232c..000000000 --- a/sql-files/oA2eA-rc5.sql +++ /dev/null @@ -1,204 +0,0 @@ -// -// When converting from oA to eA, my oA db was in ragnarok so I created -// a new db called eragnarok and then ran the following commands... -// -// /usr/local/mysql/bin/mysql -Deragnarok -u eragnarok -p< athena/sql-files/main.sql -// /usr/local/mysql/bin/mysql -Deragnarok -u eragnarok -p< athena/sql-files/db_tables.sql -// /usr/local/mysql/bin/mysql -Deragnarok -u eragnarok -p< athena/sql-files/mail.sql -// /usr/local/mysql/bin/mysql -Deragnarok -u eragnarok -p< athena/sql-files/oA2eA-rc5.sql -// -// This creates a eragnarok database and fills everything in from the oA -// database. -// -// -- MouseJstr - -CREATE TABLE `item_db` ( - `id` smallint(5) unsigned NOT NULL default '0', - `name_english` varchar(24) NOT NULL default '', - `name_japanese` varchar(24) NOT NULL default '', - `type` tinyint(2) unsigned NOT NULL default '0', - `price_buy` int(10) unsigned default NULL, - `price_sell` int(10) unsigned default NULL, - `weight` int(10) unsigned NOT NULL default '0', - `attack` mediumint(9) unsigned default NULL, - `defence` mediumint(9) unsigned default NULL, - `range` tinyint(2) unsigned default NULL, - `slots` tinyint(1) unsigned default NULL, - `equip_jobs` mediumint(8) unsigned default NULL, - `equip_genders` tinyint(1) unsigned default NULL, - `equip_locations` smallint(4) unsigned default NULL, - `weapon_level` tinyint(1) unsigned default NULL, - `equip_level` tinyint(3) unsigned default NULL, - `view` tinyint(3) unsigned default NULL, - `script_use` text, - `script_equip` text, - PRIMARY KEY (`id`) -) TYPE=MyISAM; - -CREATE TABLE `mob_db` ( - `ID` mediumint(9) NOT NULL default '0', - `Name` text NOT NULL, - `Name2` text NOT NULL, - `LV` smallint(6) NOT NULL default '0', - `HP` mediumint(9) NOT NULL default '0', - `SP` mediumint(9) NOT NULL default '0', - `EXP` mediumint(9) NOT NULL default '0', - `JEXP` mediumint(9) NOT NULL default '0', - `Range1` tinyint(4) NOT NULL default '0', - `ATK1` smallint(6) NOT NULL default '0', - `ATK2` smallint(6) NOT NULL default '0', - `DEF` smallint(6) NOT NULL default '0', - `MDEF` smallint(6) NOT NULL default '0', - `STR` tinyint(4) NOT NULL default '0', - `AGI` tinyint(4) NOT NULL default '0', - `VIT` tinyint(4) NOT NULL default '0', - `INT` tinyint(4) NOT NULL default '0', - `DEX` tinyint(4) NOT NULL default '0', - `LUK` tinyint(4) NOT NULL default '0', - `Range2` tinyint(4) NOT NULL default '0', - `Range3` tinyint(4) NOT NULL default '0', - `Scale` tinyint(4) NOT NULL default '0', - `Race` tinyint(4) NOT NULL default '0', - `Element` tinyint(4) NOT NULL default '0', - `Mode` smallint(6) NOT NULL default '0', - `Speed` smallint(6) NOT NULL default '0', - `ADelay` smallint(6) NOT NULL default '0', - `aMotion` smallint(6) NOT NULL default '0', - `dMotion` smallint(6) NOT NULL default '0', - `Drop1id` mediumint(9) NOT NULL default '0', - `Drop1per` mediumint(9) NOT NULL default '0', - `Drop2id` mediumint(9) NOT NULL default '0', - `Drop2per` mediumint(9) NOT NULL default '0', - `Drop3id` mediumint(9) NOT NULL default '0', - `Drop3per` mediumint(9) NOT NULL default '0', - `Drop4id` mediumint(9) NOT NULL default '0', - `Drop4per` mediumint(9) NOT NULL default '0', - `Drop5id` mediumint(9) NOT NULL default '0', - `Drop5per` mediumint(9) NOT NULL default '0', - `Drop6id` mediumint(9) NOT NULL default '0', - `Drop6per` mediumint(9) NOT NULL default '0', - `Drop7id` mediumint(9) NOT NULL default '0', - `Drop7per` mediumint(9) NOT NULL default '0', - `Drop8id` mediumint(9) NOT NULL default '0', - `Drop8per` mediumint(9) NOT NULL default '0', - `MEXP` mediumint(9) NOT NULL default '0', - `ExpPer` mediumint(9) NOT NULL default '0', - `MVP1id` mediumint(9) NOT NULL default '0', - `MVP1per` mediumint(9) NOT NULL default '0', - `MVP2id` mediumint(9) NOT NULL default '0', - `MVP2per` mediumint(9) NOT NULL default '0', - `MVP3id` mediumint(9) NOT NULL default '0', - `MVP3per` mediumint(9) NOT NULL default '0' -) TYPE=MyISAM; - -INSERT INTO eragnarok.storage(`id`, `account_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3`) SELECT `id`, `account_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3` from ragnarok.storage; - - INSERT INTO eragnarok.cart_inventory(`id`, `char_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3`, `broken`) SELECT `id`, `char_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3`, `broken` from ragnarok.cart_inventory; - -INSERT INTO eragnarok.char( `char_id`, `account_id`, `char_num`, `name`, `class`, `base_level`, `job_level`, `base_exp`, `job_exp`, `zeny`, `str`, `agi`, `vit`, `int`, `dex`, `luk`, `max_hp`, `hp`, `max_sp`, `sp`, `status_point`, `skill_point`, `option`, `karma`, `manner`, `party_id`, `guild_id`, `pet_id`, `hair`, `hair_color`, `clothes_color`, `weapon`, `shield`, `head_top`, `head_mid`, `head_bottom`, `last_map`, `last_x`, `last_y`, `save_map`, `save_x`, `save_y`, `partner_id`, `online`) SELECT `char_id`, `account_id`, `char_num`, `name`, `class`, `base_level`, `job_level`, `base_exp`, `job_exp`, `zeny`, `str`, `agi`, `vit`, `int`, `dex`, `luk`, `max_hp`, `hp`, `max_sp`, `sp`, `status_point`, `skill_point`, `option`, `karma`, `manner`, `party_id`, `guild_id`, `pet_id`, `hair`, `hair_color`, `clothes_color`, `weapon`, `shield`, `head_top`, `head_mid`, `head_bottom`, `last_map`, `last_x`, `last_y`, `save_map`, `save_x`, `save_y`, `partner_id`, `online` from ragnarok.char; - -INSERT INTO eragnarok.charlog( `time`, `char_msg`, `account_id`, `char_num`, `name`, `str`, `agi`, `vit`, `int`, `dex`, `luk`, `hair`, `hair_color` ) SELECT `time`, `char_msg`, `account_id`, `char_num`, `name`, `str`, `agi`, `vit`, `int`, `dex`, `luk`, `hair`, `hair_color` from ragnarok.charlog; - -INSERT INTO eragnarok.global_reg_value ( `char_id`, `str`, `value`, `type`, `account_id`) SELECT `char_id`, `str`, `value`, `type`, `account_id` from ragnarok.global_reg_value ; - -INSERT INTO eragnarok.guild( `guild_id`, `name`, `master`, `guild_lv`, `connect_member`, `max_member`, `average_lv`, `exp`, `next_exp`, `skill_point`, `castle_id`, `mes1`, `mes2`, `emblem_len`, `emblem_id`, `emblem_data` ) SELECT `guild_id`, `name`, `master`, `guild_lv`, `connect_member`, `max_member`, `average_lv`, `exp`, `next_exp`, `skill_point`, `castle_id`, `mes1`, `mes2`, `emblem_len`, `emblem_id`, `emblem_data` from ragnarok.guild; - -INSERT INTO eragnarok.guild_alliance ( `guild_id`, `opposition`, `alliance_id`, `name` ) SELECT `guild_id`, `opposition`, `alliance_id`, `name` from ragnarok.guild_alliance ; - -INSERT INTO eragnarok.guild_castle ( `castle_id`, `guild_id`, `economy`, `defense`, `triggerE`, `triggerD`, `nextTime`, `payTime`, `createTime`, `visibleC`, `visibleG0`, `visibleG1`, `visibleG2`, `visibleG3`, `visibleG4`, `visibleG5`, `visibleG6`, `visibleG7` ) SELECT `castle_id`, `guild_id`, `economy`, `defense`, `triggerE`, `triggerD`, `nextTime`, `payTime`, `createTime`, `visibleC`, `visibleG0`, `visibleG1`, `visibleG2`, `visibleG3`, `visibleG4`, `visibleG5`, `visibleG6`, `visibleG7` from ragnarok.guild_castle ; - -INSERT INTO eragnarok.guild_expulsion ( `guild_id`, `name`, `mes`, `acc`, `account_id`, `rsv1`, `rsv2`, `rsv3` ) SELECT `guild_id`, `name`, `mes`, `acc`, `account_id`, `rsv1`, `rsv2`, `rsv3` from ragnarok.guild_expulsion ; - -INSERT INTO eragnarok.guild_member ( `guild_id`, `account_id`, `char_id`, `hair`, `hair_color`, `gender`, `class`, `lv`, `exp`, `exp_payper`, `online`, `position`, `rsv1`, `rsv2`, `name` ) SELECT `guild_id`, `account_id`, `char_id`, `hair`, `hair_color`, `gender`, `class`, `lv`, `exp`, `exp_payper`, `online`, `position`, `rsv1`, `rsv2`, `name` from ragnarok.guild_member ; - -INSERT INTO eragnarok.guild_position ( `guild_id`, `position`, `name`, `mode`, `exp_mode` ) SELECT `guild_id`, `position`, `name`, `mode`, `exp_mode` from ragnarok.guild_position ; - -INSERT INTO eragnarok.guild_skill ( `guild_id`, `id`, `lv` ) SELECT `guild_id`, `id`, `lv` from ragnarok.guild_skill ; - -INSERT INTO eragnarok.guild_storage ( `id`, `guild_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3` ) SELECT `id`, `guild_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3` from ragnarok.guild_storage ; - -INSERT INTO eragnarok.interlog ( `time`, `log` ) SELECT `time`, `log` from ragnarok.interlog ; - -INSERT INTO eragnarok.inventory ( `id`, `char_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3` ) SELECT `id`, `char_id`, `nameid`, `amount`, `equip`, `identify`, `refine`, `attribute`, `card0`, `card1`, `card2`, `card3` from ragnarok.inventory ; - -INSERT INTO eragnarok.ipbanlist ( `list`, `btime`, `rtime`, `reason` ) SELECT `list`, `btime`, `rtime`, `reason` from ragnarok.ipbanlist ; - - -# INSERT INTO eragnarok.login_error ( `err_id`, `reason` ) SELECT `err_id`, `reason` from ragnarok.login_error ; - -INSERT INTO eragnarok.loginlog ( `time`, `ip`, `user`, `rcode`, `log` ) SELECT `time`, `ip`, `user`, `rcode`, `log` from ragnarok.loginlog ; - -INSERT INTO eragnarok.memo ( `memo_id`, `char_id`, `map`, `x`, `y` ) SELECT `memo_id`, `char_id`, `map`, `x`, `y` from ragnarok.memo ; - -INSERT INTO eragnarok.party ( `party_id`, `name`, `exp`, `item`, `leader_id` ) SELECT `party_id`, `name`, `exp`, `item`, `leader_id` from ragnarok.party ; - -INSERT INTO eragnarok.pet ( `pet_id`, `class`, `name`, `account_id`, `char_id`, `level`, `egg_id`, `equip`, `intimate`, `hungry`, `rename_flag`, `incuvate` ) SELECT `pet_id`, `class`, `name`, `account_id`, `char_id`, `level`, `egg_id`, `equip`, `intimate`, `hungry`, `rename_flag`, `incuvate` from ragnarok.pet ; - -INSERT INTO eragnarok.ragsrvinfo ( `index`, `name`, `exp`, `jexp`, `drop` ) SELECT `index`, `name`, `exp`, `jexp`, `drop` from ragnarok.ragsrvinfo ; - -INSERT INTO eragnarok.skill ( `char_id`, `id`, `lv` ) SELECT `char_id`, `id`, `lv` from ragnarok.skill ; - -INSERT INTO eragnarok.sstatus ( `index`, `name`, `user` ) SELECT `index`, `name`, `user` from ragnarok.sstatus ; - - -# INSERT INTO eragnarok.abra_db ( `ID`, `Dummy`, `Req_Lvl`, `Per`, `Comment`) SELECT `ID`, `Dummy`, `Req_Lvl`, `Per`, `Comment` from ragnarok.abra_db; - -# INSERT INTO eragnarok.attr_fix ( `Level`, `None`, `Water`, `Earth`, `Fire`, `Wind`, `Poison`, `Saint`, `Darkness`, `Sense`, `Immortality`, `Comment`) SELECT `Level`, `None`, `Water`, `Earth`, `Fire`, `Wind`, `Poison`, `Saint`, `Darkness`, `Sense`, `Immortality`, `Comment` from ragnarok.attr_fix; - -# INSERT INTO eragnarok.cast_db ( `ID`, `Cast_List`, `Delay_List`, `Upkeep_Time`, `Upkeep_Time2`, `Comment` ) SELECT `ID`, `Cast_List`, `Delay_List`, `Upkeep_Time`, `Upkeep_Time2`, `Comment` from ragnarok.cast_db; - -#INSERT INTO eragnarok.castle_db ( `CastleID`, `map_name`, `castle_name`, `switch_flag`, `Comment` ) SELECT `CastleID`, `map_name`, `castle_name`, `switch_flag`, `Comment` from ragnarok.castle_db; - -#INSERT INTO eragnarok.create_arrow_db ( `SourceID`, `MakeID1`, `MakeNum1`, `MakeID2`, `MakeNum2`, `MakeID3`, `MakeNum3`, `MakeID4`, `MakeNum4`, `MakeID5`, `MakeNum5`, `Comment` ) SELECT `SourceID`, `MakeID1`, `MakeNum1`, `MakeID2`, `MakeNum2`, `MakeID3`, `MakeNum3`, `MakeID4`, `MakeNum4`, `MakeID5`, `MakeNum5`, `Comment` from ragnarok.create_arrow_db; - -#INSERT INTO eragnarok.exp ( `EXP1`, `EXP2`, `EXP3`, `EXP4`, `EXP5`, `EXP6`, `EXP7`, `EXP8`, `EXP9`, `EXP10`, `EXP11`, `EXP12`, `EXP13`, `EXP14` ) SELECT `EXP1`, `EXP2`, `EXP3`, `EXP4`, `EXP5`, `EXP6`, `EXP7`, `EXP8`, `EXP9`, `EXP10`, `EXP11`, `EXP12`, `EXP13`, `EXP14` from ragnarok.exp; - -#INSERT INTO eragnarok.exp_guild ( `Level`, `EXP`, `Comment` ) SELECT `Level`, `EXP`, `Comment` from ragnarok.exp_guild; - -#INSERT INTO eragnarok.item_bluebox ( `NameID`, `item_name`, `rate`, `Comment` ) SELECT `NameID`, `item_name`, `rate`, `Comment` from ragnarok.item_bluebox; - -#INSERT INTO eragnarok.item_cardalbum ( `NameID`, `item_name`, `rate`, `Comment` ) SELECT `NameID`, `item_name`, `rate`, `Comment` from ragnarok.item_cardalbum; - -INSERT INTO eragnarok.item_db2 ( `ID`, `Name`, `Name2`, `Type`, `Price`, `Sell`, `Weight`, `ATK`, `DEF`, `Range`, `Slot`, `Job`, `Gender`, `Loc`, `wLV`, `eLV`, `View`, `UseScript`, `EquipScript`, `Comment` ) SELECT `ID`, `Name`, `Name2`, `Type`, `Price`, `Sell`, `Weight`, `ATK`, `DEF`, `Range`, `Slot`, `Job`, `Gender`, `Loc`, `wLV`, `eLV`, `View`, `UseScript`, `EquipScript`, `Comment` from ragnarok.item_db2; - -# INSERT INTO eragnarok.item_giftbox ( `NameID`, `item_name`, `rate`, `Comment` ) SELECT `NameID`, `item_name`, `rate`, `Comment` from ragnarok.item_giftbox; - -#INSERT INTO eragnarok.item_scroll ( `NameID`, `item_name`, `rate`, `Comment` ) SELECT `NameID`, `item_name`, `rate`, `Comment` from ragnarok.item_scroll; - -#INSERT INTO eragnarok.item_violetbox ( `NameID`, `item_name`, `rate`, `Comment` ) SELECT `NameID`, `item_name`, `rate`, `Comment` from ragnarok.item_violetbox; - -#INSERT INTO eragnarok.job_db1 ( `Class_ID`, `Weight`, `HP`, `HP2`, `SP`, `Empty`, `Dagger`, `Sword`, `Two_Handed_Sword`, `Spear`, `Two_Handed_Spear`, `Axe`, `Two_Handed_Axe`, `Rod`, `Club`, `Stick`, `Bow`, `Fist`, `Musical`, `Whip`, `Book`, `Katar`, `Comment` ) SELECT `Class_ID`, `Weight`, `HP`, `HP2`, `SP`, `Empty`, `Dagger`, `Sword`, `Two_Handed_Sword`, `Spear`, `Two_Handed_Spear`, `Axe`, `Two_Handed_Axe`, `Rod`, `Club`, `Stick`, `Bow`, `Fist`, `Musical`, `Whip`, `Book`, `Katar`, `Comment` from ragnarok.job_db1; - -INSERT INTO eragnarok.mob_boss ( `MobID`, `MobName`, `Rate`, `Comment` ) SELECT `MobID`, `MobName`, `Rate`, `Comment` from ragnarok.mob_boss; - -INSERT INTO eragnarok.mob_branch ( `MobID`, `MobName`, `Rate`, `Comment` ) SELECT `MobID`, `MobName`, `Rate`, `Comment` from ragnarok.mob_branch; - -INSERT INTO eragnarok.mob_db2 ( `ID`, `Name`, `Name2`, `LV`, `HP`, `SP`, `EXP`, `JEXP`, `Range1`, `ATK1`, `ATK2`, `DEF`, `MDEF`, `STR`, `AGI`, `VIT`, `INT`, `DEX`, `LUK`, `Range2`, `Range3`, `Scale`, `Race`, `Element`, `Mode`, `Speed`, `ADelay`, `aMotion`, `dMotion`, `Drop1id`, `Drop1per`, `Drop2id`, `Drop2per`, `Drop3id`, `Drop3per`, `Drop4id`, `Drop4per`, `Drop5id`, `Drop5per`, `Drop6id`, `Drop6per`, `Drop7d`, `Drop7per`, `Drop8id`, `Drop8per`, `Item1`, `Item2`, `MEXP`, `ExpPer`, `MVP1id`, `MVP1per`, `MVP2id`, `MVP2per`, `MVP3id`, `MVP3per`, `Comment` ) SELECT `ID`, `Name`, `Name2`, `LV`, `HP`, `SP`, `EXP`, `JEXP`, `Range1`, `ATK1`, `ATK2`, `DEF`, `MDEF`, `STR`, `AGI`, `VIT`, `INT`, `DEX`, `LUK`, `Range2`, `Range3`, `Scale`, `Race`, `Element`, `Mode`, `Speed`, `ADelay`, `aMotion`, `dMotion`, `Drop1id`, `Drop1per`, `Drop2id`, `Drop2per`, `Drop3id`, `Drop3per`, `Drop4id`, `Drop4per`, `Drop5id`, `Drop5per`, `Drop6id`, `Drop6per`, `Drop7d`, `Drop7per`, `Drop8id`, `Drop8per`, `Item1`, `Item2`, `MEXP`, `ExpPer`, `MVP1id`, `MVP1per`, `MVP2id`, `MVP2per`, `MVP3id`, `MVP3per`, `Comment` from ragnarok.mob_db2; - -INSERT INTO eragnarok.mob_poring ( `MobID`, `MobName`, `Rate`, `Comment` ) SELECT `MobID`, `MobName`, `Rate`, `Comment` from ragnarok.mob_poring; - -INSERT INTO eragnarok.mob_skill_db ( `Mob_ID`, `Dummy`, `State`, `Skill_ID`, `Skill_LV`, `Use_Rate`, `Cast_Time`, `Delay`, `Disturbance`, `Target`, `Condition_Type`, `Condition_Value`, `Value1`, `Value2`, `Value3`, `Value4`, `Value5`, `Comment` ) SELECT `Mob_ID`, `Dummy`, `State`, `Skill_ID`, `Skill_LV`, `Use_Rate`, `Cast_Time`, `Delay`, `Disturbance`, `Target`, `Condition_Type`, `Condition_Value`, `Value1`, `Value2`, `Value3`, `Value4`, `Value5`, `Comment` from ragnarok.mob_skill_db; - -#INSERT INTO eragnarok.pet_db ( `MobID`, `Name`, `JName`, `ItemID`, `EggID`, `AcceID`, `FoodID`, `Fullness`, `HungryDeray`, `R_Hungry`, `R_Full`, `Intimate`, `Die`, `Capture`, `Speed`, `S_Performance`, `Talk_Convert_Class`, `Attack_Rate`, `Defence_Attack_Rate`, `Change_Target_Rate`, `Pet_Script`, `Comment` ) SELECT `MobID`, `Name`, `JName`, `ItemID`, `EggID`, `AcceID`, `FoodID`, `Fullness`, `HungryDeray`, `R_Hungry`, `R_Full`, `Intimate`, `Die`, `Capture`, `Speed`, `S_Performance`, `Talk_Convert_Class`, `Attack_Rate`, `Defence_Attack_Rate`, `Change_Target_Rate`, `Pet_Script`, `Comment` from ragnarok.pet_db; - -#INSERT INTO eragnarok.produce_db ( `ID`, `ItemLV`, `RequireSkill`, `MaterialID1`, `MaterialAmount1`, `MaterialID2`, `MaterialAmount2`, `MaterialID3`, `MaterialAmount3`, `MaterialID4`, `MaterialAmount4`, `MaterialID5`, `MaterialAmount5`, `Comment` ) SELECT `ID`, `ItemLV`, `RequireSkill`, `MaterialID1`, `MaterialAmount1`, `MaterialID2`, `MaterialAmount2`, `MaterialID3`, `MaterialAmount3`, `MaterialID4`, `MaterialAmount4`, `MaterialID5`, `MaterialAmount5`, `Comment` from ragnarok.produce_db; - -#INSERT INTO eragnarok.refine_db ( `Refine_Bonus`, `Danger_Bonus`, `Safe_Limit`, `RefineChance1`, `RefineChance2`, `RefineChance3`, `RefineChance4`, `RefineChance5`, `RefineChance6`, `RefineChance7`, `RefineChance8`, `RefineChance9`, `RefineChance10`, `Comment` ) SELECT `Refine_Bonus`, `Danger_Bonus`, `Safe_Limit`, `RefineChance1`, `RefineChance2`, `RefineChance3`, `RefineChance4`, `RefineChance5`, `RefineChance6`, `RefineChance7`, `RefineChance8`, `RefineChance9`, `RefineChance10`, `Comment` from ragnarok.refine_db; - -#INSERT INTO eragnarok.size_fix ( `Element`, `Dagger`, `Sword`, `Two_Handed_Sword`, `Spear`, `Two_Handed_Spear`, `Axe`, `Two_Handed_Axe`, `Club`, `Whip`, `Stick`, `Bow`, `Fist`, `Musical`, `Rod`, `Book`, `Katar`, `Comment` ) SELECT `Element`, `Dagger`, `Sword`, `Two_Handed_Sword`, `Spear`, `Two_Handed_Spear`, `Axe`, `Two_Handed_Axe`, `Club`, `Whip`, `Stick`, `Bow`, `Fist`, `Musical`, `Rod`, `Book`, `Katar`, `Comment` from ragnarok.size_fix; - -#INSERT INTO eragnarok.skill_db ( `ID`, `Range`, `Hit`, `inf`, `nk`, `max`, `list_num`, `castcancel`, `cast_defence_rate`, `inf2`, `maxcount`, `skill_type`, `blow_count`, `Comment` ) SELECT `ID`, `Range`, `Hit`, `inf`, `nk`, `max`, `list_num`, `castcancel`, `cast_defence_rate`, `inf2`, `maxcount`, `skill_type`, `blow_count`, `Comment` from ragnarok.skill_db; - -#INSERT INTO eragnarok.skill_require_db ( `ID`, `List_HP`, `List_SP`, `List_HP_Rate`, `List_SP_Rate`, `List_Zeny`, `List_Weapon`, `State`, `Spiritball`, `ItemID1`, `Amount1`, `ItemID2`, `Amount2`, `ItemID3`, `Amount3`, `ItemID4`, `Amount4`, `ItemID5`, `Amount5`, `ItemID6`, `Amount6`, `ItemID7`, `Amount7`, `ItemID8`, `Amount8`, `ItemID9`, `Amount9`, `ItemID10`, `Amount10`, `Comment` ) SELECT `ID`, `List_HP`, `List_SP`, `List_HP_Rate`, `List_SP_Rate`, `List_Zeny`, `List_Weapon`, `State`, `Spiritball`, `ItemID1`, `Amount1`, `ItemID2`, `Amount2`, `ItemID3`, `Amount3`, `ItemID4`, `Amount4`, `ItemID5`, `Amount5`, `ItemID6`, `Amount6`, `ItemID7`, `Amount7`, `ItemID8`, `Amount8`, `ItemID9`, `Amount9`, `ItemID10`, `Amount10`, `Comment` from ragnarok.skill_require_db; - -#INSERT INTO eragnarok.skill_tree ( `Upper`, `JobNo`, `Skill_ID`, `MaxLV`, `Skill_ID_Require1`, `Skill_LV_Require1`, `Skill_ID_Require2`, `Skill_LV_Require2`, `Skill_ID_Require3`, `Skill_LV_Require3`, `Skill_ID_Require4`, `Skill_LV_Require4`, `Skill_ID_Require5`, `Skill_LV_Require5`, `Comment` ) SELECT `Upper`, `JobNo`, `Skill_ID`, `MaxLV`, `Skill_ID_Require1`, `Skill_LV_Require1`, `Skill_ID_Require2`, `Skill_LV_Require2`, `Skill_ID_Require3`, `Skill_LV_Require3`, `Skill_ID_Require4`, `Skill_LV_Require4`, `Skill_ID_Require5`, `Skill_LV_Require5`, `Comment` from ragnarok.skill_tree; - -INSERT INTO eragnarok.item_db ( `id`, `name_english`, `name_japanese`, `type`, `price_buy`, `price_sell`, `weight`, `attack`, `defence`, `range`, `slots`, `equip_jobs`, `equip_genders`, `equip_locations`, `weapon_level`, `equip_level`, `view`, `script_use`, `script_equip` ) SELECT `id`, `Name`, `Name2`, `type`, `Price`, `Sell`, `Weight`, `Atk`, `Def`, `range`, `Slot`, `Job`, `Gender`, `Loc`, `wLV`, `eLV`, `view`, `UseScript`, `EquipScript` from ragnarok.item_db; - -UPDATE item_db SET price_sell = price_buy/2; - -INSERT INTO eragnarok.mob_db (`ID`, `Name`, `Name2`, `LV`, `HP`, `SP`, `EXP`, `JEXP`, `Range1`, `ATK1`, `ATK2`, `DEF`, `MDEF`, `STR`, `AGI`, `VIT`, `INT`, `DEX`, `LUK`, `Range2`, `Range3`, `Scale`, `Race`, `Element`, `Mode`, `Speed`, `ADelay`, `aMotion`, `dMotion`, `Drop1id`, `Drop1per`, `Drop2id`, `Drop2per`, `Drop3id`, `Drop3per`, `Drop4id`, `Drop4per`, `Drop5id`, `Drop5per`, `Drop6id`, `Drop6per`, `Drop7id`, `Drop7per`, `Drop8id`, `Drop8per`, `MEXP`, `ExpPer`, `MVP1id`, `MVP1per`, `MVP2id`, `MVP2per`, `MVP3id`, `MVP3per`) SELECT `ID`, `Name`, `Name2`, `LV`, `HP`, `SP`, `EXP`, `JEXP`, `Range1`, `ATK1`, `ATK2`, `DEF`, `MDEF`, `STR`, `AGI`, `VIT`, `INT`, `DEX`, `LUK`, `Range2`, `Range3`, `Scale`, `Race`, `Element`, `Mode`, `Speed`, `ADelay`, `aMotion`, `dMotion`, `Drop1id`, `Drop1per`, `Drop2id`, `Drop2per`, `Drop3id`, `Drop3per`, `Drop4id`, `Drop4per`, `Drop5id`, `Drop5per`, `Drop6id`, `Drop6per`, `Drop7id`, `Drop7per`, `Drop8id`, `Drop8per`, `MEXP`, `ExpPer`, `MVP1id`, `MVP1per`, `MVP2id`, `MVP2per`, `MVP3id`, `MVP3per` from ragnarok.mob_db; - -DELETE FROM eragnarok.login; - -INSERT INTO eragnarok.login ( `account_id`, `userid`, `user_pass`, `lastlogin`, `sex`, `logincount`, `email`, `level` ) SELECT `account_id`, `userid`, `user_pass`, `lastlogin`, `sex`, `logincount`, `email`, `level` from ragnarok.login ; diff --git a/sql-files/upgrade_0.5.2_database.sql b/sql-files/upgrade_0.5.2_database.sql deleted file mode 100644 index 4d328acf6..000000000 --- a/sql-files/upgrade_0.5.2_database.sql +++ /dev/null @@ -1 +0,0 @@ -# Upgrade database tables for eAthena 0.5.2 to 1.0 RC 2 diff --git a/sql-files/upgrade_0.5.2_main.sql b/sql-files/upgrade_0.5.2_main.sql deleted file mode 100644 index e11d226ba..000000000 --- a/sql-files/upgrade_0.5.2_main.sql +++ /dev/null @@ -1,62 +0,0 @@ -# Upgrade login and character server tables for eAthena 0.5.2 to 1.0 RC 2 - -ALTER TABLE `cart_inventory` ADD `broken` int(11) NOT NULL default '0'; - -ALTER TABLE `char` MODIFY `base_level` bigint(20) unsigned NOT NULL default '1'; -ALTER TABLE `char` MODIFY `job_level` bigint(20) unsigned NOT NULL default '1'; -ALTER TABLE `char` MODIFY `base_exp` bigint(20) NOT NULL default '0'; -ALTER TABLE `char` MODIFY `job_exp` bigint(20) NOT NULL default '0'; -ALTER TABLE `char` ADD `partner_id` int(11) NOT NULL default '0'; - -ALTER TABLE `charlog` MODIFY `str` int(11) unsigned NOT NULL default '0'; -ALTER TABLE `charlog` MODIFY `agi` int(11) unsigned NOT NULL default '0'; -ALTER TABLE `charlog` MODIFY `vit` int(11) unsigned NOT NULL default '0'; -ALTER TABLE `charlog` MODIFY `int` int(11) unsigned NOT NULL default '0'; -ALTER TABLE `charlog` MODIFY `dex` int(11) unsigned NOT NULL default '0'; -ALTER TABLE `charlog` MODIFY `luk` int(11) unsigned NOT NULL default '0'; - -ALTER TABLE `global_reg_value` MODIFY `value` varchar(255) NOT NULL default '0'; -ALTER TABLE `global_reg_value` ADD PRIMARY KEY (`char_id`, `str`, `account_id`); -ALTER TABLE `global_reg_value` DROP INDEX `account_id`; -ALTER TABLE `global_reg_value` ADD INDEX `account_id` (`account_id`); - -ALTER TABLE `guild_castle` ADD `gHP0` int(11) NOT NULL default '0'; -ALTER TABLE `guild_castle` ADD `gHP1` int(11) NOT NULL default '0'; -ALTER TABLE `guild_castle` ADD `gHP2` int(11) NOT NULL default '0'; -ALTER TABLE `guild_castle` ADD `gHP3` int(11) NOT NULL default '0'; -ALTER TABLE `guild_castle` ADD `gHP4` int(11) NOT NULL default '0'; -ALTER TABLE `guild_castle` ADD `gHP5` int(11) NOT NULL default '0'; -ALTER TABLE `guild_castle` ADD `gHP6` int(11) NOT NULL default '0'; -ALTER TABLE `guild_castle` ADD `gHP7` int(11) NOT NULL default '0'; - -ALTER TABLE `guild_member` MODIFY `exp` bigint(20) NOT NULL default '0'; - -ALTER TABLE `guild_storage` ADD `broken` int(11) NOT NULL default '0'; - -ALTER TABLE `inventory` ADD `broken` int(11) NOT NULL default '0'; - -ALTER TABLE `login` MODIFY `account_id` int(11) NOT NULL default '0' AUTO_INCREMENT, AUTO_INCREMENT=1000057; -ALTER TABLE `login` MODIFY `userid` varchar(255) NOT NULL default ''; -ALTER TABLE `login` MODIFY `user_pass` varchar(32) NOT NULL default ''; -ALTER TABLE `login` ADD `error_message` int(11) NOT NULL default '0'; -ALTER TABLE `login` ADD `connect_until` int(11) NOT NULL default '0'; -ALTER TABLE `login` ADD `last_ip` varchar(100) NOT NULL default ''; -ALTER TABLE `login` ADD `memo` int(11) NOT NULL default '0'; -ALTER TABLE `login` ADD `ban_until` int(11) NOT NULL default '0'; -ALTER TABLE `login` ADD `state` int(11) NOT NULL default '0'; -ALTER TABLE `login` DROP INDEX `account_id`; -ALTER TABLE `login` DROP INDEX `userid`; -ALTER TABLE `login` ADD PRIMARY KEY (`account_id`), ADD INDEX `name` (`userid`); - -CREATE TABLE `login_error` ( - `err_id` int(11) NOT NULL default '0', - `reason` varchar(100) NOT NULL default 'Unknown', - PRIMARY KEY (`err_id`) -) TYPE=MyISAM; - -ALTER TABLE `ragsrvinfo` DROP `type`, DROP `text1`, DROP `text2`, DROP `text3`, DROP `text4`; -ALTER TABLE `ragsrvinfo` ADD `motd` varchar(255) NOT NULL default ''; - -ALTER TABLE `skill` ADD PRIMARY KEY (`char_id`,`id`); - -ALTER TABLE `storage` ADD `broken` int(11) NOT NULL default '0'; diff --git a/sql-files/upgrade_1.0.0-rc1_main.sql b/sql-files/upgrade_1.0.0-rc1_main.sql deleted file mode 100644 index 0ae05933f..000000000 --- a/sql-files/upgrade_1.0.0-rc1_main.sql +++ /dev/null @@ -1,3 +0,0 @@ -# Upgrade login and character server tables for eAthena 1.0 RC 1 to 1.0 RC 2 - -ALTER TABLE `login` MODIFY `account_id` INT(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2000000; diff --git a/sql-files/upgrade_1.0.0-rc2_database.sql b/sql-files/upgrade_1.0.0-rc2_database.sql deleted file mode 100644 index e1b041c97..000000000 --- a/sql-files/upgrade_1.0.0-rc2_database.sql +++ /dev/null @@ -1,4 +0,0 @@ -# Upgrade database tables for eAthena 1.0 RC2 - -ALTER TABLE `item_db` MODIFY `name_english` varchar(28); -ALTER TABLE `item_db` MODIFY `name_japanese` varchar(28); diff --git a/sql-files/upgrade_1.0.0-rc5_database.sql b/sql-files/upgrade_1.0.0-rc5_database.sql deleted file mode 100644 index 8b60b7216..000000000 --- a/sql-files/upgrade_1.0.0-rc5_database.sql +++ /dev/null @@ -1,4 +0,0 @@ -# Upgrade database tables for eAthena 1.0 RC2 - -ALTER TABLE `item_db` MODIFY `name_english` varchar(24); -ALTER TABLE `item_db` MODIFY `name_japanese` varchar(24); diff --git a/sql-files/upgrade_1.0.0.sql b/sql-files/upgrade_1.0.0.sql deleted file mode 100644 index dc24a822a..000000000 --- a/sql-files/upgrade_1.0.0.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `friends` ADD `friend_id0` int(11) NOT NULL default '0', ADD `name0` varchar(255) NOT NULL default '';
\ No newline at end of file diff --git a/sql-files/upgrade_svn1759.sql b/sql-files/upgrade_svn1759.sql deleted file mode 100644 index 281cef6c9..000000000 --- a/sql-files/upgrade_svn1759.sql +++ /dev/null @@ -1,18 +0,0 @@ - -CREATE TABLE `chatlog` ( - `id` bigint(20) NOT NULL auto_increment, - `time` datetime NOT NULL default '0000-00-00 00:00:00', - `type` enum('W','P','G') NOT NULL default 'W', - `type_id` int(11) NOT NULL default '0', - `src_charid` int(11) NOT NULL default '0', - `src_accountid` int(11) NOT NULL default '0', - `src_map` varchar(17) NOT NULL default '', - `src_map_x` tinyint(4) NOT NULL default '0', - `src_map_y` tinyint(4) NOT NULL default '0', - `dst_charname` varchar(25) NOT NULL default '', - `message` varchar(150) NOT NULL default '', - PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=1 ; - - - diff --git a/sql-files/upgrade_svn1863.sql b/sql-files/upgrade_svn1863.sql deleted file mode 100644 index f4b1b4910..000000000 --- a/sql-files/upgrade_svn1863.sql +++ /dev/null @@ -1,7 +0,0 @@ -ALTER TABLE item_db ADD `refineable` tinyint(1) default NULL AFTER `equip_level`; -ALTER TABLE item_db2 ADD `refineable` tinyint(1) default NULL AFTER `equip_level`; -UPDATE item_db SET refineable=1 where type=4 or type=5; -UPDATE item_db2 SET refineable=1 where type=4 or type=5; -UPDATE item_db SET refineable = 0 where id = 1243 OR id = 1530 OR id = 2110 OR id = 2112 OR id = 2250 OR id = 2253 OR id = 2264 OR id = 2271 OR id = 2279 OR id = 2282 OR id = 2289 OR id = 2290 OR id = 2293 OR id = 2298 OR id = 2352 OR id = 2410 OR id = 2413 OR id = 2414 OR id = 2509 OR id = 2510 OR id = 5008 OR id = 5015 OR id = 5037 OR id = 5039 OR id = 5046 OR id = 5049 OR id = 5050 OR id = 5053 OR id = 5055 OR id = 5058 OR id = 5098; -UPDATE item_db SET refineable = 0 where equip_locations = 513 OR equip_locations = 512 OR equip_locations = 136 OR equip_locations = 1; -UPDATE item_db2 SET refineable = 0 where equip_locations = 513 OR equip_locations = 512 OR equip_locations = 136 OR equip_locations = 1; diff --git a/sql-files/upgrade_svn2068.sql b/sql-files/upgrade_svn2068.sql deleted file mode 100644 index 33de1848c..000000000 --- a/sql-files/upgrade_svn2068.sql +++ /dev/null @@ -1,3 +0,0 @@ -update mob_db set aMotion="185" where id=1275; -update mob_db set aMotion="160" where id=1200; -update mob_db set aMotion="160" where id=1482; diff --git a/sql-files/upgrade_svn2252.sql b/sql-files/upgrade_svn2252.sql deleted file mode 100644 index c1d3884f1..000000000 --- a/sql-files/upgrade_svn2252.sql +++ /dev/null @@ -1,14 +0,0 @@ -################################ -# NEW friend table # -# NOTE -> if you dont write a # -# converter, all your friends # -# will be deleted # -################################ - -DROP TABLE `friends`; - -CREATE TABLE `friends` ( - `char_id` int(11) NOT NULL default '0', - `friend_id` int(11) NOT NULL default '0' -) TYPE=MyISAM; - diff --git a/sql-files/upgrade_svn2331.sql b/sql-files/upgrade_svn2331.sql deleted file mode 100644 index e45c42185..000000000 --- a/sql-files/upgrade_svn2331.sql +++ /dev/null @@ -1,3 +0,0 @@ -ALTER TABLE guild_position -ADD CONSTRAINT `guild_position_ibfk_1` FOREIGN KEY (`guild_id`) -REFERENCES `guild` (`guild_id`) ON DELETE CASCADE diff --git a/sql-files/upgrade_svn2574.sql b/sql-files/upgrade_svn2574.sql deleted file mode 100644 index 35e444106..000000000 --- a/sql-files/upgrade_svn2574.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE friends ADD `friend_account` int(11) NOT NULL default 0 AFTER `char_id`; -UPDATE friends, `char` SET friends.friend_account=`char`.account_id where friends.friend_id=`char`.char_id; diff --git a/sql-files/upgrade_svn3273.sql b/sql-files/upgrade_svn3273.sql deleted file mode 100644 index c9e88d761..000000000 --- a/sql-files/upgrade_svn3273.sql +++ /dev/null @@ -1,12 +0,0 @@ -CREATE TABLE `sc_data` ( - `account_id` int(11) unsigned NOT NULL, - `char_id` int(11) unsigned NOT NULL, - `type` smallint(11) unsigned NOT NULL, - `tick` int(11) NOT NULL, - `val1` int(11) NOT NULL default '0', - `val2` int(11) NOT NULL default '0', - `val3` int(11) NOT NULL default '0', - `val4` int(11) NOT NULL default '0', - CONSTRAINT `scdata_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `login` (`account_id`) ON DELETE CASCADE, - CONSTRAINT `scdata_ibfk_2` FOREIGN KEY (`char_id`) REFERENCES `char` (`char_id`) ON DELETE CASCADE -) TYPE=InnoDB; diff --git a/sql-files/upgrade_svn3746.sql b/sql-files/upgrade_svn3746.sql deleted file mode 100644 index 893568358..000000000 --- a/sql-files/upgrade_svn3746.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `char` MODIFY `manner` tinyint(11) NOT NULL default '0'; diff --git a/sql-files/upgrade_svn4367.sql b/sql-files/upgrade_svn4367.sql deleted file mode 100644 index d0b52f9f4..000000000 --- a/sql-files/upgrade_svn4367.sql +++ /dev/null @@ -1,9 +0,0 @@ -DROP TABLE IF EXISTS `mapreg`; -CREATE TABLE `mapreg` ( - `varname` char(32) NOT NULL, - `index` int(11) unsigned NOT NULL default '0', - `value` char(255) NOT NULL -) TYPE=MyISAM; - -ALTER TABLE `mapreg` ADD INDEX ( `varname` ); -ALTER TABLE `mapreg` ADD INDEX ( `index` ); diff --git a/sql-files/upgrade_svn4583.sql b/sql-files/upgrade_svn4583.sql deleted file mode 100644 index 864123864..000000000 --- a/sql-files/upgrade_svn4583.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `guild` DROP COLUMN `castle_id`; diff --git a/sql-files/upgrade_svn4726.sql b/sql-files/upgrade_svn4726.sql deleted file mode 100644 index 006797ce0..000000000 --- a/sql-files/upgrade_svn4726.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `party` ADD COLUMN `leader_char` int(11) NOT NULL DEFAULT '0' AFTER `leader_id`; -UPDATE `party`,`char` SET `leader_char` = `char`.char_id WHERE (`char`.party_id = `party`.party_id AND `party`.leader_id = `char`.account_id); diff --git a/sql-files/upgrade_svn4783.sql b/sql-files/upgrade_svn4783.sql deleted file mode 100644 index 0f3c2f8ea..000000000 --- a/sql-files/upgrade_svn4783.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `mapreg` MODIFY `varname` varchar(32) NOT NULL; -ALTER TABLE `mapreg` MODIFY `value` varchar(255) NOT NULL; diff --git a/sql-files/upgrade_svn4941.sql b/sql-files/upgrade_svn4941.sql deleted file mode 100644 index 93037ef0c..000000000 --- a/sql-files/upgrade_svn4941.sql +++ /dev/null @@ -1,6 +0,0 @@ -ALTER TABLE `char` MODIFY `last_map` varchar(20) NOT NULL default 'prontera.gat'; -ALTER TABLE `char` MODIFY `last_x` smallint(11) unsigned NOT NULL default '53'; -ALTER TABLE `char` MODIFY `last_y` smallint(11) unsigned NOT NULL default '111'; -ALTER TABLE `char` MODIFY `save_map` varchar(20) NOT NULL default 'prontera.gat'; -ALTER TABLE `char` MODIFY `save_x` smallint(11) unsigned NOT NULL default '53'; -ALTER TABLE `char` MODIFY `save_y` smallint(11) unsigned NOT NULL default '111';
\ No newline at end of file diff --git a/sql-files/upgrade_svn5311.sql b/sql-files/upgrade_svn5311.sql deleted file mode 100644 index 38bbbea3a..000000000 --- a/sql-files/upgrade_svn5311.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `party` MODIFY `party_id` int(11) unsigned NOT NULL auto_increment; diff --git a/sql-files/upgrade_svn5322.sql b/sql-files/upgrade_svn5322.sql deleted file mode 100644 index a06d90326..000000000 --- a/sql-files/upgrade_svn5322.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `guild` MODIFY `guild_id` int(11) unsigned NOT NULL auto_increment; diff --git a/sql-files/upgrade_svn5455.sql b/sql-files/upgrade_svn5455.sql deleted file mode 100644 index 6c79a5159..000000000 --- a/sql-files/upgrade_svn5455.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `char` MODIFY `karma` tinyint(3) NOT NULL default '0'; -ALTER TABLE `char` MODIFY `manner` tinyint(3) NOT NULL default '0'; diff --git a/sql-files/upgrade_svn5607.sql b/sql-files/upgrade_svn5607.sql deleted file mode 100644 index 51dae2c75..000000000 --- a/sql-files/upgrade_svn5607.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `guild` MODIFY `average_lv` smallint(6) unsigned NOT NULL default '1'; diff --git a/sql-files/upgrade_svn5834.sql b/sql-files/upgrade_svn5834.sql deleted file mode 100644 index 467bc24bb..000000000 --- a/sql-files/upgrade_svn5834.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE `item_db` SET `view`=1 where `type` = 10; diff --git a/sql-files/upgrade_svn5902.sql b/sql-files/upgrade_svn5902.sql deleted file mode 100644 index 382f92eb6..000000000 --- a/sql-files/upgrade_svn5902.sql +++ /dev/null @@ -1,14 +0,0 @@ -update `char` set `class`='7' where `class`='13'; -update `char` set `class`='14' where `class`='21'; -update `char` set `class`='4008' where `class`='4014'; -update `char` set `class`='4015' where `class`='4022'; -update `char` set `class`='4030' where `class`='4036'; -update `char` set `class`='4037' where `class`='4044'; -update `char` set `class`='4047' where `class`='4048'; -update `guild_member` set `class`='7' where `class`='13'; -update `guild_member` set `class`='14' where `class`='21'; -update `guild_member` set `class`='4008' where `class`='4014'; -update `guild_member` set `class`='4015' where `class`='4022'; -update `guild_member` set `class`='4030' where `class`='4036'; -update `guild_member` set `class`='4037' where `class`='4044'; -update `guild_member` set `class`='4047' where `class`='4048'; diff --git a/sql-files/upgrade_svn5951.sql b/sql-files/upgrade_svn5951.sql deleted file mode 100644 index d1006fca8..000000000 --- a/sql-files/upgrade_svn5951.sql +++ /dev/null @@ -1,26 +0,0 @@ -#Delete 2^13 (Peco Knight) -update item_db set equip_jobs = equip_jobs&~0x2000 where equip_jobs&0x2000; -#Move 2^20 -> 2^19 (Dancer -> Bard) -update item_db set equip_jobs = (equip_jobs|0x80000)&~0x100000 where equip_jobs&0x100000; -#Remove 2^21 (Peco Crusader) -update item_db set equip_jobs = equip_jobs&~0x200000 where equip_jobs&0x200000; -#Remove 2^22 (Wedding) -update item_db set equip_jobs = equip_jobs&~0x400000 where equip_jobs&0x400000; -#Remove 2^23 (S. Novice) -update item_db set equip_jobs = equip_jobs&~0x800000 where equip_jobs&0x800000; -#Move 2^24 -> 2^21 (TK) -update item_db set equip_jobs = (equip_jobs|0x200000)&~0x1000000 where equip_jobs&0x1000000; -#Move 2^25 -> 2^22 (SG) -update item_db set equip_jobs = (equip_jobs|0x400000)&~0x2000000 where equip_jobs&0x2000000; -#Move 2^26 -> 2^23 (SL) -update item_db set equip_jobs = (equip_jobs|0x800000)&~0x8000000 where equip_jobs&0x8000000; -#Move 2^28 -> 2^24 (GS) -update item_db set equip_jobs = (equip_jobs|0x1000000)&~0x4000000 where equip_jobs&0x4000000; -#Move 2^27 -> 2^25 (NJ) -update item_db set equip_jobs = (equip_jobs|0x2000000)&~0x10000000 where equip_jobs&0x10000000; -#Make items usable by everyone into 0xFFFFFFFF -update item_db set equip_jobs = 0xFFFFFFFF where equip_jobs = 0x3EFDFFF; -#Make items usable by everyone but novice into 0xFFFFFFFE -update item_db set equip_jobs = 0xFFFFFFFE where equip_jobs = 0x0EFDFFE; -#Update items usable by everyone except acolyte/priest/monk/gunslinger -update item_db set equip_jobs = 0xFDFF7EEF where equip_jobs = 0x28F5EEF; diff --git a/sql-files/upgrade_svn5972.sql b/sql-files/upgrade_svn5972.sql deleted file mode 100644 index eec3ecc30..000000000 --- a/sql-files/upgrade_svn5972.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE item_db SET equip_jobs = 0xFEFF7EEF WHERE equip_jobs = 0xEFFF7EEF; diff --git a/sql-files/upgrade_svn6533.sql b/sql-files/upgrade_svn6533.sql deleted file mode 100644 index 28ca04c50..000000000 --- a/sql-files/upgrade_svn6533.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `loginlog` CHANGE `ip` `ip` CHAR( 15 ) NOT NULL; -ALTER TABLE `loginlog` ADD INDEX ( `ip` ( 15 ) ); diff --git a/sql-files/upgrade_svn6868.sql b/sql-files/upgrade_svn6868.sql deleted file mode 100644 index 47f89b1a3..000000000 --- a/sql-files/upgrade_svn6868.sql +++ /dev/null @@ -1,2 +0,0 @@ -UPDATE `loginlog` SET `ip` = inet_aton(`ip`); -ALTER TABLE `loginlog` CHANGE `ip` `ip` INT( 10 ) UNSIGNED ZEROFILL NOT NULL DEFAULT '0';
\ No newline at end of file diff --git a/sql-files/upgrade_svn7146.sql b/sql-files/upgrade_svn7146.sql deleted file mode 100644 index f608ab273..000000000 --- a/sql-files/upgrade_svn7146.sql +++ /dev/null @@ -1 +0,0 @@ -ALTER TABLE `char` ADD INDEX ( `account_id` ); diff --git a/sql-files/upgrade_svn7194.sql b/sql-files/upgrade_svn7194.sql deleted file mode 100644 index 8dc0ca36a..000000000 --- a/sql-files/upgrade_svn7194.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `loginlog` ADD INDEX ( `ip` ); -ALTER TABLE `ipbanlist` ADD INDEX ( `list` ); diff --git a/sql-files/upgrade_svn7580.sql b/sql-files/upgrade_svn7580.sql deleted file mode 100644 index e383d2f0e..000000000 --- a/sql-files/upgrade_svn7580.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `char` MODIFY `party_id` int(11) unsigned NOT NULL default '0'; -ALTER TABLE `char` MODIFY `guild_id` int(11) unsigned NOT NULL default '0'; diff --git a/sql-files/upgrade_svn7706.sql b/sql-files/upgrade_svn7706.sql deleted file mode 100644 index 0e847ad27..000000000 --- a/sql-files/upgrade_svn7706.sql +++ /dev/null @@ -1,36 +0,0 @@ -ALTER TABLE `char` ADD `homun_id` int(11) unsigned NOT NULL default '0' AFTER `pet_id`; - -DROP TABLE IF EXISTS `homunculus`; -CREATE TABLE `homunculus` ( - `homun_id` int(11) NOT NULL auto_increment, - `char_id` int(11) NOT NULL, - `class` mediumint(9) unsigned NOT NULL default '0', - `name` varchar(24) NOT NULL default '', - `level` smallint(4) NOT NULL default '0', - `exp` int(12) NOT NULL default '0', - `intimacy` int(12) NOT NULL default '0', - `hunger` smallint(4) NOT NULL default '0', - `str` smallint(4) unsigned NOT NULL default '0', - `agi` smallint(4) unsigned NOT NULL default '0', - `vit` smallint(4) unsigned NOT NULL default '0', - `int` smallint(4) unsigned NOT NULL default '0', - `dex` smallint(4) unsigned NOT NULL default '0', - `luk` smallint(4) unsigned NOT NULL default '0', - `hp` int(12) NOT NULL default '1', - `max_hp` int(12) NOT NULL default '1', - `sp` int(12) NOT NULL default '1', - `max_sp` int(12) NOT NULL default '1', - `skill_point` smallint(4) unsigned NOT NULL default '0', - `alive` tinyint(2) NOT NULL default '1', - `rename_flag` tinyint(2) NOT NULL default '0', - `vaporize` tinyint(2) NOT NULL default '0', - PRIMARY KEY (`homun_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - -CREATE TABLE `skill_homunculus` ( - `homun_id` int(11) NOT NULL, - `id` int(11) NOT NULL, - `lv` smallint(6) NOT NULL, - PRIMARY KEY (`homun_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; diff --git a/sql-files/upgrade_svn7768.sql b/sql-files/upgrade_svn7768.sql deleted file mode 100644 index c04d03973..000000000 --- a/sql-files/upgrade_svn7768.sql +++ /dev/null @@ -1,8 +0,0 @@ -DROP TABLE IF EXISTS `skill_homunculus`; -CREATE TABLE `skill_homunculus` ( - `homun_id` int(11) NOT NULL, - `id` int(11) NOT NULL, - `lv` smallint(6) NOT NULL, - PRIMARY KEY (`homun_id`,`id`), - KEY `homun_id` (`homun_id`) -) TYPE=MyISAM;
\ No newline at end of file |