Thread: 317 PI glitch when i die

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1 317 PI glitch when i die 
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    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?
    Reply With Quote  
     

  2. #2  
    Irathient Developer

    mr selby's Avatar
    Join Date
    May 2011
    Age
    28
    Posts
    1,183
    Thanks given
    95
    Thanks received
    166
    Rep Power
    97
    thats usually how PI servers are
    Reply With Quote  
     

  3. #3 okay then 
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    Quote Originally Posted by mr selby View Post
    thats usually how PI servers are

    Is there a fix so people get my loot?
    Reply With Quote  
     

  4. #4  
    Irathient Developer

    mr selby's Avatar
    Join Date
    May 2011
    Age
    28
    Posts
    1,183
    Thanks given
    95
    Thanks received
    166
    Rep Power
    97
    that i do not know, try switching the playerrights? make it like 6 instead of 2 see if that would work
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Oct 2011
    Age
    28
    Posts
    1,880
    Thanks given
    311
    Thanks received
    557
    Rep Power
    703
    dropAllItems method.
    Reply With Quote  
     

  6. #6  
    Irathient Developer

    mr selby's Avatar
    Join Date
    May 2011
    Age
    28
    Posts
    1,183
    Thanks given
    95
    Thanks received
    166
    Rep Power
    97
    Quote Originally Posted by Revival View Post
    dropAllItems method.
    aaahhh i see, that methods in itemassistant in case you didnt know
    Reply With Quote  
     

  7. #7  
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    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
    }
    Reply With Quote  
     

  8. #8  
    #Synergy-Host

    Join Date
    May 2009
    Posts
    27
    Thanks given
    1
    Thanks received
    0
    Rep Power
    2
    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
    }
    Reply With Quote  
     

  9. #9 yep 
    Registered Member Cody289's Avatar
    Join Date
    May 2012
    Posts
    385
    Thanks given
    11
    Thanks received
    17
    Rep Power
    14
    Quote Originally Posted by mark1127 View Post
    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
    }
    Yeah thats my code but please be more informative?
    Reply With Quote  
     

  10. #10  
    Irathient Developer

    mr selby's Avatar
    Join Date
    May 2011
    Age
    28
    Posts
    1,183
    Thanks given
    95
    Thanks received
    166
    Rep Power
    97
    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 )


    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
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. help npc combat glitch when they die
    By Zᴀᴄʜ in forum Help
    Replies: 2
    Last Post: 10-06-2010, 01:32 AM
  2. Replies: 24
    Last Post: 09-22-2009, 03:50 AM
  3. Log in and die glitch [HELP]
    By i tank in forum Help
    Replies: 21
    Last Post: 11-03-2008, 03:59 AM
  4. LOG DIE glitch
    By Darkie in forum Help
    Replies: 18
    Last Post: 10-27-2008, 10:20 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •