Jump to content

[Share]Dualbox protection in oly

Recommended Posts

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)


+      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)



Link to comment
Share on other sites



here you have the protection from the Same Ip


Which is not working >.>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...