Package l2p.extensions.multilang

Examples of l2p.extensions.multilang.CustomMessage


      player.sendPacket(Msg.YOU_DO_NOT_HAVE_ENOUGH_ADENA);
      return;
    }
    player.getInventory().reduceAdena(10000000);
    player.getActiveClass().setSkills("");
    show(new CustomMessage("scripts.services.SubclassSkills.SkillsDeleted", player), player);
  }
View Full Code Here


            activeChar.sendPacket(adminReply);
          }
        }
        catch(StringIndexOutOfBoundsException e)
        {
          activeChar.sendMessage(new CustomMessage("common.Error", activeChar));
        }
        break;
      case admin_ipban:
      case admin_ipblock:
        if(wordList.length != 2)
View Full Code Here

    {
      return;
    }
    String append = "Delevel";
    append += "<br>";
    append += "<font color=\"LEVEL\">" + new CustomMessage("scripts.services.Rename.DelevelFor", getSelf()).addString(Util.formatAdena(Config.SERVICES_DELEVEL_COUNT)).addItemName(Config.SERVICES_DELEVEL_ITEM) + "</font>";
    append += "<table>";
    append += "<tr><td></td></tr>";
    append += "<tr><td><button value=\"Делевел\" action=\"bypass -h scripts_services.Delevel:delevel\" width=80 height=15 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_CT1.Button_DF\"></td></tr>";
    append += "</table>";
    show(append, player);
View Full Code Here

    long n = Math.max(0, mod * Config.RateHellbound + curr);
    if(curr != n)
    {
      if(p != null && n < 1000000)
      {
        p.sendMessage(new CustomMessage("HellboundConfidence", p).addNumber(n));
      }
      ServerVariables.set("HellboundConfidence", n);
      // Дверь к каравану
      if(curr < 300000 && n > 300000)
      {
View Full Code Here

              activeChar.sendMessage("GeoEngine: Регион [" + rx + "," + ry + "] не загрузился");
            }
          }
          catch(Exception e)
          {
            activeChar.sendMessage(new CustomMessage("common.Error", activeChar));
          }
        }
        break;
      case admin_geo_info:
        /**
 
View Full Code Here

    }
    else if(npcId == QuestBlackLeopard)
    {
      if(cond == 14 && Rnd.chance(50))
      {
        Functions.npcSayCustomMessage(L2ObjectsStorage.getByNpcId(LeopardCarcass), new CustomMessage("quests._416_PathToOrcShaman.LeopardCarcass", st.getPlayer()).toString(), st.getPlayer());
        st.setCond(15);
      }
      else if(cond == 16 && Rnd.chance(50))
      {
        st.setCond(17);
View Full Code Here

      return Msg.YOU_DO_NOT_MEET_THE_REQUIRED_CONDITION_TO_EQUIP_THAT_ITEM;
    }
    // Замковые короны, доступные для всех членов клана
    if(Arrays.asList(_castleCirclets).contains(itemId) && (ownersClan == null || itemId != _castleCirclets[ownersClan.getHasCastle()]))
    {
      return new SystemMessage(new CustomMessage("l2p.gameserver.model.Inventory.CircletWorn", owner).addString(CastleManager.getInstance().getCastleByIndex(Arrays.asList(_castleCirclets).indexOf(itemId)).getName()));
    }
    // Корона лидера клана, владеющего замком
    if(itemId == 6841 && (ownersClan == null || !owner.isClanLeader() || ownersClan.getHasCastle() == 0))
    {
      return Msg.YOU_DO_NOT_MEET_THE_REQUIRED_CONDITION_TO_EQUIP_THAT_ITEM;
View Full Code Here

   */
  public String getDescr(L2Player player)
  {
    if(_descr == null)
    {
      return new CustomMessage("q." + _questId, player).toString();
    }
    return _descr;
  }
View Full Code Here

   */
  public String getDescr()
  {
    if(_descr == null)
    {
      return new CustomMessage("q." + _questId, "en").toString();
    }
    return _descr;
  }
View Full Code Here

      player.sendActionFailed();
      return;
    }
    if(player.inObserverMode())
    {
      player.sendMessage(new CustomMessage("l2p.gameserver.model.L2Playable.OutOfControl.ObserverNoAttack", player));
      return;
    }
    if(!checkAttack(target))
    {
      getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, null, null);
View Full Code Here

TOP

Related Classes of l2p.extensions.multilang.CustomMessage

Copyright © 2018 www.massapicom. 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.