Package lineage2.gameserver.model

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


      packets.add(new SystemMessage(SystemMessage.CLAN_LEVEL_S1).addNumber(clans[i].getLevel()));
      packets.add(new SystemMessage(SystemMessage.CONNECTION_S1_TOTAL_S2).addNumber(online[i + 1]).addNumber(count[i + 1]));
      packets.add(Msg.__DASHES__);
    }
    packets.add(Msg.__EQUALS__);
    player.sendPacket(packets);
  }
}
View Full Code Here


    Player player = getClient().getActiveChar();
    if (player == null)
    {
      return;
    }
    player.sendPacket(new HennaEquipList(player));
  }
}
View Full Code Here

        update = true;
      }
    }
    if (update)
    {
      player.sendPacket(new SkillList(player));
      player.updateStats();
    }
  }
 
  /**
 
View Full Code Here

    {
      if (!player.getInventory().isRefresh)
      {
        if (!player.getOpenCloak() && (player.getInventory().setPaperdollItem(Inventory.PAPERDOLL_BACK, null) != null))
        {
          player.sendPacket(SystemMsg.YOUR_CLOAK_HAS_BEEN_UNEQUIPPED_BECAUSE_YOUR_ARMOR_SET_IS_NO_LONGER_COMPLETE);
        }
      }
      player.sendPacket(new SkillList(player));
      player.updateStats();
    }
View Full Code Here

        if (!player.getOpenCloak() && (player.getInventory().setPaperdollItem(Inventory.PAPERDOLL_BACK, null) != null))
        {
          player.sendPacket(SystemMsg.YOUR_CLOAK_HAS_BEEN_UNEQUIPPED_BECAUSE_YOUR_ARMOR_SET_IS_NO_LONGER_COMPLETE);
        }
      }
      player.sendPacket(new SkillList(player));
      player.updateStats();
    }
  }
}
View Full Code Here

        if (temp.isOnline())
        {
          Player player = temp.getPlayer();
          if (player != null)
          {
            player.sendPacket(packet);
            if (player.getPledgeType() == _type)
            {
              addSkill(player, newSkill);
            }
          }
View Full Code Here

          if (count > 10)
          {
            pointsCount += (count % 10) * 118;
          }
          int increasedPoints = clan.incReputation(pointsCount, true, "_510_AClansReputation");
          player.sendPacket(new SystemMessage(SystemMessage.YOU_HAVE_SUCCESSFULLY_COMPLETED_A_CLAN_QUEST_S1_POINTS_HAVE_BEEN_ADDED_TO_YOUR_CLAN_REPUTATION_SCORE).addNumber(increasedPoints));
        }
      }
    }
    return htmltext;
  }
View Full Code Here

    {
      player.sendSkillList();
      player.updateStats();
      if (needSendInfo)
      {
        player.sendPacket(new SkillCoolTime(player));
      }
    }
  }
}
View Full Code Here

      giveEffects(player);
     
      player.teleToLocation(teleportLocs.get(i));
      player.addEvent(this);
     
      player.sendPacket(new ExPVPMatchCCMyRecord(k), SystemMsg.THE_MATCH_HAS_STARTED);
    }
  }
 
  /**
   * Method stopEvent.
View Full Code Here

        }
      }
     
      player.removeEvent(this);
     
      player.sendPacket(ExPVPMatchCCRetire.STATIC, SystemMsg.END_MATCH);
      player.teleToLocation(RETURN_LOC);
    }
  }
 
  /**
 
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.