Page 1 of 1
Question about a custom buffer NPC
Posted: Mon Aug 18, 2008 8:20 pm
by AlucardHS
Ok my friends are running a L2 server(no im not admin just a player). And there buffer menu disappears after you pick a buff. So you would have to open it back up to get the next one then it closes after it. Is there a way or code missing to keep the menu open while picking out buffs?
Re: Question about a custom buffer NPC
Posted: Mon Aug 18, 2008 11:58 pm
by GodKratos
yes
Re: Question about a custom buffer NPC
Posted: Tue Aug 19, 2008 1:55 am
by AlucardHS
GodKratos wrote:yes
Epic Answer, just that its too short !
Does anyone have the real answer to this?
Re: Question about a custom buffer NPC
Posted: Tue Aug 19, 2008 5:24 am
by Shaigan
This is the real answer to your real question.
AlucardHS wrote:Is there a way or code missing to keep the menu open while picking out buffs?
After the case/select or after the if/then part of your code to select what buff to apply on the character, instead of sending a "return" without anything, just return the html of the buff list. Not so hard ?
Re: Question about a custom buffer NPC
Posted: Tue Aug 19, 2008 11:08 pm
by theone
well... it's like shaigan said but if you never opened these files it would look like this:
in any case, make sure that this file is in the same directory as the buffer's script file(custom quest folder).
Also, I if your friend's buffer is using direct links to the script from the base html file of the NPC like this:
Code: Select all
<a action="bypass -h Quest 8888_NpcBuffer 1">buff1</a><br> <a action="bypass -h Quest 8888_NpcBuffer 2">buff2</a><br> <a action="bypass -h Quest 8888_NpcBuffer 3">buff3</a><br> <a action="bypass -h Quest 8888_NpcBuffer 4">buff4</a><br>
then this file also needs to be into the NPC buffer's custom quest folder and it is the file that needs to be put after the "return".
I just thaught I would give a little more details in case you are not familiar with any of this.