Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.serverpackets.ConfirmDlg


  }

  public void sendDlgMessage(String text, L2PcInstance player)
  {
    player.dialog = this;
    ConfirmDlg dlg = new ConfirmDlg(SystemMessageId.S1.getId());
    dlg.addString(text);
    player.sendPacket(dlg);
  }
View Full Code Here


      return false;
    }

    ptarget.setEngageRequest(true, activeChar.getObjectId());
    //ptarget.sendMessage("Player "+activeChar.getName()+" wants to engage with you.");
    ConfirmDlg dlg = new ConfirmDlg(614);
    dlg.addString(activeChar.getName() + " asking you to engage. Do you want to start a new relationship?");
    ptarget.sendPacket(dlg);
    dlg = null;
    ptarget = null;

    return true;
View Full Code Here

           
            // Summon friend
            if (skill.getId() == 1403)
            {
              // Send message
              ConfirmDlg confirm = new ConfirmDlg(SystemMessageId.S1_WISHES_TO_SUMMON_YOU_FROM_S2_DO_YOU_ACCEPT.getId());
              confirm.addString(activeChar.getName());
              confirm.addZoneName(activeChar.getX(), activeChar.getY(), activeChar.getZ());
              confirm.addTime(30000);
              confirm.addRequesterId(activeChar.getObjectId());
              targetChar.sendPacket(confirm);
            }
            else
            {
              L2PcInstance.teleToTarget(targetChar, (L2PcInstance) activeChar, skill);
View Full Code Here

      else
      {
        _revivePower = 0;
      }
      _revivePet = Pet;
      ConfirmDlg dlg = new ConfirmDlg(SystemMessageId.RESSURECTION_REQUEST.getId());
      dlg.addString(Reviver.getName());
      sendPacket(dlg);
      dlg = null;
    }
  }
View Full Code Here

        else
        {
          // Like L2OFF Clanhall's doors get request to be closed/opened
          player.gatesRequest(this);
          if (!this.getOpen())
            player.sendPacket(new ConfirmDlg(1140));
          else
            player.sendPacket(new ConfirmDlg(1141));
        }
      }
    }
    // Send a Server->Client ActionFailed to the L2PcInstance in order to avoid that the client wait another packet
    player.sendPacket(ActionFailed.STATIC_PACKET);
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.ConfirmDlg

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.