I've tried already. Line 2299 is blank..
Code:
}
public String lastKilled = "";
Line 2299 is in between that.
Here's the appenDeath() method if you can help with that.
Code:
public void appendDeath() {
if (deathDelay == 0 && isDead) {
Player opp = Server.engine.players[hitIndex];
dropStuff(opp.username);
try {
getActionSender().sendMessage(opp, getKillMessage(username));
if (receivesPVPDrop(this, opp)) {
opp.kills++;
opp.totalKills++;
DC++;
opp.KC++;
}
if (Server.socketListener.getAddress(socket.socket).equals(opp.lastKilled)) {
Engine.fileManager.appendData("characters/logs/flagged.txt", opp.username);
}
opp.lastKilled = Server.socketListener.getAddress(socket.socket);
Engine.fileManager.appendData("characters/logs/kills/"+opp.username+".txt", username);
} catch (Exception e) {
}
for (int i = 0; i < skillLvl.length; i++) {
skillLvl[i] = getLevelForXP(i);
getActionSender().setSkillLvl(this, i);
}
for (int i = 0; i < 1000; i++) {
requestAnim(playerWeapon.getStandEmote(equipment[3]), 0);
}
if(bountyArea()) {
Engine.bountyhunter.leaveBounty(this);
getActionSender().removeShownInterface(this);
initialAttack = false;
isSkulled = false;
headIconSkull = -1;
skullVanishDelay = 0;
}
if (opp != null) {
opp.attacking = null;
opp.attackedBy = null;
opp.oppIndex = 0;
opp.hitIndex = 0;
opp.resetAttack();
opp.requestFaceTo(65535);
}
attacking = null;
attackedBy = null;
oppIndex = 0;
hitIndex = 0;
resetAttack();
if (isPVP()) setCoords(3168, 3480, 0); else setCoords(3168, 3480, 0);
getActionSender().sendMessage(this, "Ha! Only noob's die!");
deathDelay = -1;
isDead = false;
magicGraphicDelay = -1;
magicDamageDelay = -1;
initialAttack = false;
isSkulled = false;
headIconSkull = -1;
skullVanishDelay = 0;
isPoisoned = false;
poisonHitCount = 0;
poisonDelay = 0;
specAmount = 1000;
getActionSender().setConfig2(this, 300, 1000);
resetPrayer();
getActionSender().removeOverlay(this);
appearanceUpdateReq = true;
updateReq = true;
}
}
Thanks for the help guys.