Reikia truputi pagalbos su sio tipo npc. Isidejau raidinfohandler, kuri pajungia per
bypass -h custom_raidinfo
Taigi si bypass mygtuka esu isidejes i Teleporter npc, kad is jo html ijungtu man scripta.
Norejau padaryti, kad griztu is cripto atgal i teleporterio npc
public final static void showChatWindow(L2PcInstance player)
{
NpcHtmlMessage html = new NpcHtmlMessage(player.getObjectId());
html.setFile("data/html/teleporter/565.htm");
html.replace("%objectId%",player.getObjectId());
player.sendPacket(html);
}
CustomBypassHandler.java
else if (command.startsWith("custom_dbackTo"))
{
RaidInfoHandler.showChatWindow(player);
}
Grazina i teleporterio html, bet jei jau spaudziu kuri nors teleporterio mygtuka iskart isjungia chata. Kame cia beda gali but?
Paskutinį kartą redagavo: 12 Spalio 2014 - 01:16