multisell from voicecommand
Posted: Fri Aug 02, 2013 8:07 pm
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Last:
L2JDP Revision Last:
im trying to figure out how to call npc's html dialog
im making my own gm shop with voiced command and i cant call a multisell without his npc so what i did is:
this one gives me html dialog with quest button only
and when i try this one:
it fails in server console like iilegal move
all of this codes is part in voiced command handler
» Find Revision
L2J Revision Last:
L2JDP Revision Last:
im trying to figure out how to call npc's html dialog
im making my own gm shop with voiced command and i cant call a multisell without his npc so what i did is:
Code: Select all
int Npc_Id = 900104L2Npc npc = new L2Npc(5, NpcTable.getInstance().getTemplate(Npc_Id);npc.showChatWindow(activeChar);
and when i try this one:
Code: Select all
int multisellId= Integer.parseInt(st.nextToken());int Npc_Id = 900104L2Npc npc = new L2Npc(5, NpcTable.getInstance().getTemplate(Npc_Id);MultisellData.getInstance().seperateAndSend(multisellId,activeChar,npc,true);
all of this codes is part in voiced command handler