Specify database engine and coalition.

This commit is contained in:
MobiusDevelopment
2019-10-06 22:42:12 +00:00
parent 6de3207b0e
commit 32c7dbf595
1571 changed files with 2028 additions and 1701 deletions
@@ -3,4 +3,4 @@ CREATE TABLE IF NOT EXISTS `account_gsdata` (
`var` VARCHAR(255) NOT NULL DEFAULT '',
`value` text NOT NULL,
PRIMARY KEY (`account_name`,`var`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS armorsets (
shield_skill_id decimal(11,0) NOT NULL default '0',
enchant6skill decimal(11,0) NOT NULL default '0',
PRIMARY KEY (id,chest)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
-- NO GRADE -------------
-- ######################## id chest legs head gloves feet skill shield sh_skill enchant6
@@ -16,7 +16,7 @@ CREATE TABLE IF NOT EXISTS `auction` (
endDate decimal(20,0) NOT NULL default '0',
PRIMARY KEY (`itemType`,`itemId`,`itemObjectId`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `auction`
@@ -11,4 +11,4 @@ CREATE TABLE IF NOT EXISTS auction_bid (
time_bid decimal(20,0) NOT NULL default '0',
PRIMARY KEY (auctionId, bidderId),
KEY id (id)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS auction_watch (
charObjId INT NOT NULL default 0,
auctionId INT NOT NULL default 0,
PRIMARY KEY (charObjId, auctionId)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -1,11 +1,10 @@
-- ---------------------------
-- Table structure for augmentations
-- ---------------------------
CREATE TABLE IF NOT EXISTS augmentations (
item_id int(11) NOT NULL default 0,
attributes int(11) default 0,
skill int(11) default 0,
level int(11) default 0,
PRIMARY KEY (item_id)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -1,16 +1,9 @@
-- --------------------------------------
-- Table structure for auto_announcements
-- --------------------------------------
CREATE TABLE IF NOT EXISTS `auto_announcements` (
`id` int(11) NOT NULL auto_increment,
`announcement` varchar(255) NOT NULL,
`delay` int(11) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8;
-- ------------------------------------
-- Records for table auto_announcements
-- ------------------------------------
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -4,7 +4,7 @@ CREATE TABLE `auto_chat` (
`npcId` INT NOT NULL default '0',
`chatDelay` BIGINT NOT NULL default '-1',
PRIMARY KEY (`groupId`)
) ENGINE=InnoDB;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
INSERT INTO `auto_chat` VALUES
@@ -3,7 +3,7 @@ CREATE TABLE `auto_chat_text` (
`groupId` INT NOT NULL default '0',
`chatText` VARCHAR(255) NOT NULL default '',
PRIMARY KEY (`groupId`,`chatText`)
) ENGINE=InnoDB;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `auto_chat_text` VALUES
(1,'%player_cabal_loser%! All is lost! Prepare to meet the goddess of death!'),
@@ -6,7 +6,4 @@ CREATE TABLE IF NOT EXISTS `bbs_favorites` (
`favAddDate` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`favId`),
UNIQUE INDEX `favId_playerId` (`favId`, `playerId`)
)
COMMENT='This table saves the Favorite links for the CB.'
COLLATE='utf8_unicode_ci'
ENGINE=InnoDB;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -1,8 +1,7 @@
--
-- Table structure for table `boxaccess`
--
CREATE TABLE IF NOT EXISTS boxaccess (
spawn decimal(11,0) default NULL,
charname varchar(32) default NULL
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -1,7 +1,6 @@
--
-- Table structure for table `boxes`
--
CREATE TABLE IF NOT EXISTS boxes (
id int(11) NOT NULL auto_increment,
spawn decimal(11,0) default NULL,
@@ -12,4 +11,4 @@ CREATE TABLE IF NOT EXISTS boxes (
count decimal(11,0) default NULL,
enchant decimal(2,0) default NULL,
PRIMARY KEY (id)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -2,4 +2,4 @@ CREATE TABLE IF NOT EXISTS `buffer_schemes` (
`object_id` INT UNSIGNED NOT NULL DEFAULT '0',
`scheme_name` VARCHAR(16) NOT NULL DEFAULT 'default',
`skills` VARCHAR(200) NOT NULL
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS castle (
siegeHourOfDay INT NOT NULL default 20,
PRIMARY KEY (name),
KEY id (id)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT IGNORE INTO `castle` VALUES
(1,'Gludio',0,0,0,7,20),
@@ -20,7 +20,7 @@ CREATE TABLE castle_door (
mDef INT NOT NULL default 0,
PRIMARY KEY (id),
KEY id (castleId)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `castle_door` (`castleId`, `id`, `name`, `x`, `y`, `z`, `range_xmin`, `range_ymin`, `range_zmin`, `range_xmax`, `range_ymax`, `range_zmax`, `hp`, `pDef`, `mDef`) VALUES
(1,19210001,'Gludio_outer_001',-18481,113065,-2774,-18481,113058,-2799,-18350,113072,-2479,316500,644,518),
@@ -7,4 +7,4 @@ CREATE TABLE IF NOT EXISTS castle_doorupgrade (
pDef INT NOT NULL default 0,
mDef INT NOT NULL default 0,
PRIMARY KEY (doorId )
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -10,4 +10,4 @@ CREATE TABLE IF NOT EXISTS `castle_manor_procure` (
`reward_type` int(11) NOT NULL DEFAULT '0',
`period` INT NOT NULL DEFAULT '1',
PRIMARY KEY (`castle_id`,`crop_id`,`period`)
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -9,4 +9,4 @@ CREATE TABLE IF NOT EXISTS `castle_manor_production` (
`seed_price` int(11) NOT NULL DEFAULT '0',
`period` INT NOT NULL DEFAULT '1',
PRIMARY KEY (`castle_id`,`seed_id`,`period`)
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS castle_siege_guards (
isHired INT NOT NULL default 1,
PRIMARY KEY (id),
KEY id (castleId)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
-- Gludio Castle
REPLACE INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES
@@ -1,7 +1,6 @@
--
-- Table structure for table `char_templates`
--
DROP TABLE IF EXISTS `char_templates`;
CREATE TABLE `char_templates` (
`ClassId` int(11) NOT NULL default '0',
@@ -42,7 +41,7 @@ CREATE TABLE `char_templates` (
`items4` int(4) NOT NULL default '0',
`items5` int(10) NOT NULL default '0',
PRIMARY KEY (`ClassId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `char_templates`
@@ -3,4 +3,4 @@ CREATE TABLE IF NOT EXISTS `character_friends` (
`friend_id` INT UNSIGNED NOT NULL DEFAULT 0,
`relation` INT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`char_id`,`friend_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -4,5 +4,4 @@ CREATE TABLE IF NOT EXISTS `character_hennas` (
`slot` INT NOT NULL DEFAULT 0,
`class_index` INT(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`char_obj_id`,`slot`,`class_index`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -10,4 +10,4 @@ CREATE TABLE IF NOT EXISTS `character_macroses` (
`acronym` VARCHAR(4) ,
`commands` VARCHAR(255) ,
PRIMARY KEY (`char_obj_id`,`id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -9,4 +9,4 @@ CREATE TABLE IF NOT EXISTS `character_mail` (
`sentDate` timestamp NULL default NULL,
`unread` smallint(1) default 1,
PRIMARY KEY (`letterId`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -5,7 +5,7 @@ CREATE TABLE `character_offline_trade` (
`type` tinyint(4) NOT NULL DEFAULT '0',
`title` varchar(100) DEFAULT NULL,
PRIMARY KEY (`charId`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
drop table IF EXISTS `character_offline_trade_items`;
CREATE TABLE `character_offline_trade_items` (
@@ -14,4 +14,4 @@ CREATE TABLE `character_offline_trade_items` (
`count` int(20) NOT NULL DEFAULT '0',
`price` int(20) NOT NULL DEFAULT '0',
`enchant` int(20) NOT NULL DEFAULT '0'
) ;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -8,4 +8,4 @@ CREATE TABLE IF NOT EXISTS `character_quests` (
`value` VARCHAR(255) ,
`class_index` int(1) NOT NULL default '0',
PRIMARY KEY (`char_id`,`name`,`var`,`class_index`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -3,4 +3,4 @@ CREATE TABLE IF NOT EXISTS `character_raid_points` (
`boss_id` INT UNSIGNED NOT NULL DEFAULT 0,
`points` INT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`charId`,`boss_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -6,4 +6,4 @@ CREATE TABLE IF NOT EXISTS character_recipebook (
id decimal(11) NOT NULL default 0,
type INT NOT NULL default 0,
PRIMARY KEY (id,char_id)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS character_recommends (
char_id INT NOT NULL default 0,
target_id INT(11) NOT NULL DEFAULT 0,
PRIMARY KEY (char_id,target_id)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -11,4 +11,4 @@ CREATE TABLE IF NOT EXISTS character_shortcuts (
`class_index` int(1) NOT NULL default '0',
PRIMARY KEY (char_obj_id,slot,page,`class_index`),
KEY `shortcut_id` (`shortcut_id`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -8,4 +8,4 @@ CREATE TABLE IF NOT EXISTS character_skills (
skill_name varchar(40),
`class_index` INT(1) NOT NULL DEFAULT 0,
PRIMARY KEY (char_obj_id,skill_id,`class_index`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -13,4 +13,4 @@ CREATE TABLE IF NOT EXISTS character_skills_save (
`class_index` INT(1) NOT NULL DEFAULT 0,
buff_index INT(2) NOT NULL default 0,
PRIMARY KEY (char_obj_id,skill_id,`class_index`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -9,4 +9,4 @@ CREATE TABLE IF NOT EXISTS `character_subclasses` (
`level` int(2) NOT NULL default '40',
`class_index` int(1) NOT NULL default '0',
PRIMARY KEY (`char_obj_id`,`class_id`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -2,4 +2,4 @@ CREATE TABLE IF NOT EXISTS `character_variables` (
`charId` int(10) UNSIGNED NOT NULL,
`var` varchar(255) NOT NULL,
`val` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -87,4 +87,4 @@ CREATE TABLE IF NOT EXISTS characters (
aio_end decimal(20,0) NOT NULL DEFAULT 0,
PRIMARY KEY (obj_Id),
KEY `clanid` (`clanid`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -10,4 +10,4 @@ CREATE TABLE `characters_custom_data` (
`donator` decimal(1,0) NOT NULL default '0',
`hero_end_date` BIGINT NOT NULL default '0',
PRIMARY KEY (`obj_Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -24,4 +24,4 @@ CREATE TABLE IF NOT EXISTS clan_data (
PRIMARY KEY (clan_id),
KEY `leader_id` (`leader_id`),
KEY `ally_id` (`ally_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -4,4 +4,4 @@ CREATE TABLE IF NOT EXISTS clan_privs (
party INT NOT NULL default 0,
privs INT NOT NULL default 0,
PRIMARY KEY (`clan_id`,`rank`,`party`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -7,4 +7,4 @@ CREATE TABLE IF NOT EXISTS clan_skills (
skill_level int(5) NOT NULL default 0,
skill_name varchar(26) default NULL,
PRIMARY KEY (`clan_id`,`skill_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -4,4 +4,4 @@ CREATE TABLE IF NOT EXISTS clan_subpledges (
name varchar(45),
leader_name varchar(35),
PRIMARY KEY (`clan_id`,`sub_pledge_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -7,4 +7,4 @@ CREATE TABLE IF NOT EXISTS `clan_wars` (
`wantspeace1` decimal(1,0) NOT NULL default '0',
`wantspeace2` decimal(1,0) NOT NULL default '0',
PRIMARY KEY (`clan1`,`clan2`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS `clanhall` (
`Grade` decimal(1,0) NOT NULL default '0',
`paid` int( 1 ) NOT NULL default '0',
PRIMARY KEY `id` (`id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records
@@ -9,4 +9,4 @@ CREATE TABLE IF NOT EXISTS `clanhall_functions` (
`rate` decimal(20,0) NOT NULL default '0',
`endTime` decimal(20,0) NOT NULL default '0',
PRIMARY KEY (`hall_id`,`type`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -7,7 +7,8 @@ CREATE TABLE IF NOT EXISTS `clanhall_siege` (
`name` varchar(40) NOT NULL,
`siege_data` decimal(20,0) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records
-- ----------------------------
@@ -7,12 +7,12 @@ CREATE TABLE `class_list` (
`id` int(10) unsigned NOT NULL default '0',
`parent_id` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
#----------------------------
# Records for table class_list
#----------------------------
INSERT INTO `class_list` VALUES
('H_Fighter', 0, -1),
('H_Warrior', 1, 0),
+1 -1
View File
@@ -22,7 +22,7 @@ CREATE TABLE `ctf` (
`minPlayers` int(4) NOT NULL default '0',
`maxPlayers` int(4) NOT NULL default '0',
`delayForNextEvent` BIGINT NOT NULL DEFAULT '0'
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `ctf` (`eventName`, `eventDesc`, `joiningLocation`, `minlvl`, `maxlvl`, `npcId`, `npcX`, `npcY`, `npcZ`, `npcHeading`, `rewardId`, `rewardAmount`, `teamsCount`, `joinTime`, `eventTime`, `minPlayers`, `maxPlayers`, `delayForNextEvent`) VALUES
('Capture the flag', 'CTF', 'Giran', 1, 80, 70011, 82580, 148552, -3468, 16972, 8752, 1, 2, 5, 5, 2, 50, 300000);
@@ -14,8 +14,8 @@ CREATE TABLE `ctf_teams` (
`flagY` int(11) NOT NULL default '0',
`flagZ` int(11) NOT NULL default '0',
PRIMARY KEY (`teamId`)
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `ctf_teams` (`teamId`, `teamName`, `teamX`, `teamY`, `teamZ`, `teamColor`, `flagX`, `flagY`, `flagZ`) VALUES
(0, 'Blu', 87357, -145722, -1288, 16711680, 87358, -145979, -1291),
(1, 'red', 87351, -139984, -1536, 255, 87359, -139584, -1536);
(0, 'Blue', 87357, -145722, -1288, 16711680, 87358, -145979, -1291),
(1, 'Red', 87351, -139984, -1536, 255, 87359, -139584, -1536);
@@ -9,4 +9,4 @@ CREATE TABLE IF NOT EXISTS `cursed_weapons` (
`nbKills` INT DEFAULT 0,
`endTime` DECIMAL(20,0) DEFAULT 0,
PRIMARY KEY (`itemId`)
) ENGINE=MyISAM;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -21,4 +21,4 @@ CREATE TABLE `custom_armor` (
`item_skill_id` decimal(11,0) NOT NULL default '0',
`item_skill_lvl` decimal(11,0) NOT NULL default '0',
PRIMARY KEY (`item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -15,5 +15,4 @@ CREATE TABLE custom_armorsets (
shield_skill_id decimal(11,0) NOT NULL default '0',
enchant6skill decimal(11,0) NOT NULL default '0',
PRIMARY KEY (id,chest)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -32,8 +32,4 @@ CREATE TABLE `custom_droplist` (
`chance` INT NOT NULL DEFAULT '0',
PRIMARY KEY (`mobId`,`itemId`,`category`),
KEY `key_mobId` (`mobId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `droplist`
--
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -21,5 +21,4 @@ CREATE TABLE `custom_etcitem` (
`oldname` varchar(100) NOT NULL default '',
`oldtype` varchar(100) NOT NULL default '',
PRIMARY KEY (`item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -12,4 +12,4 @@ CREATE TABLE custom_merchant_buylists (
time INT NOT NULL DEFAULT '0',
savetimer DECIMAL(20,0) NOT NULL DEFAULT '0',
PRIMARY KEY (shop_id,`order`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -6,4 +6,4 @@ CREATE TABLE custom_merchant_shopids (
shop_id decimal(9,0) NOT NULL default '0',
npc_id varchar(9) default NULL,
PRIMARY KEY (shop_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -2,4 +2,4 @@ CREATE TABLE IF NOT EXISTS `custom_notspawned` (
`id` int(11) NOT NULL,
`isCustom` int(1) NOT NULL,
PRIMARY KEY (`id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -46,7 +46,7 @@ CREATE TABLE `custom_npc`(
`absorb_level` decimal(2,0) default 0,
`absorb_type` enum('FULL_PARTY','LAST_HIT','PARTY_ONE_RANDOM') DEFAULT 'LAST_HIT' NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT ignore INTO custom_npc values
('31288', '31228', 'Roy the Cat', '1', 'Class Master', '1', 'Monster.cat_the_cat', '9.00', '16.00', '70', 'male', 'ClassMaster', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '490', '10', '1335', '470', '780', '382', '278', '0', '333', '0', '0', '0', '88', '132', null, '0', '0', '0', 'LAST_HIT'),
@@ -19,4 +19,4 @@ CREATE TABLE `custom_spawnlist` (
`periodOfDay` decimal(2,0) default '0',
PRIMARY KEY (id),
KEY `key_npc_templateid` (`npc_templateid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -11,4 +11,4 @@ CREATE TABLE custom_teleport (
price decimal(6,0) default NULL,
fornoble int(1) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -41,8 +41,4 @@ CREATE TABLE `custom_weapon` (
`onCrit_skill_lvl` decimal(11,0) NOT NULL default '0',
`onCrit_skill_chance` decimal(11,0) NOT NULL default '0',
PRIMARY KEY (`item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `weapon`
--
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -16,7 +16,7 @@ CREATE TABLE `dimensional_rift` (
`zT` int(11) NOT NULL,
`boss` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`type`,`room_id`)
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
-- ----------------------------
-- Records for table dimensional_rift
+1 -1
View File
@@ -25,7 +25,7 @@ CREATE TABLE `dm` (
`playerY` int(11) NOT NULL default '0',
`playerZ` int(11) NOT NULL default '0',
`delayForNextEvent` BIGINT NOT NULL DEFAULT '0'
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `dm` values
('DM', 'A PvP Event', 'Giran', 1, 81, 70014, 82580, 148552, -3468, 1, 8752, 1, 2, 5, 2, 50, 2552550, 116615, 76200, -2729, 300000);
@@ -32,7 +32,7 @@ CREATE TABLE `droplist` (
`chance` INT NOT NULL DEFAULT '0',
PRIMARY KEY (`mobId`,`itemId`,`category`),
KEY `key_mobId` (`mobId`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `droplist`
@@ -14,7 +14,7 @@ CREATE TABLE `enchant_skill_trees` (
`success_rate79` int(3) NOT NULL DEFAULT '0',
`success_rate80` int(3) NOT NULL DEFAULT '0',
PRIMARY KEY (`skill_id`,`level`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `enchant_skill_trees` VALUES ('1', '101', 'Triple Slash', '37', '+1 Power', '306000', '3060000', '37', '82', '92', '97', '97', '97');
INSERT INTO `enchant_skill_trees` VALUES ('1', '102', 'Triple Slash', '37', '+2 Power', '315000', '3150000', '101', '80', '90', '95', '95', '95');
@@ -2,12 +2,9 @@ CREATE TABLE IF NOT EXISTS `engraved_items` (
`object_id` int(11) NOT NULL,
`item_id` int(11) NOT NULL,
`engraver_id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*Data for the table `engraved_items` */
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
/*Table structure for table `engraved_log` */
CREATE TABLE IF NOT EXISTS `engraved_log` (
`object_id` int(11) NOT NULL,
`actiondate` decimal(12,0) NOT NULL,
@@ -15,6 +12,4 @@ CREATE TABLE IF NOT EXISTS `engraved_log` (
`itemName` varchar(64) NOT NULL,
`form_char` varchar(64) NOT NULL,
`to_char` varchar(64) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*Data for the table `engraved_log` */
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -15,7 +15,8 @@ CREATE TABLE `fish` (
`wait_time` INT(5) NOT NULL default '0',
`combat_time` INT(5) NOT NULL default '0',
PRIMARY KEY (`id`,`level`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Records for table fish
--
@@ -2,4 +2,4 @@ CREATE TABLE IF NOT EXISTS `fishing_championship` (
`player_name` VARCHAR(35) NOT NULL,
`fish_length` DOUBLE(10,3) NOT NULL,
`rewarded` INT(1) NOT NULL
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -12,7 +12,8 @@ CREATE TABLE IF NOT EXISTS `fishing_skill_trees` (
`cost` int(10) NOT NULL default '0',
`isfordwarf` int(1) NOT NULL default '0',
PRIMARY KEY (`skill_id`,`level`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Records for table fishing_skill_trees
--
@@ -9,7 +9,7 @@ CREATE TABLE `fort` (
`siegeHourOfDay` int(11) NOT NULL default '20',
`owner` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records
@@ -20,7 +20,7 @@ CREATE TABLE fort_door (
mDef INT NOT NULL default 0,
PRIMARY KEY(id),
KEY id (fortId)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `fort_door` VALUES
(101,18220001,'Gate_of_fort',-50796,155913,-2102,0,0,0,0,0,0,67884,644,518),
@@ -8,5 +8,4 @@ CREATE TABLE `fort_doorupgrade` (
`pDef` int(11) NOT NULL default '0',
`mDef` int(11) NOT NULL default '0',
PRIMARY KEY (`doorId`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS `fort_siege_guards` (
`isHired` INT NOT NULL default 1,
PRIMARY KEY (`id`),
KEY `id` (`fortId`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
INSERT INTO `fort_siege_guards` VALUES
@@ -7,4 +7,4 @@ CREATE TABLE `fortsiege_clans` (
`type` int(1) default NULL,
`fort_owner` int(1) default NULL,
PRIMARY KEY (`clan_id`,`fort_id`)
) ;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS `forums` (
`forum_perm` int(8) NOT NULL default '0',
`forum_owner_id` int(8) NOT NULL default '0',
UNIQUE KEY `forum_id` (`forum_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT IGNORE INTO `forums` VALUES
(1, 'NormalRoot', 0, 0, 0, 1, 0),
@@ -14,7 +14,7 @@ CREATE TABLE `four_sepulchers_spawnlist` (
`key_npc_id` int(9) NOT NULL DEFAULT '0',
`spawntype` int(9) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `four_sepulchers_spawnlist` VALUES
('1', '', '1', '31468', '182074', '-85579', '-7216', '0', '0', '-32600', '3600', '31921', '0'),
@@ -14,5 +14,4 @@ CREATE TABLE IF NOT EXISTS games (
enddate decimal(20,0) NOT NULL default 0,
finished INT NOT NULL default 0,
PRIMARY KEY (`id`,`idnr`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -11,4 +11,4 @@ CREATE TABLE IF NOT EXISTS global_tasks (
param2 varchar(100) NOT NULL default '',
param3 varchar(255) NOT NULL default '',
PRIMARY KEY (`id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -2,4 +2,4 @@ CREATE TABLE IF NOT EXISTS `global_variables` (
`var` VARCHAR(255) NOT NULL DEFAULT '',
`value` VARCHAR(255) ,
PRIMARY KEY (`var`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS grandboss_data (
`currentMP` DECIMAL(8,0) DEFAULT NULL,
`status` TINYINT NOT NULL DEFAULT 0,
PRIMARY KEY(`boss_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
INSERT IGNORE INTO `grandboss_data` VALUES
(29019, 185708,114298,-8221,32768, 0, 13090000, 22197, 0), -- Antharas
@@ -7,4 +7,4 @@ CREATE TABLE IF NOT EXISTS grandboss_list
`player_id` decimal(11,0) NOT NULL,
`zone` decimal(11,0) NOT NULL,
PRIMARY KEY (`player_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -11,7 +11,7 @@ CREATE TABLE `helper_buff_list` (
`upper_level` int(10) unsigned NOT NULL default '0',
`is_magic_class` varchar(5) default NULL,
PRIMARY KEY (`id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
#----------------------------
# Records for table helper_buff_list
@@ -6,13 +6,12 @@ CREATE TABLE `henna_trees` (
`class_id` decimal(10,0) NOT NULL default 0,
`symbol_id` decimal(10,0) NOT NULL default 0,
PRIMARY KEY (`class_id`,`symbol_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Records for table henna_trees
--
insert into henna_trees values
(1,1),
(1,2),
@@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS `heroes` (
`count` decimal(3,0) NOT NULL default '0',
`played` decimal(1,0) NOT NULL default '0',
PRIMARY KEY (`charId`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -20,4 +20,4 @@ CREATE TABLE IF NOT EXISTS items (
KEY `key_loc` (`loc`),
KEY `key_item_id` (`item_id`),
KEY `key_time_of_use` (`time_of_use`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -12,4 +12,4 @@ CREATE TABLE IF NOT EXISTS `itemsonground` (
`drop_time` decimal(20,0) default NULL,
`equipable` int(1) default '0',
PRIMARY KEY (`object_id`)
);
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
@@ -11,7 +11,7 @@ CREATE TABLE `locations` (
`proc` int(3) NOT NULL default '0',
PRIMARY KEY (`loc_id`,`loc_x`,`loc_y`),
KEY `proc` (`proc`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `locations`
@@ -16,7 +16,7 @@ CREATE TABLE `lvlupgain` (
`defaultmpmod` decimal(4,2) NOT NULL default '0.00',
`class_lvl` int(3) NOT NULL default '0',
PRIMARY KEY (`classid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `lvlupgain`
@@ -8,7 +8,7 @@ CREATE TABLE `merchant_areas_list` (
`tax` double(3,2) unsigned NOT NULL default '0.00',
`Chaotic` int(11) NOT NULL default '0',
PRIMARY KEY (`merchant_area_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `merchant_areas_list`
@@ -28,4 +28,3 @@ INSERT INTO `merchant_areas_list` VALUES (11,'Ivory Tower',0.15,0);
INSERT INTO `merchant_areas_list` VALUES (12,'Harden\'s Ac.',0.20,0);
INSERT INTO `merchant_areas_list` VALUES (13,'Aden',0.20,0);
INSERT INTO `merchant_areas_list` VALUES (14,'Castle',0.0,0);
@@ -12,7 +12,7 @@ CREATE TABLE merchant_buylists (
time INT NOT NULL DEFAULT '0',
savetimer DECIMAL(20,0) NOT NULL DEFAULT '0',
PRIMARY KEY (shop_id,`order`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `merchant_buylists`
@@ -8,4 +8,4 @@ CREATE TABLE IF NOT EXISTS merchant_lease (
`type` int(11) NOT NULL default 0,
player_name varchar(35),
PRIMARY KEY (merchant_id,player_id,`type`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -6,7 +6,7 @@ CREATE TABLE merchant_shopids (
shop_id decimal(9,0) NOT NULL default '0',
npc_id varchar(9) default NULL,
PRIMARY KEY (shop_id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `merchant_shopids`
@@ -6,7 +6,7 @@ CREATE TABLE `merchants` (
`npc_id` int(11) NOT NULL default '0',
`merchant_area_id` tinyint(4) default NULL,
PRIMARY KEY (`npc_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `merchants`
@@ -9,7 +9,7 @@ CREATE TABLE `minions` (
`amount_min` int(4) NOT NULL default '0',
`amount_max` int(4) NOT NULL default '0',
PRIMARY KEY (`boss_id`,`minion_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `minions`
@@ -11,4 +11,4 @@ CREATE TABLE IF NOT EXISTS `mods_wedding` (
`weddingDate` decimal(20,0) default '0',
`coupleType` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+1 -1
View File
@@ -47,7 +47,7 @@ CREATE TABLE `npc` (
`absorb_level` decimal(2,0) DEFAULT '0',
`absorb_type` enum('FULL_PARTY','LAST_HIT','PARTY_ONE_RANDOM') NOT NULL DEFAULT 'LAST_HIT',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records
@@ -39,5 +39,4 @@ CREATE TABLE IF NOT EXISTS `npc_to_pc_polymorph` (
`max_rnd_enchant` int(7) NOT NULL default '0',
KEY `spawn` (`spawn`),
KEY `template` (`template`)
) DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -7,7 +7,7 @@ CREATE TABLE npcskills (
skillid int(11) NOT NULL default '0',
level int(11) NOT NULL default '0',
PRIMARY KEY (npcid,skillid,level)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
--
-- Dumping data for table `npcskills`
@@ -8,7 +8,8 @@ CREATE TABLE IF NOT EXISTS `olympiad_nobles` (
`competitions_lost` decimal(3,0) NOT NULL default '0',
`competitions_drawn` decimal(3,0) NOT NULL default '0',
PRIMARY KEY (`charId`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE TABLE IF NOT EXISTS `olympiad_nobles_eom` (
`charId` decimal(11,0) NOT NULL default '0',
`class_id` decimal(3,0) NOT NULL default '0',
@@ -19,4 +20,4 @@ CREATE TABLE IF NOT EXISTS `olympiad_nobles_eom` (
`competitions_lost` decimal(3,0) NOT NULL default '0',
`competitions_drawn` decimal(3,0) NOT NULL default '0',
PRIMARY KEY (`charId`)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -1,8 +1,6 @@
-- ---------------------------
-- Table structure for pets
-- ---------------------------
CREATE TABLE IF NOT EXISTS pets (
item_obj_id decimal(11) NOT NULL default 0,
name varchar(16) ,
@@ -15,4 +13,4 @@ CREATE TABLE IF NOT EXISTS pets (
pkkills decimal(11) ,
fed decimal(11) ,
PRIMARY KEY (item_obj_id)
);
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -27,12 +27,11 @@ CREATE TABLE `pets_stats` (
`mpregen` int(11) NOT NULL default '0',
`owner_exp_taken` DECIMAL(3,2) DEFAULT '0' NOT NULL,
PRIMARY KEY (`typeID`,`level`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
#----------------------------
# Records for table pets_stats
#----------------------------
INSERT INTO `pets_stats` (`type`, `typeID`, `level`, `expMax`, `hpMax`, `mpMax`, `patk`, `pdef`, `matk`, `mdef`, `acc`, `evasion`, `crit`, `speed`, `atk_speed`, `cast_speed`, `feedMax`, `feedbattle`, `feednormal`, `loadMax`, `hpregen`, `mpregen`) VALUES
('wolf',12077,1,0,31,25,2,11,1,8,38,33,40,137,282,333,248,2,2,0,2,1),
('wolf',12077,2,636,37,30,2,11,1,8,39,34,40,137,282,333,244,2,2,0,2,1),
@@ -6,8 +6,4 @@ CREATE TABLE IF NOT EXISTS `pkkills` (
`killedId` varchar(45) NOT NULL,
`kills` decimal(11,0) NOT NULL,
PRIMARY KEY (`killerId` ,`killedId` )
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Some files were not shown because too many files have changed in this diff Show More