takhs7 Posted December 28, 2009 Posted December 28, 2009 same ip protection in big servers highly increase the network traffic...conclusion not a good idea to have it well an easy way to fix this (even though i dont believe it can increase the traffic in a lvl where u gonna have problems :/) would be to store the character's ip in a custom column in the database when he logins... so the pvp check will read the ip from there..
Kabamaru® Posted December 30, 2009 Posted December 30, 2009 Nive share bro!!Keep the good work! off topic: in every share where i already check the only think where you say is this : Nive share bro!!Keep the good work! anywayzzzz.... on topic : IMO my pvp boting protection is better than the other :D
cr0nos Posted December 31, 2009 Posted December 31, 2009 O.o i think its better from same IP and not char, but ty for share man! ;)
vipergtrs Posted January 13, 2010 Posted January 13, 2010 First of all thanks man...i'll take your script its useful for me...On my server if someone takes pvp is been awarded, so someone with his friend can bug the server by killing its other for taking pvps and the award ....
Albion™ Posted January 14, 2010 Posted January 14, 2010 it is useless, because all we know all is farming pvp ... and who care? maby on server where can get rewards with pvps....
mfausb Posted January 17, 2010 Posted January 17, 2010 it is useless, because all we know all is farming pvp ... and who care? maby on server where can get rewards with pvps.... And for which servers do you think is this share? :D Ofc its kinda useless for "normal" servers but for servers where pvp rewards are given or the faction system is activated this share comes in handy.
MeVsYou Posted January 19, 2010 Posted January 19, 2010 if someone kill the some character more than 1 time dont take pvp point (lol) well for faction server's it may be good (propablY) but for the boting pvp protection you can make something else like : if someone try to increase his pvp point's from the SAME IP ADDRESS // Check if it's pvp String attacker = getClient().getConnection().getInetAddress().getHostAddress(); String attacked = targetPlayer.getClient().getConnection().getInetAddress().getHostAddress(); if (attacker.equals(attacked)) { sendMessage("What you though? You cannot use dumb exploit's NOOB!"); return; } if ( ( checkIfPvP(target) && // Can pvp and targetPlayer.getPvpFlag() != 0 // Target player has pvp flag set ) || // or ( isInsideZone(ZONE_PVP) && // Player is inside pvp zone and targetPlayer.isInsideZone(ZONE_PVP) // Target player is inside pvp zone ) ) { increasePvpKills(); } else // Target player doesn't have pvp flag set { // check about wars if (targetPlayer.getClan() != null && getClan() != null) { if (getClan().isAtWarWith(targetPlayer.getClanId())) { if (targetPlayer.getClan().isAtWarWith(getClanId())) { // 'Both way war' -> 'PvP Kill' increasePvpKills(); return; } } } // 'No war' or 'One way war' -> 'Normal PK' if (attacker.equals(attacked)) { sendMessage("What you though? You cannot use dumb exploit's NOOB!"); return; } else if (targetPlayer.getKarma() > 0) // Target player has karma { if ( Config.KARMA_AWARD_PK_KILL ) { increasePvpKills(); } } else if (targetPlayer.getPvpFlag() == 0) // Target player doesn't have karma { if (attacker.equals(attacked)) { sendMessage("What you though? You cannot use dumb exploit's NOOB!"); return; } this is the protection for same IP w/e and your's it's correct This works ?
rodox Posted January 19, 2010 Posted January 19, 2010 But there is no sense with the same IP. I was doing pvp points with friend, once I was killin a low lvl char of friend, then we swapped our roles and he was killing my low lvl char. It,s not easy for lvl 5 char to hit a lvl 78, but possible, and when there are rewards for pvp point such protection is a must. Thx for share.
Kabamaru® Posted January 20, 2010 Posted January 20, 2010 This works ? of course it work's LAWL i had it on my previous server
MusicMaker Posted January 20, 2010 Posted January 20, 2010 and if mass pvp?better make it with same ip / nice share although χαχα no if someone is at a net and do pvp with other one ? xD
mfausb Posted January 22, 2010 Posted January 22, 2010 χαχα no if someone is at a net and do pvp with other one ? xD There are still possibilities to farm pvps but much less when implementing this share..
takhs7 Posted January 23, 2010 Posted January 23, 2010 χαχα no if someone is at a net and do pvp with other one ? xD if they are from net then they have to be friends and thats pvp farming (for me) plus its their fault they play from net lol.. nodays an internet connection and a pc costs almost nothing.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now