Examples of sitDown()


Examples of lineage2.gameserver.model.Player.sitDown()

    if (player.isMoving)
    {
      player.stopMove();
    }
    _isWereSitting = player.isSitting();
    player.sitDown(null);
  }
 
  /**
   * Method onExit.
   */
 
View Full Code Here

Examples of lineage2.gameserver.model.Player.sitDown()

            }
            if (!activeChar.isSitting())
            {
              if ((target != null) && (target instanceof StaticObjectInstance) && (((StaticObjectInstance) target).getType() == 1) && (activeChar.getDistance3D(target) <= Creature.INTERACTION_DISTANCE))
              {
                activeChar.sitDown((StaticObjectInstance) target);
              }
              else
              {
                activeChar.sitDown(null);
              }
View Full Code Here

Examples of lineage2.gameserver.model.Player.sitDown()

              {
                activeChar.sitDown((StaticObjectInstance) target);
              }
              else
              {
                activeChar.sitDown(null);
              }
            }
            else
            {
              activeChar.standUp();
View Full Code Here

Examples of lineage2.gameserver.model.Player.sitDown()

    {
      buyer.setBuyList(buyList);
      buyer.saveTradeList();
      buyer.setPrivateStoreType(Player.STORE_PRIVATE_BUY);
      buyer.broadcastPacket(new PrivateStoreMsgBuy(buyer));
      buyer.sitDown(null);
      buyer.broadcastCharInfo();
    }
    buyer.sendActionFailed();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sitDown()

              target.teleToLocation(Location.findPointToStay(target, AdminFunctions.JAIL_SPAWN, 50, 200), ReflectionManager.JAIL);
              if (activeChar.isInStoreMode())
              {
                activeChar.setPrivateStoreType(Player.STORE_PRIVATE_NONE);
              }
              target.sitDown(null);
              target.block();
              target.sendMessage("You moved to jail, time to escape - " + period + " minutes, reason - " + reason + " .");
              activeChar.sendMessage("You jailed " + player + ".");
            }
            else
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.sitDown()

       LinkedList<String> linked = L2Event.players.get(team);
       Iterator<String> it = linked.iterator();
       while(it.hasNext()){
           try{L2PcInstance pc = L2World.getInstance().getPlayer(it.next().toString());
           pc.eventSitForced = !pc.eventSitForced;
           if(pc.eventSitForced) pc.sitDown();
           else pc.standUp();}catch(Exception e){}
       }

   }
   void killTeam(L2PcInstance activeChar, int team){
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.sitDown()

            }
            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

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.sitDown()

          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
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_SELL);
    player.broadcastUserInfo();
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.sitDown()

          && 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())
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.sitDown()

      }

      if (activeChar.isSitting())
        activeChar.standUp();
      else
        activeChar.sitDown();

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

      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.