- 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
|
||||
{
|
||||
|
Reference in New Issue
Block a user