PHP Code:
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version 5.0.88-community-nt
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
--
-- Create schema odinms
--
CREATE DATABASE IF NOT EXISTS odinms;
USE odinms;
--
-- Definition of table `accounts`
--
DROP TABLE IF EXISTS `accounts`;
CREATE TABLE `accounts` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(13) NOT NULL default '',
`password` varchar(128) NOT NULL default '',
`salt` varchar(128) default NULL,
`pin` varchar(10) default NULL,
`pic` varchar(26) default NULL,
`loggedin` tinyint(4) NOT NULL default '0',
`lastlogin` timestamp NULL default NULL,
`createdat` timestamp NOT NULL default CURRENT_TIMESTAMP,
`birthday` date NOT NULL default '0000-00-00',
`banned` tinyint(1) NOT NULL default '0',
`banreason` text,
`gm` tinyint(1) NOT NULL default '0',
`macs` tinytext,
`nxCredit` int(11) default NULL,
`maplePoint` int(11) default NULL,
`nxPrepaid` int(11) default NULL,
`characterslots` tinyint(2) NOT NULL default '5',
`gender` tinyint(2) NOT NULL default '10',
`tempban` timestamp NOT NULL default '0000-00-00 00:00:00',
`greason` tinyint(4) NOT NULL default '0',
`lastknownip` tinytext,
`deleted` int(11) NOT NULL default '0',
`email` varchar(45) default NULL,
`webadmin` int(1) default '0',
`donationpoints` int(11) NOT NULL default '0',
`votepoints` int(11) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
KEY `ranking1` (`id`,`banned`,`gm`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `accounts`
--
/*!40000 ALTER TABLE `accounts` DISABLE KEYS */;
INSERT INTO `accounts` (`id`,`name`,`password`,`salt`,`pin`,`pic`,`loggedin`,`lastlogin`,`createdat`,`birthday`,`banned`,`banreason`,`gm`,`macs`,`nxCredit`,`maplePoint`,`nxPrepaid`,`characterslots`,`gender`,`tempban`,`greason`,`lastknownip`,`deleted`,`email`,`webadmin`,`donationpoints`,`votepoints`) VALUES
(3,'admin','d033e22ae348aeb5660fc2140aec35850c4da997',NULL,NULL,NULL,0,'2011-07-24 22:11:22','2011-07-24 21:20:40','0000-00-00',0,NULL,5,'00-23-14-03-2E-CC, 02-00-4C-4F-4F-50',0,0,0,5,0,'0000-00-00 00:00:00',0,'127.0.0.1',0,NULL,0,0,0);
/*!40000 ALTER TABLE `accounts` ENABLE KEYS */;
--
-- Definition of table `alliance`
--
DROP TABLE IF EXISTS `alliance`;
CREATE TABLE `alliance` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` varchar(13) NOT NULL,
`notice` varchar(128) NOT NULL default '',
`capacity` int(10) unsigned NOT NULL default '2',
`rank_title1` varchar(45) NOT NULL default 'Master',
`rank_title2` varchar(45) NOT NULL default 'Jr.Master',
`rank_title3` varchar(45) NOT NULL default 'Member',
`rank_title4` varchar(45) NOT NULL default 'Member',
`rank_title5` varchar(45) NOT NULL default 'Member',
`guild1` int(10) NOT NULL default '-1',
`guild2` int(10) NOT NULL default '-1',
`guild3` int(10) NOT NULL default '-1',
`guild4` int(10) NOT NULL default '-1',
`guild5` int(10) NOT NULL default '-1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
PHP Code:
--
-- Dumping data for table `alliance`
--
/*!40000 ALTER TABLE `alliance` DISABLE KEYS */;
/*!40000 ALTER TABLE `alliance` ENABLE KEYS */;
--
-- Definition of table `bbs_replies`
--
DROP TABLE IF EXISTS `bbs_replies`;
CREATE TABLE `bbs_replies` (
`replyid` int(10) unsigned NOT NULL auto_increment,
`threadid` int(10) unsigned NOT NULL,
`postercid` int(10) unsigned NOT NULL,
`timestamp` bigint(20) unsigned NOT NULL,
`content` varchar(26) NOT NULL default '',
PRIMARY KEY (`replyid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
PHP Code:
--
-- Dumping data for table `alliance`
--
/*!40000 ALTER TABLE `alliance` DISABLE KEYS */;
/*!40000 ALTER TABLE `alliance` ENABLE KEYS */;
--
-- Definition of table `bbs_replies`
--
DROP TABLE IF EXISTS `bbs_replies`;
CREATE TABLE `bbs_replies` (
`replyid` int(10) unsigned NOT NULL auto_increment,
`threadid` int(10) unsigned NOT NULL,
`postercid` int(10) unsigned NOT NULL,
`timestamp` bigint(20) unsigned NOT NULL,
`content` varchar(26) NOT NULL default '',
PRIMARY KEY (`replyid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
PHP Code:
--
-- Dumping data for table `bbs_replies`
--
/*!40000 ALTER TABLE `bbs_replies` DISABLE KEYS */;
/*!40000 ALTER TABLE `bbs_replies` ENABLE KEYS */;
PHP Code:
--
-- Definition of table `bbs_threads`
--
DROP TABLE IF EXISTS `bbs_threads`;
CREATE TABLE `bbs_threads` (
`threadid` int(10) unsigned NOT NULL auto_increment,
`postercid` int(10) unsigned NOT NULL,
`name` varchar(26) NOT NULL default '',
`timestamp` bigint(20) unsigned NOT NULL,
`icon` smallint(5) unsigned NOT NULL,
`replycount` smallint(5) unsigned NOT NULL default '0',
`startpost` text NOT NULL,
`guildid` int(10) unsigned NOT NULL,
`localthreadid` int(10) unsigned NOT NULL,
PRIMARY KEY (`threadid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
PHP Code:
--
-- Definition of table `bbs_threads`
--
DROP TABLE IF EXISTS `bbs_threads`;
CREATE TABLE `bbs_threads` (
`threadid` int(10) unsigned NOT NULL auto_increment,
`postercid` int(10) unsigned NOT NULL,
`name` varchar(26) NOT NULL default '',
`timestamp` bigint(20) unsigned NOT NULL,
`icon` smallint(5) unsigned NOT NULL,
`replycount` smallint(5) unsigned NOT NULL default '0',
`startpost` text NOT NULL,
`guildid` int(10) unsigned NOT NULL,
`localthreadid` int(10) unsigned NOT NULL,
PRIMARY KEY (`threadid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
PHP Code:
--
-- Dumping data for table `bbs_threads`
--
/*!40000 ALTER TABLE `bbs_threads` DISABLE KEYS */;
/*!40000 ALTER TABLE `bbs_threads` ENABLE KEYS */;
--
-- Definition of table `buddies`
--
DROP TABLE IF EXISTS `buddies`;
CREATE TABLE `buddies` (
`id` int(11) NOT NULL auto_increment,
`characterid` int(11) NOT NULL,
`buddyid` int(11) NOT NULL,
`pending` tinyint(4) NOT NULL default '0',
`group` varchar(13) default '0',
PRIMARY KEY (`id`),
KEY `buddies_ibfk_1` (`characterid`),
CONSTRAINT `buddies_ibfk_1` FOREIGN KEY (`characterid`) REFERENCES `characters` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `buddies`
--
/*!40000 ALTER TABLE `buddies` DISABLE KEYS */;
/*!40000 ALTER TABLE `buddies` ENABLE KEYS */;
--
-- Definition of table `channelconfig`
--
DROP TABLE IF EXISTS `channelconfig`;
CREATE TABLE `channelconfig` (
`channelconfigid` int(10) unsigned NOT NULL auto_increment,
`channelid` int(10) unsigned NOT NULL default '0',
`name` tinytext NOT NULL,
`value` tinytext NOT NULL,
PRIMARY KEY (`channelconfigid`),
KEY `channelid` (`channelid`),
CONSTRAINT `channelconfig_ibfk_1` FOREIGN KEY (`channelid`) REFERENCES `channels` (`channelid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `channelconfig`
--
/*!40000 ALTER TABLE `channelconfig` DISABLE KEYS */;
INSERT INTO `channelconfig` (`channelconfigid`,`channelid`,`name`,`value`) VALUES
(1,2,'channel.net.port','7576'),
(2,3,'channel.net.port','7577'),
(3,4,'channel.net.port','7578'),
(4,5,'channel.net.port','7589'),
(5,6,'channel.net.port','7590'),
(6,7,'channel.net.port','7591'),
(7,8,'channel.net.port','7592'),
(8,9,'channel.net.port','7593'),
(9,10,'channel.net.port','7594'),
(10,11,'channel.net.port','7595'),
(11,12,'channel.net.port','7596'),
(12,13,'channel.net.port','7597'),
(13,14,'channel.net.port','7598'),
(14,15,'channel.net.port','7599'),
(15,16,'channel.net.port','7600'),
(16,17,'channel.net.port','7601'),
(17,18,'channel.net.port','7602'),
(18,19,'channel.net.port','7603'),
(19,20,'channel.net.port','7604');
/*!40000 ALTER TABLE `channelconfig` ENABLE KEYS */;
PHP Code:
--
-- Dumping data for table `bbs_threads`
--
/*!40000 ALTER TABLE `bbs_threads` DISABLE KEYS */;
/*!40000 ALTER TABLE `bbs_threads` ENABLE KEYS */;
--
-- Definition of table `buddies`
--
DROP TABLE IF EXISTS `buddies`;
CREATE TABLE `buddies` (
`id` int(11) NOT NULL auto_increment,
`characterid` int(11) NOT NULL,
`buddyid` int(11) NOT NULL,
`pending` tinyint(4) NOT NULL default '0',
`group` varchar(13) default '0',
PRIMARY KEY (`id`),
KEY `buddies_ibfk_1` (`characterid`),
CONSTRAINT `buddies_ibfk_1` FOREIGN KEY (`characterid`) REFERENCES `characters` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `buddies`
--
/*!40000 ALTER TABLE `buddies` DISABLE KEYS */;
/*!40000 ALTER TABLE `buddies` ENABLE KEYS */;
--
-- Definition of table `channelconfig`
--
DROP TABLE IF EXISTS `channelconfig`;
CREATE TABLE `channelconfig` (
`channelconfigid` int(10) unsigned NOT NULL auto_increment,
`channelid` int(10) unsigned NOT NULL default '0',
`name` tinytext NOT NULL,
`value` tinytext NOT NULL,
PRIMARY KEY (`channelconfigid`),
KEY `channelid` (`channelid`),
CONSTRAINT `channelconfig_ibfk_1` FOREIGN KEY (`channelid`) REFERENCES `channels` (`channelid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `channelconfig`
--
/*!40000 ALTER TABLE `channelconfig` DISABLE KEYS */;
INSERT INTO `channelconfig` (`channelconfigid`,`channelid`,`name`,`value`) VALUES
(1,2,'channel.net.port','7576'),
(2,3,'channel.net.port','7577'),
(3,4,'channel.net.port','7578'),
(4,5,'channel.net.port','7589'),
(5,6,'channel.net.port','7590'),
(6,7,'channel.net.port','7591'),
(7,8,'channel.net.port','7592'),
(8,9,'channel.net.port','7593'),
(9,10,'channel.net.port','7594'),
(10,11,'channel.net.port','7595'),
(11,12,'channel.net.port','7596'),
(12,13,'channel.net.port','7597'),
(13,14,'channel.net.port','7598'),
(14,15,'channel.net.port','7599'),
(15,16,'channel.net.port','7600'),
(16,17,'channel.net.port','7601'),
(17,18,'channel.net.port','7602'),
(18,19,'channel.net.port','7603'),
(19,20,'channel.net.port','7604');
/*!40000 ALTER TABLE `channelconfig` ENABLE KEYS */;
PHP Code:
--
-- Definition of table `channels`
--
DROP TABLE IF EXISTS `channels`;
CREATE TABLE `channels` (
`channelid` int(10) unsigned NOT NULL auto_increment,
`world` int(11) NOT NULL default '0',
`number` int(11) default NULL,
`key` varchar(40) NOT NULL default '',
PRIMARY KEY (`channelid`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `channels`
--
/*!40000 ALTER TABLE `channels` DISABLE KEYS */;
INSERT INTO `channels` (`channelid`,`world`,`number`,`key`) VALUES
(1,0,1,'2062e90b3ea10a86ff666a76c41aa0d9e9d88f4e'),
(2,0,2,'5dfc64fff3b07c7c01ebd39706ec3cf3e6c37464'),
(3,0,3,'f47ef28d4a014d8de91de9f28ae6fcd52dfb5f77'),
(4,0,4,'33fd56a7b827c7b0b2df8ea1224521cd7c00e4e4'),
(5,0,5,'113f78f519e010e65853241bfcb14450c4fccb66'),
(6,0,6,'4abba5486022346a2b309c1c2ea6a0da41a88090'),
(7,0,7,'76134d11fe0c2b337e2b786bfcc738b975fcf40a'),
(8,0,8,'5688c244c56a884a50984130a17d0b61d06743a3'),
(9,0,9,'6e59a6559033c70b98148f1bd67e1b63aaeedf30'),
(10,0,10,'603dd499e4b134bf9925600b7f150644f9e9a50b'),
(11,0,11,'b48f4c3c803f58950b005d785cf828027a83eac4'),
(12,0,12,'52a9458618abed6a42e228b33ade9cdf5ded10b4'),
(13,0,13,'190535a9ffb4d4d688ac1f3fa7dc09a6c81c3b86'),
(14,0,14,'5ce2b432ac85290b411ef0975b96712c1c35591a'),
(15,0,15,'7d8bae4945561008426174be907142196ed84275'),
(16,0,16,'da0517603d42ce6f9d9bdf4871bc1ecbf7a20c3c'),
(17,0,17,'87c56d1e33cf26f48ac76f1bd76b6637cddd9548'),
(18,0,18,'fbce35ee8db37d9bf02f444c65e49fb8a9685c28'),
(19,0,19,'51a2bb10ecf4e2e28fe62b405106baadb0d11090'),
(20,0,20,'9a071c700e4c051c354817f7e2482d148380d574');
/*!40000 ALTER TABLE `channels` ENABLE KEYS */;
--
-- Definition of table `char_area_info`
--
DROP TABLE IF EXISTS `char_area_info`;
CREATE TABLE `char_area_info` (
`id` int(11) NOT NULL auto_increment,
`charid` int(11) NOT NULL,
`infoid` int(11) NOT NULL,
`area_data` varchar(120) NOT NULL,
PRIMARY KEY (`id`),
KEY `cid` (`charid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `char_area_info`
--
/*!40000 ALTER TABLE `char_area_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `char_area_info` ENABLE KEYS */;
--
-- Definition of table `characters`
--
DROP TABLE IF EXISTS `characters`;
CREATE TABLE `characters` (
`id` int(11) NOT NULL auto_increment,
`accountid` int(11) NOT NULL default '0',
`world` int(11) NOT NULL default '0',
`name` varchar(13) NOT NULL default '',
`level` int(11) NOT NULL default '0',
`exp` int(11) NOT NULL default '0',
`gachaexp` int(11) NOT NULL default '0',
`str` int(11) NOT NULL default '0',
`dex` int(11) NOT NULL default '0',
`luk` int(11) NOT NULL default '0',
`int` int(11) NOT NULL default '0',
`hp` int(11) NOT NULL default '0',
`mp` int(11) NOT NULL default '0',
`maxhp` int(11) NOT NULL default '0',
`maxmp` int(11) NOT NULL default '0',
`meso` int(11) NOT NULL default '0',
`hpMpUsed` int(11) unsigned NOT NULL default '0',
`job` int(11) NOT NULL default '0',
`skincolor` int(11) NOT NULL default '0',
`gender` int(11) NOT NULL default '0',
`fame` int(11) NOT NULL default '0',
`hair` int(11) NOT NULL default '0',
`face` int(11) NOT NULL default '0',
`ap` int(11) NOT NULL default '0',
`sp` int(11) NOT NULL default '0',
`map` int(11) NOT NULL default '0',
`spawnpoint` int(11) NOT NULL default '0',
`gm` tinyint(1) NOT NULL default '0',
`party` int(11) NOT NULL default '0',
`buddyCapacity` int(11) NOT NULL default '25',
`createdate` timestamp NOT NULL default CURRENT_TIMESTAMP,
`rank` int(10) unsigned NOT NULL default '1',
`rankMove` int(11) NOT NULL default '0',
`jobRank` int(10) unsigned NOT NULL default '1',
`jobRankMove` int(11) NOT NULL default '0',
`guildid` int(10) unsigned NOT NULL default '0',
`guildrank` int(10) unsigned NOT NULL default '5',
`messengerid` int(10) unsigned NOT NULL default '0',
`messengerposition` int(10) unsigned NOT NULL default '4',
`mountlevel` int(9) NOT NULL default '1',
`mountexp` int(9) NOT NULL default '0',
`mounttiredness` int(9) NOT NULL default '0',
`omokwins` int(11) NOT NULL default '0',
`omoklosses` int(11) NOT NULL default '0',
`omokties` int(11) NOT NULL default '0',
`matchcardwins` int(11) NOT NULL default '0',
`matchcardlosses` int(11) NOT NULL default '0',
`matchcardties` int(11) NOT NULL default '0',
`MerchantMesos` int(11) default '0',
`HasMerchant` tinyint(1) default '0',
`equipslots` int(11) NOT NULL default '24',
`useslots` int(11) NOT NULL default '24',
`setupslots` int(11) NOT NULL default '24',
`etcslots` int(11) NOT NULL default '24',
`familyId` int(11) NOT NULL default '-1',
`monsterbookcover` int(11) NOT NULL default '0',
`allianceRank` int(10) NOT NULL default '5',
`vanquisherStage` int(11) unsigned NOT NULL default '0',
`dojoPoints` int(11) unsigned NOT NULL default '0',
`lastDojoStage` int(10) unsigned NOT NULL default '0',
`finishedDojoTutorial` tinyint(1) unsigned NOT NULL default '0',
`vanquisherKills` int(11) unsigned NOT NULL default '0',
`summonValue` int(11) unsigned NOT NULL default '0',
`reborns` int(10) unsigned NOT NULL default '0',
`pvpkills` int(10) unsigned NOT NULL default '0',
`pvpdeaths` int(10) unsigned NOT NULL default '0',
`dollars` int(10) unsigned NOT NULL default '0',
`sharelots` int(10) unsigned NOT NULL default '0',
`deleted` int(11) NOT NULL default '0',
`eventpoints` int(11) NOT NULL default '0',
`occupation` int(11) NOT NULL default '0',
`bankmesos` varchar(500) NOT NULL default '0',
`gamblerEXP` int(11) NOT NULL default '0',
`newexprate` int(11) NOT NULL default '0',
`newmesorate` int(11) NOT NULL default '0',
`newdroprate` int(11) NOT NULL default '0',
`married` int(11) NOT NULL default '0',
`partnerid` int(11) NOT NULL default '0',
`butterflynet` int(11) NOT NULL default '1',
PRIMARY KEY (`id`),
KEY `accountid` (`accountid`),
KEY `party` (`party`),
KEY `ranking1` (`level`,`exp`),
KEY `ranking2` (`gm`,`job`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 PACK_KEYS=0;
PHP Code:
--
-- Definition of table `channels`
--
DROP TABLE IF EXISTS `channels`;
CREATE TABLE `channels` (
`channelid` int(10) unsigned NOT NULL auto_increment,
`world` int(11) NOT NULL default '0',
`number` int(11) default NULL,
`key` varchar(40) NOT NULL default '',
PRIMARY KEY (`channelid`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `channels`
--
/*!40000 ALTER TABLE `channels` DISABLE KEYS */;
INSERT INTO `channels` (`channelid`,`world`,`number`,`key`) VALUES
(1,0,1,'2062e90b3ea10a86ff666a76c41aa0d9e9d88f4e'),
(2,0,2,'5dfc64fff3b07c7c01ebd39706ec3cf3e6c37464'),
(3,0,3,'f47ef28d4a014d8de91de9f28ae6fcd52dfb5f77'),
(4,0,4,'33fd56a7b827c7b0b2df8ea1224521cd7c00e4e4'),
(5,0,5,'113f78f519e010e65853241bfcb14450c4fccb66'),
(6,0,6,'4abba5486022346a2b309c1c2ea6a0da41a88090'),
(7,0,7,'76134d11fe0c2b337e2b786bfcc738b975fcf40a'),
(8,0,8,'5688c244c56a884a50984130a17d0b61d06743a3'),
(9,0,9,'6e59a6559033c70b98148f1bd67e1b63aaeedf30'),
(10,0,10,'603dd499e4b134bf9925600b7f150644f9e9a50b'),
(11,0,11,'b48f4c3c803f58950b005d785cf828027a83eac4'),
(12,0,12,'52a9458618abed6a42e228b33ade9cdf5ded10b4'),
(13,0,13,'190535a9ffb4d4d688ac1f3fa7dc09a6c81c3b86'),
(14,0,14,'5ce2b432ac85290b411ef0975b96712c1c35591a'),
(15,0,15,'7d8bae4945561008426174be907142196ed84275'),
(16,0,16,'da0517603d42ce6f9d9bdf4871bc1ecbf7a20c3c'),
(17,0,17,'87c56d1e33cf26f48ac76f1bd76b6637cddd9548'),
(18,0,18,'fbce35ee8db37d9bf02f444c65e49fb8a9685c28'),
(19,0,19,'51a2bb10ecf4e2e28fe62b405106baadb0d11090'),
(20,0,20,'9a071c700e4c051c354817f7e2482d148380d574');
/*!40000 ALTER TABLE `channels` ENABLE KEYS */;
--
-- Definition of table `char_area_info`
--
DROP TABLE IF EXISTS `char_area_info`;
CREATE TABLE `char_area_info` (
`id` int(11) NOT NULL auto_increment,
`charid` int(11) NOT NULL,
`infoid` int(11) NOT NULL,
`area_data` varchar(120) NOT NULL,
PRIMARY KEY (`id`),
KEY `cid` (`charid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `char_area_info`
--
/*!40000 ALTER TABLE `char_area_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `char_area_info` ENABLE KEYS */;
--
-- Definition of table `characters`
--
DROP TABLE IF EXISTS `characters`;
CREATE TABLE `characters` (
`id` int(11) NOT NULL auto_increment,
`accountid` int(11) NOT NULL default '0',
`world` int(11) NOT NULL default '0',
`name` varchar(13) NOT NULL default '',
`level` int(11) NOT NULL default '0',
`exp` int(11) NOT NULL default '0',
`gachaexp` int(11) NOT NULL default '0',
`str` int(11) NOT NULL default '0',
`dex` int(11) NOT NULL default '0',
`luk` int(11) NOT NULL default '0',
`int` int(11) NOT NULL default '0',
`hp` int(11) NOT NULL default '0',
`mp` int(11) NOT NULL default '0',
`maxhp` int(11) NOT NULL default '0',
`maxmp` int(11) NOT NULL default '0',
`meso` int(11) NOT NULL default '0',
`hpMpUsed` int(11) unsigned NOT NULL default '0',
`job` int(11) NOT NULL default '0',
`skincolor` int(11) NOT NULL default '0',
`gender` int(11) NOT NULL default '0',
`fame` int(11) NOT NULL default '0',
`hair` int(11) NOT NULL default '0',
`face` int(11) NOT NULL default '0',
`ap` int(11) NOT NULL default '0',
`sp` int(11) NOT NULL default '0',
`map` int(11) NOT NULL default '0',
`spawnpoint` int(11) NOT NULL default '0',
`gm` tinyint(1) NOT NULL default '0',
`party` int(11) NOT NULL default '0',
`buddyCapacity` int(11) NOT NULL default '25',
`createdate` timestamp NOT NULL default CURRENT_TIMESTAMP,
`rank` int(10) unsigned NOT NULL default '1',
`rankMove` int(11) NOT NULL default '0',
`jobRank` int(10) unsigned NOT NULL default '1',
`jobRankMove` int(11) NOT NULL default '0',
`guildid` int(10) unsigned NOT NULL default '0',
`guildrank` int(10) unsigned NOT NULL default '5',
`messengerid` int(10) unsigned NOT NULL default '0',
`messengerposition` int(10) unsigned NOT NULL default '4',
`mountlevel` int(9) NOT NULL default '1',
`mountexp` int(9) NOT NULL default '0',
`mounttiredness` int(9) NOT NULL default '0',
`omokwins` int(11) NOT NULL default '0',
`omoklosses` int(11) NOT NULL default '0',
`omokties` int(11) NOT NULL default '0',
`matchcardwins` int(11) NOT NULL default '0',
`matchcardlosses` int(11) NOT NULL default '0',
`matchcardties` int(11) NOT NULL default '0',
`MerchantMesos` int(11) default '0',
`HasMerchant` tinyint(1) default '0',
`equipslots` int(11) NOT NULL default '24',
`useslots` int(11) NOT NULL default '24',
`setupslots` int(11) NOT NULL default '24',
`etcslots` int(11) NOT NULL default '24',
`familyId` int(11) NOT NULL default '-1',
`monsterbookcover` int(11) NOT NULL default '0',
`allianceRank` int(10) NOT NULL default '5',
`vanquisherStage` int(11) unsigned NOT NULL default '0',
`dojoPoints` int(11) unsigned NOT NULL default '0',
`lastDojoStage` int(10) unsigned NOT NULL default '0',
`finishedDojoTutorial` tinyint(1) unsigned NOT NULL default '0',
`vanquisherKills` int(11) unsigned NOT NULL default '0',
`summonValue` int(11) unsigned NOT NULL default '0',
`reborns` int(10) unsigned NOT NULL default '0',
`pvpkills` int(10) unsigned NOT NULL default '0',
`pvpdeaths` int(10) unsigned NOT NULL default '0',
`dollars` int(10) unsigned NOT NULL default '0',
`sharelots` int(10) unsigned NOT NULL default '0',
`deleted` int(11) NOT NULL default '0',
`eventpoints` int(11) NOT NULL default '0',
`occupation` int(11) NOT NULL default '0',
`bankmesos` varchar(500) NOT NULL default '0',
`gamblerEXP` int(11) NOT NULL default '0',
`newexprate` int(11) NOT NULL default '0',
`newmesorate` int(11) NOT NULL default '0',
`newdroprate` int(11) NOT NULL default '0',
`married` int(11) NOT NULL default '0',
`partnerid` int(11) NOT NULL default '0',
`butterflynet` int(11) NOT NULL default '1',
PRIMARY KEY (`id`),
KEY `accountid` (`accountid`),
KEY `party` (`party`),
KEY `ranking1` (`level`,`exp`),
KEY `ranking2` (`gm`,`job`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 PACK_KEYS=0;






