- Added all referenced libraries for eclipse to perform as it should.

- Renamed AuctionManager into ClanHallAuctionManager.
 - Created Comission (Auction house) system.
 - Reworked vitality system from account based to subclass based.
This commit is contained in:
erlandys56
2015-01-24 21:21:32 +00:00
parent 1c6301c46d
commit ebe4ba005d
46 changed files with 2684 additions and 213 deletions

View File

@@ -0,0 +1,13 @@
CREATE TABLE IF NOT EXISTS `auctions_info` (
`auctionID` int(11) NOT NULL DEFAULT '0',
`sellerID` int(11) NOT NULL DEFAULT '0',
`itemName` varchar(50) DEFAULT NULL,
`itemOID` int(11) NOT NULL,
`price` bigint(20) NOT NULL,
`count` bigint(20) unsigned NOT NULL DEFAULT '0',
`category` int(3) NOT NULL,
`duration` int(11) NOT NULL,
`finishTime` bigint(13) NOT NULL,
`itemID` int(13) NOT NULL,
PRIMARY KEY (`sellerID`,`auctionID`)
);

View File

@@ -3,6 +3,7 @@ CREATE TABLE IF NOT EXISTS `character_subclasses` (
`class_id` int(2) NOT NULL DEFAULT 0,
`exp` bigint(20) NOT NULL DEFAULT 0,
`sp` bigint(10) NOT NULL DEFAULT 0,
`vitality_points` int(10) NOT NULL DEFAULT '140000',
`level` int(2) NOT NULL DEFAULT 40,
`class_index` int(1) NOT NULL DEFAULT 0,
`dual_class` BOOLEAN NOT NULL DEFAULT FALSE,

View File

@@ -52,7 +52,7 @@ CREATE TABLE IF NOT EXISTS `characters` (
`clan_create_expiry_time` bigint(13) unsigned NOT NULL DEFAULT '0',
`death_penalty_level` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`bookmarkslot` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`vitality_points` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`vitality_points` int(10) NOT NULL DEFAULT '140000',
`createDate` date NOT NULL DEFAULT '0000-00-00',
`language` VARCHAR(2) DEFAULT NULL,
PRIMARY KEY (`charId`),

View File

@@ -16,5 +16,7 @@ CREATE TABLE IF NOT EXISTS `messages` (
`itemId` INT(11) NOT NULL DEFAULT '0',
`enchantLvl` INT(3) NOT NULL DEFAULT '0',
`elementals` VARCHAR(25),
`systemMessage1` INT(10) NOT NULL DEFAULT '-1',
`systemMessage2` INT(10) NOT NULL DEFAULT '-1',
PRIMARY KEY (`messageId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;