ur really stupid.. saying on mopar ppl shud stop leeching but u also leech.. so nty to help ya
|
|

ur really stupid.. saying on mopar ppl shud stop leeching but u also leech.. so nty to help ya

because your a faggot posting un needed shit on my help thread. and idk i've had this username for a long time... if you payed attention you would notice alot of people have the same names as other people, just because i have this username dont mean anywhere thats this username is mine? and fyi this used to be a common username on runescape, so yeah alot of people have this username.
bump
Good lord here:
Player.java, look for:
Should be under there some were...Code:getPackets().sendGameMessage("Oh dear, you have died.");

public void sendItemsOnDeath(Player killer) {
charges.die();
auraManager.removeAura();
CopyOnWriteArrayList<Item> containedItems = new CopyOnWriteArrayList<Item>();
for (int i = 0; i < 14; i++) {
if (equipment.getItem(i) != null
&& equipment.getItem(i).getId() != -1
&& equipment.getItem(i).getAmount() != -1)
containedItems.add(new Item(equipment.getItem(i).getId(),
equipment.getItem(i).getAmount()));
}
for (int i = 0; i < 28; i++) {
if (inventory.getItem(i) != null
&& inventory.getItem(i).getId() != -1
&& inventory.getItem(i).getAmount() != -1)
containedItems.add(new Item(getInventory().getItem(i).getId(),
getInventory().getItem(i).getAmount()));
}
if (containedItems.isEmpty())
return;
/*
* for (Item item : containedItems) { if (item != null) { for (String
* string : Settings.DONATOR_ITEMS) { if
* (item.getDefinitions().getName().toLowerCase() .contains(string)) {
* containedItems.remove(item); } } } }
*/
int keptAmount = 3;
if (hasSkull())
keptAmount = 0;
if (prayer.usingPrayer(0, 10) || prayer.usingPrayer(1, 0))
keptAmount++;
if (donator && Utils.random(2) == 0)
keptAmount += 1;
CopyOnWriteArrayList<Item> keptItems = new CopyOnWriteArrayList<Item>();
Item lastItem = new Item(1, 1);
for (int i = 0; i < keptAmount; i++) {
for (Item item : containedItems) {
int price = item.getDefinitions().getValue();
if (price >= lastItem.getDefinitions().getValue()) {
lastItem = item;
}
}
keptItems.add(lastItem);
containedItems.remove(lastItem);
lastItem = new Item(1, 1);
}
inventory.reset();
equipment.reset();
for (Item item : keptItems) {
getInventory().addItem(item);
}
for (Item item : containedItems) {
World.addGroundItem(item, getLastWorldTile(), killer, true, 180,
true);
}
}
public void increaseKillCount(Player killed) {
killed.deathCount++;
PkRank.checkRank(killed);
if (killed.getSession().getIP().equals(getSession().g etIP()))
return;
killCount++;
getPackets().sendGameMessage(
"<col=ff0000>You have killed " + killed.getDisplayName()
+ ", you have now " + killCount + " kills.");
PkRank.checkRank(this);
}
i dont see why it isint dropping?
you dont lose items either. it might not be in regaurds to that.
I never said it was in there... but since you kids are having trouble finding it... replace the whole run() void with this...
Should work fine...Code:@Override public void run() { if (loop == 0) { setNextAnimation(new Animation(836)); } else if (loop == 1) { getPackets().sendGameMessage("Oh dear, you have died."); } else if (loop == 3) { Player killer = getMostDamageReceivedSourcePlayer(); if (killer != null) { killer.removeDamage(thisPlayer); killer.increaseKillCount(thisPlayer); sendItemsOnDeath(killer); } equipment.init(); inventory.init(); reset(); setNextWorldTile(new WorldTile( Settings.RESPAWN_PLAYER_LOCATION)); setNextAnimation(new Animation(-1)); } else if (loop == 4) { getPackets().sendMusicEffect(90); stop(); } loop++; } }, 0, 1); }
What is in red is probably why you weren't getting drops.

| « cant connect client and server | 562 dynamic regions titanpk » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |