Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Playable.sendPacket()


        freight.addItem(item);
      }
    }
    catch (ArithmeticException ae)
    {
      player.sendPacket(SystemMsg.YOU_HAVE_EXCEEDED_THE_QUANTITY_THAT_CAN_BE_INPUTTED);
      return;
    }
    finally
    {
      freight.writeUnlock();
View Full Code Here


    }
    else if (event.equalsIgnoreCase("colin_q194_11a.htm"))
    {
      if ((player.getTransformation() != 0) || player.isMounted())
      {
        player.sendPacket(Msg.YOU_ALREADY_POLYMORPHED_AND_CANNOT_POLYMORPH_AGAIN);
        return null;
      }
      negateSpeedBuffs(player);
      SkillTable.getInstance().getInfo(6201, 1).getEffects(player, player, false, false);
    }
View Full Code Here

    {
      freight.writeUnlock();
      inventory.writeUnlock();
    }
    player.sendChanges();
    player.sendPacket(SystemMsg.THE_TRANSACTION_IS_COMPLETE);
  }
}
View Full Code Here

    }
    else if (event.equalsIgnoreCase("colin_q194_12a.htm"))
    {
      if ((player.getTransformation() != 0) || player.isMounted())
      {
        player.sendPacket(Msg.YOU_ALREADY_POLYMORPHED_AND_CANNOT_POLYMORPH_AGAIN);
        return null;
      }
      negateSpeedBuffs(player);
      SkillTable.getInstance().getInfo(6202, 1).getEffects(player, player, false, false);
    }
View Full Code Here

    }
    else if (event.equalsIgnoreCase("colin_q194_13a.htm"))
    {
      if ((player.getTransformation() != 0) || player.isMounted())
      {
        player.sendPacket(Msg.YOU_ALREADY_POLYMORPHED_AND_CANNOT_POLYMORPH_AGAIN);
        return null;
      }
      negateSpeedBuffs(player);
      SkillTable.getInstance().getInfo(6203, 1).getEffects(player, player, false, false);
    }
View Full Code Here

      return;
    }
    Henna henna = HennaHolder.getInstance().getHenna(_symbolId);
    if (henna != null)
    {
      player.sendPacket(new HennaUnequipInfo(henna, player));
    }
  }
}
View Full Code Here

    ICommunityBoardHandler handler = CommunityBoardManager.getInstance().getCommunityHandler(_url);
    if (handler != null)
    {
      if (!Config.COMMUNITYBOARD_ENABLED)
      {
        activeChar.sendPacket(new SystemMessage2(SystemMsg.THE_COMMUNITY_SERVER_IS_CURRENTLY_OFFLINE));
      }
      else
      {
        handler.onWriteCommand(activeChar, _url, _arg1, _arg2, _arg3, _arg4, _arg5);
      }
View Full Code Here

        }
        break;
      case HERMUNKUS_ID:
        if (event.equalsIgnoreCase("accept_scroll"))
        {
          player.sendPacket(new ExShowScreenMessage(NpcString.YOU_MAY_USE_SCROLL_OF_AFTERLIFE_FROM_HERMUNCUS_TO_AWAKEN, 10000, ExShowScreenMessage.ScreenMessageAlign.TOP_CENTER, true, ExShowScreenMessage.STRING_TYPE, 0, false, 0));
          st.playSound(SOUND_FINISH);
          st.giveItems(SCROLL_OF_AFTERLIFE, 1);
          st.exitCurrentQuest(false);
          htmltext = "2-3.htm";
        }
View Full Code Here

    if (equipped)
    {
      activeChar.getInventory().equipItem(_item);
      activeChar.getInventory().isRefresh = false;
    }
    activeChar.sendPacket(new InventoryUpdate().addModifiedItem(_item));
    activeChar.sendPacket(new ExChangeAttributeOk());
  }
}
View Full Code Here

    {
      activeChar.getInventory().equipItem(_item);
      activeChar.getInventory().isRefresh = false;
    }
    activeChar.sendPacket(new InventoryUpdate().addModifiedItem(_item));
    activeChar.sendPacket(new ExChangeAttributeOk());
  }
}
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.