StarMedia
Va asteptam in grupul nostru de pe facebook: Click

Distribuiţi
Vezi subiectul anteriorIn josVezi subiectul urmator
avatar
Lucyan
Administrator
Administrator
Mesaje : 8544
Varsta : 25
Localizare : Administrator
Sunt pe forum din : 13/12/2008

[Share] Java Anti-Phx Announce

la data de Sam 07 Feb 2009, 13:41
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
Cod:
      // 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:
Cod:

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

Peace :wink_6:
Vezi subiectul anteriorSusVezi subiectul urmator
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum