thats usually how PI servers are
|
Hey on my server im Owner and when i die i lose everything but my loot doesnt come up?
public void giveLife() {
c.isDead = false;
c.faceUpdate(-1);
c.freezeTimer = 0;
if(c.duelStatus <= 4) { // if we are not in a duel we must be in wildy so remove items
if (!c.inPits && !c.inFightCaves() && !c.inFunPk()) {
c.getItems().resetKeepItems();
if((c.playerRights == 2 && Config.ADMIN_DROP_ITEMS) || c.playerRights != 2) {
if(!c.isSkulled) { // what items to keep
c.getItems().keepItem(0, true);
c.getItems().keepItem(1, true);
c.getItems().keepItem(2, true);
}
Another Code:
c.getItems().dropAllItemsPVP();
if(c.trade11 < 1 && !c.inRFD() && !c.isInFala() && !c.isInArd()) {
c.getItems().dropAllItems(); // drop all items
c.getItems().deleteAllItems(); // delete all items
}
there something wrong with it?
dropAllItems method.
I also have this code
c.getItems().dropAllItemsPVP();
if(c.trade11 < 1 && !c.inRFD() && !c.isInFala() && !c.isInArd()) {
c.getItems().dropAllItems(); // drop all items
c.getItems().deleteAllItems(); // delete all items
}
c.getItems().dropAllItemsPVP();
if(c.trade11 < 1 && !c.inRFD() && !c.isInFala() && !c.isInArd()) {
c.getItems().dropAllItems(); // drop all items
//c.getItems().deleteAllItems(); // delete all items
}
c.getitems().dropallitemspvp(); -- basically drops items you have that are maarked as a 'pvp' item ( i think )c.getItems().dropAllItemsPVP();
if(c.trade11 < 1 && !c.inRFD() && !c.isInFala() && !c.isInArd()) {
c.getItems().dropAllItems(); // drop all items
//c.getItems().deleteAllItems(); // delete all items
}
if(c.trade11 < 1 && !c.inRFD() && !c.isInFala() && !c.isInArd()) { -- if your in RFD, fally pk or ardy pk it will
c.getItems().dropAllItems(); --- drop all items you have on you ( basically like no protect from item you just flat out lose all your items )
//c.getItems().deleteAllItems(); --- delete all items that you have on you
so in them 2 zones you cannot recieve loot and RFD is a dangerous minigame where you lose items and cannot get back
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |