JustBeatIt Posted February 26, 2012 Posted February 26, 2012 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 ;)
UnixCode Posted February 26, 2012 Posted February 26, 2012 ### 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
AbsolutePower Posted February 26, 2012 Posted February 26, 2012 Feature auto 8elei kai ena return isos? :P if(targetPlayer.getClient().getConnection().getInetAddress().equals(getClient().getConnection().getInetAddress())) return; kai an einai boolean return false;
UnixCode Posted February 26, 2012 Posted February 26, 2012 nop absolute, den einai anagastiko. an exoun idia ip kane tpt , dld mi doseis pvp point, alios dose ;)
AbsolutePower Posted March 1, 2012 Posted March 1, 2012 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
Guest Elfocrash Posted March 1, 2012 Posted March 1, 2012 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
AbsolutePower Posted March 1, 2012 Posted March 1, 2012 apla den mporeis na katalaveis thn glwssa.exeis dei 2 pragmata kai ta exeis katalavei lathos ok mr programmer
Guest Elfocrash Posted March 1, 2012 Posted March 1, 2012 ok mr programmer re den eimai epithetikos ksekola.na sou eksigisw thelw
vl4d Posted March 1, 2012 Posted March 1, 2012 re den eimai epithetikos ksekola.na sou eksigisw thelw re einai developer twra se project min tou les tetia kati 3erei aftos :///
Guest Elfocrash Posted March 1, 2012 Posted March 1, 2012 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
DeathBringer™ Posted March 1, 2012 Posted March 1, 2012 pedia ksefigate apo to 8ema.. Kapios na to lock auto opws eipe o filos mas Euxaristw aderfe!! ara lu8ike to problima.
Escordia Posted March 1, 2012 Posted March 1, 2012 pedia ksefigate apo to 8ema.. Kapios na to lock auto opws eipe o filos masara lu8ike to problima.
Recommended Posts