Jump to content

Question

Posted

hello i need to open html from button

example i have a buffer with id 50008 if click in BUFFER in community board open the buffer html.

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

tons of examples at your sources.

the easiest part is to open the html.

 

final NpcHtmlMessage html = new NpcHtmlMessage(0);
html.setFile("data/html/" + filename);
activeChar.sendPacket(html);

then 99% you have to create by urself the bypasses to work different than the buffer's bypasses because you don't need interact checks (about radius etc)

Edited by melron
  • 0
Posted
On 6/20/2018 at 6:31 AM, melron said:

tons of examples at your sources.

the easiest part is to open the html.

 


final NpcHtmlMessage html = new NpcHtmlMessage(0);
html.setFile("data/html/" + filename);
activeChar.sendPacket(html);

then 99% you have to create by urself the bypasses to work different than the buffer's bypasses because you don't need interact checks (about radius etc)

and how can i do this :D

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

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..