zekke Posted November 2, 2008 Posted November 2, 2008 Hello. I made my own Npc Buffer and what i want to do is redirect somehow the npc .htm page to the script .htm page. For example the npc id is 7111.htm and the file 1.htm with the buff list is in the script folder 9000_Buffer. When i click on the npc normally all the npc buffer have written on the npc .htm page( 7111.htm in my case) a "buff me" button that you press and takes you to the script page(1.htm in my case). What i want is when i click on the npc(7111.htm) to go automaticly to the 1.htm whitout any buttons or delay. It's like a web redirection or forwarding. Please i really need your help. Thks :) Quote
xMaylox Posted November 2, 2008 Posted November 2, 2008 well, i dont know if this is what you are searching for but i am gona try;) add the button like this: <button value="Buff Me" action="bypass -h npc_%objectId%_Quest 9000_buffer" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> and make your _init_.py file and add this: InitialHtml = "1.htm" Quote
zekke Posted November 2, 2008 Author Posted November 2, 2008 :) this is exactly what im not trying to do...i want the page to redirect automaticly without any buttons if you get what i mean Quote
Stealth Posted November 2, 2008 Posted November 2, 2008 Here's the original code from html for websites <META HTTP-EQUIV="Refresh" CONTENT="5; URL=html-redirect.html"> You could do something like this <META HTTP-EQUIV="Refresh" CONTENT="5; URL=bypass -h npc_%objectId%_Quest 9000_buffer"> Quote
xMaylox Posted November 2, 2008 Posted November 2, 2008 yes, this is the correct code as sp4rd4 said. it works in HTML i mean webpage. i dont know if it works with l2. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.