I'm using a voiced command.When the player uses .blabla then an html (stored at commandName/blabla.htm) window appears with 3 buttons planted (Let's call those buttons Button A,Button B,Button C).I want when Button A is pressed to change the html to another(the other html is named commandName/blabla2.htm).Is that possible?I can make this on npcs but i can't with a voiced command.
EDIT: Found out what to do.For any other that has the same question just edit the button to have a action="bypass -h bla_bla" and then just go over com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer and after this one
else if (_command.equals("come_here") && ( activeChar.isGM()))
{
comeHere(activeChar);
}
put this one
else if (_command.equals("bla_bla") )
{
//do whatever you want to
}
You can replace bla_bla with anything you like BUT put the same on bypass-h AND at else if block.
Hello everyone,
Given that he has lots of different projects but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project is the best choice?
For a server that can be custom and which can be suitable for a classic x10 server and an x1000 server for example?
L2J
Or we ideally have the source, in order to be able to add the farming systems, weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Hello everyone,
Given that he has lots of different projects
but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project/emulator
is the best choice?
For a server that can be custom and
which can be suitable for a classic x10 server
and an x1000 server for example?
L2Java ideally
Or we ideally have the source,
in order to be able to add the farming systems,
weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
Question
Virusgr
I'm using a voiced command.When the player uses .blabla then an html (stored at commandName/blabla.htm) window appears with 3 buttons planted (Let's call those buttons Button A,Button B,Button C).I want when Button A is pressed to change the html to another(the other html is named commandName/blabla2.htm).Is that possible?I can make this on npcs but i can't with a voiced command.
EDIT: Found out what to do.For any other that has the same question just edit the button to have a action="bypass -h bla_bla" and then just go over com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer and after this one
put this one
You can replace bla_bla with anything you like BUT put the same on bypass-h AND at else if block.
Request for lock
1 answer to this question
Recommended Posts