Hey guys, just here for a little question. I got the Eclipse 639 source TOTALLY customized and almost stable IMO, but now the dropping methods..
When I kill a player in the wild, 90% of the times I won't get the drop.. it's there for himself to pickup, or if he leaves it I gotta wait till everybody can see it..
I was looking for protect item prayer, but this goes first.. Why doesn't it drop the items for the killer? This is in the Skills.java ...
Code:
public void execute() {
stop();
dead = false;
for (int i = 0; i < SKILL_COUNT; i++) {
set(i, getLevelForExperience(i));
}
hitPoints = getMaxHitpoints();
player.animate(Animation.RESET);
player.getPrayer().closeAllPrayers();
player.sendMessage("Oh dear, you have died.");
ActionSender.sendConfig(player, 1240, hitPoints * 2);
player.setSpecialAmount(1000);
player.resetCombat();
player.getPoisonManager().removePoison();
player.setAttribute("teleblock", 0);
player.setAttribute("freezeTime", 0);
Mob killer = player.getDamageManager().getKiller();
if (!player.getActivity().onDeath(player)) { //In a safe activity we don't drop items or teleport to the DEFAULT_LOCATION, this will be done in the onDeath method.
if (killer != null && killer != player) {
if (player.getRights() != 2) {
GraveStoneManager.appendDeath(player, killer);
}
}
player.teleport(Mob.DEFAULT);
}
}
}, true);
}
});
}
Any idea/way to solve ?