Examples of replaceNpcString()


Examples of lineage2.gameserver.network.serverpackets.NpcHtmlMessage.replaceNpcString()

        player.getInventory().addItem(ItemFunctions.createItem(6841));

        NpcHtmlMessage html = new NpcHtmlMessage(player, this);
        html.setFile("castle/chamberlain/chamberlain-givecrown.htm");
        html.replace("%CharName%", player.getName());
        html.replaceNpcString("%FeudName%", castle.getNpcStringName());
        player.sendPacket(html);
      }
      else
      {
        NpcHtmlMessage html = new NpcHtmlMessage(player, this);
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.NpcHtmlMessage.replaceNpcString()

        player.getInventory().addItem(ItemFunctions.createItem(34997));

        NpcHtmlMessage html = new NpcHtmlMessage(player, this);
        html.setFile("castle/chamberlain/chamberlain-givecloak.htm");
        html.replace("%CharName%", player.getName());
        html.replaceNpcString("%FeudName%", castle.getNpcStringName());
        player.sendPacket(html);
      }
      else
      {
        NpcHtmlMessage html = new NpcHtmlMessage(player, this);
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.NpcHtmlMessage.replaceNpcString()

        return;
      }

      NpcHtmlMessage html = new NpcHtmlMessage(player, this);
      html.setFile("castle/chamberlain/chamberlain-report.htm");
      html.replaceNpcString("%FeudName%", castle.getNpcStringName());
      html.replace("%CharClan%", player.getClan().getName());
      html.replace("%CharName%", player.getName());
      player.sendPacket(html);
    }
    else if(actualCommand.equalsIgnoreCase("fortressStatus"))
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.NpcHtmlMessage.replaceNpcString()

        message.setFile("residence2/fortress/fortress_subpower003.htm");
        _invalidatePeriod = System.currentTimeMillis() + 30000L;
        break;
      case COND_ENTERED:
        message.setFile("residence2/fortress/fortress_subpower004.htm");
        message.replaceNpcString("%password%", _index == 0 ? NpcString.THE_MARKS_HAVE_NOT_BEEN_ASSEMBLED : _index == 1 ? NpcString.THE_1ST_MARK_IS_CORRECT : NpcString.THE_2ND_MARK_IS_CORRECT);
        message.replaceNpcString("%try_count%", NpcString.ATTEMPT_S1__3_IS_IN_PROGRESS, _tryCount);
        break;
      case COND_NO_ENTERED:
        message.setFile("residence2/fortress/fortress_subpower001.htm");
        break;
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.NpcHtmlMessage.replaceNpcString()

        _invalidatePeriod = System.currentTimeMillis() + 30000L;
        break;
      case COND_ENTERED:
        message.setFile("residence2/fortress/fortress_subpower004.htm");
        message.replaceNpcString("%password%", _index == 0 ? NpcString.THE_MARKS_HAVE_NOT_BEEN_ASSEMBLED : _index == 1 ? NpcString.THE_1ST_MARK_IS_CORRECT : NpcString.THE_2ND_MARK_IS_CORRECT);
        message.replaceNpcString("%try_count%", NpcString.ATTEMPT_S1__3_IS_IN_PROGRESS, _tryCount);
        break;
      case COND_NO_ENTERED:
        message.setFile("residence2/fortress/fortress_subpower001.htm");
        break;
    }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.NpcHtmlMessage.replaceNpcString()

        message.setFile("residence2/fortress/fortress_inner_controller003.htm");
        _invalidatePeriod = System.currentTimeMillis() + 30000L;
        break;
      case COND_ENTERED:
        message.setFile("residence2/fortress/fortress_inner_controller004.htm");
        message.replaceNpcString("%password%", _index == 0 ? NpcString.PASSWORD_HAS_NOT_BEEN_ENTERED : _index == 1 ? NpcString.FIRST_PASSWORD_HAS_BEEN_ENTERED : NpcString.SECOND_PASSWORD_HAS_BEEN_ENTERED);
        message.replaceNpcString("%try_count%", NpcString.ATTEMPT_S1__3_IS_IN_PROGRESS, _tryCount);
        break;
      case COND_NO_ENTERED:
        message.setFile("residence2/fortress/fortress_inner_controller001.htm");
        break;
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.NpcHtmlMessage.replaceNpcString()

        _invalidatePeriod = System.currentTimeMillis() + 30000L;
        break;
      case COND_ENTERED:
        message.setFile("residence2/fortress/fortress_inner_controller004.htm");
        message.replaceNpcString("%password%", _index == 0 ? NpcString.PASSWORD_HAS_NOT_BEEN_ENTERED : _index == 1 ? NpcString.FIRST_PASSWORD_HAS_BEEN_ENTERED : NpcString.SECOND_PASSWORD_HAS_BEEN_ENTERED);
        message.replaceNpcString("%try_count%", NpcString.ATTEMPT_S1__3_IS_IN_PROGRESS, _tryCount);
        break;
      case COND_NO_ENTERED:
        message.setFile("residence2/fortress/fortress_inner_controller001.htm");
        break;
    }
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.