`Rοmeο Posted April 19, 2010 Share Posted April 19, 2010 I get error on this increasePvpKills(); How to fix it? And thank you for the code. lol dude you should find it not add it xD Quote Link to comment Share on other sites More sharing options...
`Rοmeο Posted April 19, 2010 Share Posted April 19, 2010 then try with that one : if (getPvpKills() >= 5000) { sendMessage ("Congratz , you are now a hero "); setHero(true); } Quote Link to comment Share on other sites More sharing options...
Matim Posted April 19, 2010 Share Posted April 19, 2010 I get error on this increasePvpKills(); How to fix it? And thank you for the code. And You think that we can help you without error log? Smart. Quote Link to comment Share on other sites More sharing options...
`Rοmeο Posted April 19, 2010 Share Posted April 19, 2010 And You think that we can help you without error log? Smart. already helped :P I know what error will apear with that activeChar... Quote Link to comment Share on other sites More sharing options...
bobnet84 Posted April 22, 2010 Share Posted April 22, 2010 where to you paste this code?????? Quote Link to comment Share on other sites More sharing options...
`Rοmeο Posted April 23, 2010 Share Posted April 23, 2010 *L2PcIstance.java read careful Quote Link to comment Share on other sites More sharing options...
erhan4o0 Posted August 12, 2010 Share Posted August 12, 2010 *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 is very good idea but, can u make it when you take restart hero to disapear, something like that you kill 5 guys you take only hero aura after when you die two times and you lose it or when you take restart Quote Link to comment Share on other sites More sharing options...
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.