Question about a custom buffer NPC
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 6
- Joined: Wed Jan 09, 2008 10:59 pm
Question about a custom buffer NPC
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?
-
- L2j Veteran
- Posts: 418
- Joined: Fri Jan 25, 2008 6:09 am
-
- Posts: 6
- Joined: Wed Jan 09, 2008 10:59 pm
Re: Question about a custom buffer NPC
Epic Answer, just that its too short !GodKratos wrote:yes
Does anyone have the real answer to this?
-
- Posts: 199
- Joined: Thu Jan 11, 2007 4:03 pm
- Location: France
Re: Question about a custom buffer NPC
This is the real answer to your real question.
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 ?AlucardHS wrote:Is there a way or code missing to keep the menu open while picking out buffs?
- theone
- Posts: 1384
- Joined: Tue Aug 12, 2008 2:28 am
- Location: Quebec, Canada
Re: Question about a custom buffer NPC
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:
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.
Code: Select all
return nameofyourfile.htm
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>
I just thaught I would give a little more details in case you are not familiar with any of this.
