Skip to content

[Share]Dualbox protection in oly

Featured Replies

The worst thing of this is that people from same roter can`t fight each other in oly.

The script works for L2J Gracia final but it may work for other chronicles too.Try it

 

 

Index: java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java

===================================================================

--- java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java   (revision 3296)

+++ java/net/sf/l2j/gameserver/model/olympiad/OlympiadGame.java   (working copy)

@@ -185,6 +185,9 @@

   {

      if (_aborted)

         return;

+      String ip1 = _playerOne.getClient().getActiveChar().getClient().getConnection().getInetAddress().getHostAddress();

+      String ip2 = _playerTwo.getClient().getActiveChar().getClient().getConnection().getInetAddress().getHostAddress();

+      if (ip1.equals(ip2))return;

     

      if (_playerOne == null || _playerTwo == null)

         return;

Credits:l2jbg.com

stop giving us stuff shared in mxc with credits to another forum >_>

stop giving us stuff shared in mxc with credits to another forum >_>

 

 

and how do you know that it was first shared in here?

Create an account or sign in to comment

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.