Jump to content
  • 0

Remote GK/Shop command


Question

Posted

sup i am Currently stucking in a Problemm

 

i am using Coyote's aio voiced command

 

Code : http://pastebin.com/0X0Hgn4D

 

i replaced Aio teleport and aiominishop whit those strings :

				if (Config.ENABLE_VCAIO_TPNRT)
			{
					String htmFile = "data/html/mods/VoicedAIOGK.htm";
  	        		String htmContent = HtmCache.getInstance().getHtm(htmFile);
    	        	if (htmContent != null)
       	        {
    	        		NpcHtmlMessage infoHtml = new NpcHtmlMessage(1);
   	        	    infoHtml.setHtml(htmContent);
	        			activeChar.sendPacket(infoHtml);
			}
	}
		else if (_command.startsWith("aio_minishop"))
		{
			if (Config.ENABLE_VCAIO_SHOP)
			{
                                      if (activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.VCAIO_MINISHOP_ADENAS)
			        {
        					String htmFile = "data/html/mods/VoicedAIOMiniShop.htm";
          	        		String htmContent = HtmCache.getInstance().getHtm(htmFile);
            	        	if (htmContent != null)
               	        {
            	        		NpcHtmlMessage infoHtml = new NpcHtmlMessage(1);
           	        	    infoHtml.setHtml(htmContent);
        	        			activeChar.sendPacket(infoHtml);
                   	    }

 

works fine,but...

 

when i click on minishop buttom to link to me a multisell nothing happens

 

here a html example :

<html>
<head>
<body>
<tr><td><font color="FF0066">AIO Mini Shop</font></tr></td>
<br>
<tr><td><font color="FFFFCC">Choose what you want to buy :</font></tr></td>
<br>
<a action="bypass -h npc_%objectId%_multisell 70013">
<font color="FF9900">
Potions
</font></a>
<br>
<a action="bypass -h npc_%objectId%_multisell 70011">
<font color="FF9900">
Scrolls
</font></a>
<br>
<a action="bypass -h npc_%objectId%_multisell 70010">
<font color="FF9900">
Shots/Arrows
</font></a>
<br>
<a action="bypass -h npc_%objectId%_multisell 70014">
<font color="FF9900">
Dyes
</font></a>
<br>
<a action="bypass -h npc_%objectId%_multisell 70016">
<font color="FF9900">
Quest Items
</font></a>
<br>
<a action="bypass -h npc_%objectId%_multisell 70012">
<font color="FF9900">
Other items
</font></a>
<br>
<a action="bypass -h npc_%objectId%_TerritoryStatus">
<font color="FF9900">
See the Lord and Tax Rate Information
</font></a>
<br>
<a action="bypass -h npc_%objectId%_Quest">
<font color="FF6600">
Quest
</font></a>
<br>
<tr><td><font color="0000FF">Credits Coyote</font></tr></td>
</body>
</html>

 

same goes for gk can see main page but when i click on pages like aiogk-1 nothing happens no error in gs nothing

 

even goto function dont work ..

<html>
<body>
<center>
<img src="L2UI_CH3.herotower_deco" width=256 height=32>
Gatekeeper: <br></td></tr>
Welcome You look lost<br>
Are you looking for any place in particular?<br> 
If so I can take you there for only, 10.000 Adena. <br>
<table width=260>
<tr><td width=120><a action="bypass -h npc_%objectId%_Chat 1"><font color="ffff00">C4 Area</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 2"><font color="ffff00">Towns</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 3"><font color="ffff00">Aden Area</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 4"><font color="ffff00">Dark Elven Area</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 5"><font color="ffff00">Elmore Area Dwarf</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 6"><font color="ffff00">Elven Area</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 7"><font color="ffff00">Elmore Area Orc</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 8"><font color="ffff00">Gludin Area</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 9"><font color="ffff00">Giran Area</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 10"><font color="ffff00">Indaril Area</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 11"><font color="ffff00">Gludio Area</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 12"><font color="ffff00">Oren Area</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 13"><font color="ffff00">Talking Island</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 14"><font color="ffff00">Wastelands</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 15"><font color="ffff00">DVC Areas</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 16"><font color="ffff00">Cruma Tower</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 20"><font color="ffff00">Rune area</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 17"><font color="ffff00">C5 Locations</font></a></td></tr>
<tr><td><a action="bypass -h npc_%objectId%_Chat 21"><font color="ffff00">Goddard area</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 18"><font color="ffff00">Necropolis</font></a></td></tr>

<tr><td><a action="bypass -h npc_%objectId%_goto 90000"><font color="ffff00">Dino Island</font></a></td><td><a action="bypass -h npc_%objectId%_Chat 19"><font color="ffff00">Catacombs</font></a></td></tr>
</table>
</center>
</body>
</html>

 

i did put htmls intro mod they where original NPC's but removed them, only multisell +teleport sqls and htmls left

 

any suggestions? tried few things myself but no progress

 

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hello everyone, I am looking to purchase a Premium Lineage 2 High Five server pack. My main requirements are: Stability & Quality (Most Important): The pack must be highly stable with no system errors or major bugs. Custom Features: It must include ready-to-use custom features such as a fully functional Community Board, custom NPC Buffers, and Custom Item Sellers (GM Shops), etc. Complete Files: It is absolutely necessary that the full source code (src) and complete Geodata are included. If you are selling a pack that meets these criteria, please send me a PM or leave a reply with the following information: Brief details and key features of the pack Price Test server availability (I would like to test it before buying) Thank you!
    • L2jmobiusDevClon — Classic Interlude p110 Emulator L2jmobiusDevClon is actively developing a Lineage 2 Classic Interlude p110 emulator. Development is done in free time with a strong focus on: • Stability • Authentic Classic mechanics • Clean and optimized architecture The project is based on the L2jMobius source and is continuously evolving and improving. System Requirements: • Java 25 • MariaDB 12.0 • Client p110 Current Revision: 3.0 Development Status: Active Distribution: Free Official Website: https://www.l2jmobiusdevclon.pp.ua Discord Server: https://discord.gg/23a9S8g4Bn Contact: Telegram — @L2jmobiusDevClon Also available via private messages Project Goals: ✔ Improved stability ✔ Maximum Classic accuracy ✔ Core optimization We are currently looking for: • Testers • Server administrators Suggestions, bug reports, and ideas are always welcome. Contact us via: ✔ Discord ✔ Telegram ✔ Private Messages
    • i guess loading only the effects that are needed it will maybe work, like removing from reshade shader folder the ones that are not needed, depends on the pc also i guess, also limithing the game at 30fps can be better maybe
    • Up   SELL CHARACTERS L2 REBORN FRANZ x1     destroyer 74 lvl naked - 120 euro sws 71 lvl naked - 120 euro pp 66 skills - 120 euro se 64 lvl - 90 euro   Characters are legit with mail   i can wtt the characters for adena server franz   sell adena franz 250kk stock     add discord topeseller4081  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..