Skip to content

Npc Link To Community Board Bypass Problem.

Featured Replies

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.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.