Jump to content

Recommended Posts

Posted

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  :)

Posted

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"

Posted

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">

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock