|
@@ -24,19 +24,6 @@ CREATE TABLE IF NOT EXISTS `acc_reg_str` (
|
|
KEY `account_id` (`account_id`)
|
|
KEY `account_id` (`account_id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
---
|
|
|
|
--- Table structure for table `skillcooldown`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `skillcooldown` (
|
|
|
|
- `account_id` int(11) unsigned NOT NULL,
|
|
|
|
- `char_id` int(11) unsigned NOT NULL,
|
|
|
|
- `skill` smallint(11) unsigned NOT NULL DEFAULT '0',
|
|
|
|
- `tick` int(11) NOT NULL,
|
|
|
|
- KEY `account_id` (`account_id`),
|
|
|
|
- KEY `char_id` (`char_id`)
|
|
|
|
-) ENGINE=MyISAM;
|
|
|
|
-
|
|
|
|
--
|
|
--
|
|
-- Table structure for table `auction`
|
|
-- Table structure for table `auction`
|
|
--
|
|
--
|
|
@@ -64,6 +51,119 @@ CREATE TABLE IF NOT EXISTS `auction` (
|
|
PRIMARY KEY (`auction_id`)
|
|
PRIMARY KEY (`auction_id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
|
|
+--
|
|
|
|
+-- Table structure for `db_roulette`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE `db_roulette` (
|
|
|
|
+ `index` int(11) NOT NULL default '0',
|
|
|
|
+ `level` smallint(5) unsigned NOT NULL,
|
|
|
|
+ `item_id` smallint(5) unsigned NOT NULL,
|
|
|
|
+ `amount` smallint(5) unsigned NOT NULL DEFAULT '1',
|
|
|
|
+ `flag` smallint(5) unsigned NOT NULL DEFAULT '1',
|
|
|
|
+ PRIMARY KEY (`index`)
|
|
|
|
+) ENGINE=MyISAM;
|
|
|
|
+
|
|
|
|
+-- ----------------------------
|
|
|
|
+-- Records of db_roulette
|
|
|
|
+-- ----------------------------
|
|
|
|
+-- Info: http://ro.gnjoy.com/news/update/View.asp?seq=157&curpage=1
|
|
|
|
+
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 0, 1, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 1, 1, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 2, 1, 678, 1, 0 ); -- Poison_Bottle
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 3, 1, 604, 1, 0 ); -- Branch_Of_Dead_Tree
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 4, 1, 522, 1, 0 ); -- Fruit_Of_Mastela
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 5, 1, 671, 1, 0 ); -- Old_Ore_Box
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 6, 1, 12523, 1, 0 ); -- E_Inc_Agi_10_Scroll
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 7, 1, 985, 1, 0 ); -- Elunium
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 8, 1, 984, 1, 0 ); -- Oridecon
|
|
|
|
+
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 9, 2, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 10, 2, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 11, 2, 603, 1, 0 ); -- Old_Blue_Box
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 12, 2, 608, 1, 0 ); -- Seed_Of_Yggdrasil
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 13, 2, 607, 1, 0 ); -- Yggdrasilberry
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 14, 2, 12522, 1, 0 ); -- E_Blessing_10_Scroll
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 15, 2, 6223, 1, 0 ); -- Carnium
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 16, 2, 6224, 1, 0 ); -- Bradium
|
|
|
|
+
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 17, 3, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 18, 3, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 19, 3, 12108, 1, 0 ); -- Bundle_Of_Magic_Scroll
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 20, 3, 617, 1, 0 ); -- Old_Violet_Box
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 21, 3, 12514, 1, 0 ); -- E_Abrasive
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 22, 3, 7444, 1, 0 ); -- Treasure_Box
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 23, 3, 969, 1, 0 ); -- Gold
|
|
|
|
+
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 24, 4, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 25, 4, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 26, 4, 616, 1, 0 ); -- Old_Card_Album
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 27, 4, 12516, 1, 0 ); -- E_Small_Life_Potion
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 28, 4, 22777, 1, 0 ); -- Gift_Buff_Set
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 29, 4, 6231, 1, 0 ); -- Guarantee_Weapon_6Up
|
|
|
|
+
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 30, 5, 671, 1, 1 ); -- Gold_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 31, 5, 12246, 1, 0 ); -- Magic_Card_Album
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 32, 5, 12263, 1, 0 ); -- Comp_Battle_Manual
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 33, 5, 671, 1, 0 ); -- Potion_Box
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 34, 5, 6235, 1, 0 ); -- Guarantee_Armor_6Up
|
|
|
|
+
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 35, 6, 671, 1, 1 ); -- Gold_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 36, 6, 12766, 1, 0 ); -- Reward_Job_BM25
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 37, 6, 6234, 1, 0 ); -- Guarantee_Armor_7Up
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 38, 6, 6233, 1, 0 ); -- Guarantee_Armor_8Up
|
|
|
|
+
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 39, 7, 671, 1, 1 ); -- Gold_Coin
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 40, 7, 6233, 1, 0 ); -- Guarantee_Armor_8Up
|
|
|
|
+INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 41, 7, 6233, 1, 0 ); -- Guarantee_Armor_8Up // KRO lists this twice
|
|
|
|
+
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `bonus_script`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `bonus_script` (
|
|
|
|
+ `char_id` INT(11) UNSIGNED NOT NULL,
|
|
|
|
+ `script` TEXT NOT NULL,
|
|
|
|
+ `tick` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
+ `flag` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
+ `type` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
+ `icon` SMALLINT(3) NOT NULL DEFAULT '-1'
|
|
|
|
+) ENGINE=InnoDB;
|
|
|
|
+
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `buyingstore_items`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `buyingstore_items` (
|
|
|
|
+ `buyingstore_id` int(10) unsigned NOT NULL,
|
|
|
|
+ `index` smallint(5) unsigned NOT NULL,
|
|
|
|
+ `item_id` int(10) unsigned NOT NULL,
|
|
|
|
+ `amount` smallint(5) unsigned NOT NULL,
|
|
|
|
+ `price` int(10) unsigned NOT NULL
|
|
|
|
+) ENGINE=MyISAM;
|
|
|
|
+
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `buyingstores`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `buyingstores` (
|
|
|
|
+ `id` int(10) unsigned NOT NULL,
|
|
|
|
+ `account_id` int(11) unsigned NOT NULL,
|
|
|
|
+ `char_id` int(10) unsigned NOT NULL,
|
|
|
|
+ `sex` enum('F','M') NOT NULL DEFAULT 'M',
|
|
|
|
+ `map` varchar(20) NOT NULL,
|
|
|
|
+ `x` smallint(5) unsigned NOT NULL,
|
|
|
|
+ `y` smallint(5) unsigned NOT NULL,
|
|
|
|
+ `title` varchar(80) NOT NULL,
|
|
|
|
+ `limit` int(10) unsigned NOT NULL,
|
|
|
|
+ `body_direction` CHAR( 1 ) NOT NULL DEFAULT '4',
|
|
|
|
+ `head_direction` CHAR( 1 ) NOT NULL DEFAULT '0',
|
|
|
|
+ `sit` CHAR( 1 ) NOT NULL DEFAULT '1',
|
|
|
|
+ `autotrade` tinyint(4) NOT NULL,
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=MyISAM;
|
|
|
|
+
|
|
--
|
|
--
|
|
-- Table structure for table `cart_inventory`
|
|
-- Table structure for table `cart_inventory`
|
|
--
|
|
--
|
|
@@ -242,19 +342,6 @@ CREATE TABLE IF NOT EXISTS `friends` (
|
|
KEY `char_id` (`char_id`)
|
|
KEY `char_id` (`char_id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
---
|
|
|
|
--- Table structure for table `hotkey`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `hotkey` (
|
|
|
|
- `char_id` INT(11) NOT NULL,
|
|
|
|
- `hotkey` TINYINT(2) unsigned NOT NULL,
|
|
|
|
- `type` TINYINT(1) unsigned NOT NULL default '0',
|
|
|
|
- `itemskill_id` INT(11) unsigned NOT NULL default '0',
|
|
|
|
- `skill_lvl` TINYINT(4) unsigned NOT NULL default '0',
|
|
|
|
- PRIMARY KEY (`char_id`,`hotkey`)
|
|
|
|
-) ENGINE=MyISAM;
|
|
|
|
-
|
|
|
|
--
|
|
--
|
|
-- Table structure for table `global_acc_reg_num`
|
|
-- Table structure for table `global_acc_reg_num`
|
|
--
|
|
--
|
|
@@ -460,6 +547,19 @@ CREATE TABLE IF NOT EXISTS `homunculus` (
|
|
PRIMARY KEY (`homun_id`)
|
|
PRIMARY KEY (`homun_id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `hotkey`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `hotkey` (
|
|
|
|
+ `char_id` INT(11) NOT NULL,
|
|
|
|
+ `hotkey` TINYINT(2) unsigned NOT NULL,
|
|
|
|
+ `type` TINYINT(1) unsigned NOT NULL default '0',
|
|
|
|
+ `itemskill_id` INT(11) unsigned NOT NULL default '0',
|
|
|
|
+ `skill_lvl` TINYINT(4) unsigned NOT NULL default '0',
|
|
|
|
+ PRIMARY KEY (`char_id`,`hotkey`)
|
|
|
|
+) ENGINE=MyISAM;
|
|
|
|
+
|
|
--
|
|
--
|
|
-- Table structure for table `interlog`
|
|
-- Table structure for table `interlog`
|
|
--
|
|
--
|
|
@@ -469,6 +569,16 @@ CREATE TABLE IF NOT EXISTS `interlog` (
|
|
`log` varchar(255) NOT NULL default ''
|
|
`log` varchar(255) NOT NULL default ''
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `interreg`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `interreg` (
|
|
|
|
+ `varname` varchar(11) NOT NULL,
|
|
|
|
+ `value` varchar(20) NOT NULL,
|
|
|
|
+ PRIMARY KEY (`varname`)
|
|
|
|
+) ENGINE=InnoDB;
|
|
|
|
+
|
|
--
|
|
--
|
|
-- Table structure for table `inventory`
|
|
-- Table structure for table `inventory`
|
|
--
|
|
--
|
|
@@ -538,34 +648,6 @@ CREATE TABLE IF NOT EXISTS `login` (
|
|
|
|
|
|
INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`) VALUES ('1', 's1', 'p1', 'S','athena@athena.com');
|
|
INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`) VALUES ('1', 's1', 'p1', 'S','athena@athena.com');
|
|
|
|
|
|
---
|
|
|
|
--- Table structure for table `mapreg`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `mapreg` (
|
|
|
|
- `varname` varchar(32) binary NOT NULL,
|
|
|
|
- `index` int(11) unsigned NOT NULL default '0',
|
|
|
|
- `value` varchar(255) NOT NULL,
|
|
|
|
- PRIMARY KEY (`varname`,`index`)
|
|
|
|
-) ENGINE=MyISAM;
|
|
|
|
-
|
|
|
|
---
|
|
|
|
--- Table structure for table `sc_data`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `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',
|
|
|
|
- KEY (`account_id`),
|
|
|
|
- KEY (`char_id`)
|
|
|
|
-) ENGINE=MyISAM;
|
|
|
|
-
|
|
|
|
--
|
|
--
|
|
-- Table structure for table `mail`
|
|
-- Table structure for table `mail`
|
|
--
|
|
--
|
|
@@ -595,6 +677,30 @@ CREATE TABLE IF NOT EXISTS `mail` (
|
|
PRIMARY KEY (`id`)
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `mapreg`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `mapreg` (
|
|
|
|
+ `varname` varchar(32) binary NOT NULL,
|
|
|
|
+ `index` int(11) unsigned NOT NULL default '0',
|
|
|
|
+ `value` varchar(255) NOT NULL,
|
|
|
|
+ PRIMARY KEY (`varname`,`index`)
|
|
|
|
+) ENGINE=MyISAM;
|
|
|
|
+
|
|
|
|
+--
|
|
|
|
+-- Table `market` for market shop persistency
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `market` (
|
|
|
|
+ `name` varchar(32) NOT NULL DEFAULT '',
|
|
|
|
+ `nameid` SMALLINT(5) UNSIGNED NOT NULL,
|
|
|
|
+ `price` INT(11) UNSIGNED NOT NULL,
|
|
|
|
+ `amount` SMALLINT(5) UNSIGNED NOT NULL,
|
|
|
|
+ `flag` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
+ PRIMARY KEY (`name`,`nameid`)
|
|
|
|
+) ENGINE = MyISAM;
|
|
|
|
+
|
|
--
|
|
--
|
|
-- Table structure for table `memo`
|
|
-- Table structure for table `memo`
|
|
--
|
|
--
|
|
@@ -640,6 +746,36 @@ CREATE TABLE IF NOT EXISTS `mercenary_owner` (
|
|
PRIMARY KEY (`char_id`)
|
|
PRIMARY KEY (`char_id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `sc_data`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `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',
|
|
|
|
+ KEY (`account_id`),
|
|
|
|
+ KEY (`char_id`)
|
|
|
|
+) ENGINE=MyISAM;
|
|
|
|
+
|
|
|
|
+--
|
|
|
|
+-- Table structure for table `skillcooldown`
|
|
|
|
+--
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `skillcooldown` (
|
|
|
|
+ `account_id` int(11) unsigned NOT NULL,
|
|
|
|
+ `char_id` int(11) unsigned NOT NULL,
|
|
|
|
+ `skill` smallint(11) unsigned NOT NULL DEFAULT '0',
|
|
|
|
+ `tick` int(11) NOT NULL,
|
|
|
|
+ KEY `account_id` (`account_id`),
|
|
|
|
+ KEY `char_id` (`char_id`)
|
|
|
|
+) ENGINE=MyISAM;
|
|
|
|
+
|
|
--
|
|
--
|
|
-- Table structure for table `party`
|
|
-- Table structure for table `party`
|
|
--
|
|
--
|
|
@@ -701,73 +837,6 @@ CREATE TABLE IF NOT EXISTS `ragsrvinfo` (
|
|
`drop` int(11) unsigned NOT NULL default '0'
|
|
`drop` int(11) unsigned NOT NULL default '0'
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
---
|
|
|
|
--- Table structure for `db_roulette`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE `db_roulette` (
|
|
|
|
- `index` int(11) NOT NULL default '0',
|
|
|
|
- `level` smallint(5) unsigned NOT NULL,
|
|
|
|
- `item_id` smallint(5) unsigned NOT NULL,
|
|
|
|
- `amount` smallint(5) unsigned NOT NULL DEFAULT '1',
|
|
|
|
- `flag` smallint(5) unsigned NOT NULL DEFAULT '1',
|
|
|
|
- PRIMARY KEY (`index`)
|
|
|
|
-) ENGINE=MyISAM;
|
|
|
|
-
|
|
|
|
--- ----------------------------
|
|
|
|
--- Records of db_roulette
|
|
|
|
--- ----------------------------
|
|
|
|
--- Info: http://ro.gnjoy.com/news/update/View.asp?seq=157&curpage=1
|
|
|
|
-
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 0, 1, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 1, 1, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 2, 1, 678, 1, 0 ); -- Poison_Bottle
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 3, 1, 604, 1, 0 ); -- Branch_Of_Dead_Tree
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 4, 1, 522, 1, 0 ); -- Fruit_Of_Mastela
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 5, 1, 671, 1, 0 ); -- Old_Ore_Box
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 6, 1, 12523, 1, 0 ); -- E_Inc_Agi_10_Scroll
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 7, 1, 985, 1, 0 ); -- Elunium
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 8, 1, 984, 1, 0 ); -- Oridecon
|
|
|
|
-
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 9, 2, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 10, 2, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 11, 2, 603, 1, 0 ); -- Old_Blue_Box
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 12, 2, 608, 1, 0 ); -- Seed_Of_Yggdrasil
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 13, 2, 607, 1, 0 ); -- Yggdrasilberry
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 14, 2, 12522, 1, 0 ); -- E_Blessing_10_Scroll
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 15, 2, 6223, 1, 0 ); -- Carnium
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 16, 2, 6224, 1, 0 ); -- Bradium
|
|
|
|
-
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 17, 3, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 18, 3, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 19, 3, 12108, 1, 0 ); -- Bundle_Of_Magic_Scroll
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 20, 3, 617, 1, 0 ); -- Old_Violet_Box
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 21, 3, 12514, 1, 0 ); -- E_Abrasive
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 22, 3, 7444, 1, 0 ); -- Treasure_Box
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 23, 3, 969, 1, 0 ); -- Gold
|
|
|
|
-
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 24, 4, 675, 1, 1 ); -- Silver_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 25, 4, 671, 1, 0 ); -- Gold_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 26, 4, 616, 1, 0 ); -- Old_Card_Album
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 27, 4, 12516, 1, 0 ); -- E_Small_Life_Potion
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 28, 4, 22777, 1, 0 ); -- Gift_Buff_Set
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 29, 4, 6231, 1, 0 ); -- Guarantee_Weapon_6Up
|
|
|
|
-
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 30, 5, 671, 1, 1 ); -- Gold_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 31, 5, 12246, 1, 0 ); -- Magic_Card_Album
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 32, 5, 12263, 1, 0 ); -- Comp_Battle_Manual
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 33, 5, 671, 1, 0 ); -- Potion_Box
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 34, 5, 6235, 1, 0 ); -- Guarantee_Armor_6Up
|
|
|
|
-
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 35, 6, 671, 1, 1 ); -- Gold_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 36, 6, 12766, 1, 0 ); -- Reward_Job_BM25
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 37, 6, 6234, 1, 0 ); -- Guarantee_Armor_7Up
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 38, 6, 6233, 1, 0 ); -- Guarantee_Armor_8Up
|
|
|
|
-
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 39, 7, 671, 1, 1 ); -- Gold_Coin
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 40, 7, 6233, 1, 0 ); -- Guarantee_Armor_8Up
|
|
|
|
-INSERT INTO `db_roulette`(`index`, `level`, `item_id`, `amount`, `flag` ) VALUES ( 41, 7, 6233, 1, 0 ); -- Guarantee_Armor_8Up // KRO lists this twice
|
|
|
|
-
|
|
|
|
--
|
|
--
|
|
-- Table structure for table `skill`
|
|
-- Table structure for table `skill`
|
|
--
|
|
--
|
|
@@ -825,29 +894,6 @@ CREATE TABLE IF NOT EXISTS `storage` (
|
|
KEY `account_id` (`account_id`)
|
|
KEY `account_id` (`account_id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
|
|
|
|
---
|
|
|
|
--- Table structure for table `interreg`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `interreg` (
|
|
|
|
- `varname` varchar(11) NOT NULL,
|
|
|
|
- `value` varchar(20) NOT NULL,
|
|
|
|
- PRIMARY KEY (`varname`)
|
|
|
|
-) ENGINE=InnoDB;
|
|
|
|
-
|
|
|
|
---
|
|
|
|
--- Table structure for table `bonus_script`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `bonus_script` (
|
|
|
|
- `char_id` INT(11) UNSIGNED NOT NULL,
|
|
|
|
- `script` TEXT NOT NULL,
|
|
|
|
- `tick` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
- `flag` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
- `type` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
- `icon` SMALLINT(3) NOT NULL DEFAULT '-1'
|
|
|
|
-) ENGINE=InnoDB;
|
|
|
|
-
|
|
|
|
--
|
|
--
|
|
-- Table structure for table `vending_items`
|
|
-- Table structure for table `vending_items`
|
|
--
|
|
--
|
|
@@ -879,49 +925,3 @@ CREATE TABLE IF NOT EXISTS `vendings` (
|
|
`autotrade` tinyint(4) NOT NULL,
|
|
`autotrade` tinyint(4) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM;
|
|
) ENGINE=MyISAM;
|
|
-
|
|
|
|
---
|
|
|
|
--- Table structure for table `buyingstore_items`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `buyingstore_items` (
|
|
|
|
- `buyingstore_id` int(10) unsigned NOT NULL,
|
|
|
|
- `index` smallint(5) unsigned NOT NULL,
|
|
|
|
- `item_id` int(10) unsigned NOT NULL,
|
|
|
|
- `amount` smallint(5) unsigned NOT NULL,
|
|
|
|
- `price` int(10) unsigned NOT NULL
|
|
|
|
-) ENGINE=MyISAM;
|
|
|
|
-
|
|
|
|
---
|
|
|
|
--- Table structure for table `buyingstores`
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `buyingstores` (
|
|
|
|
- `id` int(10) unsigned NOT NULL,
|
|
|
|
- `account_id` int(11) unsigned NOT NULL,
|
|
|
|
- `char_id` int(10) unsigned NOT NULL,
|
|
|
|
- `sex` enum('F','M') NOT NULL DEFAULT 'M',
|
|
|
|
- `map` varchar(20) NOT NULL,
|
|
|
|
- `x` smallint(5) unsigned NOT NULL,
|
|
|
|
- `y` smallint(5) unsigned NOT NULL,
|
|
|
|
- `title` varchar(80) NOT NULL,
|
|
|
|
- `limit` int(10) unsigned NOT NULL,
|
|
|
|
- `body_direction` CHAR( 1 ) NOT NULL DEFAULT '4',
|
|
|
|
- `head_direction` CHAR( 1 ) NOT NULL DEFAULT '0',
|
|
|
|
- `sit` CHAR( 1 ) NOT NULL DEFAULT '1',
|
|
|
|
- `autotrade` tinyint(4) NOT NULL,
|
|
|
|
- PRIMARY KEY (`id`)
|
|
|
|
-) ENGINE=MyISAM;
|
|
|
|
-
|
|
|
|
---
|
|
|
|
--- Table `market` for market shop persistency
|
|
|
|
---
|
|
|
|
-
|
|
|
|
-CREATE TABLE IF NOT EXISTS `market` (
|
|
|
|
- `name` varchar(32) NOT NULL DEFAULT '',
|
|
|
|
- `nameid` SMALLINT(5) UNSIGNED NOT NULL,
|
|
|
|
- `price` INT(11) UNSIGNED NOT NULL,
|
|
|
|
- `amount` SMALLINT(5) UNSIGNED NOT NULL,
|
|
|
|
- `flag` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0',
|
|
|
|
- PRIMARY KEY (`name`,`nameid`)
|
|
|
|
-) ENGINE = MyISAM;
|
|
|