Jump to content

Question

Posted

Greetings,
I am trying to replace the way Npcs redirect you to simple HTML text  with community board html text. I edited L2Npc class and changed the NpcHtmlMessage with the Util.SendCBHtml method and I managed to make the window open in the CB but the buttons with the npc's bypasses do not work at all.

 

Note: The html text is the same I used to have on my npcs before the change, when the bypasses used to work.

 

Any ideas on how to make them functional again while on CB? Am I missing something here?
Thanks.

1 answer to this question

Recommended Posts

  • 0
Posted

It depends on your pack. On Acis if your bypass starts with bbs_, _bbs, _friend, _mail or _block, CommunityBoard class will handle the bypass. You need to add new bypass name to CommunityBoard class and parseCmd in your BaseBBSManager. 

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