Skip to content

[Share] Java Anti-Phx Announce

Featured Replies

As u read in my other posts phx can be used on announcements only in l2j free packs

 

Edit by fakoykas:

Go to file Say2.java located here

C:\Server\gameserver\src\main\java\net\sf\l2j\gameserver\clientpackets

and then do what kidzor says

 

This code can be added after:

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

Easy easy to spot xD not too hard ul see it or search for the text in eclipse useing ctrl+f

 

 

 

This is the real code for anti-phx announce

 

      // 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;
      } 

it cold be simple to ad a diff file..but i dont have the time xD but maybe il add it later..

 

And message to a moderator..please delete the posts that my fellow romanians posted...thx

KidZoR please hide your topic for 100 or more posts....As Soon As Possible you can

 

Thanks

kidzor u rock ;) when u are online send me a message i need to talk with you.

KidZoR please hide your topic for 100 or more posts....As Soon As Possible you can

 

Thanks

 

U have 2k posts me 10 so stfu.

Dont hide it plis

ehm he should hide it because of leech ... u must donate or have posts to look it..

U have 2k posts me 10 so stfu.

Dont hide it plis

 

this is Up to US to hide or not...so stfu!

This 2 guides are better explain than the other 2 (may be beacuse kidzor is the real maker of the guides xD

 

Btw good job man , keep up whit guides Anti Something =P we need them

I'm Make Say2.Java I saved Its On My Deskop Where i Need Paste ITs C:/server and??

kidzor bro gg but one question: can you make it for l2j too?? ty

kidzor bro gg but one question: can you make it for l2j too?? ty

 

"phx can be used on announcements only in l2j free packs"

 

If you use L2J why you worry about it ?

It's awesome !!! Thx a lott dude !!

Guest
This topic is now closed to further replies.

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.