Einhasad's Store additions.
Contributed by Index.
This commit is contained in:
62
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487001.xml
vendored
Normal file
62
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487001.xml
vendored
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="1550" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81658" /> <!-- Topaz Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="28200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81659" /> <!-- Ruby Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="7700" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81660" /> <!-- Sapphire Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="3900" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81661" /> <!-- Obsidian Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="9600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81662" /> <!-- Opal Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="10300" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81663" /> <!-- Emerald Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="5200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81664" /> <!-- Aquamarine Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="6400" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81665" /> <!-- Diamond Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="2600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81666" /> <!-- Pearl Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="6400" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81667" /> <!-- Vital Stone Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="1700" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81668" /> <!-- Garnet Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="8900" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81669" /> <!-- Tanzanite Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="48200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81670" /> <!-- Red Cat's Eye Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="9000" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81671" /> <!-- Blue Cat's Eye Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
</list>
|
42
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487002.xml
vendored
Normal file
42
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487002.xml
vendored
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="45" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="48066" /> <!-- Zodiac Agathion Cube -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="60" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="48046" /> <!-- Zodiac Agathion's Book of Growth -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="30" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28470" /> <!-- Ultimate Jewelry Box -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="350" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48047" /> <!-- Ancient Zodiac Agathion's Book of Growth -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="150" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80000" /> <!-- Artifact Fragment -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="315" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80636" /> <!-- Artifact Crystal -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="85" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="81448" /> <!-- Angel's Necklace Pack -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="85" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="81449" /> <!-- Angel's Earring Pack -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="170" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81450" /> <!-- Angel's Ring Pack -->
|
||||||
|
</item>
|
||||||
|
</list>
|
34
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487003.xml
vendored
Normal file
34
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487003.xml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="60" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48211" /> <!-- Blessed Scroll: Enchant Circlet -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="100" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81706" /> <!-- Scroll: Enchant Superior Seed Bracelet -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="35" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="81361" /> <!-- Blessed Scroll: Enchant Brooch -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80839" /> <!-- Crystal of Dawn -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="320" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="47866" /> <!-- Star Sign -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="65" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="35567" /> <!-- Dark Armor Enhancement Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="70" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="35569" /> <!-- Bloody Armor Enhancement Stone -->
|
||||||
|
</item>
|
||||||
|
</list>
|
54
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487004.xml
vendored
Normal file
54
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487004.xml
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="65" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="45931" /> <!-- High-grade Weapon Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="125" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="45932" /> <!-- Top-grade Weapon Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="95" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28484" /> <!-- Brooch Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="300" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48215" /> <!-- Circlet Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="205" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80130" /> <!-- Superior Weapon Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="550" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="36731" /> <!-- Giant's Energy Spirit Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="1600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81729" /> <!-- Accessory Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="40" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="3" id="30297" /> <!-- Superior Giant's Codex -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="60" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="30298" /> <!-- Superior Giant's Codex - Mastery -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="405" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="46150" /> <!-- Superior Giant's Codex - Chapter 1 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="430" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="46151" /> <!-- Superior Giant's Codex - Mastery Chapter 1 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="215" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48876" /> <!-- Forgotten Spellbook Chapter 1 -->
|
||||||
|
</item>
|
||||||
|
</list>
|
70
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487005.xml
vendored
Normal file
70
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487005.xml
vendored
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="8000" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="47916" /> <!-- Nevit's Cloak of Light Box -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80998" /> <!-- Isle of Souls Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81358" /> <!-- Abandoned Coal Mines' Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80996" /> <!-- Storm Isle's Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80997" /> <!-- Primeval Isle's Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="85" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81012" /> <!-- Emperor's Special Cocktail -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81830" /> <!-- Otherworldly Atelia Refinery's Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="37560" /> <!-- Emperor's Vitality Tonic -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="160" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="23332" /> <!-- Nevit's Hourglass (1-hour) -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="10649" /> <!-- Feather of Blessing -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="215" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="37626" /> <!-- Package: Mysterious Blessed R-grade Spiritshots -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="75" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="37627" /> <!-- Package: Mysterious R-grade Soulshots -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="10" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="20025" /> <!-- My Teleport Scroll -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="40" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="13015" /> <!-- My Teleport Book Lv. 1 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80999" /> <!-- My Teleport Book Lv. 2 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="160" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81898" /> <!-- Scroll: Enchant Blessed Exalted Armor -->
|
||||||
|
</item>
|
||||||
|
</list>
|
54
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487006.xml
vendored
Normal file
54
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/multisell/34487006.xml
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28588" /> <!-- Ferios Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28587" /> <!-- Elmore Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28586" /> <!-- Aden Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28585" /> <!-- Elmoreden Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="400" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28593" /> <!-- Scroll: Enchant Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28594" /> <!-- Scroll: Enchant Cloak - Legendary -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28597" /> <!-- Cloak Augmenting Stone - Ancient Kingdom -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28601" /> <!-- Cloak Augmenting Stone - Ferios -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28600" /> <!-- Cloak Augmenting Stone - Elmore -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28599" /> <!-- Cloak Augmenting Stone - Aden -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28598" /> <!-- Cloak Augmenting Stone - Elmoreden -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="4000" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28596" /> <!-- Legendary Scroll -->
|
||||||
|
</item>
|
||||||
|
</list>
|
48
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/EinhasadStore/34487.html
vendored
Normal file
48
L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/ai/others/EinhasadStore/34487.html
vendored
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<html><title>Einhasad Store</title><body>
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=306 height=493 background="L2UI_CT1.GroupBox.GroupBox_DF">
|
||||||
|
<tr>
|
||||||
|
<td valign="center" align="center">
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0>
|
||||||
|
<tr><td height="15"></td></tr>
|
||||||
|
<tr><td width=306 height=260 background="L2UI_EPIC.HtmlWnd.HtmlWnd_Einhasad_IMG"></td></tr>
|
||||||
|
<tr><td height="0"></td></tr>
|
||||||
|
</table>
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width="306">
|
||||||
|
<tr><td height="0"></td></tr>
|
||||||
|
<tr><td align="center" height="18"><font color="af9878">May the Power of Light guide your way!</font></td></tr>
|
||||||
|
<tr><td height="15"></td></tr>
|
||||||
|
</table>
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width="295" height="128" background="L2UI_CT1.GroupBox.GroupBox_DF">
|
||||||
|
<tr><td height="15"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Jewell_Stones" value="Jewels" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Accessories" value="Accessories / Agathions / Artifacts" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Scrolls" value="Enchant Scrolls / Item Enhancement" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Enhancement" value="Item Augmentation / Skill Enchantment" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Others" value="Time Stones / Supplies / Misc" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Cloak" value="Cloaks of Ancient Kingdoms" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</body></html>
|
@@ -0,0 +1,125 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package ai.others.EinhasadStore;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.cache.HtmCache;
|
||||||
|
import org.l2jmobius.gameserver.data.xml.MultisellData;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import org.l2jmobius.gameserver.model.events.EventType;
|
||||||
|
import org.l2jmobius.gameserver.model.events.ListenerRegisterType;
|
||||||
|
import org.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
|
||||||
|
import org.l2jmobius.gameserver.model.events.annotations.RegisterType;
|
||||||
|
import org.l2jmobius.gameserver.model.events.impl.creature.player.OnPlayerBypass;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
||||||
|
|
||||||
|
import ai.AbstractNpcAI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class EinhasadStore extends AbstractNpcAI
|
||||||
|
{
|
||||||
|
// NPC
|
||||||
|
private static final int MERCHANT = 34487;
|
||||||
|
// Multisells
|
||||||
|
private static final int JEWELS_STONE = 34487001;
|
||||||
|
private static final int ACCESSORIES = 34487002;
|
||||||
|
private static final int SCROLLS = 34487003;
|
||||||
|
private static final int ENHANCEMENT = 34487004;
|
||||||
|
private static final int OTHER = 34487005;
|
||||||
|
private static final int CLOAK = 34487006;
|
||||||
|
// Others
|
||||||
|
private static final String COMMAND_BYPASS = "Quest EinhasadStore ";
|
||||||
|
|
||||||
|
private EinhasadStore()
|
||||||
|
{
|
||||||
|
addStartNpc(MERCHANT);
|
||||||
|
addFirstTalkId(MERCHANT);
|
||||||
|
addTalkId(MERCHANT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final String htmltext = null;
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
|
||||||
|
case "back":
|
||||||
|
{
|
||||||
|
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/34487.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// Bypass
|
||||||
|
case "Chat_Jewell_Stones":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(JEWELS_STONE, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Accessories":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(ACCESSORIES, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Scrolls":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(SCROLLS, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Enhancement":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(ENHANCEMENT, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Others":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(OTHER, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Cloak":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(CLOAK, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onFirstTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/34487.html")));
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@RegisterEvent(EventType.ON_PLAYER_BYPASS)
|
||||||
|
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||||
|
public void onPlayerBypass(OnPlayerBypass event)
|
||||||
|
{
|
||||||
|
final PlayerInstance player = event.getPlayer();
|
||||||
|
if (event.getCommand().startsWith(COMMAND_BYPASS))
|
||||||
|
{
|
||||||
|
notifyEvent(event.getCommand().replace(COMMAND_BYPASS, ""), null, player);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args)
|
||||||
|
{
|
||||||
|
new EinhasadStore();
|
||||||
|
}
|
||||||
|
}
|
@@ -18,8 +18,10 @@ package org.l2jmobius.gameserver.network.clientpackets;
|
|||||||
|
|
||||||
import org.l2jmobius.Config;
|
import org.l2jmobius.Config;
|
||||||
import org.l2jmobius.commons.network.PacketReader;
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.cache.HtmCache;
|
||||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import org.l2jmobius.gameserver.network.GameClient;
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
||||||
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -27,10 +29,12 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
|||||||
*/
|
*/
|
||||||
public class ExOpenHtml implements IClientIncomingPacket
|
public class ExOpenHtml implements IClientIncomingPacket
|
||||||
{
|
{
|
||||||
|
private int _type;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean read(GameClient client, PacketReader packet)
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
{
|
{
|
||||||
packet.readC(); // html scope?
|
_type = packet.readC();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,11 +42,38 @@ public class ExOpenHtml implements IClientIncomingPacket
|
|||||||
public void run(GameClient client)
|
public void run(GameClient client)
|
||||||
{
|
{
|
||||||
final PlayerInstance player = client.getPlayer();
|
final PlayerInstance player = client.getPlayer();
|
||||||
if ((player != null) && Config.PC_CAFE_ENABLED)
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (_type)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
{
|
||||||
|
if (Config.PC_CAFE_ENABLED)
|
||||||
{
|
{
|
||||||
final NpcHtmlMessage html = new NpcHtmlMessage();
|
final NpcHtmlMessage html = new NpcHtmlMessage();
|
||||||
html.setFile(player, "data/html/pccafe.htm");
|
html.setFile(player, "data/html/pccafe.htm");
|
||||||
player.sendPacket(html);
|
player.sendPacket(html);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 5:
|
||||||
|
{
|
||||||
|
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/32478.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 7:
|
||||||
|
{
|
||||||
|
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/32477.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
LOGGER.warning("Unknown ExOpenHtml type (" + _type + ")");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
62
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487001.xml
vendored
Normal file
62
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487001.xml
vendored
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="1550" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81658" /> <!-- Topaz Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="28200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81659" /> <!-- Ruby Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="7700" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81660" /> <!-- Sapphire Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="3900" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81661" /> <!-- Obsidian Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="9600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81662" /> <!-- Opal Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="10300" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81663" /> <!-- Emerald Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="5200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81664" /> <!-- Aquamarine Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="6400" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81665" /> <!-- Diamond Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="2600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81666" /> <!-- Pearl Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="6400" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81667" /> <!-- Vital Stone Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="1700" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81668" /> <!-- Garnet Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="8900" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81669" /> <!-- Tanzanite Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="48200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81670" /> <!-- Red Cat's Eye Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="9000" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81671" /> <!-- Blue Cat's Eye Jewelry Box Lv. 5 -->
|
||||||
|
</item>
|
||||||
|
</list>
|
42
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487002.xml
vendored
Normal file
42
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487002.xml
vendored
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="45" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="48066" /> <!-- Zodiac Agathion Cube -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="60" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="48046" /> <!-- Zodiac Agathion's Book of Growth -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="30" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28470" /> <!-- Ultimate Jewelry Box -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="350" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48047" /> <!-- Ancient Zodiac Agathion's Book of Growth -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="150" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80000" /> <!-- Artifact Fragment -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="315" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80636" /> <!-- Artifact Crystal -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="85" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="81448" /> <!-- Angel's Necklace Pack -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="85" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="81449" /> <!-- Angel's Earring Pack -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="170" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81450" /> <!-- Angel's Ring Pack -->
|
||||||
|
</item>
|
||||||
|
</list>
|
34
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487003.xml
vendored
Normal file
34
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487003.xml
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="60" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48211" /> <!-- Blessed Scroll: Enchant Circlet -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="100" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81706" /> <!-- Scroll: Enchant Superior Seed Bracelet -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="35" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="81361" /> <!-- Blessed Scroll: Enchant Brooch -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80839" /> <!-- Crystal of Dawn -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="320" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="47866" /> <!-- Star Sign -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="65" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="35567" /> <!-- Dark Armor Enhancement Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="70" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="35569" /> <!-- Bloody Armor Enhancement Stone -->
|
||||||
|
</item>
|
||||||
|
</list>
|
54
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487004.xml
vendored
Normal file
54
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487004.xml
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="65" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="45931" /> <!-- High-grade Weapon Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="125" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="45932" /> <!-- Top-grade Weapon Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="95" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28484" /> <!-- Brooch Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="300" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48215" /> <!-- Circlet Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="205" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80130" /> <!-- Superior Weapon Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="550" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="36731" /> <!-- Giant's Energy Spirit Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="1600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81729" /> <!-- Accessory Augmenting Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="40" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="3" id="30297" /> <!-- Superior Giant's Codex -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="60" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="30298" /> <!-- Superior Giant's Codex - Mastery -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="405" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="2" id="46150" /> <!-- Superior Giant's Codex - Chapter 1 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="430" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="46151" /> <!-- Superior Giant's Codex - Mastery Chapter 1 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="215" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="48876" /> <!-- Forgotten Spellbook Chapter 1 -->
|
||||||
|
</item>
|
||||||
|
</list>
|
70
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487005.xml
vendored
Normal file
70
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487005.xml
vendored
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="8000" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="47916" /> <!-- Nevit's Cloak of Light Box -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80998" /> <!-- Isle of Souls Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81358" /> <!-- Abandoned Coal Mines' Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80996" /> <!-- Storm Isle's Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80997" /> <!-- Primeval Isle's Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="85" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81012" /> <!-- Emperor's Special Cocktail -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81830" /> <!-- Otherworldly Atelia Refinery's Time Stone -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="37560" /> <!-- Emperor's Vitality Tonic -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="160" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="23332" /> <!-- Nevit's Hourglass (1-hour) -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="10649" /> <!-- Feather of Blessing -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="215" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="37626" /> <!-- Package: Mysterious Blessed R-grade Spiritshots -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="75" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="37627" /> <!-- Package: Mysterious R-grade Soulshots -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="10" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="20025" /> <!-- My Teleport Scroll -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="40" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="13015" /> <!-- My Teleport Book Lv. 1 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="80999" /> <!-- My Teleport Book Lv. 2 -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="160" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="81898" /> <!-- Scroll: Enchant Blessed Exalted Armor -->
|
||||||
|
</item>
|
||||||
|
</list>
|
54
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487006.xml
vendored
Normal file
54
L2J_Mobius_10.0_MasterClass/dist/game/data/multisell/34487006.xml
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
|
||||||
|
<npcs>
|
||||||
|
<npc>-1</npc> <!-- Einhasad Store -->
|
||||||
|
</npcs>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28588" /> <!-- Ferios Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28587" /> <!-- Elmore Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28586" /> <!-- Aden Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="800" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28585" /> <!-- Elmoreden Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="400" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28593" /> <!-- Scroll: Enchant Cloak -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="600" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28594" /> <!-- Scroll: Enchant Cloak - Legendary -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="80" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28597" /> <!-- Cloak Augmenting Stone - Ancient Kingdom -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28601" /> <!-- Cloak Augmenting Stone - Ferios -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28600" /> <!-- Cloak Augmenting Stone - Elmore -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28599" /> <!-- Cloak Augmenting Stone - Aden -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="200" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28598" /> <!-- Cloak Augmenting Stone - Elmoreden -->
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<ingredient count="4000" id="48472" /> <!-- Einhasad's Golden Coin -->
|
||||||
|
<production count="1" id="28596" /> <!-- Legendary Scroll -->
|
||||||
|
</item>
|
||||||
|
</list>
|
48
L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/ai/others/EinhasadStore/34487.html
vendored
Normal file
48
L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/ai/others/EinhasadStore/34487.html
vendored
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<html><title>Einhasad Store</title><body>
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width=306 height=493 background="L2UI_CT1.GroupBox.GroupBox_DF">
|
||||||
|
<tr>
|
||||||
|
<td valign="center" align="center">
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0>
|
||||||
|
<tr><td height="15"></td></tr>
|
||||||
|
<tr><td width=306 height=260 background="L2UI_EPIC.HtmlWnd.HtmlWnd_Einhasad_IMG"></td></tr>
|
||||||
|
<tr><td height="0"></td></tr>
|
||||||
|
</table>
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width="306">
|
||||||
|
<tr><td height="0"></td></tr>
|
||||||
|
<tr><td align="center" height="18"><font color="af9878">May the Power of Light guide your way!</font></td></tr>
|
||||||
|
<tr><td height="15"></td></tr>
|
||||||
|
</table>
|
||||||
|
<table border=0 cellpadding=0 cellspacing=0 width="295" height="128" background="L2UI_CT1.GroupBox.GroupBox_DF">
|
||||||
|
<tr><td height="15"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Jewell_Stones" value="Jewels" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Accessories" value="Accessories / Agathions / Artifacts" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Scrolls" value="Enchant Scrolls / Item Enhancement" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Enhancement" value="Item Augmentation / Skill Enchantment" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Others" value="Time Stones / Supplies / Misc" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<button action="bypass Quest EinhasadStore Chat_Cloak" value="Cloaks of Ancient Kingdoms" width="271" height="25" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
|
||||||
|
</tr>
|
||||||
|
<tr><td height="10"></td></tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</body></html>
|
125
L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/ai/others/EinhasadStore/EinhasadStore.java
vendored
Normal file
125
L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/ai/others/EinhasadStore/EinhasadStore.java
vendored
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
/*
|
||||||
|
* This file is part of the L2J Mobius project.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
package ai.others.EinhasadStore;
|
||||||
|
|
||||||
|
import org.l2jmobius.gameserver.cache.HtmCache;
|
||||||
|
import org.l2jmobius.gameserver.data.xml.MultisellData;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import org.l2jmobius.gameserver.model.events.EventType;
|
||||||
|
import org.l2jmobius.gameserver.model.events.ListenerRegisterType;
|
||||||
|
import org.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
|
||||||
|
import org.l2jmobius.gameserver.model.events.annotations.RegisterType;
|
||||||
|
import org.l2jmobius.gameserver.model.events.impl.creature.player.OnPlayerBypass;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
||||||
|
|
||||||
|
import ai.AbstractNpcAI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Index
|
||||||
|
*/
|
||||||
|
public class EinhasadStore extends AbstractNpcAI
|
||||||
|
{
|
||||||
|
// NPC
|
||||||
|
private static final int MERCHANT = 34487;
|
||||||
|
// Multisells
|
||||||
|
private static final int JEWELS_STONE = 34487001;
|
||||||
|
private static final int ACCESSORIES = 34487002;
|
||||||
|
private static final int SCROLLS = 34487003;
|
||||||
|
private static final int ENHANCEMENT = 34487004;
|
||||||
|
private static final int OTHER = 34487005;
|
||||||
|
private static final int CLOAK = 34487006;
|
||||||
|
// Others
|
||||||
|
private static final String COMMAND_BYPASS = "Quest EinhasadStore ";
|
||||||
|
|
||||||
|
private EinhasadStore()
|
||||||
|
{
|
||||||
|
addStartNpc(MERCHANT);
|
||||||
|
addFirstTalkId(MERCHANT);
|
||||||
|
addTalkId(MERCHANT);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final String htmltext = null;
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
|
||||||
|
case "back":
|
||||||
|
{
|
||||||
|
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/34487.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// Bypass
|
||||||
|
case "Chat_Jewell_Stones":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(JEWELS_STONE, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Accessories":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(ACCESSORIES, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Scrolls":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(SCROLLS, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Enhancement":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(ENHANCEMENT, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Others":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(OTHER, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "Chat_Cloak":
|
||||||
|
{
|
||||||
|
MultisellData.getInstance().separateAndSend(CLOAK, player, null, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onFirstTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/34487.html")));
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@RegisterEvent(EventType.ON_PLAYER_BYPASS)
|
||||||
|
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||||
|
public void onPlayerBypass(OnPlayerBypass event)
|
||||||
|
{
|
||||||
|
final PlayerInstance player = event.getPlayer();
|
||||||
|
if (event.getCommand().startsWith(COMMAND_BYPASS))
|
||||||
|
{
|
||||||
|
notifyEvent(event.getCommand().replace(COMMAND_BYPASS, ""), null, player);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args)
|
||||||
|
{
|
||||||
|
new EinhasadStore();
|
||||||
|
}
|
||||||
|
}
|
@@ -18,8 +18,10 @@ package org.l2jmobius.gameserver.network.clientpackets;
|
|||||||
|
|
||||||
import org.l2jmobius.Config;
|
import org.l2jmobius.Config;
|
||||||
import org.l2jmobius.commons.network.PacketReader;
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
|
import org.l2jmobius.gameserver.cache.HtmCache;
|
||||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import org.l2jmobius.gameserver.network.GameClient;
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
||||||
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -27,10 +29,12 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
|||||||
*/
|
*/
|
||||||
public class ExOpenHtml implements IClientIncomingPacket
|
public class ExOpenHtml implements IClientIncomingPacket
|
||||||
{
|
{
|
||||||
|
private int _type;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean read(GameClient client, PacketReader packet)
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
{
|
{
|
||||||
packet.readC(); // html scope?
|
_type = packet.readC();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,11 +42,38 @@ public class ExOpenHtml implements IClientIncomingPacket
|
|||||||
public void run(GameClient client)
|
public void run(GameClient client)
|
||||||
{
|
{
|
||||||
final PlayerInstance player = client.getPlayer();
|
final PlayerInstance player = client.getPlayer();
|
||||||
if ((player != null) && Config.PC_CAFE_ENABLED)
|
if (player == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (_type)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
{
|
||||||
|
if (Config.PC_CAFE_ENABLED)
|
||||||
{
|
{
|
||||||
final NpcHtmlMessage html = new NpcHtmlMessage();
|
final NpcHtmlMessage html = new NpcHtmlMessage();
|
||||||
html.setFile(player, "data/html/pccafe.htm");
|
html.setFile(player, "data/html/pccafe.htm");
|
||||||
player.sendPacket(html);
|
player.sendPacket(html);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 5:
|
||||||
|
{
|
||||||
|
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/32478.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 7:
|
||||||
|
{
|
||||||
|
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/32477.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
LOGGER.warning("Unknown ExOpenHtml type (" + _type + ")");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -16,21 +16,25 @@
|
|||||||
*/
|
*/
|
||||||
package org.l2jmobius.gameserver.network.clientpackets;
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.Config;
|
||||||
import org.l2jmobius.commons.network.PacketReader;
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
import org.l2jmobius.gameserver.cache.HtmCache;
|
import org.l2jmobius.gameserver.cache.HtmCache;
|
||||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import org.l2jmobius.gameserver.network.GameClient;
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Mobius
|
* @author Mobius
|
||||||
*/
|
*/
|
||||||
public class ExOpenHtml implements IClientIncomingPacket
|
public class ExOpenHtml implements IClientIncomingPacket
|
||||||
{
|
{
|
||||||
|
private int _type;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean read(GameClient client, PacketReader packet)
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
{
|
{
|
||||||
packet.readC(); // html scope?
|
_type = packet.readC();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -43,6 +47,33 @@ public class ExOpenHtml implements IClientIncomingPacket
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch (_type)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
{
|
||||||
|
if (Config.PC_CAFE_ENABLED)
|
||||||
|
{
|
||||||
|
final NpcHtmlMessage html = new NpcHtmlMessage();
|
||||||
|
html.setFile(player, "data/html/pccafe.htm");
|
||||||
|
player.sendPacket(html);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 5:
|
||||||
|
{
|
||||||
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/32478.html")));
|
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/32478.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// case 7:
|
||||||
|
// {
|
||||||
|
// client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/32477.html")));
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
LOGGER.warning("Unknown ExOpenHtml type (" + _type + ")");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -16,21 +16,25 @@
|
|||||||
*/
|
*/
|
||||||
package org.l2jmobius.gameserver.network.clientpackets;
|
package org.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
|
import org.l2jmobius.Config;
|
||||||
import org.l2jmobius.commons.network.PacketReader;
|
import org.l2jmobius.commons.network.PacketReader;
|
||||||
import org.l2jmobius.gameserver.cache.HtmCache;
|
import org.l2jmobius.gameserver.cache.HtmCache;
|
||||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
import org.l2jmobius.gameserver.network.GameClient;
|
import org.l2jmobius.gameserver.network.GameClient;
|
||||||
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
|
||||||
|
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Mobius
|
* @author Mobius
|
||||||
*/
|
*/
|
||||||
public class ExOpenHtml implements IClientIncomingPacket
|
public class ExOpenHtml implements IClientIncomingPacket
|
||||||
{
|
{
|
||||||
|
private int _type;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean read(GameClient client, PacketReader packet)
|
public boolean read(GameClient client, PacketReader packet)
|
||||||
{
|
{
|
||||||
packet.readC(); // html scope?
|
_type = packet.readC();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -43,6 +47,33 @@ public class ExOpenHtml implements IClientIncomingPacket
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch (_type)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
{
|
||||||
|
if (Config.PC_CAFE_ENABLED)
|
||||||
|
{
|
||||||
|
final NpcHtmlMessage html = new NpcHtmlMessage();
|
||||||
|
html.setFile(player, "data/html/pccafe.htm");
|
||||||
|
player.sendPacket(html);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 5:
|
||||||
|
{
|
||||||
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/32478.html")));
|
client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/GameAssistant/32478.html")));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// case 7:
|
||||||
|
// {
|
||||||
|
// client.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/others/EinhasadStore/32477.html")));
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
LOGGER.warning("Unknown ExOpenHtml type (" + _type + ")");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user