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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...