Jump to content
  • 0

[help] Java Code


Question

Posted

Hello pedia epsaksa gia ores sto mxc gia javacoding ke vrika kati paromio me afto pou ithela alla de vrika akrivos afto pou thelw , bori na min epsaksa arketa alla tha ithela na me help giati de mporw alo psaksimo :P, thelw ena javacode to opio na min safini na pernis pvp point otan ine same ip , opws sas ipa vrika kati paromio alla oxi afto.paraxeno giati ine poli xrisimo code !

6 answers to this question

Recommended Posts

  • 0
Posted
if (getClient().getConnection().getSocket().getInetAddress().getHostAddress().equals(targetPlayer.getClient().getConnection().getSocket().getInetAddress().getHostAddress())
      return;

  • 0
Posted
Index: L2PcInstance.java
===================================================================
--- L2PcInstance.java	(revision 15)
+++ L2PcInstance.java	(working copy)
@@ -5823,6 +5823,9 @@
	 */
	public void increasePvpKills(L2Character target)
	{
+      if (getClient().getConnection().getSocket().getInetAddress().getHostAddress().equals(targetPlayer.getClient().getConnection().getSocket().getInetAddress().getHostAddress())
+      return;
+
		if (target instanceof L2PcInstance
				&& AntiFeedManager.getInstance().check(this, target))
		{

  • 0
Posted

eisai sigouros oti doulevei to code? giati to addara sto l2jserver gracia final mou kai mou vgazei error ...

ksanakitakse to ligo  kai sto l2pcinstance mou den iparxi line

public void increasePvpKills(L2Character target)

  • 0
Posted

to exw ksanadei aftos o kodikas safini mono mia fora na perneis pvp ton adipalo egw thelw na min perneis pvp otan einai same ip , ton exw dei afton ton kodika file ,parolafta efxaristo pou endiaferthikes na voithiseis !!!

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
Answer this question...

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