- 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:
13
trunk/dist/game/data/html/default/33530.htm
vendored
Normal file
13
trunk/dist/game/data/html/default/33530.htm
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<html><head>
|
||||
<body>
|
||||
Talking Island Auction House Manager:<br>
|
||||
Welcome, adventurer.<br1>
|
||||
Are you familiar with our services?<br>
|
||||
We are sales intermediaries. We enable you to view and purchase goods from all over the continent at rock bottom prices!<br1>
|
||||
And, if you have items you want to sell, we can handle those transactions for you.<br>
|
||||
Leave the worry and the paperwork to us! All you need to is pay us a small transaction fee, and we'll take care of the rest.<br1>
|
||||
<font color="LEVEL">When an item sells, we'll transfer the proceeds to you, minus a slight transaction fee, of course.</font><br>
|
||||
What do you think? You interested?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h showAuction">"Yes, I am!"</Button>
|
||||
</body>
|
||||
</html>
|
@@ -22,8 +22,8 @@ import java.util.StringTokenizer;
|
||||
|
||||
import com.l2jserver.gameserver.data.sql.impl.ClanTable;
|
||||
import com.l2jserver.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jserver.gameserver.instancemanager.AuctionManager;
|
||||
import com.l2jserver.gameserver.instancemanager.CHSiegeManager;
|
||||
import com.l2jserver.gameserver.instancemanager.ClanHallAuctionManager;
|
||||
import com.l2jserver.gameserver.instancemanager.ClanHallManager;
|
||||
import com.l2jserver.gameserver.model.L2Clan;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
@@ -98,9 +98,9 @@ public class AdminClanHall implements IAdminCommandHandler
|
||||
if (!clanhall.isSiegableHall())
|
||||
{
|
||||
ClanHallManager.getInstance().setOwner(clanhall.getId(), clan);
|
||||
if (AuctionManager.getInstance().getAuction(clanhall.getId()) != null)
|
||||
if (ClanHallAuctionManager.getInstance().getAuction(clanhall.getId()) != null)
|
||||
{
|
||||
AuctionManager.getInstance().getAuction(clanhall.getId()).deleteAuctionFromDB();
|
||||
ClanHallAuctionManager.getInstance().getAuction(clanhall.getId()).deleteAuctionFromDB();
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -116,7 +116,7 @@ public class AdminClanHall implements IAdminCommandHandler
|
||||
if (!ClanHallManager.getInstance().isFree(clanhall.getId()))
|
||||
{
|
||||
ClanHallManager.getInstance().setFree(clanhall.getId());
|
||||
AuctionManager.getInstance().initNPC(clanhall.getId());
|
||||
ClanHallAuctionManager.getInstance().initNPC(clanhall.getId());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
13
trunk/dist/tools/sql/game/auctions_info.sql
vendored
Normal file
13
trunk/dist/tools/sql/game/auctions_info.sql
vendored
Normal 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`)
|
||||
);
|
@@ -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,
|
||||
|
2
trunk/dist/tools/sql/game/characters.sql
vendored
2
trunk/dist/tools/sql/game/characters.sql
vendored
@@ -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`),
|
||||
|
2
trunk/dist/tools/sql/game/messages.sql
vendored
2
trunk/dist/tools/sql/game/messages.sql
vendored
@@ -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;
|
Reference in New Issue
Block a user