Jump to content

Recommended Posts

Posted

playerTwoip = _playerTwo.getClient().getConnection().getInetAddress().getHostAddress();

 

if(!playerOneIp.equals(playerTwoIp)

 

now base it on your voting system

 

set the penalty to kick the dualbox out of the game and cancel the vote. Voila. If I'm wrong correct me

It's not that simple , it will need to store the ips so it will need 1 more database connection. I will do it when I will have some free time ( after that it will be ready for using it on a live server)

Posted

UPDATED!

 

ADDED IP PROTECTION ! DON'T FORGET TO ADD GOD_IPS TABLE AT NAVICAT.

HAVE FUN!!!!!!!!!!! IT'S READY FOR LIVE SRV

Posted

First of all well done. Thanks for sharing it with us. You seem that you have spend some time doing this type of feature.

And with all these update while you take from the feedback.

 

Also i would appreciate if someone could adapt if for Frozen.

Posted

Nice share mate!

Its nice to see some good shares in here but still need to work on the protections.

 

OFF: I find this feature useless cuz if ill join that server they know im God so no need it.

Posted (edited)

Lion leave the man be, he's done a great job and I don't think he would want to adapt it..

 

 

ON topic: I adapted it for my l2pack thank you sir!

Edited by ExtreameR
  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...