Team BlueWater Game Online Tutorial's
Bine ati venit la Team-BlueWater!!Tutorial's 4 all Games!

Java Anti-Phx Announce

View previous topic View next topic Go down

Java Anti-Phx Announce

Post  Karma on Wed Aug 03, 2011 2:44 pm

As u read in my other posts phx can be used on announcements only in l2j free packs
To fix it fallow this sh1t xD

Add this one after line 80
Code:
  // If no or wrong channel is used - return
      if (_type == SystemChatChannelId.Chat_None || _type == SystemChatChannelId.Chat_Announce || _type == SystemChatChannelId.Chat_Critical_Announce
            || _type == SystemChatChannelId.Chat_System || _type == SystemChatChannelId.Chat_Custom
            || (_type == SystemChatChannelId.Chat_GM_Pet && !activeChar.isGM()))
      {
        _log.warn("[Anti-Phx] Illegal chat channel was used.");
        return;
      }

      if (activeChar == null)
      {
        _log.warn("[Say2.java] Active Character is null.");
        return;
      }
And nobish way, add it after after:

Code:

    @Override
    protected void runImpl()
    {
        L2PcInstance activeChar = getClient().getActiveChar();
avatar
Karma
Admin
Admin

Mesaje : 1092
Data de inscriere : 2011-04-22
Varsta : 26
Localizare : Craiova

View user profile http://team-bluewater.forumz.ro

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum