Jump to content
  • 0

Cb Enabling Tabs


freedy

Question

5 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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);
   }
}
Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...