Jump to content
  • 0

Npc Link To Community Board Bypass Problem.


Meydex

Question

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.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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. 

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
Answer this question...

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