RєVєnGeR^ Posted October 25, 2009 Posted October 25, 2009 *L2PcIstance.java Hello there , i got inspired for that by L2Core (old faction) where u had an amount of PvPs you could gain hero status .. so here its the code.. (currently the amount of pvp's you need to have is seted to 5000 , but can simple change it) Tested on L2J Archid find this public void increasePvpKills() and change it like this public void increasePvpKills(L2PcInstance activeChar) And then paste this if (activeChar.getPvpKills() >= 5000) { activeChar.sendMessage ("Congratz , you are now a hero "); activeChar.setHero(true); } down of this { // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); Credits goes to Revenger for www.maxcheaters.com Quote
Stefoulis15 Posted October 25, 2009 Posted October 25, 2009 2 words. good work . i really enjoy seeing my help giving seeds u and Krash do a great job now with java, lets see what Mace will do :) Quote
Vkouk Posted October 25, 2009 Posted October 25, 2009 +1 karma for this awesome share Revenger.Keep up Quote
xAddytzu Posted October 25, 2009 Posted October 25, 2009 On 10/25/2009 at 8:20 PM, Ventic said: +1 karma for this awesome share Revenger.Keep up WTF, For three rows? Quote
Kràtos Posted October 25, 2009 Posted October 25, 2009 On 10/25/2009 at 9:32 PM, xAddytzu said: WTF, For three rows? :D :D :D I have donne this already but... with different way ^.^. Quote
Kabamaru® Posted October 26, 2009 Posted October 26, 2009 well Ventic a.k.a Legollas was faster than me XD btw i test the code i edit the pvp's to 10 ofc XD cause i made dual box in a test server on my pc and it work's cool Good Job Ριβέντζεr keep up sharing cool things :) Quote
Versus Posted October 26, 2009 Posted October 26, 2009 The code is wrong, each time you get pvp the message will appear. Let me correct you. if (activeChar.getPvpKills() >= 5000 && !activeChar.isHero()) { activeChar.sendMessage ("Congratz , you are now a hero "); activeChar.setHero(true); } that should do it. Quote
RєVєnGeR^ Posted October 26, 2009 Author Posted October 26, 2009 i think its like everytime you get 5000 pvps ... anyway thanks for this and soz (u know about what) Quote
LauQ Posted October 26, 2009 Posted October 26, 2009 On 10/25/2009 at 9:32 PM, xAddytzu said: WTF, For three rows? To make it even worse: three rows that have been shared before by Vago, and similar systems that been shared often before. I really should start doing this stuff too xD Anyway; thanks, I guess Quote
MaestroLuke Posted October 26, 2009 Posted October 26, 2009 On 10/26/2009 at 4:59 PM, ReVenGeR® said: i think its like everytime you get 5000 pvps ... anyway thanks for this and soz (u know about what) it goes every time that is more than 5000 > Quote
SySt3MGaM3RFr3aKs Posted October 26, 2009 Posted October 26, 2009 Sorry Revenger !! But i think i have to fix karma you have 18 :D Karma Fixed Quote Karma for 5 Rows CodE ??? Nice Share XD Quote
Versus Posted October 26, 2009 Posted October 26, 2009 On 10/26/2009 at 5:36 PM, MaestroLuke said: it goes every time that is more than 5000 > exactly, the code i gave above should fix it. Quote
Kabamaru® Posted October 27, 2009 Posted October 27, 2009 On 10/26/2009 at 5:41 PM, SySt3MGaM3RFr3aKs said: Sorry Revenger !! But i think i have to fix karma you have 18 :D Karma Fixed Nice Share XD off topic you should read this one http://www.maxcheaters.com/forum/index.php?topic=61847.0 and if someone may to restore his karma you're not me or you for sure a moderator must do that btw do not abuse your "power" karma restored (soz for the restore but...)until a moderator will check it and if you can make your own code like Revenger's did Quote
Intrepid Posted October 27, 2009 Posted October 27, 2009 Revenger you still make useless codes cmon you can do better :D PS.: missing enterworld pvp count check, missing alredy hero check , try to post diff file instead of that Quote
Recommended Posts
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.