Skip to content
Snippets Groups Projects
Commit c0f8e3c0 authored by Zoey76's avatar Zoey76
Browse files

BETA: SSQ Missing feature Lord of the Manor's Certificate of Approval:

	* Chamberlain related htmls and bypass fixes.
	* SQL support for sold Lord of the Manor's Certificate of Approval for each castle.

Reported by: valdaron

'''Note:''' C3 feature.
parent d7edac5c
No related branches found
No related tags found
No related merge requests found
<html><body>
You can obtain the following from the castle:<br><br>
<center>
<a action="bypass -h npc_%objectId%_Link chamberlain/chamberlain-products.htm">Lord of the Manor's Certificate of Approval</a><br>
<a action="bypass -h npc_%objectId%_manors_cert">Lord of the Manor's Certificate of Approval</a><br>
<a action="bypass -h npc_%objectId%_items %npcId%">General Items</a><br>
<a action="bypass -h npc_%objectId%_give_crown">Castle Lord's Crown</a><br>
<a action="bypass -h npc_%objectId%_Link chamberlain/chamberlain.htm">Back</a>
......
<html><body>
My Lord, I regret to inform you that you do not currently have enough Adena to set this function.<br>
You may find the money you need in the warehouse.<br>
<center>
<a action="bypass -h npc_%objectId%_Link chamberlain/chamberlain.htm">Return</a>
</center>
</body></html>
\ No newline at end of file
<html><body>
<font color="LEVEL">[Sale of Certificates of Approval]</font><br>
It is either not currently a competition period, or you did not join the Rulers of Dawn.<br>
<br>
<button action="bypass -h npc_%objectId%_Link chamberlain/chamberlain.htm" value="Main screen" width="80" height="27" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</body></html>
\ No newline at end of file
<html><body>
<font color="LEVEL">[Sale of Certificates of Approval]</font><br>
All available Certificates of Approval have been issued.<br>
<br><button action="bypass -h npc_%objectId%_Link chamberlain/chamberlain.htm" value="Initial Screen" width="80" height="27" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</body></html>
\ No newline at end of file
<html><body>
<font color="LEVEL">[Sale of Certificates of Approval]</font><br>
Currently, you have <font color="00FFFF">%DawnTicketLeft%</font> Certificates of Approval remaining.<br>
The Certificate of Approval is issued <font color="00FFFF">%DawnTicketBundle%</font> at a time, and each certificate costs <font color="00FFFF">%DawnTicketPrice%</font> Adena.<br>
Do you wish to buy a Certificate of Approval?<br>
<br>
<button action="bypass -h npc_%objectId%_manors_cert_confirm" value="Confirm" width="80" height="27" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"><br>
<button action="bypass -h npc_%objectId%_Link chamberlain/chamberlain.htm" value="Cancel" width="80" height="27" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</body></html>
\ No newline at end of file
......@@ -8,17 +8,18 @@ CREATE TABLE IF NOT EXISTS `castle` (
`regTimeEnd` bigint(13) unsigned NOT NULL DEFAULT '0',
`showNpcCrest` enum('true','false') DEFAULT 'false' NOT NULL,
`bloodAlliance` int(3) NOT NULL default 0,
`ticketBuyCount` smallint(3) NOT NULL default 0,
PRIMARY KEY (`name`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT IGNORE INTO `castle` VALUES
(1,'Gludio',0,0,0,'true',0,'false',0),
(2,'Dion',0,0,0,'true',0,'false',0),
(3,'Giran',0,0,0,'true',0,'false',0),
(4,'Oren',0,0,0,'true',0,'false',0),
(5,'Aden',0,0,0,'true',0,'false',0),
(6,'Innadril',0,0,0,'true',0,'false',0),
(7,'Goddard',0,0,0,'true',0,'false',0),
(8,'Rune',0,0,0,'true',0,'false',0),
(9,'Schuttgart',0,0,0,'true',0,'false',0);
\ No newline at end of file
(1,'Gludio',0,0,0,'true',0,'false',0,0),
(2,'Dion',0,0,0,'true',0,'false',0,0),
(3,'Giran',0,0,0,'true',0,'false',0,0),
(4,'Oren',0,0,0,'true',0,'false',0,0),
(5,'Aden',0,0,0,'true',0,'false',0,0),
(6,'Innadril',0,0,0,'true',0,'false',0,0),
(7,'Goddard',0,0,0,'true',0,'false',0,0),
(8,'Rune',0,0,0,'true',0,'false',0,0),
(9,'Schuttgart',0,0,0,'true',0,'false',0,0);
\ No newline at end of file
ALTER TABLE `castle` ADD `ticketBuyCount` SMALLINT(3) NOT NULL default 0 AFTER `bloodAlliance`;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment