Jump to content

[Search] Psaxnw code gia anti feed deite :)


Recommended Posts

Gia sas pedia psaxnw code gia anti feed sta pvp dld otan ena char pou exei idia  ip me enan allon kai ton perni pvp na mhn to pernei  p.x

 

Exei 25 pvp ton pernei kai exei pali 25..

 

Thanks ;)

Link to comment
Share on other sites


### Eclipse Workspace Patch 1.0
#P L2_GameServer_It
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(revision 5162)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
@@ -4407,6 +4407,9 @@
				)
		)
		{
+			if(targetPlayer.getClient().getConnection().getInetAddress().equals(getClient().getConnection().getInetAddress()))
+			{}
+			else
             increasePvpKills();
		}
		else                                                                        // Target player doesn't have pvp flag set
@@ -4447,6 +4450,7 @@
     public void increasePvpKills()
     {
         // Add karma to attacker and increase its PK counter
+    	
         setPvpKills(getPvpKills() + 1);

         // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter

Link to comment
Share on other sites

Feature

 

auto 8elei kai ena return isos? :P

 

if(targetPlayer.getClient().getConnection().getInetAddress().equals(getClient().getConnection().getInetAddress()))

return;

 

kai an einai boolean

 

return false;

Link to comment
Share on other sites

nop absolute, den einai anagastiko. an exoun idia ip kane tpt , dld mi doseis pvp point, alios dose ;)

ma etsi einai la8os :S prepei na to kaneis na stamataei
Link to comment
Share on other sites

Guest Elfocrash

ma etsi einai la8os :S prepei na to kaneis na stamataei

apla den mporeis na katalaveis thn glwssa.exeis dei 2 pragmata kai ta exeis katalavei lathos

Link to comment
Share on other sites

Guest Elfocrash

re einai developer twra se project min tou les tetia kati 3erei aftos :///

euxomai na to les eirwnika giati den exw xoro katw apo thn oliva gia na se valw signature

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...