Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.broadcastUserInfo()


      if(cw.getPlayer().getInventory().destroyItemByItemId(cw.getItemId(), 1, false) == null)
      {
        _log.info("CursedWeaponsManager[453]: Error! Cursed weapon not found!!!");
      }
      player.sendChanges();
      player.broadcastUserInfo(true);
    }
    // is dropped on the ground
    else if(cw.getItem() != null)
    {
      cw.getItem().removeFromDb(true);
View Full Code Here


        activeChar.getTransaction().cancel();
      }
    }
    activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
    activeChar.standUp();
    activeChar.broadcastUserInfo(true);
  }
}
View Full Code Here

          packets.add(new MagicSkillLaunched(activeChar.getObjectId(), e.getSkill().getId(), e.getSkill().getLevel(), activeChar, e.getSkill().isOffensive()));
        }
      }
      sendPackets(packets);
      packets.clear();
      activeChar.broadcastUserInfo(false);
    }
    else
    {
      activeChar.sendUserInfo(false);
    } // Отобразит права в клане
View Full Code Here

        activeChar.getTransaction().cancel();
      }
    }
    activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
    activeChar.standUp();
    activeChar.broadcastUserInfo(true);
  }
}
View Full Code Here

    iu.addModifiedItem(targetItem);
    // send system message
    SystemMessage sm = new SystemMessage(SystemMessage.AUGMENTATION_HAS_BEEN_SUCCESSFULLY_REMOVED_FROM_YOUR_S1);
    sm.addItemName(targetItem.getItemId());
    activeChar.sendPacket(new ExVariationCancelResult(1), iu, sm);
    activeChar.broadcastUserInfo(true);
  }

  public static int getRemovalPrice(L2Item item)
  {
    switch(item.getItemGrade().cry)
View Full Code Here

    {
      return;
    }
    activeChar.sendPacket(new PartyMatchList(room));
    activeChar.sendPacket(new ExPartyRoomMember(room, activeChar));
    activeChar.broadcastUserInfo(true);
    // TODO This packet is used to create a party room.
    /**
     if(_status == 1)
     {
     // window is open fill the list
View Full Code Here

    if(!player.isInvisible())
    {
      return;
    }
    player.setInvisible(false);
    player.broadcastUserInfo(true);
    if(player.getPet() != null)
    {
      player.getPet().broadcastPetInfo();
    }
  }
View Full Code Here

          // TODO убрать, починив предварительно отображение бижы
          activeChar.sendPacket(new ItemList(activeChar, false));
        }
        else
        {
          activeChar.broadcastUserInfo(true);
        }
        return;
      }
      if(itemId == 4393)
      {
View Full Code Here

    }
    player.setImobilised(true);
    player.setFishing(true);
    player.setFish(fish);
    player.setLure(lure);
    player.broadcastUserInfo(true);
    player.broadcastPacket(new ExFishingStart(player, fish.getType(), player.getFishLoc(), lure.isNightLure()));
    player.sendPacket(Msg.STARTS_FISHING);
    player.startLookingForFishTask();
  }
}
View Full Code Here

    player.block();
    player.setIsInvul(true);
    player.addStatFunc(new FuncSet(Stats.RUN_SPEED, 0x90, W, 500));
    player.getAI().getListenerEngine().addMethodInvokedListener(_notifyEventListener);
    flyNext(r);
    player.broadcastUserInfo(true);
  }

  public static class NotifyEventListener extends AbstractAINotifyEventListener
  {
    @Override
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.