Jump to content

[HELP] Redirect a npc .htm page to script .htm page


Recommended Posts

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

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...