Package lineage2.gameserver.model.items

Examples of lineage2.gameserver.model.items.ItemInstance.update()


      show("scripts/services/petevolve/error_lvl_strider.htm", player, npc);
      return;
    }
    collar.setItemId(fwd ? RED_TW_ITEM : TWILING_STRIDER_ITEM);
    collar.setJdbcState(JdbcEntityState.UPDATED);
    collar.update();
    player.sendItemList(false);
    player.sendPacket(SystemMessage2.obtainItems((fwd ? RED_TW_ITEM : TWILING_STRIDER_ITEM), 1, 0));
    show("scripts/services/petevolve/end_msg_strider.htm", player, npc);
  }
}
View Full Code Here


    player.getSummonList().unsummonPet(false);
    ItemInstance control = player.getInventory().getItemByObjectId(controlItemId);
    control.setItemId(IN_KOOKABURRA_OCARINA);
    control.setEnchantLevel(L2Pet.IMPROVED_BABY_KOOKABURRA.getMinLevel());
    control.setJdbcState(JdbcEntityState.UPDATED);
    control.update();
    player.sendItemList(false);
    show("scripts/services/petevolve/yes_pet.htm", player, npc);
  }
}
View Full Code Here

    {
      if (mail.isUnread())
      {
        mail.setUnread(false);
        mail.setJdbcState(JdbcEntityState.UPDATED);
        mail.update();
        activeChar.sendPacket(new ExChangePostState(true, Mail.READED, mail));
      }
      activeChar.sendPacket(new ExReplyReceivedPost(mail));
      return;
    }
View Full Code Here

  {
    Account acc = new Account(account);
    acc.restore();
    acc.setAccessLevel(level);
    acc.setBanExpire(banExpire);
    acc.update();
  }
}
View Full Code Here

  {
    Account acc = new Account(account);
    acc.restore();
    acc.setBonus(bonus);
    acc.setBonusExpire(bonusExpire);
    acc.update();
  }
}
View Full Code Here

    {
      client.close(LoginFailReason.REASON_ACCESS_FAILED);
      return;
    }
    account.setLastServer(_serverId);
    account.update();
    client.close(new PlayOk(skey));
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.