SkySkase Posted August 31, 2012 Posted August 31, 2012 So lets start i am using .aio command and when i press shop/weapon its all ok but THE PROBLEM is after that when press s80 for example i doesnt do anytning When i call the xml File Htmls works fine the Xml files dont work So Can someone tell how to call the Xml files on java Code ? I use L2JGracia Epilogue !!!! So i want this think
0 SkySkase Posted August 31, 2012 Author Posted August 31, 2012 So lets start i am using .aio command and when i press shop/weapon its all ok but THE PROBLEM is after that when press s80 for example i doesnt do anytning When i call the xml File Htmls works fine the Xml files dont work So Can someone tell how to call the Xml files on java Code ? I use L2JGracia Epilogue !!!! So i want this think
0 Mhoska Posted August 31, 2012 Posted August 31, 2012 not understand a word :( you doing a voicedcommand that call a html and then the html call the xmls?
0 Mhoska Posted August 31, 2012 Posted August 31, 2012 not understand a word :( you doing a voicedcommand that call a html and then the html call the xmls?
0 SkySkase Posted August 31, 2012 Author Posted August 31, 2012 not understand a word :( you doing a voicedcommand that call a html and then the html call the xmls? Look else if (_command.startsWith("aio_Agathions")) { if (Config.ENABLE_Aio_Agathions) { String htmContent = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/multisell/90042.xml"); if (htmContent != null) { NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); infoHtml.setHtml(htmContent); activeChar.sendPacket(infoHtml); i dont know how to call xml files its a gmshop all buttons work normaly but when i must call one xml file ( like Agathions for example ) nothing hapens if you dont understand this i can show you via t.v. so you can undestand what i meen
0 SkySkase Posted August 31, 2012 Author Posted August 31, 2012 not understand a word :( you doing a voicedcommand that call a html and then the html call the xmls? Look else if (_command.startsWith("aio_Agathions")) { if (Config.ENABLE_Aio_Agathions) { String htmContent = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/multisell/90042.xml"); if (htmContent != null) { NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); infoHtml.setHtml(htmContent); activeChar.sendPacket(infoHtml); i dont know how to call xml files its a gmshop all buttons work normaly but when i must call one xml file ( like Agathions for example ) nothing hapens if you dont understand this i can show you via t.v. so you can undestand what i meen
0 Mhoska Posted August 31, 2012 Posted August 31, 2012 just do it like this and call a html and you just call the xml from inside using any gmshop that its already done. else if (_command.startsWith("aio_store")) { if (Config.ENABLE_Aio_store) { String htmFile = "data/html/aio/aiostore.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); infoHtml.setHtml(htmContent); activeChar.sendPacket(infoHtml); } } }
0 Mhoska Posted August 31, 2012 Posted August 31, 2012 just do it like this and call a html and you just call the xml from inside using any gmshop that its already done. else if (_command.startsWith("aio_store")) { if (Config.ENABLE_Aio_store) { String htmFile = "data/html/aio/aiostore.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); infoHtml.setHtml(htmContent); activeChar.sendPacket(infoHtml); } } }
0 Rizel Posted August 31, 2012 Posted August 31, 2012 you can send the multisell to the player with this method if I'm right: public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly) in Multisell.java. at least the Multisell bypasshandler use this method so in your case you have to call this: else if (_command.startsWith("aio_Agathions")) { if (Config.ENABLE_Aio_Agathions) { MultiSell.getInstance().separateAndSend(90042, activeChar, (L2Npc) target, false); } {
0 Rizel Posted August 31, 2012 Posted August 31, 2012 you can send the multisell to the player with this method if I'm right: public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly) in Multisell.java. at least the Multisell bypasshandler use this method so in your case you have to call this: else if (_command.startsWith("aio_Agathions")) { if (Config.ENABLE_Aio_Agathions) { MultiSell.getInstance().separateAndSend(90042, activeChar, (L2Npc) target, false); } {
0 Mhoska Posted August 31, 2012 Posted August 31, 2012 you can send the multisell to the player with this method if I'm right: public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly) in Multisell.java yeap but, doing a command for each xml isnt easier just to call a html and then just bypass the xml from there?
0 Mhoska Posted August 31, 2012 Posted August 31, 2012 you can send the multisell to the player with this method if I'm right: public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly) in Multisell.java yeap but, doing a command for each xml isnt easier just to call a html and then just bypass the xml from there?
0 SkySkase Posted August 31, 2012 Author Posted August 31, 2012 just do it like this and call a html and you just call the xml from inside using any gmshop that its already done. else if (_command.startsWith("aio_store")) { if (Config.ENABLE_Aio_store) { String htmFile = "data/html/aio/aiostore.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); infoHtml.setHtml(htmContent); activeChar.sendPacket(infoHtml); } } } You didnt undestarnd what i mean probably you can send the multisell to the player with this method if I'm right: public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly) in Multisell.java. at least the Multisell bypasshandler use this method Can you mabe explane me what this will do? because i am Newbie on java
0 SkySkase Posted August 31, 2012 Author Posted August 31, 2012 just do it like this and call a html and you just call the xml from inside using any gmshop that its already done. else if (_command.startsWith("aio_store")) { if (Config.ENABLE_Aio_store) { String htmFile = "data/html/aio/aiostore.htm"; String htmContent = HtmCache.getInstance().getHtm(htmFile); if (htmContent != null) { NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); infoHtml.setHtml(htmContent); activeChar.sendPacket(infoHtml); } } } You didnt undestarnd what i mean probably you can send the multisell to the player with this method if I'm right: public final void separateAndSend(int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly) in Multisell.java. at least the Multisell bypasshandler use this method Can you mabe explane me what this will do? because i am Newbie on java
0 SkySkase Posted August 31, 2012 Author Posted August 31, 2012 yeap but, doing a command for each xml isnt easier just to call a html and then just bypass the xml from there? how to bypass the xml file?
0 SkySkase Posted August 31, 2012 Author Posted August 31, 2012 yeap but, doing a command for each xml isnt easier just to call a html and then just bypass the xml from there? how to bypass the xml file?
Question
SkySkase
So lets start
i am using .aio command
and when i press shop/weapon its all ok
but THE PROBLEM is after that
when press s80 for example i doesnt do anytning
When i call the xml File
Htmls works fine the Xml files dont work
So Can someone tell how to call the Xml files on java Code ?
I use L2JGracia Epilogue !!!!
So i want this think
79 answers to this question
Recommended Posts