Question about a custom buffer NPC

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
AlucardHS
Posts: 6
Joined: Wed Jan 09, 2008 10:59 pm

Question about a custom buffer NPC

Post 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?
GodKratos
L2j Veteran
L2j Veteran
Posts: 418
Joined: Fri Jan 25, 2008 6:09 am

Re: Question about a custom buffer NPC

Post by GodKratos »

yes
Image
AlucardHS
Posts: 6
Joined: Wed Jan 09, 2008 10:59 pm

Re: Question about a custom buffer NPC

Post by AlucardHS »

GodKratos wrote:yes
Epic Answer, just that its too short !

Does anyone have the real answer to this?
Shaigan
Posts: 199
Joined: Thu Jan 11, 2007 4:03 pm
Location: France

Re: Question about a custom buffer NPC

Post 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 ?
Image Image
User avatar
theone
Posts: 1384
Joined: Tue Aug 12, 2008 2:28 am
Location: Quebec, Canada

Re: Question about a custom buffer NPC

Post by theone »

well... it's like shaigan said but if you never opened these files it would look like this:

Code: Select all

return nameofyourfile.htm
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.
Image
Post Reply