Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.sitDown()


        player.sendPacket(new SystemMessage(SystemMessageId.THE_PURCHASE_PRICE_IS_HIGHER_THAN_MONEY));
        return;
      }
    }
   
    player.sitDown();
    player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_BUY);
    player.broadcastUserInfo();
    player.broadcastPacket(new PrivateStoreMsgBuy(player));
  }
 
View Full Code Here


      player.sendPacket(new PrivateStoreManageListSell(player));
      player.sendPacket(new SystemMessage(SystemMessageId.YOU_HAVE_EXCEEDED_QUANTITY_THAT_CAN_BE_INPUTTED));
      return;
    }
   
    player.sitDown();
    if (_packageSale)
    {
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_PACKAGE_SELL);
    }
    else
View Full Code Here

      }
      createList.setStoreName(player.getCreateList() != null ? player.getCreateList().getStoreName() : "");
      player.setCreateList(createList);

      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_MANUFACTURE);
      player.sitDown();
      player.broadcastUserInfo();
      player.sendPacket(new RecipeShopMsg(player));
      player.broadcastPacket(new RecipeShopMsg(player));
    }
  }
View Full Code Here

              _log.info("Offline trader "+player.getName()+" finished to sell his items");
          }
          items.close();
          stm_items.close();

          player.sitDown();
          if (Config.OFFLINE_SET_NAME_COLOR){
            player._originalNameColorOffline = player.getAppearance().getNameColor();
            player.getAppearance().setNameColor(Config.OFFLINE_NAME_COLOR);
          }
          player.setPrivateStoreType(type);
View Full Code Here

        if(target != null && !activeChar.isSitting() && target instanceof L2StaticObjectInstance && ((L2StaticObjectInstance) target).getType() == 1 && CastleManager.getInstance().getCastle(target) != null && activeChar.isInsideRadius(target, L2StaticObjectInstance.INTERACTION_DISTANCE, false, false))
        {
          ChairSit cs = new ChairSit(activeChar, ((L2StaticObjectInstance) target).getStaticObjectId());
          activeChar.sendPacket(cs);
          activeChar.sitDown();
          activeChar.broadcastPacket(cs);
          break;
        }

        if(activeChar.isSitting() || activeChar.isFakeDeath())
View Full Code Here

        {
          activeChar.standUp();
        }
        else
        {
          activeChar.sitDown();
        }

        if(Config.DEBUG)
        {
          _log.fine("new wait type: " + (activeChar.isSitting() ? "SITTING" : "STANDING"));
View Full Code Here

    {
      super.clientStopMoving(pos);
        L2PcInstance _player = (L2PcInstance)_actor;
        if(_player.getPosticipateSit())
        {
            _player.sitDown();
        }
    }

  @Override
  protected void onIntentionActive()
View Full Code Here

      if (target != null && !player.isSitting() && target instanceof L2StaticObjectInstance && ((L2StaticObjectInstance) target).getType() == 1 && CastleManager.getInstance().getCastle(target) != null && player.isInsideRadius(target, L2StaticObjectInstance.INTERACTION_DISTANCE, false, false))
      {
        ChairSit cs = new ChairSit(player, ((L2StaticObjectInstance) target).getStaticObjectId());
        player.sendPacket(cs);
        player.sitDown();
        player.broadcastPacket(cs);
      }

      if (_typeStand)
        player.standUp();
View Full Code Here

      }

      if (_typeStand)
        player.standUp();
      else
        player.sitDown();
    }
  }

  @Override
  public String getType()
View Full Code Here

        L2PcInstance pc = L2World.getInstance().getPlayer(it.next().toString());
        pc.eventSitForced = !pc.eventSitForced;

        if(pc.eventSitForced)
        {
          pc.sitDown();
        }
        else
        {
          pc.standUp();
        }
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.