Jump to content

Question

Posted

Hello guys,

I'm trying to solve one problem.

 

How can I enable Friends/Mail tabs in community board without using community server? Is it possible? Any1 did it yet? thanks for answers.

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

or not.... just looking at it and it doesnt seem right... probably wrong code to edit god damn....  :poker face:

 

or.... I'm rly noob :D there is probably the community board sending _mail or _friend bypass instead of _bbsfriend and _bbsmail :)

 

you can lock it thanks

Edited by freedy
  • 0
Posted

I guess you could 'call the function' by command, but not sure if there won't be a 'problem' (community board disabled msg) :P

  • 0
Posted

lol found it :D

 

else if (_command.startsWith("bbs"))
{
   if (Config.ENABLE_COMMUNITY_BOARD)
   {
      if (!CommunityServerThread.getInstance().sendPacket(new RequestShowCommunityBoard(activeChar.getObjectId(), _command)))
      {
      activeChar.sendPacket(SystemMessageId.CB_OFFLINE);
      }
   }
   else
   {
      CommunityBoard.getInstance().handleCommands(getClient(), _command);
   }
}
else if (_command.startsWith("_mail"))
   {
   if (!CommunityServerThread.getInstance().sendPacket(new RequestShowCommunityBoard(activeChar.getObjectId(), "_bbsmail")))
   {
      activeChar.sendPacket(SystemMessageId.CB_OFFLINE);
   }
}
else if (_command.startsWith("_friend"))
{
   if (!CommunityServerThread.getInstance().sendPacket(new RequestShowCommunityBoard(activeChar.getObjectId(), "_bbsfriend")))
   {
   activeChar.sendPacket(SystemMessageId.CB_OFFLINE);
   }
}
  • 0
Posted

or not.... just looking at it and it doesnt seem right... probably wrong code to edit god damn....  :poker face:

 

or.... I'm rly noob :D there is probably the community board sending _mail or _friend bypass instead of _bbsfriend and _bbsmail :)

 

you can lock it thanks

kk
Guest
This topic is now closed to further replies.


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