I'm trying to put this in the core but it shows me a mistake, you could find it easily but the thing is that I'm not a java knower so I need your help.
I'm sure that it's a simple syntax mistake, but as I said, I can't find it!
public void increasePvpKills()
{
// Add karma to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
// Increase the kill count for a special hero aura
heroConsecutiveKillCount++;
// If heroConsecutiveKillCount > 4 (5+ kills) give hero aura
if(heroConsecutiveKillCount > 29)
switch(heroConsecutiveKillCount){
case 30:
setHeroAura(true);
Announcements.getInstance().announceToAll("" + this.getName()+ " went on a Killing Spree with 30 kills in row.");
break;
case 60:
Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating with 60 kills in row, somebody kill him! ");
default:
;
}
// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
sendPacket(new UserInfo(this));
sendPacket(new ExBrExtraUserInfo(this));
}
/**
* Increase pk count, karma and send the info to the player
*
* @param targLVL : level of the killed player
* @param increasePk : true if PK counter should be increased too
*/
The red ";" it's the underlined error.
Edit: Forgot tell you that I'm using L2J Latest Revision, Gracia Final[/s]
Edit2:
I fixed it and updated it on the quote above but I still want to make it apart from the aura, hero aura to give hero skills to the player too, is that possible?
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.
Hello. You may encounter the Push item fail error when trying to pick up an item dropped on the ground by a mob.
or
You can throw something out of your inventory and pick it up again, several times.
Probably this is a quantum dependency) I don't understand at what point this happens, sometimes two items one after another experience push item errors, and sometimes I don't have enough thousands of attempts to repeat this trick)
In any case, this is just a visual error and after the relog, the item appears in the inventory. I think first i need to disconnect the extender and check it on a bare server. I still need time to check this, maybe it's not even about the autoloot function.
https://youtu.be/6mcfmdImofE
-----------
In general, I would like to thank our wonderful Emca Eressea for her deep knowledge in programming and reverse engineering. And for the fact that her work is open to everyone, this is very amazing, and incredibly valuable.
ADENA
500 K = 40e
1kk = 70e
3kk = 190e
ITEMS
staff of life = 150e
karmian set = 90e
elven jewls top D = 30e
Orcish Poleaxe+1 best C pole = 680e
any D grade armor on demand
discord
wiz0642_81242
Question
Statique
I'm trying to put this in the core but it shows me a mistake, you could find it easily but the thing is that I'm not a java knower so I need your help.
I'm sure that it's a simple syntax mistake, but as I said, I can't find it!
The red ";" it's the underlined error.
Edit: Forgot tell you that I'm using L2J Latest Revision, Gracia Final[/s]
Edit2:
I fixed it and updated it on the quote above but I still want to make it apart from the aura, hero aura to give hero skills to the player too, is that possible?
12 answers to this question
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.