Перейти к содержанию

darkvicin

Пользователи
  • Публикаций

    15
  • Зарегистрирован

  • Посещение

  • Отзывы

    0%

Сообщения, опубликованные darkvicin


  1. pre_1372611795__l2jserverlogo.png

     

    Думаю многие ждали этой шары, особенно новички и кто хотел бы покопать данный исходник. С разрешения первоначального автора, который мне и передал исходный код, я и решил бросить в шару. Так как к этому дело и шло.

    Основа исходников L2jServer с прикрученной и достаточно функциональной Community , а так же сторонние фиксы и небольшие наработки, которых в L2jServer нет. (Хроники High Five) .

     

     

    у кого осталась эта сборка перезалейте пожжж...


  2. Ошибка в этом shared(), но в чем дело не пойму. В любом случае, разбирать декомпил - бред имхо. Лучше возьми какие-то исходники и пили их.

     

     

    посоветуйте хорошие исходы хай фай хроник!

    попробую разобраться с этим кодом если будут идеи пишите пожж..


  3. ай, походу немного не так выразился, в общем попробуй вот так:

    private static FastList<PlayerSpawnListener> listeners = new FastList<>().shared();

    хотя не знаю, верно ли это.

     

    все таже ошибка(((( может быть ошибка в середине кода а ругаеться на етот метод???

     

     

     

    enterworld.java:131: error: incompatible types

    private static FastList<PlayerSpawnListener> listeners = new FastList<Pl

    ayerSpawnListener>().shared();

     

    ^

    required: FastList<PlayerSpawnListener>

    found: Collection<PlayerSpawnListener>

    1 error


  4. Ты пытаешься присвоить переменной listeners типа FastList объект типа Collection (видимо, метод shared() возвращает Collection). Соответственно, оно из-за этого не может скомпилить. Нужно присвоить переменной типа FastList объект того же типа.

     

    Спасибо за совет! не могли бы привести пример ?


  5. декомпилил интерворлд исправил все ошибки кроме

    сenterworld.java:120: error: incompatible types

    /* 131 */ private static FastList listeners = new FastLi

    st().shared();

    ^

    required: FastList

    found: Collection

    1 error

     

     

    и сам код

    /* */ package com.l2jserver.gameserver.network.clientpackets;

    /* */

    /* */ import com.l2jserver.Config;

    /* */ import com.l2jserver.gameserver.Announcements;

    /* */ import com.l2jserver.gameserver.GameServerRestart;

    /* */ import com.l2jserver.gameserver.LoginServerThread;

    /* */ import com.l2jserver.gameserver.SevenSigns;

    /* */ import com.l2jserver.gameserver.TaskPriority;

    /* */ import com.l2jserver.gameserver.cache.HtmCache;

    /* */ import com.l2jserver.gameserver.communitybbs.Managers.RegionBBSManager;

    /* */ import com.l2jserver.gameserver.datatables.AdminTable;

    /* */ import com.l2jserver.gameserver.datatables.SkillTable;

    /* */ import com.l2jserver.gameserver.datatables.SkillTable.FrequentSkill;

    /* */ import com.l2jserver.gameserver.datatables.SkillTreesData;

    /* */ import com.l2jserver.gameserver.instancemanager.BotManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CHSiegeManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CastleManager;

    /* */ import com.l2jserver.gameserver.instancemanager.ClanHallManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CoupleManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CursedWeaponsManager;

    /* */ import com.l2jserver.gameserver.instancemanager.DimensionalRiftManager;

    /* */ import com.l2jserver.gameserver.instancemanager.FortManager;

    /* */ import com.l2jserver.gameserver.instancemanager.FortSiegeManager;

    /* */ import com.l2jserver.gameserver.instancemanager.InstanceManager;

    /* */ import com.l2jserver.gameserver.instancemanager.MailManager;

    /* */ import com.l2jserver.gameserver.instancemanager.MapRegionManager;

    /* */ import com.l2jserver.gameserver.instancemanager.MapRegionManager.TeleportWhereType;

    /* */ import com.l2jserver.gameserver.instancemanager.PetitionManager;

    /* */ import com.l2jserver.gameserver.instancemanager.QuestManager;

    /* */ import com.l2jserver.gameserver.instancemanager.SiegeManager;

    /* */ import com.l2jserver.gameserver.instancemanager.TerritoryWarManager;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.RankPvpSystem;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.RankPvpSystemConfig;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.PvpTable;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.PvpStats;

    /* */ import com.l2jserver.gameserver.model.CursedWeapon;

    /* */ import com.l2jserver.gameserver.model.L2Clan;

    /* */ import com.l2jserver.gameserver.model.L2ClanMember;

    /* */ import com.l2jserver.gameserver.model.L2Object;

    /* */ import com.l2jserver.gameserver.model.L2World;

    /* */ import com.l2jserver.gameserver.model.MacroList;

    /* */ import com.l2jserver.gameserver.model.PcCondOverride;

    /* */ import com.l2jserver.gameserver.model.actor.IpCatcher;

    /* */ import com.l2jserver.gameserver.model.actor.appearance.PcAppearance;

    /* */ import com.l2jserver.gameserver.model.actor.instance.L2ClassMasterInstance;

    /* */ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;

    /* */ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance.PunishLevel;

    /* */ import com.l2jserver.gameserver.model.actor.instance.PcAdmin;

    /* */ import com.l2jserver.gameserver.model.entity.Castle;

    /* */ import com.l2jserver.gameserver.model.entity.Couple;

    /* */ import com.l2jserver.gameserver.model.entity.Fort;

    /* */ import com.l2jserver.gameserver.model.entity.FortSiege;

    /* */ import com.l2jserver.gameserver.model.entity.Instance;

    /* */ import com.l2jserver.gameserver.model.entity.L2Event;

    /* */ import com.l2jserver.gameserver.model.entity.PkHunterEventConditions;

    /* */ import com.l2jserver.gameserver.model.entity.Siege;

    /* */ import com.l2jserver.gameserver.model.entity.TvTEvent;

    /* */ import com.l2jserver.gameserver.model.entity.clanhall.AuctionableHall;

    /* */ import com.l2jserver.gameserver.model.entity.clanhall.SiegableHall;

    /* */ import com.l2jserver.gameserver.model.itemcontainer.PcInventory;

    /* */ import com.l2jserver.gameserver.model.itemcontainer.PcWarehouse;

    /* */ import com.l2jserver.gameserver.model.items.L2Weapon;

    /* */ import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;

    /* */ import com.l2jserver.gameserver.model.quest.Quest;

    /* */ import com.l2jserver.gameserver.model.quest.QuestState;

    /* */ import com.l2jserver.gameserver.model.zone.ZoneId;

    /* */ import com.l2jserver.gameserver.network.L2GameClient;

    /* */ import com.l2jserver.gameserver.network.SystemMessageId;

    /* */ import com.l2jserver.gameserver.network.communityserver.CommunityServerThread;

    /* */ import com.l2jserver.gameserver.network.communityserver.writepackets.WorldInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.CreatureSay;

    /* */ import com.l2jserver.gameserver.network.serverpackets.Die;

    /* */ import com.l2jserver.gameserver.network.serverpackets.EtcStatusUpdate;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExAutoSoulShot;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExBasicActionList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExBrPremiumState;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExGetBookMarkInfoPacket;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNevitAdventEffect;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNevitAdventPointInfoPacket;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNevitAdventTimeChange;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNoticePostArrived;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNotifyPremiumItem;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExPCCafePointInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExRedSky;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExStorageMaxCount;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExVoteSystemInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.FriendList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.HennaInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ItemList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PlaySound;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeShowMemberListAll;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeShowMemberListUpdate;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeSkillList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeStatusChanged;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PremiumState;

    /* */ import com.l2jserver.gameserver.network.serverpackets.QuestList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ShortCutInit;

    /* */ import com.l2jserver.gameserver.network.serverpackets.SkillCoolTime;

    /* */ import com.l2jserver.gameserver.network.serverpackets.SystemMessage;

    /* */ import com.l2jserver.gameserver.network.serverpackets.UserInfo;

     

    /* */ import com.l2jserver.gameserver.scripting.scriptengine.listeners.player.PlayerSpawnListener;

    /* */ import com.l2jserver.gameserver.util.Broadcast;

    /* */ import com.l2jserver.gameserver.util.Util;

    /* */ import java.text.SimpleDateFormat;

    /* */ import java.util.Calendar;

    /* */ import java.util.Date;

    /* */ import java.util.Iterator;

    /* */ import java.util.List;

    /* */ import java.util.Map;

    /* */ import java.util.logging.Logger;

    /* */ import javolution.util.FastList;

    /* */ import javolution.util.FastMap;

    /* */

    /* */ public class EnterWorld extends L2GameClientPacket

    /* */ {

    /* */ private static final String _C__11_ENTERWORLD = "[C] 11 EnterWorld";

     

    /* 131*/ private static FastList<PlayerSpawnListener> listeners = new FastList().shared();

     

    /* */ long _daysleft;

     

    /* 134 */ SimpleDateFormat df = new SimpleDateFormat("dd MM yyyy");

    /* */

    /* 136 */ private final int[][] tracert = new int[5][4];

    /* */

    /* */ public TaskPriority getPriority()

    /* */ {

    /* 140 */ return TaskPriority.PR_URGENT;

    /* */ }

    /* */

    /* */ protected void readImpl()

    /* */ {

    /* 146 */ readB(new byte[32]);

    /* 147 */ readD();

    /* 148 */ readD();

    /* 149 */ readD();

    /* 150 */ readD();

    /* 151 */ readB(new byte[32]);

    /* 152 */ readD();

    /* 153 */ for (int i = 0; i < 5; i++)

    /* */ {

    /* 155 */ for (int o = 0; o < 4; o++)

    /* */ {

    /* 157 */ tracert[o] = readC();

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ protected void runImpl()

    /* */ {

    /* 165 */ L2PcInstance activeChar = ((L2GameClient)getClient()).getActiveChar();

    /* */

    /* 167 */ if (activeChar == null)

    /* */ {

    /* 169 */ _log.warning("EnterWorld failed! activeChar returned 'null'.");

    /* 170 */ ((L2GameClient)getClient()).closeNow();

    /* 171 */ return;

    /* */ }

    /* */

    /* 174 */ String[] adress = new String[5];

    /* 175 */ for (int i = 0; i < 5; i++)

    /* */ {

    /* 177 */ adress = tracert[0] + "." + tracert[1] + "." + tracert[2] + "." + tracert[3];

    /* */ }

    /* */

    /* 180 */ LoginServerThread.getInstance().sendClientTracert(activeChar.getAccountName(), adress);

    /* */

    /* 182 */ ((L2GameClient)getClient()).setClientTracert(tracert);

    /* */

    /* 185 */ if (Config.RESTORE_PLAYER_INSTANCE)

    /* */ {

    /* 187 */ activeChar.setInstanceId(InstanceManager.getInstance().getPlayerInstance(activeChar.getObjectId()));

    /* */ }

    /* */ else

    /* */ {

    /* 191 */ int instanceId = InstanceManager.getInstance().getPlayerInstance(activeChar.getObjectId());

    /* 192 */ if (instanceId > 0)

    /* */ {

    /* 194 */ InstanceManager.getInstance().getInstance(instanceId).removePlayer(Integer.valueOf(activeChar.getObjectId()));

    /* */ }

    /* */ }

    /* */

    /* 198 */ if (L2World.getInstance().findObject(activeChar.getObjectId()) != null)

    /* */ {

    /* 200 */ if (Config.DEBUG)

    /* */ {

    /* 202 */ _log.warning("User already exists in Object ID map! User " + activeChar.getName() + " is a character clone.");

    /* */ }

    /* */ }

    /* */

    /* 206 */ if (activeChar.getPremiumService() == 1)

    /* */ {

    /* 208 */ activeChar.sendPacket(new ExBrPremiumState(activeChar.getObjectId(), 1));

    /* */ }

    /* */ else

    /* */ {

    /* 212 */ activeChar.sendPacket(new ExBrPremiumState(activeChar.getObjectId(), 0));

    /* */ }

    /* */

    /* 216 */ if (activeChar.isGM())

    /* */ {

    /* 218 */ if (Config.ENABLE_SAFE_ADMIN_PROTECTION)

    /* */ {

    /* 220 */ if (Config.SAFE_ADMIN_NAMES.contains(activeChar.getName()))

    /* */ {

    /* 222 */ activeChar.getPcAdmin().setIsSafeAdmin(true);

    /* 223 */ if (Config.SAFE_ADMIN_SHOW_ADMIN_ENTER)

    /* */ {

    /* 225 */ _log.info("Admin: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") Acabou de Logar.");

    /* */ }

    /* */ }

    /* */ else

    /* */ {

    /* 230 */ activeChar.getPcAdmin().punishUnSafeAdmin();

    /* 231 */ _log.warning("ATENCAO: FALSO ADMIN: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") foi punido ao tentar logar.");

    /* */ }

    /* */ }

    /* */

    /* 235 */ if ((Config.GM_STARTUP_INVULNERABLE) && (AdminTable.getInstance().hasAccess("admin_invul", activeChar.getAccessLevel())))

    /* */ {

    /* 237 */ activeChar.setIsInvul(true);

    /* */ }

    /* */

    /* 240 */ if ((Config.GM_STARTUP_INVISIBLE) && (AdminTable.getInstance().hasAccess("admin_invisible", activeChar.getAccessLevel())))

    /* */ {

    /* 242 */ activeChar.getAppearance().setInvisible();

    /* */ }

    /* */

    /* 245 */ if ((Config.GM_STARTUP_SILENCE) && (AdminTable.getInstance().hasAccess("admin_silence", activeChar.getAccessLevel())))

    /* */ {

    /* 247 */ activeChar.setSilenceMode(true);

    /* */ }

    /* */

    /* 250 */ if ((Config.GM_STARTUP_DIET_MODE) && (AdminTable.getInstance().hasAccess("admin_diet", activeChar.getAccessLevel())))

    /* */ {

    /* 252 */ activeChar.setDietMode(true);

    /* 253 */ activeChar.refreshOverloaded();

    /* */ }

    /* */

    /* 256 */ if ((Config.GM_STARTUP_AUTO_LIST) && (AdminTable.getInstance().hasAccess("admin_gmliston", activeChar.getAccessLevel())))

    /* */ {

    /* 258 */ AdminTable.getInstance().addGm(activeChar, false);

    /* */ }

    /* */ else

    /* */ {

    /* 262 */ AdminTable.getInstance().addGm(activeChar, true);

    /* */ }

    /* */

    /* 265 */ if (Config.GM_GIVE_SPECIAL_SKILLS)

    /* */ {

    /* 267 */ SkillTreesData.getInstance().addSkills(activeChar, false);

    /* */ }

    /* */

    /* 270 */ if (Config.GM_GIVE_SPECIAL_AURA_SKILLS)

    /* */ {

    /* 272 */ SkillTreesData.getInstance().addSkills(activeChar, true);

    /* */ }

    /* */

    /* */ }

    /* 277 */ else if ((activeChar.getKarma() >= 500000) && (!activeChar.isCursedWeaponEquipped()) && (Config.ENABLE_PKHUNTEREVENT))

    /* */ {

    /* 279 */ PkHunterEventConditions.endCoward(activeChar);

    /* */ }

    /* */

    /* 284 */ if (activeChar.getCurrentHp() < 0.5D)

    /* */ {

    /* 286 */ activeChar.setIsDead(true);

    /* */

    /* 289 */ ExRedSky packet = new ExRedSky(7);

    /* 290 */ sendPacket(packet);

    /* */

    /* 292 */ PlaySound death_music = new PlaySound(1, "Game_Over", 0, 0, 0, 0, 0);

    /* 293 */ sendPacket(death_music);

    /* */ }

    /* */

    /* 296 */ boolean showClanNotice = false;

    /* */

    /* 299 */ if (activeChar.getClan() != null)

    /* */ {

    /* 301 */ activeChar.sendPacket(new PledgeSkillList(activeChar.getClan()));

    /* */

    /* 303 */ notifyClanMembers(activeChar);

    /* */

    /* 305 */ notifySponsorOrApprentice(activeChar);

    /* */

    /* 307 */ AuctionableHall clanHall = ClanHallManager.getInstance().getClanHallByOwner(activeChar.getClan());

    /* */

    /* 309 */ if (clanHall != null)

    /* */ {

    /* 311 */ if (!clanHall.getPaid())

    /* */ {

    /* 313 */ activeChar.sendPacket(SystemMessageId.PAYMENT_FOR_YOUR_CLAN_HALL_HAS_NOT_BEEN_MADE_PLEASE_MAKE_PAYMENT_TO_YOUR_CLAN_WAREHOUSE_BY_S1_TOMORROW);

    /* */ }

    /* */ }

    /* */

    /* 317 */ for (Siege siege : SiegeManager.getInstance().getSieges())

    /* */ {

    /* 319 */ if (!siege.getIsInProgress())

    /* */ {

    /* */ continue;

    /* */ }

    /* */

    /* 324 */ if (siege.checkIsAttacker(activeChar.getClan()))

    /* */ {

    /* 326 */ activeChar.setSiegeState((byte) 1);

    /* 327 */ activeChar.setSiegeSide(siege.getCastle().getCastleId());

    /* */ }

    /* 330 */ else if (siege.checkIsDefender(activeChar.getClan()))

    /* */ {

    /* 332 */ activeChar.setSiegeState((byte) 2);

    /* 333 */ activeChar.setSiegeSide(siege.getCastle().getCastleId());

    /* */ }

    /* */ }

    /* */

    /* 337 */ for (FortSiege siege : FortSiegeManager.getInstance().getSieges())

    /* */ {

    /* 339 */ if (!siege.getIsInProgress())

    /* */ {

    /* */ continue;

    /* */ }

    /* */

    /* 344 */ if (siege.checkIsAttacker(activeChar.getClan()))

    /* */ {

    /* 346 */ activeChar.setSiegeState((byte) 1);

    /* 347 */ activeChar.setSiegeSide(siege.getFort().getFortId());

    /* */ }

    /* 350 */ else if (siege.checkIsDefender(activeChar.getClan()))

    /* */ {

    /* 352 */ activeChar.setSiegeState((byte) 2);

    /* 353 */ activeChar.setSiegeSide(siege.getFort().getFortId());

    /* */ }

    /* */ }

    /* */

    /* 357 */ for (SiegableHall hall : CHSiegeManager.getInstance().getConquerableHalls().values())

    /* */ {

    /* 359 */ if (!hall.isInSiege())

    /* */ {

    /* */ continue;

    /* */ }

    /* */

    /* 364 */ if (hall.isRegistered(activeChar.getClan()))

    /* */ {

    /* 366 */ activeChar.setSiegeState((byte) 1);

    /* 367 */ activeChar.setSiegeSide(hall.getId());

    /* 368 */ activeChar.setIsInHideoutSiege(true);

    /* */ }

    /* */ }

    /* */

    /* 372 */ sendPacket(new PledgeShowMemberListAll(activeChar.getClan(), activeChar));

    /* 373 */ sendPacket(new PledgeStatusChanged(activeChar.getClan()));

    /* */

    /* 376 */ if (activeChar.getClan().getCastleId() > 0)

    /* */ {

    /* 378 */ CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).giveResidentialSkills(activeChar);

    /* */ }

    /* */

    /* 381 */ if (activeChar.getClan().getFortId() > 0)

    /* */ {

    /* 383 */ FortManager.getInstance().getFortByOwner(activeChar.getClan()).giveResidentialSkills(activeChar);

    /* */ }

    /* */

    /* 386 */ showClanNotice = activeChar.getClan().isNoticeEnabled();

    /* */ }

    /* */

    /* 389 */ if (TerritoryWarManager.getInstance().getRegisteredTerritoryId(activeChar) > 0)

    /* */ {

    /* 391 */ if (TerritoryWarManager.getInstance().isTWInProgress())

    /* */ {

    /* 393 */ activeChar.setSiegeState((byte) 1);

    /* */ }

    /* 395 */ activeChar.setSiegeSide(TerritoryWarManager.getInstance().getRegisteredTerritoryId(activeChar));

    /* */ }

    /* */

    /* 399 */ if ((SevenSigns.getInstance().isSealValidationPeriod()) && (SevenSigns.getInstance().getSealOwner(3) != 0))

    /* */ {

    /* 401 */ int cabal = SevenSigns.getInstance().getPlayerCabal(activeChar.getObjectId());

    /* 402 */ if (cabal != 0)

    /* */ {

    /* 404 */ if (cabal == SevenSigns.getInstance().getSealOwner(3))

    /* */ {

    /* 406 */ activeChar.addSkill(SkillTable.FrequentSkill.THE_VICTOR_OF_WAR.getSkill());

    /* */ }

    /* */ else

    /* */ {

    /* 410 */ activeChar.addSkill(SkillTable.FrequentSkill.THE_VANQUISHED_OF_WAR.getSkill());

    /* */ }

    /* */ }

    /* */ }

    /* */ else

    /* */ {

    /* 416 */ activeChar.removeSkill(SkillTable.FrequentSkill.THE_VICTOR_OF_WAR.getSkill());

    /* 417 */ activeChar.removeSkill(SkillTable.FrequentSkill.THE_VANQUISHED_OF_WAR.getSkill());

    /* */ }

    /* */

    /* 420 */ if ((Config.ENABLE_VITALITY) && (Config.RECOVER_VITALITY_ON_RECONNECT))

    /* */ {

    /* 422 */ float points = Config.RATE_RECOVERY_ON_RECONNECT * (float)(System.currentTimeMillis() - activeChar.getLastAccess()) / 60000.0F;

    /* 423 */ if (points > 0.0F)

    /* */ {

    /* 425 */ activeChar.updateVitalityPoints(points, false, true);

    /* */ }

    /* */

    /* */ }

    /* */

    /* 430 */ if (activeChar.isAio())

    /* */ {

    /* 432 */ onEnterAio(activeChar);

    /* */ }

    /* */

    /* 435 */ if ((Config.ALLOW_AIO_NCOLOR) && (activeChar.isAio()))

    /* */ {

    /* 437 */ activeChar.getAppearance().setNameColor(Config.AIO_NCOLOR);

    /* */ }

    /* */

    /* 440 */ if ((Config.ALLOW_AIO_TCOLOR) && (activeChar.isAio()))

    /* */ {

    /* 442 */ activeChar.getAppearance().setTitleColor(Config.AIO_TCOLOR);

    /* */ }

    /* */

    /* 446 */ if (activeChar.isVip())

    /* */ {

    /* 448 */ onEnterVip(activeChar);

    /* */ }

    /* */

    /* 451 */ if ((Config.ALLOW_VIP_NCOLOR) && (activeChar.isVip()))

    /* */ {

    /* 453 */ activeChar.getAppearance().setNameColor(Config.VIP_NCOLOR);

    /* */ }

    /* */

    /* 456 */ if ((Config.ALLOW_VIP_TCOLOR) && (activeChar.isVip()))

    /* */ {

    /* 458 */ activeChar.getAppearance().setTitleColor(Config.VIP_TCOLOR);

    /* */ }

    /* */

    /* 461 */ activeChar.checkRecoBonusTask();

    /* */

    /* 463 */ activeChar.broadcastUserInfo();

    /* */

    /* 466 */ activeChar.getMacros().sendUpdate();

    /* */

    /* 469 */ sendPacket(new ItemList(activeChar, false));

    /* */

    /* 472 */ activeChar.queryGameGuard();

    /* */

    /* 475 */ sendPacket(new ExGetBookMarkInfoPacket(activeChar));

    /* */

    /* 478 */ sendPacket(new ShortCutInit(activeChar));

    /* */

    /* 481 */ activeChar.sendPacket(ExBasicActionList.getStaticPacket(activeChar));

    /* */

    /* 484 */ activeChar.sendSkillList();

    /* */

    /* 487 */ activeChar.sendPacket(new HennaInfo(activeChar));

    /* */

    /* 489 */ Quest.playerEnter(activeChar);

    /* */

    /* 491 */ if (!Config.DISABLE_TUTORIAL)

    /* */ {

    /* 493 */ loadTutorial(activeChar);

    /* */ }

    /* */

    /* 496 */ for (Quest quest : QuestManager.getInstance().getAllManagedScripts())

    /* */ {

    /* 498 */ if ((quest != null) && (quest.getOnEnterWorld()))

    /* */ {

    /* 500 */ quest.notifyEnterWorld(activeChar);

    /* */ }

    /* */ }

    /* 503 */ activeChar.sendPacket(new QuestList());

    /* */

    /* 505 */ if (Config.PLAYER_SPAWN_PROTECTION > 0)

    /* */ {

    /* 507 */ activeChar.setProtection(true);

    /* */ }

    /* */

    /* 510 */ BotManager.getInstance().onEnter(activeChar);

    /* 511 */ activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());

    /* */

    /* 513 */ activeChar.getInventory().applyItemSkills();

    /* */

    /* 515 */ if (L2Event.isParticipant(activeChar))

    /* */ {

    /* 517 */ L2Event.restorePlayerEventStatus(activeChar);

    /* */ }

    /* */

    /* 521 */ if (Config.ALLOW_WEDDING)

    /* */ {

    /* 523 */ engage(activeChar);

    /* 524 */ notifyPartner(activeChar, activeChar.getPartnerId());

    /* */ }

    /* */

    /* 527 */ IpCatcher ipc = new IpCatcher();

    /* 528 */ if (ipc.isCatched(activeChar)) {

    /* 529 */ activeChar.logout();

    /* */ }

    /* 531 */ if (activeChar.isCursedWeaponEquipped())

    /* */ {

    /* 533 */ CursedWeaponsManager.getInstance().getCursedWeapon(activeChar.getCursedWeaponEquippedId()).cursedOnLogin();

    /* */ }

    /* */

    /* 536 */ activeChar.updateEffectIcons();

    /* */

    /* 538 */ activeChar.sendPacket(new EtcStatusUpdate(activeChar));

    /* */

    /* 541 */ activeChar.sendPacket(new ExStorageMaxCount(activeChar));

    /* */

    /* 543 */ sendPacket(new FriendList(activeChar));

    /* */

    /* 545 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.FRIEND_S1_HAS_LOGGED_IN);

    /* 546 */ sm.addString(activeChar.getName());

    /* 547 */ for (Iterator i$ = activeChar.getFriendList().iterator(); i$.hasNext(); ) { int id = ((Integer)i$.next()).intValue();

    /* */

    /* 549 */ L2Object obj = L2World.getInstance().findObject(id);

    /* 550 */ if (obj != null)

    /* */ {

    /* 552 */ obj.sendPacket(sm);

    /* */ }

    /* */ }

    /* */

    /* 556 */ if ((RankPvpSystemConfig.NICK_COLOR_ENABLED) || (RankPvpSystemConfig.TITLE_COLOR_ENABLED))

    /* */ {

    /* 559 */

    PvpStats activeCharPvpStats = PvpTable.getInstance().getPvpStats(activeChar.getObjectId());

    /* */

    /* 561 */ if (RankPvpSystemConfig.NICK_COLOR_ENABLED)

    /* */ {

    /* 563 */ activeChar.getAppearance().setNameColor(activeCharPvpStats.getRank().getNickColor());

    /* 564 */ activeChar.sendPacket(new UserInfo(activeChar));

    /* 565 */ activeChar.broadcastUserInfo();

    /* */ }

    /* */

    /* 568 */ if (RankPvpSystemConfig.TITLE_COLOR_ENABLED)

    /* */ {

    /* 570 */ activeChar.getAppearance().setTitleColor(activeCharPvpStats.getRank().getTitleColor());

    /* 571 */ activeChar.broadcastTitleInfo();

    /* */ }

    /* */ }

    /* */

    /* 575 */ if (Config.ANNOUNCE_HERO_LOGIN)

    /* */ {

    /* 577 */ if (activeChar.isHero())

    /* */ {

    /* 579 */ Broadcast.toAllOnlinePlayers(new CreatureSay(1, 20, "Hero System", "Hero " + activeChar.getName() + " has been logged in."));

    /* */ }

    /* */ }

    /* */

    /* 583 */ if (Config.ANNOUNCE_CASTLE_LORDS)

    /* */ {

    /* 585 */ notifyCastleOwner(activeChar);

    /* */ }

    /* */

    /* 588 */ if (Config.ANNOUNCE_AIO_LOGIN)

    /* */ {

    /* 590 */ if (activeChar.isAio())

    /* */ {

    /* 592 */ Announcements.getInstance().announceToAll("Aio: " + activeChar.getName() + " has been logged.");

    /* */ }

    /* */ }

    /* */

    /* 596 */ if (Config.ANNOUNCE_VIP_LOGIN)

    /* */ {

    /* 598 */ if (activeChar.isVip())

    /* */ {

    /* 600 */ Announcements.getInstance().announceToAll("Vip: " + activeChar.getName() + " has been logged.");

    /* */ }

    /* */ }

    /* */

    /* 604 */ if (Config.ANNOUNCE_GM_LOGIN)

    /* */ {

    /* 606 */ if (activeChar.isGM())

    /* */ {

    /* 608 */ Announcements.getInstance().announceToAll("The Admin/GM " + activeChar.getName() + " Has Logged in");

    /* */ }

    /* */ }

    /* */

    /* 612 */ if (Config.PC_BANG_ENABLED)

    /* */ {

    /* 614 */ if (activeChar.getPcBangPoints() > 0)

    /* */ {

    /* 616 */ activeChar.sendPacket(new ExPCCafePointInfo(activeChar.getPcBangPoints(), 0, false, false, 1));

    /* */ }

    /* */ else

    /* */ {

    /* 620 */ activeChar.sendPacket(new ExPCCafePointInfo());

    /* */ }

    /* */ }

    /* */

    /* 624 */ if (Config.AUTO_RESTART_ENABLE)

    /* */ {

    /* 626 */ CreatureSay msg3 = new CreatureSay(2, 20, "[iNFOR]", "Next Restart at " + GameServerRestart.getInstance().getRestartNextTime() + " hs.");

    /* 627 */ activeChar.sendPacket(msg3);

    /* */ }

    /* */

    /* 630 */ activeChar.sendPacket(SystemMessageId.WELCOME_TO_LINEAGE);

    /* */

    /* 632 */ activeChar.sendMessage("");

    /* */

    /* 634 */ if (Config.ENABLE_ANTI_OVER_ENCHANT)

    /* */ {

    /* 636 */ for (L2ItemInstance i : activeChar.getInventory().getItems())

    /* */ {

    /* 638 */ if (activeChar.isGM())

    /* */ continue;

    /* 640 */ if (!i.isEquipable())

    /* */ continue;

    /* 642 */ if ((i.getEnchantLevel() <= Config.ENCHANT_MAX_WEAPON) && (i.getEnchantLevel() <= Config.ENCHANT_MAX_ARMOR) && (i.getEnchantLevel() <= Config.ENCHANT_MAX_JEWELRY)) {

    /* */ continue;

    /* */ }

    /* 645 */ activeChar.getInventory().destroyItem(null, i, activeChar, null);

    /* */

    /* 647 */ activeChar.sendMessage("[server]:You have Items over enchanted you will be kikked!");

    /* */

    /* 649 */ activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 1200);

    /* */

    /* 651 */ Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " have item Overenchanted ", Config.DEFAULT_PUNISH);

    /* */

    /* 653 */ _log.info("#### WARNING ####");

    /* 654 */ _log.info(i + " item has been removed from player.");

    /* */ }

    /* */

    /* */ }

    /* */

    /* 661 */ SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);

    /* 662 */ Announcements.getInstance().showAnnouncements(activeChar);

    /* */

    /* 664 */ if (showClanNotice)

    /* */ {

    /* 666 */ NpcHtmlMessage notice = new NpcHtmlMessage(1);

    /* 667 */ notice.setFile(activeChar.getHtmlPrefix(), "data/html/clanNotice.htm");

    /* 668 */ notice.replace("%clan_name%", activeChar.getClan().getName());

    /* 669 */ notice.replace("%notice_text%", activeChar.getClan().getNotice());

    /* 670 */ notice.disableValidation();

    /* 671 */ sendPacket(notice);

    /* */ }

    /* 673 */ else if (Config.SERVER_NEWS)

    /* */ {

    /* 675 */ String serverNews = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/servnews.htm");

    /* 676 */ if (serverNews != null)

    /* */ {

    /* 678 */ sendPacket(new NpcHtmlMessage(1, serverNews));

    /* */ }

    /* */ }

    /* */

    /* 682 */ if (Config.CUSTOM_WELCOME_PM)

    /* */ {

    /* 684 */ if (Config.SHOW_PM1)

    /* */ {

    /* 686 */ CreatureSay na = new CreatureSay(0, 2, Config.PM_FROM, Config.PMTEXT1);

    /* 687 */ activeChar.sendPacket(na);

    /* */ }

    /* 689 */ if (Config.SHOW_PM2)

    /* */ {

    /* 691 */ CreatureSay nb = new CreatureSay(0, 2, Config.PM_FROM, Config.PMTEXT2);

    /* 692 */ activeChar.sendPacket(nb);

    /* */ }

    /* 694 */ if (Config.SHOW_PM3)

    /* */ {

    /* 696 */ CreatureSay nc = new CreatureSay(0, 2, Config.PM_FROM, Config.PMTEXT3);

    /* 697 */ activeChar.sendPacket(nc);

    /* */ }

    /* */ }

    /* */

    /* 701 */ if (Config.PETITIONING_ALLOWED)

    /* */ {

    /* 703 */ PetitionManager.getInstance().checkPetitionMessages(activeChar);

    /* */ }

    /* */

    /* 706 */ if (activeChar.isAlikeDead())

    /* */ {

    /* 709 */ sendPacket(new Die(activeChar));

    /* */ }

    /* */

    /* 712 */ activeChar.onPlayerEnter();

    /* */

    /* 714 */ sendPacket(new SkillCoolTime(activeChar));

    /* 715 */ sendPacket(new ExVoteSystemInfo(activeChar));

    /* 716 */ sendPacket(new ExNevitAdventEffect(0));

    /* 717 */ sendPacket(new ExNevitAdventPointInfoPacket(activeChar));

    /* 718 */ sendPacket(new ExNevitAdventTimeChange(activeChar.getAdventTime(), false));

    /* */

    /* 720 */ for (L2ItemInstance i : activeChar.getInventory().getItems())

    /* */ {

    /* 722 */ if (i.isTimeLimitedItem())

    /* */ {

    /* 724 */ i.scheduleLifeTimeTask();

    /* */ }

    /* 726 */ if ((!i.isShadowItem()) || (!i.isEquipped()))

    /* */ continue;

    /* 728 */ i.decreaseMana(false);

    /* */ }

    /* */

    /* 732 */ for (L2ItemInstance i : activeChar.getWarehouse().getItems())

    /* */ {

    /* 734 */ if (!i.isTimeLimitedItem())

    /* */ continue;

    /* 736 */ i.scheduleLifeTimeTask();

    /* */ }

    /* */

    /* 740 */ if (DimensionalRiftManager.getInstance().checkIfInRiftZone(activeChar.getX(), activeChar.getY(), activeChar.getZ(), false))

    /* */ {

    /* 742 */ DimensionalRiftManager.getInstance().teleportToWaitingRoom(activeChar);

    /* */ }

    /* */

    /* 745 */ if (activeChar.getClanJoinExpiryTime() > System.currentTimeMillis())

    /* */ {

    /* 747 */ activeChar.sendPacket(SystemMessageId.CLAN_MEMBERSHIP_TERMINATED);

    /* */ }

    /* */

    /* 751 */ if (activeChar.getInventory().getItemByItemId(9819) != null)

    /* */ {

    /* 753 */ Fort fort = FortManager.getInstance().getFort(activeChar);

    /* */

    /* 755 */ if (fort != null)

    /* */ {

    /* 757 */ FortSiegeManager.getInstance().dropCombatFlag(activeChar, fort.getFortId());

    /* */ }

    /* */ else

    /* */ {

    /* 761 */ int slot = activeChar.getInventory().getSlotFromItem(activeChar.getInventory().getItemByItemId(9819));

    /* 762 */ activeChar.getInventory().unEquipItemInBodySlot(slot);

    /* 763 */ activeChar.destroyItem("CombatFlag", activeChar.getInventory().getItemByItemId(9819), null, true);

    /* */ }

    /* */

    /* */ }

    /* */

    /* 769 */ if ((!activeChar.canOverrideCond(PcCondOverride.ZONE_CONDITIONS)) && (activeChar.isInsideZone(ZoneId.SIEGE)) && ((!activeChar.isInSiege()) || (activeChar.getSiegeState() < 2)))

    /* */ {

    /* 771 */ activeChar.teleToLocation(MapRegionManager.TeleportWhereType.Town);

    /* */ }

    /* */

    /* 774 */ if (Config.ALLOW_MAIL)

    /* */ {

    /* 776 */ if (MailManager.getInstance().hasUnreadPost(activeChar))

    /* */ {

    /* 778 */ sendPacket(ExNoticePostArrived.valueOf(false));

    /* */ }

    /* */ }

    /* */

    /* 782 */ RegionBBSManager.getInstance().changeCommunityBoard();

    /* 783 */ CommunityServerThread.getInstance().sendPacket(new WorldInfo(activeChar, null, WorldInfo.TYPE_UPDATE_PLAYER_STATUS));

    /* */

    /* 785 */ TvTEvent.onLogin(activeChar);

    /* */

    /* 787 */ if (Config.WELCOME_MESSAGE_ENABLED)

    /* */ {

    /* 789 */ activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT, Config.WELCOME_MESSAGE_TIME));

    /* */ }

    /* */

    /* 792 */ L2ClassMasterInstance.showQuestionMark(activeChar);

    /* */

    /* 794 */ int birthday = activeChar.checkBirthDay();

    /* 795 */ if (birthday == 0)

    /* */ {

    /* 797 */ activeChar.sendPacket(SystemMessageId.YOUR_BIRTHDAY_GIFT_HAS_ARRIVED);

    /* */ }

    /* 800 */ else if (birthday != -1)

    /* */ {

    /* 802 */ sm = SystemMessage.getSystemMessage(SystemMessageId.THERE_ARE_S1_DAYS_UNTIL_YOUR_CHARACTERS_BIRTHDAY);

    /* 803 */ sm.addString(Integer.toString(birthday));

    /* 804 */ activeChar.sendPacket(sm);

    /* */ }

    /* */

    /* 807 */ if (!activeChar.getPremiumItemList().isEmpty())

    /* */ {

    /* 809 */ activeChar.sendPacket(ExNotifyPremiumItem.STATIC_PACKET);

    /* */ }

    /* */

    /* 812 */ if (Config.AUTO_ACTIVATE_SHOTS)

    /* */ {

    /* 814 */ verifyAndLoadShots(activeChar);

    /* */ }

    /* */

    /* 817 */ for (PlayerSpawnListener listener : listeners)

    /* */ {

    /* 819 */ listener.onSpawn(activeChar);

    /* */ }

    /* */ }

    /* */

    /* */ private void onEnterAio(L2PcInstance activeChar)

    /* */ {

    /* 828 */ long now = Calendar.getInstance().getTimeInMillis();

    /* 829 */ long endDay = activeChar.getAioEndTime();

    /* 830 */ if (now > endDay)

    /* */ {

    /* 832 */ activeChar.setAio(false);

    /* 833 */ activeChar.setAioEndTime(0L);

    /* 834 */ activeChar.lostAioSkills();

    /* 835 */ activeChar.removeExpAndSp(6299994999L, 366666666);

    /* 836 */ if (Config.ALLOW_AIO_ITEM)

    /* */ {

    /* 838 */ activeChar.getInventory().destroyItemByItemId("", Config.AIO_ITEMID, 1L, activeChar, null);

    /* 839 */ activeChar.getWarehouse().destroyItemByItemId("", Config.AIO_ITEMID, 1L, activeChar, null);

    /* */ }

    /* 841 */ activeChar.sendPacket(new CreatureSay(0, 17, "Server Infor", "Your AIO period ends."));

    /* */ }

    /* */ else

    /* */ {

    /* 845 */ Date dt = new Date(endDay);

    /* 846 */ _daysleft = ((endDay - now) / 86400000L);

    /* 847 */ if (_daysleft > 30L) {

    /* 848 */ activeChar.sendMessage("AIO period ends in " + df.format(dt) + ".");

    /* 849 */ } else if (_daysleft > 0L) {

    /* 850 */ activeChar.sendMessage("Left " + (int)_daysleft + " days for AIO period ends");

    /* 851 */ } else if (_daysleft < 1L)

    /* */ {

    /* 853 */ long hour = (endDay - now) / 3600000L;

    /* 854 */ activeChar.sendMessage("Left " + (int)hour + " hours to AIO period ends");

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void onEnterVip(L2PcInstance activeChar)

    /* */ {

    /* 861 */ long now = Calendar.getInstance().getTimeInMillis();

    /* 862 */ long endDay = activeChar.getVipEndTime();

    /* 863 */ if (now > endDay)

    /* */ {

    /* 865 */ activeChar.setVip(false);

    /* 866 */ activeChar.setVipEndTime(0L);

    /* 867 */ activeChar.sendMessage("Removed your Vip stats... period ends ");

    /* */ }

    /* */ else

    /* */ {

    /* 871 */ Date dt = new Date(endDay);

    /* 872 */ _daysleft = ((endDay - now) / 86400000L);

    /* 873 */ if (_daysleft > 30L) {

    /* 874 */ activeChar.sendMessage("Vip period ends in " + df.format(dt) + ". enjoy the Game");

    /* 875 */ } else if (_daysleft > 0L) {

    /* 876 */ activeChar.sendMessage("left " + (int)_daysleft + " days for Vip period ends");

    /* 877 */ } else if (_daysleft < 1L)

    /* */ {

    /* 879 */ long hour = (endDay - now) / 3600000L;

    /* 880 */ activeChar.sendMessage("left " + (int)hour + " hours to Vip period ends");

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void engage(L2PcInstance cha)

    /* */ {

    /* 887 */ int _chaid = cha.getObjectId();

    /* */

    /* 889 */ for (Couple cl : CoupleManager.getInstance().getCouples())

    /* */ {

    /* 891 */ if ((cl.getPlayer1Id() == _chaid) || (cl.getPlayer2Id() == _chaid))

    /* */ {

    /* 893 */ if (cl.getMaried())

    /* */ {

    /* 895 */ cha.setMarried(true);

    /* */ }

    /* */

    /* 898 */ cha.setCoupleId(cl.getId());

    /* */

    /* 900 */ if (cl.getPlayer1Id() == _chaid)

    /* */ {

    /* 902 */ cha.setPartnerId(cl.getPlayer2Id());

    /* */ }

    /* */ else

    /* */ {

    /* 906 */ cha.setPartnerId(cl.getPlayer1Id());

    /* */ }

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void notifyPartner(L2PcInstance cha, int partnerId)

    /* */ {

    /* 918 */ if (cha.getPartnerId() != 0)

    /* */ {

    /* 920 */ int objId = cha.getPartnerId();

    /* */ try

    /* */ {

    /* 924 */ L2PcInstance partner = L2World.getInstance().getPlayer(objId);

    /* */

    /* 926 */ if (partner != null)

    /* */ {

    /* 928 */ partner.sendMessage("Your Partner has logged in.");

    /* */ }

    /* */

    /* 931 */ partner = null;

    /* */ }

    /* */ catch (ClassCastException cce)

    /* */ {

    /* 935 */ _log.warning("Wedding Error: ID " + objId + " is now owned by a(n) " + L2World.getInstance().findObject(objId).getClass().getSimpleName());

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void notifyClanMembers(L2PcInstance activeChar)

    /* */ {

    /* 945 */ L2Clan clan = activeChar.getClan();

    /* */

    /* 948 */ if (clan != null)

    /* */ {

    /* 950 */ clan.getClanMember(activeChar.getObjectId()).setPlayerInstance(activeChar);

    /* 951 */ SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.CLAN_MEMBER_S1_LOGGED_IN);

    /* 952 */ msg.addString(activeChar.getName());

    /* 953 */ clan.broadcastToOtherOnlineMembers(msg, activeChar);

    /* 954 */ msg = null;

    /* 955 */ clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListUpdate(activeChar), activeChar);

    /* */ }

    /* */ }

    /* */

    /* */ private void notifySponsorOrApprentice(L2PcInstance activeChar)

    /* */ {

    /* 964 */ if (activeChar.getSponsor() != 0)

    /* */ {

    /* 966 */ L2PcInstance sponsor = L2World.getInstance().getPlayer(activeChar.getSponsor());

    /* */

    /* 968 */ if (sponsor != null)

    /* */ {

    /* 970 */ SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.YOUR_APPRENTICE_S1_HAS_LOGGED_IN);

    /* 971 */ msg.addString(activeChar.getName());

    /* 972 */ sponsor.sendPacket(msg);

    /* */ }

    /* */ }

    /* 975 */ else if (activeChar.getApprentice() != 0)

    /* */ {

    /* 977 */ L2PcInstance apprentice = L2World.getInstance().getPlayer(activeChar.getApprentice());

    /* */

    /* 979 */ if (apprentice != null)

    /* */ {

    /* 981 */ SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.YOUR_SPONSOR_C1_HAS_LOGGED_IN);

    /* 982 */ msg.addString(activeChar.getName());

    /* 983 */ apprentice.sendPacket(msg);

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void loadTutorial(L2PcInstance player)

    /* */ {

    /* 990 */ QuestState qs = player.getQuestState("255_Tutorial");

    /* */

    /* 992 */ if (qs != null)

    /* */ {

    /* 994 */ qs.getQuest().notifyEvent("UC", null, player);

    /* */ }

    /* */ }

    /* */

    /* */ private void verifyAndLoadShots(L2PcInstance activeChar)

    /* */ {

    /* 1004 */ int soulId = -1;

    /* 1005 */ int spiritId = -1;

    /* 1006 */ int bspiritId = -1;

    /* */

    /* 1008 */ if ((!activeChar.isDead()) && (activeChar.getActiveWeaponItem() != null))

    /* */ {

    /* 1010 */ switch (activeChar.getActiveWeaponItem().getCrystalType())

    /* */ {

    /* */ case 0:

    /* 1013 */ soulId = 1835;

    /* 1014 */ spiritId = 2509;

    /* 1015 */ bspiritId = 3947;

    /* 1016 */ break;

    /* */ case 1:

    /* 1018 */ soulId = 1463;

    /* 1019 */ spiritId = 2510;

    /* 1020 */ bspiritId = 3948;

    /* 1021 */ break;

    /* */ case 2:

    /* 1023 */ soulId = 1464;

    /* 1024 */ spiritId = 2511;

    /* 1025 */ bspiritId = 3949;

    /* 1026 */ break;

    /* */ case 3:

    /* 1028 */ soulId = 1465;

    /* 1029 */ spiritId = 2512;

    /* 1030 */ bspiritId = 3950;

    /* 1031 */ break;

    /* */ case 4:

    /* 1033 */ soulId = 1466;

    /* 1034 */ spiritId = 2513;

    /* 1035 */ bspiritId = 3951;

    /* 1036 */ break;

    /* */ case 5:

    /* */ case 6:

    /* */ case 7:

    /* 1040 */ soulId = 1467;

    /* 1041 */ spiritId = 2514;

    /* 1042 */ bspiritId = 3952;

    /* */ }

    /* */

    /* 1046 */ if ((soulId > -1) && (activeChar.getInventory().getInventoryItemCount(soulId, -1) > Config.AUTO_ACTIVATE_SHOTS_MIN))

    /* */ {

    /* 1048 */ activeChar.addAutoSoulShot(soulId);

    /* 1049 */ activeChar.sendPacket(new ExAutoSoulShot(soulId, 1));

    /* */

    /* 1051 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);

    /* 1052 */ sm.addItemName(activeChar.getInventory().getItemByItemId(soulId));

    /* 1053 */ activeChar.sendPacket(sm);

    /* */ }

    /* */

    /* 1056 */ if ((bspiritId > -1) && (activeChar.getInventory().getInventoryItemCount(bspiritId, -1) > Config.AUTO_ACTIVATE_SHOTS_MIN))

    /* */ {

    /* 1058 */ activeChar.addAutoSoulShot(bspiritId);

    /* 1059 */ activeChar.sendPacket(new ExAutoSoulShot(bspiritId, 1));

    /* */

    /* 1061 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);

    /* 1062 */ sm.addItemName(activeChar.getInventory().getItemByItemId(bspiritId));

    /* 1063 */ activeChar.sendPacket(sm);

    /* */ }

    /* 1065 */ else if ((spiritId > -1) && (activeChar.getInventory().getInventoryItemCount(spiritId, -1) > Config.AUTO_ACTIVATE_SHOTS_MIN))

    /* */ {

    /* 1067 */ activeChar.addAutoSoulShot(spiritId);

    /* 1068 */ activeChar.sendPacket(new ExAutoSoulShot(spiritId, 1));

    /* */

    /* 1070 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);

    /* 1071 */ sm.addItemName(activeChar.getInventory().getItemByItemId(spiritId));

    /* 1072 */ activeChar.sendPacket(sm);

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ public String getType()

    /* */ {

    /* 1080 */ return "[C] 11 EnterWorld";

    /* */ }

    /* */

    /* */ protected boolean triggersOnActionRequest()

    /* */ {

    /* 1086 */ return false;

    /* */ }

    /* */

    /* */ public static void addSpawnListener(PlayerSpawnListener listener)

    /* */ {

    /* 1096 */ if (!listeners.contains(listener))

    /* */ {

    /* 1098 */ listeners.add(listener);

    /* */ }

    /* */ }

    /* */

    /* */ public static void removeSpawnListener(PlayerSpawnListener listener)

    /* */ {

    /* 1108 */ listeners.remove(listener);

    /* */ }

    /* */

    /* */ private void PremiumServiceIcon(L2PcInstance activeChar)

    /* */ {

    /* 1114 */ if (activeChar.getPremiumService() == 1)

    /* */ {

    /* 1116 */ activeChar.sendPacket(new PremiumState(activeChar.getObjectId(), 1));

    /* 1117 */ activeChar.sendMessage("Premium account: now active");

    /* */ }

    /* */ }

    /* */

    /* */ private void notifyCastleOwner(L2PcInstance activeChar)

    /* */ {

    /* 1123 */ L2Clan clan = activeChar.getClan();

    /* */

    /* 1125 */ if (clan != null)

    /* */ {

    /* 1127 */ if (clan.getCastleId() > 0)

    /* */ {

    /* 1129 */ Castle castle = CastleManager.getInstance().getCastleById(clan.getCastleId());

    /* 1130 */ if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))

    /* */ {

    /* 1132 */ Broadcast.toAllOnlinePlayers(new CreatureSay(1, 20, "Castle System", "Lord " + activeChar.getName() + " Ruler Of " + castle.getName() + " Castle is Now Online!"));

    /* */ }

    /* */ }

    /* */ }

    /* */ }

    /* */ }

     

    /

     

     

    выручайте советом что не так с кодом или головой?)


  6. декомпилил интерворлд исправил все ошибки кроме

    сenterworld.java:120: error: incompatible types

    /* 131 */ private static FastList listeners = new FastLi

    st().shared();

    ^

    required: FastList

    found: Collection

    1 error

     

     

    и сам код

    /* */ package com.l2jserver.gameserver.network.clientpackets;

    /* */

    /* */ import com.l2jserver.Config;

    /* */ import com.l2jserver.gameserver.Announcements;

    /* */ import com.l2jserver.gameserver.GameServerRestart;

    /* */ import com.l2jserver.gameserver.LoginServerThread;

    /* */ import com.l2jserver.gameserver.SevenSigns;

    /* */ import com.l2jserver.gameserver.TaskPriority;

    /* */ import com.l2jserver.gameserver.cache.HtmCache;

    /* */ import com.l2jserver.gameserver.communitybbs.Managers.RegionBBSManager;

    /* */ import com.l2jserver.gameserver.datatables.AdminTable;

    /* */ import com.l2jserver.gameserver.datatables.SkillTable;

    /* */ import com.l2jserver.gameserver.datatables.SkillTable.FrequentSkill;

    /* */ import com.l2jserver.gameserver.datatables.SkillTreesData;

    /* */ import com.l2jserver.gameserver.instancemanager.BotManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CHSiegeManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CastleManager;

    /* */ import com.l2jserver.gameserver.instancemanager.ClanHallManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CoupleManager;

    /* */ import com.l2jserver.gameserver.instancemanager.CursedWeaponsManager;

    /* */ import com.l2jserver.gameserver.instancemanager.DimensionalRiftManager;

    /* */ import com.l2jserver.gameserver.instancemanager.FortManager;

    /* */ import com.l2jserver.gameserver.instancemanager.FortSiegeManager;

    /* */ import com.l2jserver.gameserver.instancemanager.InstanceManager;

    /* */ import com.l2jserver.gameserver.instancemanager.MailManager;

    /* */ import com.l2jserver.gameserver.instancemanager.MapRegionManager;

    /* */ import com.l2jserver.gameserver.instancemanager.MapRegionManager.TeleportWhereType;

    /* */ import com.l2jserver.gameserver.instancemanager.PetitionManager;

    /* */ import com.l2jserver.gameserver.instancemanager.QuestManager;

    /* */ import com.l2jserver.gameserver.instancemanager.SiegeManager;

    /* */ import com.l2jserver.gameserver.instancemanager.TerritoryWarManager;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.RankPvpSystem;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.RankPvpSystemConfig;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.PvpTable;

    /* */ import com.l2jserver.gameserver.instancemanager.rank_system.rankpvpsystem.PvpStats;

    /* */ import com.l2jserver.gameserver.model.CursedWeapon;

    /* */ import com.l2jserver.gameserver.model.L2Clan;

    /* */ import com.l2jserver.gameserver.model.L2ClanMember;

    /* */ import com.l2jserver.gameserver.model.L2Object;

    /* */ import com.l2jserver.gameserver.model.L2World;

    /* */ import com.l2jserver.gameserver.model.MacroList;

    /* */ import com.l2jserver.gameserver.model.PcCondOverride;

    /* */ import com.l2jserver.gameserver.model.actor.IpCatcher;

    /* */ import com.l2jserver.gameserver.model.actor.appearance.PcAppearance;

    /* */ import com.l2jserver.gameserver.model.actor.instance.L2ClassMasterInstance;

    /* */ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;

    /* */ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance.PunishLevel;

    /* */ import com.l2jserver.gameserver.model.actor.instance.PcAdmin;

    /* */ import com.l2jserver.gameserver.model.entity.Castle;

    /* */ import com.l2jserver.gameserver.model.entity.Couple;

    /* */ import com.l2jserver.gameserver.model.entity.Fort;

    /* */ import com.l2jserver.gameserver.model.entity.FortSiege;

    /* */ import com.l2jserver.gameserver.model.entity.Instance;

    /* */ import com.l2jserver.gameserver.model.entity.L2Event;

    /* */ import com.l2jserver.gameserver.model.entity.PkHunterEventConditions;

    /* */ import com.l2jserver.gameserver.model.entity.Siege;

    /* */ import com.l2jserver.gameserver.model.entity.TvTEvent;

    /* */ import com.l2jserver.gameserver.model.entity.clanhall.AuctionableHall;

    /* */ import com.l2jserver.gameserver.model.entity.clanhall.SiegableHall;

    /* */ import com.l2jserver.gameserver.model.itemcontainer.PcInventory;

    /* */ import com.l2jserver.gameserver.model.itemcontainer.PcWarehouse;

    /* */ import com.l2jserver.gameserver.model.items.L2Weapon;

    /* */ import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;

    /* */ import com.l2jserver.gameserver.model.quest.Quest;

    /* */ import com.l2jserver.gameserver.model.quest.QuestState;

    /* */ import com.l2jserver.gameserver.model.zone.ZoneId;

    /* */ import com.l2jserver.gameserver.network.L2GameClient;

    /* */ import com.l2jserver.gameserver.network.SystemMessageId;

    /* */ import com.l2jserver.gameserver.network.communityserver.CommunityServerThread;

    /* */ import com.l2jserver.gameserver.network.communityserver.writepackets.WorldInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.CreatureSay;

    /* */ import com.l2jserver.gameserver.network.serverpackets.Die;

    /* */ import com.l2jserver.gameserver.network.serverpackets.EtcStatusUpdate;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExAutoSoulShot;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExBasicActionList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExBrPremiumState;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExGetBookMarkInfoPacket;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNevitAdventEffect;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNevitAdventPointInfoPacket;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNevitAdventTimeChange;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNoticePostArrived;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExNotifyPremiumItem;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExPCCafePointInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExRedSky;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExStorageMaxCount;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ExVoteSystemInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.FriendList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.HennaInfo;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ItemList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PlaySound;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeShowMemberListAll;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeShowMemberListUpdate;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeSkillList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PledgeStatusChanged;

    /* */ import com.l2jserver.gameserver.network.serverpackets.PremiumState;

    /* */ import com.l2jserver.gameserver.network.serverpackets.QuestList;

    /* */ import com.l2jserver.gameserver.network.serverpackets.ShortCutInit;

    /* */ import com.l2jserver.gameserver.network.serverpackets.SkillCoolTime;

    /* */ import com.l2jserver.gameserver.network.serverpackets.SystemMessage;

    /* */ import com.l2jserver.gameserver.network.serverpackets.UserInfo;

     

    /* */ import com.l2jserver.gameserver.scripting.scriptengine.listeners.player.PlayerSpawnListener;

    /* */ import com.l2jserver.gameserver.util.Broadcast;

    /* */ import com.l2jserver.gameserver.util.Util;

    /* */ import java.text.SimpleDateFormat;

    /* */ import java.util.Calendar;

    /* */ import java.util.Date;

    /* */ import java.util.Iterator;

    /* */ import java.util.List;

    /* */ import java.util.Map;

    /* */ import java.util.logging.Logger;

    /* */ import javolution.util.FastList;

    /* */ import javolution.util.FastMap;

    /* */

    /* */ public class EnterWorld extends L2GameClientPacket

    /* */ {

    /* */ private static final String _C__11_ENTERWORLD = "[C] 11 EnterWorld";

     

    /* 131*/ private static FastList<PlayerSpawnListener> listeners = new FastList().shared();

     

    /* */ long _daysleft;

     

    /* 134 */ SimpleDateFormat df = new SimpleDateFormat("dd MM yyyy");

    /* */

    /* 136 */ private final int[][] tracert = new int[5][4];

    /* */

    /* */ public TaskPriority getPriority()

    /* */ {

    /* 140 */ return TaskPriority.PR_URGENT;

    /* */ }

    /* */

    /* */ protected void readImpl()

    /* */ {

    /* 146 */ readB(new byte[32]);

    /* 147 */ readD();

    /* 148 */ readD();

    /* 149 */ readD();

    /* 150 */ readD();

    /* 151 */ readB(new byte[32]);

    /* 152 */ readD();

    /* 153 */ for (int i = 0; i < 5; i++)

    /* */ {

    /* 155 */ for (int o = 0; o < 4; o++)

    /* */ {

    /* 157 */ tracert[o] = readC();

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ protected void runImpl()

    /* */ {

    /* 165 */ L2PcInstance activeChar = ((L2GameClient)getClient()).getActiveChar();

    /* */

    /* 167 */ if (activeChar == null)

    /* */ {

    /* 169 */ _log.warning("EnterWorld failed! activeChar returned 'null'.");

    /* 170 */ ((L2GameClient)getClient()).closeNow();

    /* 171 */ return;

    /* */ }

    /* */

    /* 174 */ String[] adress = new String[5];

    /* 175 */ for (int i = 0; i < 5; i++)

    /* */ {

    /* 177 */ adress = tracert[0] + "." + tracert[1] + "." + tracert[2] + "." + tracert[3];

    /* */ }

    /* */

    /* 180 */ LoginServerThread.getInstance().sendClientTracert(activeChar.getAccountName(), adress);

    /* */

    /* 182 */ ((L2GameClient)getClient()).setClientTracert(tracert);

    /* */

    /* 185 */ if (Config.RESTORE_PLAYER_INSTANCE)

    /* */ {

    /* 187 */ activeChar.setInstanceId(InstanceManager.getInstance().getPlayerInstance(activeChar.getObjectId()));

    /* */ }

    /* */ else

    /* */ {

    /* 191 */ int instanceId = InstanceManager.getInstance().getPlayerInstance(activeChar.getObjectId());

    /* 192 */ if (instanceId > 0)

    /* */ {

    /* 194 */ InstanceManager.getInstance().getInstance(instanceId).removePlayer(Integer.valueOf(activeChar.getObjectId()));

    /* */ }

    /* */ }

    /* */

    /* 198 */ if (L2World.getInstance().findObject(activeChar.getObjectId()) != null)

    /* */ {

    /* 200 */ if (Config.DEBUG)

    /* */ {

    /* 202 */ _log.warning("User already exists in Object ID map! User " + activeChar.getName() + " is a character clone.");

    /* */ }

    /* */ }

    /* */

    /* 206 */ if (activeChar.getPremiumService() == 1)

    /* */ {

    /* 208 */ activeChar.sendPacket(new ExBrPremiumState(activeChar.getObjectId(), 1));

    /* */ }

    /* */ else

    /* */ {

    /* 212 */ activeChar.sendPacket(new ExBrPremiumState(activeChar.getObjectId(), 0));

    /* */ }

    /* */

    /* 216 */ if (activeChar.isGM())

    /* */ {

    /* 218 */ if (Config.ENABLE_SAFE_ADMIN_PROTECTION)

    /* */ {

    /* 220 */ if (Config.SAFE_ADMIN_NAMES.contains(activeChar.getName()))

    /* */ {

    /* 222 */ activeChar.getPcAdmin().setIsSafeAdmin(true);

    /* 223 */ if (Config.SAFE_ADMIN_SHOW_ADMIN_ENTER)

    /* */ {

    /* 225 */ _log.info("Admin: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") Acabou de Logar.");

    /* */ }

    /* */ }

    /* */ else

    /* */ {

    /* 230 */ activeChar.getPcAdmin().punishUnSafeAdmin();

    /* 231 */ _log.warning("ATENCAO: FALSO ADMIN: " + activeChar.getName() + "(" + activeChar.getObjectId() + ") foi punido ao tentar logar.");

    /* */ }

    /* */ }

    /* */

    /* 235 */ if ((Config.GM_STARTUP_INVULNERABLE) && (AdminTable.getInstance().hasAccess("admin_invul", activeChar.getAccessLevel())))

    /* */ {

    /* 237 */ activeChar.setIsInvul(true);

    /* */ }

    /* */

    /* 240 */ if ((Config.GM_STARTUP_INVISIBLE) && (AdminTable.getInstance().hasAccess("admin_invisible", activeChar.getAccessLevel())))

    /* */ {

    /* 242 */ activeChar.getAppearance().setInvisible();

    /* */ }

    /* */

    /* 245 */ if ((Config.GM_STARTUP_SILENCE) && (AdminTable.getInstance().hasAccess("admin_silence", activeChar.getAccessLevel())))

    /* */ {

    /* 247 */ activeChar.setSilenceMode(true);

    /* */ }

    /* */

    /* 250 */ if ((Config.GM_STARTUP_DIET_MODE) && (AdminTable.getInstance().hasAccess("admin_diet", activeChar.getAccessLevel())))

    /* */ {

    /* 252 */ activeChar.setDietMode(true);

    /* 253 */ activeChar.refreshOverloaded();

    /* */ }

    /* */

    /* 256 */ if ((Config.GM_STARTUP_AUTO_LIST) && (AdminTable.getInstance().hasAccess("admin_gmliston", activeChar.getAccessLevel())))

    /* */ {

    /* 258 */ AdminTable.getInstance().addGm(activeChar, false);

    /* */ }

    /* */ else

    /* */ {

    /* 262 */ AdminTable.getInstance().addGm(activeChar, true);

    /* */ }

    /* */

    /* 265 */ if (Config.GM_GIVE_SPECIAL_SKILLS)

    /* */ {

    /* 267 */ SkillTreesData.getInstance().addSkills(activeChar, false);

    /* */ }

    /* */

    /* 270 */ if (Config.GM_GIVE_SPECIAL_AURA_SKILLS)

    /* */ {

    /* 272 */ SkillTreesData.getInstance().addSkills(activeChar, true);

    /* */ }

    /* */

    /* */ }

    /* 277 */ else if ((activeChar.getKarma() >= 500000) && (!activeChar.isCursedWeaponEquipped()) && (Config.ENABLE_PKHUNTEREVENT))

    /* */ {

    /* 279 */ PkHunterEventConditions.endCoward(activeChar);

    /* */ }

    /* */

    /* 284 */ if (activeChar.getCurrentHp() < 0.5D)

    /* */ {

    /* 286 */ activeChar.setIsDead(true);

    /* */

    /* 289 */ ExRedSky packet = new ExRedSky(7);

    /* 290 */ sendPacket(packet);

    /* */

    /* 292 */ PlaySound death_music = new PlaySound(1, "Game_Over", 0, 0, 0, 0, 0);

    /* 293 */ sendPacket(death_music);

    /* */ }

    /* */

    /* 296 */ boolean showClanNotice = false;

    /* */

    /* 299 */ if (activeChar.getClan() != null)

    /* */ {

    /* 301 */ activeChar.sendPacket(new PledgeSkillList(activeChar.getClan()));

    /* */

    /* 303 */ notifyClanMembers(activeChar);

    /* */

    /* 305 */ notifySponsorOrApprentice(activeChar);

    /* */

    /* 307 */ AuctionableHall clanHall = ClanHallManager.getInstance().getClanHallByOwner(activeChar.getClan());

    /* */

    /* 309 */ if (clanHall != null)

    /* */ {

    /* 311 */ if (!clanHall.getPaid())

    /* */ {

    /* 313 */ activeChar.sendPacket(SystemMessageId.PAYMENT_FOR_YOUR_CLAN_HALL_HAS_NOT_BEEN_MADE_PLEASE_MAKE_PAYMENT_TO_YOUR_CLAN_WAREHOUSE_BY_S1_TOMORROW);

    /* */ }

    /* */ }

    /* */

    /* 317 */ for (Siege siege : SiegeManager.getInstance().getSieges())

    /* */ {

    /* 319 */ if (!siege.getIsInProgress())

    /* */ {

    /* */ continue;

    /* */ }

    /* */

    /* 324 */ if (siege.checkIsAttacker(activeChar.getClan()))

    /* */ {

    /* 326 */ activeChar.setSiegeState((byte) 1);

    /* 327 */ activeChar.setSiegeSide(siege.getCastle().getCastleId());

    /* */ }

    /* 330 */ else if (siege.checkIsDefender(activeChar.getClan()))

    /* */ {

    /* 332 */ activeChar.setSiegeState((byte) 2);

    /* 333 */ activeChar.setSiegeSide(siege.getCastle().getCastleId());

    /* */ }

    /* */ }

    /* */

    /* 337 */ for (FortSiege siege : FortSiegeManager.getInstance().getSieges())

    /* */ {

    /* 339 */ if (!siege.getIsInProgress())

    /* */ {

    /* */ continue;

    /* */ }

    /* */

    /* 344 */ if (siege.checkIsAttacker(activeChar.getClan()))

    /* */ {

    /* 346 */ activeChar.setSiegeState((byte) 1);

    /* 347 */ activeChar.setSiegeSide(siege.getFort().getFortId());

    /* */ }

    /* 350 */ else if (siege.checkIsDefender(activeChar.getClan()))

    /* */ {

    /* 352 */ activeChar.setSiegeState((byte) 2);

    /* 353 */ activeChar.setSiegeSide(siege.getFort().getFortId());

    /* */ }

    /* */ }

    /* */

    /* 357 */ for (SiegableHall hall : CHSiegeManager.getInstance().getConquerableHalls().values())

    /* */ {

    /* 359 */ if (!hall.isInSiege())

    /* */ {

    /* */ continue;

    /* */ }

    /* */

    /* 364 */ if (hall.isRegistered(activeChar.getClan()))

    /* */ {

    /* 366 */ activeChar.setSiegeState((byte) 1);

    /* 367 */ activeChar.setSiegeSide(hall.getId());

    /* 368 */ activeChar.setIsInHideoutSiege(true);

    /* */ }

    /* */ }

    /* */

    /* 372 */ sendPacket(new PledgeShowMemberListAll(activeChar.getClan(), activeChar));

    /* 373 */ sendPacket(new PledgeStatusChanged(activeChar.getClan()));

    /* */

    /* 376 */ if (activeChar.getClan().getCastleId() > 0)

    /* */ {

    /* 378 */ CastleManager.getInstance().getCastleByOwner(activeChar.getClan()).giveResidentialSkills(activeChar);

    /* */ }

    /* */

    /* 381 */ if (activeChar.getClan().getFortId() > 0)

    /* */ {

    /* 383 */ FortManager.getInstance().getFortByOwner(activeChar.getClan()).giveResidentialSkills(activeChar);

    /* */ }

    /* */

    /* 386 */ showClanNotice = activeChar.getClan().isNoticeEnabled();

    /* */ }

    /* */

    /* 389 */ if (TerritoryWarManager.getInstance().getRegisteredTerritoryId(activeChar) > 0)

    /* */ {

    /* 391 */ if (TerritoryWarManager.getInstance().isTWInProgress())

    /* */ {

    /* 393 */ activeChar.setSiegeState((byte) 1);

    /* */ }

    /* 395 */ activeChar.setSiegeSide(TerritoryWarManager.getInstance().getRegisteredTerritoryId(activeChar));

    /* */ }

    /* */

    /* 399 */ if ((SevenSigns.getInstance().isSealValidationPeriod()) && (SevenSigns.getInstance().getSealOwner(3) != 0))

    /* */ {

    /* 401 */ int cabal = SevenSigns.getInstance().getPlayerCabal(activeChar.getObjectId());

    /* 402 */ if (cabal != 0)

    /* */ {

    /* 404 */ if (cabal == SevenSigns.getInstance().getSealOwner(3))

    /* */ {

    /* 406 */ activeChar.addSkill(SkillTable.FrequentSkill.THE_VICTOR_OF_WAR.getSkill());

    /* */ }

    /* */ else

    /* */ {

    /* 410 */ activeChar.addSkill(SkillTable.FrequentSkill.THE_VANQUISHED_OF_WAR.getSkill());

    /* */ }

    /* */ }

    /* */ }

    /* */ else

    /* */ {

    /* 416 */ activeChar.removeSkill(SkillTable.FrequentSkill.THE_VICTOR_OF_WAR.getSkill());

    /* 417 */ activeChar.removeSkill(SkillTable.FrequentSkill.THE_VANQUISHED_OF_WAR.getSkill());

    /* */ }

    /* */

    /* 420 */ if ((Config.ENABLE_VITALITY) && (Config.RECOVER_VITALITY_ON_RECONNECT))

    /* */ {

    /* 422 */ float points = Config.RATE_RECOVERY_ON_RECONNECT * (float)(System.currentTimeMillis() - activeChar.getLastAccess()) / 60000.0F;

    /* 423 */ if (points > 0.0F)

    /* */ {

    /* 425 */ activeChar.updateVitalityPoints(points, false, true);

    /* */ }

    /* */

    /* */ }

    /* */

    /* 430 */ if (activeChar.isAio())

    /* */ {

    /* 432 */ onEnterAio(activeChar);

    /* */ }

    /* */

    /* 435 */ if ((Config.ALLOW_AIO_NCOLOR) && (activeChar.isAio()))

    /* */ {

    /* 437 */ activeChar.getAppearance().setNameColor(Config.AIO_NCOLOR);

    /* */ }

    /* */

    /* 440 */ if ((Config.ALLOW_AIO_TCOLOR) && (activeChar.isAio()))

    /* */ {

    /* 442 */ activeChar.getAppearance().setTitleColor(Config.AIO_TCOLOR);

    /* */ }

    /* */

    /* 446 */ if (activeChar.isVip())

    /* */ {

    /* 448 */ onEnterVip(activeChar);

    /* */ }

    /* */

    /* 451 */ if ((Config.ALLOW_VIP_NCOLOR) && (activeChar.isVip()))

    /* */ {

    /* 453 */ activeChar.getAppearance().setNameColor(Config.VIP_NCOLOR);

    /* */ }

    /* */

    /* 456 */ if ((Config.ALLOW_VIP_TCOLOR) && (activeChar.isVip()))

    /* */ {

    /* 458 */ activeChar.getAppearance().setTitleColor(Config.VIP_TCOLOR);

    /* */ }

    /* */

    /* 461 */ activeChar.checkRecoBonusTask();

    /* */

    /* 463 */ activeChar.broadcastUserInfo();

    /* */

    /* 466 */ activeChar.getMacros().sendUpdate();

    /* */

    /* 469 */ sendPacket(new ItemList(activeChar, false));

    /* */

    /* 472 */ activeChar.queryGameGuard();

    /* */

    /* 475 */ sendPacket(new ExGetBookMarkInfoPacket(activeChar));

    /* */

    /* 478 */ sendPacket(new ShortCutInit(activeChar));

    /* */

    /* 481 */ activeChar.sendPacket(ExBasicActionList.getStaticPacket(activeChar));

    /* */

    /* 484 */ activeChar.sendSkillList();

    /* */

    /* 487 */ activeChar.sendPacket(new HennaInfo(activeChar));

    /* */

    /* 489 */ Quest.playerEnter(activeChar);

    /* */

    /* 491 */ if (!Config.DISABLE_TUTORIAL)

    /* */ {

    /* 493 */ loadTutorial(activeChar);

    /* */ }

    /* */

    /* 496 */ for (Quest quest : QuestManager.getInstance().getAllManagedScripts())

    /* */ {

    /* 498 */ if ((quest != null) && (quest.getOnEnterWorld()))

    /* */ {

    /* 500 */ quest.notifyEnterWorld(activeChar);

    /* */ }

    /* */ }

    /* 503 */ activeChar.sendPacket(new QuestList());

    /* */

    /* 505 */ if (Config.PLAYER_SPAWN_PROTECTION > 0)

    /* */ {

    /* 507 */ activeChar.setProtection(true);

    /* */ }

    /* */

    /* 510 */ BotManager.getInstance().onEnter(activeChar);

    /* 511 */ activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());

    /* */

    /* 513 */ activeChar.getInventory().applyItemSkills();

    /* */

    /* 515 */ if (L2Event.isParticipant(activeChar))

    /* */ {

    /* 517 */ L2Event.restorePlayerEventStatus(activeChar);

    /* */ }

    /* */

    /* 521 */ if (Config.ALLOW_WEDDING)

    /* */ {

    /* 523 */ engage(activeChar);

    /* 524 */ notifyPartner(activeChar, activeChar.getPartnerId());

    /* */ }

    /* */

    /* 527 */ IpCatcher ipc = new IpCatcher();

    /* 528 */ if (ipc.isCatched(activeChar)) {

    /* 529 */ activeChar.logout();

    /* */ }

    /* 531 */ if (activeChar.isCursedWeaponEquipped())

    /* */ {

    /* 533 */ CursedWeaponsManager.getInstance().getCursedWeapon(activeChar.getCursedWeaponEquippedId()).cursedOnLogin();

    /* */ }

    /* */

    /* 536 */ activeChar.updateEffectIcons();

    /* */

    /* 538 */ activeChar.sendPacket(new EtcStatusUpdate(activeChar));

    /* */

    /* 541 */ activeChar.sendPacket(new ExStorageMaxCount(activeChar));

    /* */

    /* 543 */ sendPacket(new FriendList(activeChar));

    /* */

    /* 545 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.FRIEND_S1_HAS_LOGGED_IN);

    /* 546 */ sm.addString(activeChar.getName());

    /* 547 */ for (Iterator i$ = activeChar.getFriendList().iterator(); i$.hasNext(); ) { int id = ((Integer)i$.next()).intValue();

    /* */

    /* 549 */ L2Object obj = L2World.getInstance().findObject(id);

    /* 550 */ if (obj != null)

    /* */ {

    /* 552 */ obj.sendPacket(sm);

    /* */ }

    /* */ }

    /* */

    /* 556 */ if ((RankPvpSystemConfig.NICK_COLOR_ENABLED) || (RankPvpSystemConfig.TITLE_COLOR_ENABLED))

    /* */ {

    /* 559 */

    PvpStats activeCharPvpStats = PvpTable.getInstance().getPvpStats(activeChar.getObjectId());

    /* */

    /* 561 */ if (RankPvpSystemConfig.NICK_COLOR_ENABLED)

    /* */ {

    /* 563 */ activeChar.getAppearance().setNameColor(activeCharPvpStats.getRank().getNickColor());

    /* 564 */ activeChar.sendPacket(new UserInfo(activeChar));

    /* 565 */ activeChar.broadcastUserInfo();

    /* */ }

    /* */

    /* 568 */ if (RankPvpSystemConfig.TITLE_COLOR_ENABLED)

    /* */ {

    /* 570 */ activeChar.getAppearance().setTitleColor(activeCharPvpStats.getRank().getTitleColor());

    /* 571 */ activeChar.broadcastTitleInfo();

    /* */ }

    /* */ }

    /* */

    /* 575 */ if (Config.ANNOUNCE_HERO_LOGIN)

    /* */ {

    /* 577 */ if (activeChar.isHero())

    /* */ {

    /* 579 */ Broadcast.toAllOnlinePlayers(new CreatureSay(1, 20, "Hero System", "Hero " + activeChar.getName() + " has been logged in."));

    /* */ }

    /* */ }

    /* */

    /* 583 */ if (Config.ANNOUNCE_CASTLE_LORDS)

    /* */ {

    /* 585 */ notifyCastleOwner(activeChar);

    /* */ }

    /* */

    /* 588 */ if (Config.ANNOUNCE_AIO_LOGIN)

    /* */ {

    /* 590 */ if (activeChar.isAio())

    /* */ {

    /* 592 */ Announcements.getInstance().announceToAll("Aio: " + activeChar.getName() + " has been logged.");

    /* */ }

    /* */ }

    /* */

    /* 596 */ if (Config.ANNOUNCE_VIP_LOGIN)

    /* */ {

    /* 598 */ if (activeChar.isVip())

    /* */ {

    /* 600 */ Announcements.getInstance().announceToAll("Vip: " + activeChar.getName() + " has been logged.");

    /* */ }

    /* */ }

    /* */

    /* 604 */ if (Config.ANNOUNCE_GM_LOGIN)

    /* */ {

    /* 606 */ if (activeChar.isGM())

    /* */ {

    /* 608 */ Announcements.getInstance().announceToAll("The Admin/GM " + activeChar.getName() + " Has Logged in");

    /* */ }

    /* */ }

    /* */

    /* 612 */ if (Config.PC_BANG_ENABLED)

    /* */ {

    /* 614 */ if (activeChar.getPcBangPoints() > 0)

    /* */ {

    /* 616 */ activeChar.sendPacket(new ExPCCafePointInfo(activeChar.getPcBangPoints(), 0, false, false, 1));

    /* */ }

    /* */ else

    /* */ {

    /* 620 */ activeChar.sendPacket(new ExPCCafePointInfo());

    /* */ }

    /* */ }

    /* */

    /* 624 */ if (Config.AUTO_RESTART_ENABLE)

    /* */ {

    /* 626 */ CreatureSay msg3 = new CreatureSay(2, 20, "[iNFOR]", "Next Restart at " + GameServerRestart.getInstance().getRestartNextTime() + " hs.");

    /* 627 */ activeChar.sendPacket(msg3);

    /* */ }

    /* */

    /* 630 */ activeChar.sendPacket(SystemMessageId.WELCOME_TO_LINEAGE);

    /* */

    /* 632 */ activeChar.sendMessage("");

    /* */

    /* 634 */ if (Config.ENABLE_ANTI_OVER_ENCHANT)

    /* */ {

    /* 636 */ for (L2ItemInstance i : activeChar.getInventory().getItems())

    /* */ {

    /* 638 */ if (activeChar.isGM())

    /* */ continue;

    /* 640 */ if (!i.isEquipable())

    /* */ continue;

    /* 642 */ if ((i.getEnchantLevel() <= Config.ENCHANT_MAX_WEAPON) && (i.getEnchantLevel() <= Config.ENCHANT_MAX_ARMOR) && (i.getEnchantLevel() <= Config.ENCHANT_MAX_JEWELRY)) {

    /* */ continue;

    /* */ }

    /* 645 */ activeChar.getInventory().destroyItem(null, i, activeChar, null);

    /* */

    /* 647 */ activeChar.sendMessage("[server]:You have Items over enchanted you will be kikked!");

    /* */

    /* 649 */ activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 1200);

    /* */

    /* 651 */ Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " have item Overenchanted ", Config.DEFAULT_PUNISH);

    /* */

    /* 653 */ _log.info("#### WARNING ####");

    /* 654 */ _log.info(i + " item has been removed from player.");

    /* */ }

    /* */

    /* */ }

    /* */

    /* 661 */ SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);

    /* 662 */ Announcements.getInstance().showAnnouncements(activeChar);

    /* */

    /* 664 */ if (showClanNotice)

    /* */ {

    /* 666 */ NpcHtmlMessage notice = new NpcHtmlMessage(1);

    /* 667 */ notice.setFile(activeChar.getHtmlPrefix(), "data/html/clanNotice.htm");

    /* 668 */ notice.replace("%clan_name%", activeChar.getClan().getName());

    /* 669 */ notice.replace("%notice_text%", activeChar.getClan().getNotice());

    /* 670 */ notice.disableValidation();

    /* 671 */ sendPacket(notice);

    /* */ }

    /* 673 */ else if (Config.SERVER_NEWS)

    /* */ {

    /* 675 */ String serverNews = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/servnews.htm");

    /* 676 */ if (serverNews != null)

    /* */ {

    /* 678 */ sendPacket(new NpcHtmlMessage(1, serverNews));

    /* */ }

    /* */ }

    /* */

    /* 682 */ if (Config.CUSTOM_WELCOME_PM)

    /* */ {

    /* 684 */ if (Config.SHOW_PM1)

    /* */ {

    /* 686 */ CreatureSay na = new CreatureSay(0, 2, Config.PM_FROM, Config.PMTEXT1);

    /* 687 */ activeChar.sendPacket(na);

    /* */ }

    /* 689 */ if (Config.SHOW_PM2)

    /* */ {

    /* 691 */ CreatureSay nb = new CreatureSay(0, 2, Config.PM_FROM, Config.PMTEXT2);

    /* 692 */ activeChar.sendPacket(nb);

    /* */ }

    /* 694 */ if (Config.SHOW_PM3)

    /* */ {

    /* 696 */ CreatureSay nc = new CreatureSay(0, 2, Config.PM_FROM, Config.PMTEXT3);

    /* 697 */ activeChar.sendPacket(nc);

    /* */ }

    /* */ }

    /* */

    /* 701 */ if (Config.PETITIONING_ALLOWED)

    /* */ {

    /* 703 */ PetitionManager.getInstance().checkPetitionMessages(activeChar);

    /* */ }

    /* */

    /* 706 */ if (activeChar.isAlikeDead())

    /* */ {

    /* 709 */ sendPacket(new Die(activeChar));

    /* */ }

    /* */

    /* 712 */ activeChar.onPlayerEnter();

    /* */

    /* 714 */ sendPacket(new SkillCoolTime(activeChar));

    /* 715 */ sendPacket(new ExVoteSystemInfo(activeChar));

    /* 716 */ sendPacket(new ExNevitAdventEffect(0));

    /* 717 */ sendPacket(new ExNevitAdventPointInfoPacket(activeChar));

    /* 718 */ sendPacket(new ExNevitAdventTimeChange(activeChar.getAdventTime(), false));

    /* */

    /* 720 */ for (L2ItemInstance i : activeChar.getInventory().getItems())

    /* */ {

    /* 722 */ if (i.isTimeLimitedItem())

    /* */ {

    /* 724 */ i.scheduleLifeTimeTask();

    /* */ }

    /* 726 */ if ((!i.isShadowItem()) || (!i.isEquipped()))

    /* */ continue;

    /* 728 */ i.decreaseMana(false);

    /* */ }

    /* */

    /* 732 */ for (L2ItemInstance i : activeChar.getWarehouse().getItems())

    /* */ {

    /* 734 */ if (!i.isTimeLimitedItem())

    /* */ continue;

    /* 736 */ i.scheduleLifeTimeTask();

    /* */ }

    /* */

    /* 740 */ if (DimensionalRiftManager.getInstance().checkIfInRiftZone(activeChar.getX(), activeChar.getY(), activeChar.getZ(), false))

    /* */ {

    /* 742 */ DimensionalRiftManager.getInstance().teleportToWaitingRoom(activeChar);

    /* */ }

    /* */

    /* 745 */ if (activeChar.getClanJoinExpiryTime() > System.currentTimeMillis())

    /* */ {

    /* 747 */ activeChar.sendPacket(SystemMessageId.CLAN_MEMBERSHIP_TERMINATED);

    /* */ }

    /* */

    /* 751 */ if (activeChar.getInventory().getItemByItemId(9819) != null)

    /* */ {

    /* 753 */ Fort fort = FortManager.getInstance().getFort(activeChar);

    /* */

    /* 755 */ if (fort != null)

    /* */ {

    /* 757 */ FortSiegeManager.getInstance().dropCombatFlag(activeChar, fort.getFortId());

    /* */ }

    /* */ else

    /* */ {

    /* 761 */ int slot = activeChar.getInventory().getSlotFromItem(activeChar.getInventory().getItemByItemId(9819));

    /* 762 */ activeChar.getInventory().unEquipItemInBodySlot(slot);

    /* 763 */ activeChar.destroyItem("CombatFlag", activeChar.getInventory().getItemByItemId(9819), null, true);

    /* */ }

    /* */

    /* */ }

    /* */

    /* 769 */ if ((!activeChar.canOverrideCond(PcCondOverride.ZONE_CONDITIONS)) && (activeChar.isInsideZone(ZoneId.SIEGE)) && ((!activeChar.isInSiege()) || (activeChar.getSiegeState() < 2)))

    /* */ {

    /* 771 */ activeChar.teleToLocation(MapRegionManager.TeleportWhereType.Town);

    /* */ }

    /* */

    /* 774 */ if (Config.ALLOW_MAIL)

    /* */ {

    /* 776 */ if (MailManager.getInstance().hasUnreadPost(activeChar))

    /* */ {

    /* 778 */ sendPacket(ExNoticePostArrived.valueOf(false));

    /* */ }

    /* */ }

    /* */

    /* 782 */ RegionBBSManager.getInstance().changeCommunityBoard();

    /* 783 */ CommunityServerThread.getInstance().sendPacket(new WorldInfo(activeChar, null, WorldInfo.TYPE_UPDATE_PLAYER_STATUS));

    /* */

    /* 785 */ TvTEvent.onLogin(activeChar);

    /* */

    /* 787 */ if (Config.WELCOME_MESSAGE_ENABLED)

    /* */ {

    /* 789 */ activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT, Config.WELCOME_MESSAGE_TIME));

    /* */ }

    /* */

    /* 792 */ L2ClassMasterInstance.showQuestionMark(activeChar);

    /* */

    /* 794 */ int birthday = activeChar.checkBirthDay();

    /* 795 */ if (birthday == 0)

    /* */ {

    /* 797 */ activeChar.sendPacket(SystemMessageId.YOUR_BIRTHDAY_GIFT_HAS_ARRIVED);

    /* */ }

    /* 800 */ else if (birthday != -1)

    /* */ {

    /* 802 */ sm = SystemMessage.getSystemMessage(SystemMessageId.THERE_ARE_S1_DAYS_UNTIL_YOUR_CHARACTERS_BIRTHDAY);

    /* 803 */ sm.addString(Integer.toString(birthday));

    /* 804 */ activeChar.sendPacket(sm);

    /* */ }

    /* */

    /* 807 */ if (!activeChar.getPremiumItemList().isEmpty())

    /* */ {

    /* 809 */ activeChar.sendPacket(ExNotifyPremiumItem.STATIC_PACKET);

    /* */ }

    /* */

    /* 812 */ if (Config.AUTO_ACTIVATE_SHOTS)

    /* */ {

    /* 814 */ verifyAndLoadShots(activeChar);

    /* */ }

    /* */

    /* 817 */ for (PlayerSpawnListener listener : listeners)

    /* */ {

    /* 819 */ listener.onSpawn(activeChar);

    /* */ }

    /* */ }

    /* */

    /* */ private void onEnterAio(L2PcInstance activeChar)

    /* */ {

    /* 828 */ long now = Calendar.getInstance().getTimeInMillis();

    /* 829 */ long endDay = activeChar.getAioEndTime();

    /* 830 */ if (now > endDay)

    /* */ {

    /* 832 */ activeChar.setAio(false);

    /* 833 */ activeChar.setAioEndTime(0L);

    /* 834 */ activeChar.lostAioSkills();

    /* 835 */ activeChar.removeExpAndSp(6299994999L, 366666666);

    /* 836 */ if (Config.ALLOW_AIO_ITEM)

    /* */ {

    /* 838 */ activeChar.getInventory().destroyItemByItemId("", Config.AIO_ITEMID, 1L, activeChar, null);

    /* 839 */ activeChar.getWarehouse().destroyItemByItemId("", Config.AIO_ITEMID, 1L, activeChar, null);

    /* */ }

    /* 841 */ activeChar.sendPacket(new CreatureSay(0, 17, "Server Infor", "Your AIO period ends."));

    /* */ }

    /* */ else

    /* */ {

    /* 845 */ Date dt = new Date(endDay);

    /* 846 */ _daysleft = ((endDay - now) / 86400000L);

    /* 847 */ if (_daysleft > 30L) {

    /* 848 */ activeChar.sendMessage("AIO period ends in " + df.format(dt) + ".");

    /* 849 */ } else if (_daysleft > 0L) {

    /* 850 */ activeChar.sendMessage("Left " + (int)_daysleft + " days for AIO period ends");

    /* 851 */ } else if (_daysleft < 1L)

    /* */ {

    /* 853 */ long hour = (endDay - now) / 3600000L;

    /* 854 */ activeChar.sendMessage("Left " + (int)hour + " hours to AIO period ends");

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void onEnterVip(L2PcInstance activeChar)

    /* */ {

    /* 861 */ long now = Calendar.getInstance().getTimeInMillis();

    /* 862 */ long endDay = activeChar.getVipEndTime();

    /* 863 */ if (now > endDay)

    /* */ {

    /* 865 */ activeChar.setVip(false);

    /* 866 */ activeChar.setVipEndTime(0L);

    /* 867 */ activeChar.sendMessage("Removed your Vip stats... period ends ");

    /* */ }

    /* */ else

    /* */ {

    /* 871 */ Date dt = new Date(endDay);

    /* 872 */ _daysleft = ((endDay - now) / 86400000L);

    /* 873 */ if (_daysleft > 30L) {

    /* 874 */ activeChar.sendMessage("Vip period ends in " + df.format(dt) + ". enjoy the Game");

    /* 875 */ } else if (_daysleft > 0L) {

    /* 876 */ activeChar.sendMessage("left " + (int)_daysleft + " days for Vip period ends");

    /* 877 */ } else if (_daysleft < 1L)

    /* */ {

    /* 879 */ long hour = (endDay - now) / 3600000L;

    /* 880 */ activeChar.sendMessage("left " + (int)hour + " hours to Vip period ends");

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void engage(L2PcInstance cha)

    /* */ {

    /* 887 */ int _chaid = cha.getObjectId();

    /* */

    /* 889 */ for (Couple cl : CoupleManager.getInstance().getCouples())

    /* */ {

    /* 891 */ if ((cl.getPlayer1Id() == _chaid) || (cl.getPlayer2Id() == _chaid))

    /* */ {

    /* 893 */ if (cl.getMaried())

    /* */ {

    /* 895 */ cha.setMarried(true);

    /* */ }

    /* */

    /* 898 */ cha.setCoupleId(cl.getId());

    /* */

    /* 900 */ if (cl.getPlayer1Id() == _chaid)

    /* */ {

    /* 902 */ cha.setPartnerId(cl.getPlayer2Id());

    /* */ }

    /* */ else

    /* */ {

    /* 906 */ cha.setPartnerId(cl.getPlayer1Id());

    /* */ }

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void notifyPartner(L2PcInstance cha, int partnerId)

    /* */ {

    /* 918 */ if (cha.getPartnerId() != 0)

    /* */ {

    /* 920 */ int objId = cha.getPartnerId();

    /* */ try

    /* */ {

    /* 924 */ L2PcInstance partner = L2World.getInstance().getPlayer(objId);

    /* */

    /* 926 */ if (partner != null)

    /* */ {

    /* 928 */ partner.sendMessage("Your Partner has logged in.");

    /* */ }

    /* */

    /* 931 */ partner = null;

    /* */ }

    /* */ catch (ClassCastException cce)

    /* */ {

    /* 935 */ _log.warning("Wedding Error: ID " + objId + " is now owned by a(n) " + L2World.getInstance().findObject(objId).getClass().getSimpleName());

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void notifyClanMembers(L2PcInstance activeChar)

    /* */ {

    /* 945 */ L2Clan clan = activeChar.getClan();

    /* */

    /* 948 */ if (clan != null)

    /* */ {

    /* 950 */ clan.getClanMember(activeChar.getObjectId()).setPlayerInstance(activeChar);

    /* 951 */ SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.CLAN_MEMBER_S1_LOGGED_IN);

    /* 952 */ msg.addString(activeChar.getName());

    /* 953 */ clan.broadcastToOtherOnlineMembers(msg, activeChar);

    /* 954 */ msg = null;

    /* 955 */ clan.broadcastToOtherOnlineMembers(new PledgeShowMemberListUpdate(activeChar), activeChar);

    /* */ }

    /* */ }

    /* */

    /* */ private void notifySponsorOrApprentice(L2PcInstance activeChar)

    /* */ {

    /* 964 */ if (activeChar.getSponsor() != 0)

    /* */ {

    /* 966 */ L2PcInstance sponsor = L2World.getInstance().getPlayer(activeChar.getSponsor());

    /* */

    /* 968 */ if (sponsor != null)

    /* */ {

    /* 970 */ SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.YOUR_APPRENTICE_S1_HAS_LOGGED_IN);

    /* 971 */ msg.addString(activeChar.getName());

    /* 972 */ sponsor.sendPacket(msg);

    /* */ }

    /* */ }

    /* 975 */ else if (activeChar.getApprentice() != 0)

    /* */ {

    /* 977 */ L2PcInstance apprentice = L2World.getInstance().getPlayer(activeChar.getApprentice());

    /* */

    /* 979 */ if (apprentice != null)

    /* */ {

    /* 981 */ SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.YOUR_SPONSOR_C1_HAS_LOGGED_IN);

    /* 982 */ msg.addString(activeChar.getName());

    /* 983 */ apprentice.sendPacket(msg);

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ private void loadTutorial(L2PcInstance player)

    /* */ {

    /* 990 */ QuestState qs = player.getQuestState("255_Tutorial");

    /* */

    /* 992 */ if (qs != null)

    /* */ {

    /* 994 */ qs.getQuest().notifyEvent("UC", null, player);

    /* */ }

    /* */ }

    /* */

    /* */ private void verifyAndLoadShots(L2PcInstance activeChar)

    /* */ {

    /* 1004 */ int soulId = -1;

    /* 1005 */ int spiritId = -1;

    /* 1006 */ int bspiritId = -1;

    /* */

    /* 1008 */ if ((!activeChar.isDead()) && (activeChar.getActiveWeaponItem() != null))

    /* */ {

    /* 1010 */ switch (activeChar.getActiveWeaponItem().getCrystalType())

    /* */ {

    /* */ case 0:

    /* 1013 */ soulId = 1835;

    /* 1014 */ spiritId = 2509;

    /* 1015 */ bspiritId = 3947;

    /* 1016 */ break;

    /* */ case 1:

    /* 1018 */ soulId = 1463;

    /* 1019 */ spiritId = 2510;

    /* 1020 */ bspiritId = 3948;

    /* 1021 */ break;

    /* */ case 2:

    /* 1023 */ soulId = 1464;

    /* 1024 */ spiritId = 2511;

    /* 1025 */ bspiritId = 3949;

    /* 1026 */ break;

    /* */ case 3:

    /* 1028 */ soulId = 1465;

    /* 1029 */ spiritId = 2512;

    /* 1030 */ bspiritId = 3950;

    /* 1031 */ break;

    /* */ case 4:

    /* 1033 */ soulId = 1466;

    /* 1034 */ spiritId = 2513;

    /* 1035 */ bspiritId = 3951;

    /* 1036 */ break;

    /* */ case 5:

    /* */ case 6:

    /* */ case 7:

    /* 1040 */ soulId = 1467;

    /* 1041 */ spiritId = 2514;

    /* 1042 */ bspiritId = 3952;

    /* */ }

    /* */

    /* 1046 */ if ((soulId > -1) && (activeChar.getInventory().getInventoryItemCount(soulId, -1) > Config.AUTO_ACTIVATE_SHOTS_MIN))

    /* */ {

    /* 1048 */ activeChar.addAutoSoulShot(soulId);

    /* 1049 */ activeChar.sendPacket(new ExAutoSoulShot(soulId, 1));

    /* */

    /* 1051 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);

    /* 1052 */ sm.addItemName(activeChar.getInventory().getItemByItemId(soulId));

    /* 1053 */ activeChar.sendPacket(sm);

    /* */ }

    /* */

    /* 1056 */ if ((bspiritId > -1) && (activeChar.getInventory().getInventoryItemCount(bspiritId, -1) > Config.AUTO_ACTIVATE_SHOTS_MIN))

    /* */ {

    /* 1058 */ activeChar.addAutoSoulShot(bspiritId);

    /* 1059 */ activeChar.sendPacket(new ExAutoSoulShot(bspiritId, 1));

    /* */

    /* 1061 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);

    /* 1062 */ sm.addItemName(activeChar.getInventory().getItemByItemId(bspiritId));

    /* 1063 */ activeChar.sendPacket(sm);

    /* */ }

    /* 1065 */ else if ((spiritId > -1) && (activeChar.getInventory().getInventoryItemCount(spiritId, -1) > Config.AUTO_ACTIVATE_SHOTS_MIN))

    /* */ {

    /* 1067 */ activeChar.addAutoSoulShot(spiritId);

    /* 1068 */ activeChar.sendPacket(new ExAutoSoulShot(spiritId, 1));

    /* */

    /* 1070 */ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.USE_OF_S1_WILL_BE_AUTO);

    /* 1071 */ sm.addItemName(activeChar.getInventory().getItemByItemId(spiritId));

    /* 1072 */ activeChar.sendPacket(sm);

    /* */ }

    /* */ }

    /* */ }

    /* */

    /* */ public String getType()

    /* */ {

    /* 1080 */ return "[C] 11 EnterWorld";

    /* */ }

    /* */

    /* */ protected boolean triggersOnActionRequest()

    /* */ {

    /* 1086 */ return false;

    /* */ }

    /* */

    /* */ public static void addSpawnListener(PlayerSpawnListener listener)

    /* */ {

    /* 1096 */ if (!listeners.contains(listener))

    /* */ {

    /* 1098 */ listeners.add(listener);

    /* */ }

    /* */ }

    /* */

    /* */ public static void removeSpawnListener(PlayerSpawnListener listener)

    /* */ {

    /* 1108 */ listeners.remove(listener);

    /* */ }

    /* */

    /* */ private void PremiumServiceIcon(L2PcInstance activeChar)

    /* */ {

    /* 1114 */ if (activeChar.getPremiumService() == 1)

    /* */ {

    /* 1116 */ activeChar.sendPacket(new PremiumState(activeChar.getObjectId(), 1));

    /* 1117 */ activeChar.sendMessage("Premium account: now active");

    /* */ }

    /* */ }

    /* */

    /* */ private void notifyCastleOwner(L2PcInstance activeChar)

    /* */ {

    /* 1123 */ L2Clan clan = activeChar.getClan();

    /* */

    /* 1125 */ if (clan != null)

    /* */ {

    /* 1127 */ if (clan.getCastleId() > 0)

    /* */ {

    /* 1129 */ Castle castle = CastleManager.getInstance().getCastleById(clan.getCastleId());

    /* 1130 */ if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))

    /* */ {

    /* 1132 */ Broadcast.toAllOnlinePlayers(new CreatureSay(1, 20, "Castle System", "Lord " + activeChar.getName() + " Ruler Of " + castle.getName() + " Castle is Now Online!"));

    /* */ }

    /* */ }

    /* */ }

    /* */ }

    /* */ }

     

    /

     

     

    выручайте советом что не так с кодом или с головой?)


  7. По факту это жопа а не декомпил, и название класса не соответствует обьявленному в самом классе enterworld.java и public class EnterWorld это совершенно рзные вещи

     

    спасибо!декомпилю теперь fernflowerom и чуствую разницу))

    теперь буду разбераться в других ошибках!


  8. Помогите советом пожжж..) декомпилил интерворлд исправил,компилю назад дает 40 ошибок разобрался еле как пол дня сидел!!Теперь дает одну ошибку

     

    D:\>D:\jdk1.7.0_60\bin\javac -classpath d:\compile\lib\javolution.jar;d:\compile

    \123.jar -Xlint:unchecked d:\compile\enterworld.java

    d:\compile\enterworld.java:44: error: cannot access ReceivablePacket

    public class EnterWorld extends L2GameClientPacket

    ^

    class file for org.mmocore.network.ReceivablePacket not found

    1 error

     

    и сам код:

     

    // Decompiled by DJ v3.12.12.96 Copyright 2011 Atanas Neshkov Date: 01.06.2014 12:49:53

    // Home Page: http://members.fortunecity.com/neshkov/dj.html http://www.neshkov.com/dj.html - Check often for new version!

    // Decompiler options: packimports(3) disassembler

    // Source File Name: EnterWorld.java

     

    package com.icpnetworks.gameserver.network.clientpackets;

     

    import com.icpnetworks.Config;

    import com.icpnetworks.gameserver.*;

    import com.icpnetworks.gameserver.cache.HtmCache;

    import com.icpnetworks.gameserver.communitybbs.Managers.RegionBBSManager;

    import com.icpnetworks.gameserver.datatables.*;

    import com.icpnetworks.gameserver.instancemanager.*;

    import com.icpnetworks.gameserver.instancemanager.rank_system.rankpvpsystem.*;

    import com.icpnetworks.gameserver.model.*;

    import com.icpnetworks.gameserver.model.actor.appearance.PcAppearance;

    import com.icpnetworks.gameserver.model.actor.instance.L2ClassMasterInstance;

    import com.icpnetworks.gameserver.model.actor.instance.L2PcInstance;

    import com.icpnetworks.gameserver.model.entity.*;

    import com.icpnetworks.gameserver.model.entity.clanhall.AuctionableHall;

    import com.icpnetworks.gameserver.model.entity.clanhall.SiegableHall;

    import com.icpnetworks.gameserver.model.itemcontainer.PcInventory;

    import com.icpnetworks.gameserver.model.itemcontainer.PcWarehouse;

    import com.icpnetworks.gameserver.model.items.instance.L2ItemInstance;

    import com.icpnetworks.gameserver.model.quest.Quest;

    import com.icpnetworks.gameserver.model.quest.QuestState;

    import com.icpnetworks.gameserver.model.zone.ZoneId;

    import com.icpnetworks.gameserver.network.L2GameClient;

    import com.icpnetworks.gameserver.network.SystemMessageId;

    import com.icpnetworks.gameserver.network.communityserver.CommunityServerThread;

    import com.icpnetworks.gameserver.network.communityserver.writepackets.WorldInfo;

    import com.icpnetworks.gameserver.network.serverpackets.*;

    import com.icpnetworks.gameserver.scripting.scriptengine.listeners.player.PlayerSpawnListener;

    import com.icpnetworks.gameserver.util.Broadcast;

    import java.util.*;

    import java.util.logging.Logger;

    import javolution.util.FastList;

    import javolution.util.FastMap;

     

     

    // Referenced classes of package com.icpnetworks.gameserver.network.clientpackets:

    // L2GameClientPacket

     

    public class EnterWorld extends L2GameClientPacket

    {

     

    public EnterWorld()

    {

    // 0 0:aload_0

    // 1 1:invokespecial #1 <Method void L2GameClientPacket()>

    // 2 4:aload_0

    // 3 5:iconst_5

    // 4 6:iconst_4

    // 5 7:multianewarray int[][]

    // 6 11:putfield #3 <Field int[][] tracert>

    // 7 14:return

    }

     

    public TaskPriority getPriority()

    {

    // 0 0:getstatic #4 <Field TaskPriority TaskPriority.PR_URGENT>

    // 1 3:areturn

    }

     

    protected void readImpl()

    {

    // 0 0:aload_0

    // 1 1:bipush 32

    // 2 3:newarray byte[]

    // 3 5:invokevirtual #5 <Method void readB(byte[])>

    // 4 8:aload_0

    // 5 9:invokevirtual #6 <Method int readD()>

    // 6 12:pop

    // 7 13:aload_0

    // 8 14:invokevirtual #6 <Method int readD()>

    // 9 17:pop

    // 10 18:aload_0

    // 11 19:invokevirtual #6 <Method int readD()>

    // 12 22:pop

    // 13 23:aload_0

    // 14 24:invokevirtual #6 <Method int readD()>

    // 15 27:pop

    // 16 28:aload_0

    // 17 29:bipush 32

    // 18 31:newarray byte[]

    // 19 33:invokevirtual #5 <Method void readB(byte[])>

    // 20 36:aload_0

    // 21 37:invokevirtual #6 <Method int readD()>

    // 22 40:pop

    // 23 41:iconst_0

    // 24 42:istore_1

    // 25 43:iload_1

    // 26 44:iconst_5

    // 27 45:icmpge 79

    // 28 48:iconst_0

    // 29 49:istore_2

    // 30 50:iload_2

    // 31 51:iconst_4

    // 32 52:icmpge 73

    // 33 55:aload_0

    // 34 56:getfield #3 <Field int[][] tracert>

    // 35 59:iload_1

    // 36 60:aaload

    // 37 61:iload_2

    // 38 62:aload_0

    // 39 63:invokevirtual #7 <Method int readC()>

    // 40 66:iastore

    // 41 67:iinc 2 1

    // 42 70:goto 50

    // 43 73:iinc 1 1

    // 44 76:goto 43

    // 45 79:return

    }

     

    protected void runImpl()

    {

    // 0 0:aload_0

    // 1 1:invokevirtual #8 <Method org.mmocore.network.MMOClient getClient()>

    // 2 4:checkcast #9 <Class L2GameClient>

    // 3 7:invokevirtual #10 <Method L2PcInstance L2GameClient.getActiveChar()>

    // 4 10:astore_1

    // 5 11:aload_1

    // 6 12:ifnonnull 34

    // 7 15:getstatic #11 <Field Logger _log>

    // 8 18:ldc1 #12 <String "EnterWorld failed! activeChar returned 'null'.">

    // 9 20:invokevirtual #13 <Method void Logger.warning(String)>

    // 10 23:aload_0

    // 11 24:invokevirtual #8 <Method org.mmocore.network.MMOClient getClient()>

    // 12 27:checkcast #9 <Class L2GameClient>

    // 13 30:invokevirtual #14 <Method void L2GameClient.closeNow()>

    // 14 33:return

    // 15 34:iconst_5

    // 16 35:anewarray String[]

    // 17 38:astore_2

    // 18 39:iconst_0

    // 19 40:istore_3

    // 20 41:iload_3

    // 21 42:iconst_5

    // 22 43:icmpge 124

    // 23 46:aload_2

    // 24 47:iload_3

    // 25 48:new #16 <Class StringBuilder>

    // 26 51:dup

    // 27 52:invokespecial #17 <Method void StringBuilder()>

    // 28 55:aload_0

    // 29 56:getfield #3 <Field int[][] tracert>

    // 30 59:iload_3

    // 31 60:aaload

    // 32 61:iconst_0

    // 33 62:iaload

    // 34 63:invokevirtual #18 <Method StringBuilder StringBuilder.append(int)>

    // 35 66:ldc1 #19 <String ".">

    // 36 68:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 37 71:aload_0

    // 38 72:getfield #3 <Field int[][] tracert>

    // 39 75:iload_3

    // 40 76:aaload

    // 41 77:iconst_1

    // 42 78:iaload

    // 43 79:invokevirtual #18 <Method StringBuilder StringBuilder.append(int)>

    // 44 82:ldc1 #19 <String ".">

    // 45 84:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 46 87:aload_0

    // 47 88:getfield #3 <Field int[][] tracert>

    // 48 91:iload_3

    // 49 92:aaload

    // 50 93:iconst_2

    // 51 94:iaload

    // 52 95:invokevirtual #18 <Method StringBuilder StringBuilder.append(int)>

    // 53 98:ldc1 #19 <String ".">

    // 54 100:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 55 103:aload_0

    // 56 104:getfield #3 <Field int[][] tracert>

    // 57 107:iload_3

    // 58 108:aaload

    // 59 109:iconst_3

    // 60 110:iaload

    // 61 111:invokevirtual #18 <Method StringBuilder StringBuilder.append(int)>

    // 62 114:invokevirtual #21 <Method String StringBuilder.toString()>

    // 63 117:aastore

    // 64 118:iinc 3 1

    // 65 121:goto 41

    // 66 124:invokestatic #22 <Method LoginServerThread LoginServerThread.getInstance()>

    // 67 127:aload_1

    // 68 128:invokevirtual #23 <Method String L2PcInstance.getAccountName()>

    // 69 131:aload_2

    // 70 132:invokevirtual #24 <Method void LoginServerThread.sendClientTracert(String, String[])>

    // 71 135:aload_0

    // 72 136:invokevirtual #8 <Method org.mmocore.network.MMOClient getClient()>

    // 73 139:checkcast #9 <Class L2GameClient>

    // 74 142:aload_0

    // 75 143:getfield #3 <Field int[][] tracert>

    // 76 146:invokevirtual #25 <Method void L2GameClient.setClientTracert(int[][])>

    // 77 149:getstatic #26 <Field boolean Config.RESTORE_PLAYER_INSTANCE>

    // 78 152:ifeq 172

    // 79 155:aload_1

    // 80 156:invokestatic #27 <Method InstanceManager InstanceManager.getInstance()>

    // 81 159:aload_1

    // 82 160:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 83 163:invokevirtual #29 <Method int InstanceManager.getPlayerInstance(int)>

    // 84 166:invokevirtual #30 <Method void L2PcInstance.setInstanceId(int)>

    // 85 169:goto 204

    // 86 172:invokestatic #27 <Method InstanceManager InstanceManager.getInstance()>

    // 87 175:aload_1

    // 88 176:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 89 179:invokevirtual #29 <Method int InstanceManager.getPlayerInstance(int)>

    // 90 182:istore_3

    // 91 183:iload_3

    // 92 184:ifle 204

    // 93 187:invokestatic #27 <Method InstanceManager InstanceManager.getInstance()>

    // 94 190:iload_3

    // 95 191:invokevirtual #31 <Method Instance InstanceManager.getInstance(int)>

    // 96 194:aload_1

    // 97 195:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 98 198:invokestatic #32 <Method Integer Integer.valueOf(int)>

    // 99 201:invokevirtual #33 <Method void Instance.removePlayer(Integer)>

    // 100 204:invokestatic #34 <Method L2World L2World.getInstance()>

    // 101 207:aload_1

    // 102 208:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 103 211:invokevirtual #35 <Method L2Object L2World.findObject(int)>

    // 104 214:ifnull 256

    // 105 217:getstatic #36 <Field boolean Config.DEBUG>

    // 106 220:ifeq 256

    // 107 223:getstatic #11 <Field Logger _log>

    // 108 226:new #16 <Class StringBuilder>

    // 109 229:dup

    // 110 230:invokespecial #17 <Method void StringBuilder()>

    // 111 233:ldc1 #37 <String "User already exists in Object ID map! User ">

    // 112 235:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 113 238:aload_1

    // 114 239:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 115 242:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 116 245:ldc1 #39 <String " is a character clone.">

    // 117 247:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 118 250:invokevirtual #21 <Method String StringBuilder.toString()>

    // 119 253:invokevirtual #13 <Method void Logger.warning(String)>

    // 120 256:aload_1

    // 121 257:invokevirtual #40 <Method int L2PcInstance.getPremiumService()>

    // 122 260:iconst_1

    // 123 261:icmpne 283

    // 124 264:aload_1

    // 125 265:new #41 <Class ExBrPremiumState>

    // 126 268:dup

    // 127 269:aload_1

    // 128 270:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 129 273:iconst_1

    // 130 274:invokespecial #42 <Method void ExBrPremiumState(int, int)>

    // 131 277:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 132 280:goto 299

    // 133 283:aload_1

    // 134 284:new #41 <Class ExBrPremiumState>

    // 135 287:dup

    // 136 288:aload_1

    // 137 289:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 138 292:iconst_0

    // 139 293:invokespecial #42 <Method void ExBrPremiumState(int, int)>

    // 140 296:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 141 299:aload_1

    // 142 300:invokevirtual #44 <Method boolean L2PcInstance.isGM()>

    // 143 303:ifeq 484

    // 144 306:getstatic #45 <Field boolean Config.GM_STARTUP_INVULNERABLE>

    // 145 309:ifeq 332

    // 146 312:invokestatic #46 <Method AdminTable AdminTable.getInstance()>

    // 147 315:ldc1 #47 <String "admin_invul">

    // 148 317:aload_1

    // 149 318:invokevirtual #48 <Method com.icpnetworks.gameserver.model.L2AccessLevel L2PcInstance.getAccessLevel()>

    // 150 321:invokevirtual #49 <Method boolean AdminTable.hasAccess(String, com.icpnetworks.gameserver.model.L2AccessLevel)>

    // 151 324:ifeq 332

    // 152 327:aload_1

    // 153 328:iconst_1

    // 154 329:invokevirtual #50 <Method void L2PcInstance.setIsInvul(boolean)>

    // 155 332:getstatic #51 <Field boolean Config.GM_STARTUP_INVISIBLE>

    // 156 335:ifeq 360

    // 157 338:invokestatic #46 <Method AdminTable AdminTable.getInstance()>

    // 158 341:ldc1 #52 <String "admin_invisible">

    // 159 343:aload_1

    // 160 344:invokevirtual #48 <Method com.icpnetworks.gameserver.model.L2AccessLevel L2PcInstance.getAccessLevel()>

    // 161 347:invokevirtual #49 <Method boolean AdminTable.hasAccess(String, com.icpnetworks.gameserver.model.L2AccessLevel)>

    // 162 350:ifeq 360

    // 163 353:aload_1

    // 164 354:invokevirtual #53 <Method PcAppearance L2PcInstance.getAppearance()>

    // 165 357:invokevirtual #54 <Method void PcAppearance.setInvisible()>

    // 166 360:getstatic #55 <Field boolean Config.GM_STARTUP_SILENCE>

    // 167 363:ifeq 386

    // 168 366:invokestatic #46 <Method AdminTable AdminTable.getInstance()>

    // 169 369:ldc1 #56 <String "admin_silence">

    // 170 371:aload_1

    // 171 372:invokevirtual #48 <Method com.icpnetworks.gameserver.model.L2AccessLevel L2PcInstance.getAccessLevel()>

    // 172 375:invokevirtual #49 <Method boolean AdminTable.hasAccess(String, com.icpnetworks.gameserver.model.L2AccessLevel)>

    // 173 378:ifeq 386

    // 174 381:aload_1

    // 175 382:iconst_1

    // 176 383:invokevirtual #57 <Method void L2PcInstance.setSilenceMode(boolean)>

    // 177 386:getstatic #58 <Field boolean Config.GM_STARTUP_DIET_MODE>

    // 178 389:ifeq 416

    // 179 392:invokestatic #46 <Method AdminTable AdminTable.getInstance()>

    // 180 395:ldc1 #59 <String "admin_diet">

    // 181 397:aload_1

    // 182 398:invokevirtual #48 <Method com.icpnetworks.gameserver.model.L2AccessLevel L2PcInstance.getAccessLevel()>

    // 183 401:invokevirtual #49 <Method boolean AdminTable.hasAccess(String, com.icpnetworks.gameserver.model.L2AccessLevel)>

    // 184 404:ifeq 416

    // 185 407:aload_1

    // 186 408:iconst_1

    // 187 409:invokevirtual #60 <Method void L2PcInstance.setDietMode(boolean)>

    // 188 412:aload_1

    // 189 413:invokevirtual #61 <Method void L2PcInstance.refreshOverloaded()>

    // 190 416:getstatic #62 <Field boolean Config.GM_STARTUP_AUTO_LIST>

    // 191 419:ifeq 448

    // 192 422:invokestatic #46 <Method AdminTable AdminTable.getInstance()>

    // 193 425:ldc1 #63 <String "admin_gmliston">

    // 194 427:aload_1

    // 195 428:invokevirtual #48 <Method com.icpnetworks.gameserver.model.L2AccessLevel L2PcInstance.getAccessLevel()>

    // 196 431:invokevirtual #49 <Method boolean AdminTable.hasAccess(String, com.icpnetworks.gameserver.model.L2AccessLevel)>

    // 197 434:ifeq 448

    // 198 437:invokestatic #46 <Method AdminTable AdminTable.getInstance()>

    // 199 440:aload_1

    // 200 441:iconst_0

    // 201 442:invokevirtual #64 <Method void AdminTable.addGm(L2PcInstance, boolean)>

    // 202 445:goto 456

    // 203 448:invokestatic #46 <Method AdminTable AdminTable.getInstance()>

    // 204 451:aload_1

    // 205 452:iconst_1

    // 206 453:invokevirtual #64 <Method void AdminTable.addGm(L2PcInstance, boolean)>

    // 207 456:getstatic #65 <Field boolean Config.GM_GIVE_SPECIAL_SKILLS>

    // 208 459:ifeq 470

    // 209 462:invokestatic #66 <Method SkillTreesData SkillTreesData.getInstance()>

    // 210 465:aload_1

    // 211 466:iconst_0

    // 212 467:invokevirtual #67 <Method void SkillTreesData.addSkills(L2PcInstance, boolean)>

    // 213 470:getstatic #68 <Field boolean Config.GM_GIVE_SPECIAL_AURA_SKILLS>

    // 214 473:ifeq 484

    // 215 476:invokestatic #66 <Method SkillTreesData SkillTreesData.getInstance()>

    // 216 479:aload_1

    // 217 480:iconst_1

    // 218 481:invokevirtual #67 <Method void SkillTreesData.addSkills(L2PcInstance, boolean)>

    // 219 484:aload_1

    // 220 485:invokevirtual #69 <Method double L2PcInstance.getCurrentHp()>

    // 221 488:ldc2w #70 <Double 0.5D>

    // 222 491:dcmpg

    // 223 492:ifge 500

    // 224 495:aload_1

    // 225 496:iconst_1

    // 226 497:invokevirtual #72 <Method void L2PcInstance.setIsDead(boolean)>

    // 227 500:iconst_0

    // 228 501:istore_3

    // 229 502:aload_1

    // 230 503:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 231 506:ifnull 956

    // 232 509:aload_1

    // 233 510:new #74 <Class PledgeSkillList>

    // 234 513:dup

    // 235 514:aload_1

    // 236 515:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 237 518:invokespecial #75 <Method void PledgeSkillList(L2Clan)>

    // 238 521:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 239 524:aload_0

    // 240 525:aload_1

    // 241 526:invokespecial #76 <Method void notifyClanMembers(L2PcInstance)>

    // 242 529:aload_0

    // 243 530:aload_1

    // 244 531:invokespecial #77 <Method void notifySponsorOrApprentice(L2PcInstance)>

    // 245 534:invokestatic #78 <Method ClanHallManager ClanHallManager.getInstance()>

    // 246 537:aload_1

    // 247 538:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 248 541:invokevirtual #79 <Method AuctionableHall ClanHallManager.getClanHallByOwner(L2Clan)>

    // 249 544:astore 4

    // 250 546:aload 4

    // 251 548:ifnull 566

    // 252 551:aload 4

    // 253 553:invokevirtual #80 <Method boolean AuctionableHall.getPaid()>

    // 254 556:ifne 566

    // 255 559:aload_1

    // 256 560:getstatic #81 <Field SystemMessageId SystemMessageId.PAYMENT_FOR_YOUR_CLAN_HALL_HAS_NOT_BEEN_MADE_PLEASE_MAKE_PAYMENT_TO_YOUR_CLAN_WAREHOUSE_BY_S1_TOMORROW>

    // 257 563:invokevirtual #82 <Method void L2PcInstance.sendPacket(SystemMessageId)>

    // 258 566:invokestatic #83 <Method SiegeManager SiegeManager.getInstance()>

    // 259 569:invokevirtual #84 <Method List SiegeManager.getSieges()>

    // 260 572:invokeinterface #85 <Method Iterator List.iterator()>

    // 261 577:astore 5

    // 262 579:aload 5

    // 263 581:invokeinterface #86 <Method boolean Iterator.hasNext()>

    // 264 586:ifeq 676

    // 265 589:aload 5

    // 266 591:invokeinterface #87 <Method Object Iterator.next()>

    // 267 596:checkcast #88 <Class Siege>

    // 268 599:astore 6

    // 269 601:aload 6

    // 270 603:invokevirtual #89 <Method boolean Siege.getIsInProgress()>

    // 271 606:ifne 612

    // 272 609:goto 579

    // 273 612:aload 6

    // 274 614:aload_1

    // 275 615:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 276 618:invokevirtual #90 <Method boolean Siege.checkIsAttacker(L2Clan)>

    // 277 621:ifeq 644

    // 278 624:aload_1

    // 279 625:iconst_1

    // 280 626:invokevirtual #91 <Method void L2PcInstance.setSiegeState(byte)>

    // 281 629:aload_1

    // 282 630:aload 6

    // 283 632:invokevirtual #92 <Method Castle Siege.getCastle()>

    // 284 635:invokevirtual #93 <Method int Castle.getCastleId()>

    // 285 638:invokevirtual #94 <Method void L2PcInstance.setSiegeSide(int)>

    // 286 641:goto 673

    // 287 644:aload 6

    // 288 646:aload_1

    // 289 647:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 290 650:invokevirtual #95 <Method boolean Siege.checkIsDefender(L2Clan)>

    // 291 653:ifeq 673

    // 292 656:aload_1

    // 293 657:iconst_2

    // 294 658:invokevirtual #91 <Method void L2PcInstance.setSiegeState(byte)>

    // 295 661:aload_1

    // 296 662:aload 6

    // 297 664:invokevirtual #92 <Method Castle Siege.getCastle()>

    // 298 667:invokevirtual #93 <Method int Castle.getCastleId()>

    // 299 670:invokevirtual #94 <Method void L2PcInstance.setSiegeSide(int)>

    // 300 673:goto 579

    // 301 676:invokestatic #96 <Method FortSiegeManager FortSiegeManager.getInstance()>

    // 302 679:invokevirtual #97 <Method List FortSiegeManager.getSieges()>

    // 303 682:invokeinterface #85 <Method Iterator List.iterator()>

    // 304 687:astore 5

    // 305 689:aload 5

    // 306 691:invokeinterface #86 <Method boolean Iterator.hasNext()>

    // 307 696:ifeq 786

    // 308 699:aload 5

    // 309 701:invokeinterface #87 <Method Object Iterator.next()>

    // 310 706:checkcast #98 <Class FortSiege>

    // 311 709:astore 6

    // 312 711:aload 6

    // 313 713:invokevirtual #99 <Method boolean FortSiege.getIsInProgress()>

    // 314 716:ifne 722

    // 315 719:goto 689

    // 316 722:aload 6

    // 317 724:aload_1

    // 318 725:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 319 728:invokevirtual #100 <Method boolean FortSiege.checkIsAttacker(L2Clan)>

    // 320 731:ifeq 754

    // 321 734:aload_1

    // 322 735:iconst_1

    // 323 736:invokevirtual #91 <Method void L2PcInstance.setSiegeState(byte)>

    // 324 739:aload_1

    // 325 740:aload 6

    // 326 742:invokevirtual #101 <Method Fort FortSiege.getFort()>

    // 327 745:invokevirtual #102 <Method int Fort.getFortId()>

    // 328 748:invokevirtual #94 <Method void L2PcInstance.setSiegeSide(int)>

    // 329 751:goto 783

    // 330 754:aload 6

    // 331 756:aload_1

    // 332 757:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 333 760:invokevirtual #103 <Method boolean FortSiege.checkIsDefender(L2Clan)>

    // 334 763:ifeq 783

    // 335 766:aload_1

    // 336 767:iconst_2

    // 337 768:invokevirtual #91 <Method void L2PcInstance.setSiegeState(byte)>

    // 338 771:aload_1

    // 339 772:aload 6

    // 340 774:invokevirtual #101 <Method Fort FortSiege.getFort()>

    // 341 777:invokevirtual #102 <Method int Fort.getFortId()>

    // 342 780:invokevirtual #94 <Method void L2PcInstance.setSiegeSide(int)>

    // 343 783:goto 689

    // 344 786:invokestatic #104 <Method CHSiegeManager CHSiegeManager.getInstance()>

    // 345 789:invokevirtual #105 <Method FastMap CHSiegeManager.getConquerableHalls()>

    // 346 792:invokevirtual #106 <Method Collection FastMap.values()>

    // 347 795:invokeinterface #107 <Method Iterator Collection.iterator()>

    // 348 800:astore 5

    // 349 802:aload 5

    // 350 804:invokeinterface #86 <Method boolean Iterator.hasNext()>

    // 351 809:ifeq 869

    // 352 812:aload 5

    // 353 814:invokeinterface #87 <Method Object Iterator.next()>

    // 354 819:checkcast #108 <Class SiegableHall>

    // 355 822:astore 6

    // 356 824:aload 6

    // 357 826:invokevirtual #109 <Method boolean SiegableHall.isInSiege()>

    // 358 829:ifne 835

    // 359 832:goto 802

    // 360 835:aload 6

    // 361 837:aload_1

    // 362 838:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 363 841:invokevirtual #110 <Method boolean SiegableHall.isRegistered(L2Clan)>

    // 364 844:ifeq 866

    // 365 847:aload_1

    // 366 848:iconst_1

    // 367 849:invokevirtual #91 <Method void L2PcInstance.setSiegeState(byte)>

    // 368 852:aload_1

    // 369 853:aload 6

    // 370 855:invokevirtual #111 <Method int SiegableHall.getId()>

    // 371 858:invokevirtual #94 <Method void L2PcInstance.setSiegeSide(int)>

    // 372 861:aload_1

    // 373 862:iconst_1

    // 374 863:invokevirtual #112 <Method void L2PcInstance.setIsInHideoutSiege(boolean)>

    // 375 866:goto 802

    // 376 869:aload_0

    // 377 870:new #113 <Class PledgeShowMemberListAll>

    // 378 873:dup

    // 379 874:aload_1

    // 380 875:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 381 878:aload_1

    // 382 879:invokespecial #114 <Method void PledgeShowMemberListAll(L2Clan, L2PcInstance)>

    // 383 882:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 384 885:aload_0

    // 385 886:new #116 <Class PledgeStatusChanged>

    // 386 889:dup

    // 387 890:aload_1

    // 388 891:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 389 894:invokespecial #117 <Method void PledgeStatusChanged(L2Clan)>

    // 390 897:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 391 900:aload_1

    // 392 901:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 393 904:invokevirtual #118 <Method int L2Clan.getCastleId()>

    // 394 907:ifle 924

    // 395 910:invokestatic #119 <Method CastleManager CastleManager.getInstance()>

    // 396 913:aload_1

    // 397 914:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 398 917:invokevirtual #120 <Method Castle CastleManager.getCastleByOwner(L2Clan)>

    // 399 920:aload_1

    // 400 921:invokevirtual #121 <Method void Castle.giveResidentialSkills(L2PcInstance)>

    // 401 924:aload_1

    // 402 925:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 403 928:invokevirtual #122 <Method int L2Clan.getFortId()>

    // 404 931:ifle 948

    // 405 934:invokestatic #123 <Method FortManager FortManager.getInstance()>

    // 406 937:aload_1

    // 407 938:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 408 941:invokevirtual #124 <Method Fort FortManager.getFortByOwner(L2Clan)>

    // 409 944:aload_1

    // 410 945:invokevirtual #125 <Method void Fort.giveResidentialSkills(L2PcInstance)>

    // 411 948:aload_1

    // 412 949:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 413 952:invokevirtual #126 <Method boolean L2Clan.isNoticeEnabled()>

    // 414 955:istore_3

    // 415 956:invokestatic #127 <Method TerritoryWarManager TerritoryWarManager.getInstance()>

    // 416 959:aload_1

    // 417 960:invokevirtual #128 <Method int TerritoryWarManager.getRegisteredTerritoryId(L2PcInstance)>

    // 418 963:ifle 991

    // 419 966:invokestatic #127 <Method TerritoryWarManager TerritoryWarManager.getInstance()>

    // 420 969:invokevirtual #129 <Method boolean TerritoryWarManager.isTWInProgress()>

    // 421 972:ifeq 980

    // 422 975:aload_1

    // 423 976:iconst_1

    // 424 977:invokevirtual #91 <Method void L2PcInstance.setSiegeState(byte)>

    // 425 980:aload_1

    // 426 981:invokestatic #127 <Method TerritoryWarManager TerritoryWarManager.getInstance()>

    // 427 984:aload_1

    // 428 985:invokevirtual #128 <Method int TerritoryWarManager.getRegisteredTerritoryId(L2PcInstance)>

    // 429 988:invokevirtual #94 <Method void L2PcInstance.setSiegeSide(int)>

    // 430 991:invokestatic #130 <Method SevenSigns SevenSigns.getInstance()>

    // 431 994:invokevirtual #131 <Method boolean SevenSigns.isSealValidationPeriod()>

    // 432 997:ifeq 1067

    // 433 1000:invokestatic #130 <Method SevenSigns SevenSigns.getInstance()>

    // 434 1003:iconst_3

    // 435 1004:invokevirtual #132 <Method int SevenSigns.getSealOwner(int)>

    // 436 1007:ifeq 1067

    // 437 1010:invokestatic #130 <Method SevenSigns SevenSigns.getInstance()>

    // 438 1013:aload_1

    // 439 1014:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 440 1017:invokevirtual #133 <Method int SevenSigns.getPlayerCabal(int)>

    // 441 1020:istore 4

    // 442 1022:iload 4

    // 443 1024:ifeq 1064

    // 444 1027:iload 4

    // 445 1029:invokestatic #130 <Method SevenSigns SevenSigns.getInstance()>

    // 446 1032:iconst_3

    // 447 1033:invokevirtual #132 <Method int SevenSigns.getSealOwner(int)>

    // 448 1036:icmpne 1053

    // 449 1039:aload_1

    // 450 1040:getstatic #134 <Field com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.THE_VICTOR_OF_WAR>

    // 451 1043:invokevirtual #135 <Method com.icpnetworks.gameserver.model.skills.L2Skill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.getSkill()>

    // 452 1046:invokevirtual #136 <Method com.icpnetworks.gameserver.model.skills.L2Skill L2PcInstance.addSkill(com.icpnetworks.gameserver.model.skills.L2Skill)>

    // 453 1049:pop

    // 454 1050:goto 1064

    // 455 1053:aload_1

    // 456 1054:getstatic #137 <Field com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.THE_VANQUISHED_OF_WAR>

    // 457 1057:invokevirtual #135 <Method com.icpnetworks.gameserver.model.skills.L2Skill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.getSkill()>

    // 458 1060:invokevirtual #136 <Method com.icpnetworks.gameserver.model.skills.L2Skill L2PcInstance.addSkill(com.icpnetworks.gameserver.model.skills.L2Skill)>

    // 459 1063:pop

    // 460 1064:goto 1089

    // 461 1067:aload_1

    // 462 1068:getstatic #134 <Field com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.THE_VICTOR_OF_WAR>

    // 463 1071:invokevirtual #135 <Method com.icpnetworks.gameserver.model.skills.L2Skill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.getSkill()>

    // 464 1074:invokevirtual #138 <Method com.icpnetworks.gameserver.model.skills.L2Skill L2PcInstance.removeSkill(com.icpnetworks.gameserver.model.skills.L2Skill)>

    // 465 1077:pop

    // 466 1078:aload_1

    // 467 1079:getstatic #137 <Field com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.THE_VANQUISHED_OF_WAR>

    // 468 1082:invokevirtual #135 <Method com.icpnetworks.gameserver.model.skills.L2Skill com.icpnetworks.gameserver.datatables.SkillTable$FrequentSkill.getSkill()>

    // 469 1085:invokevirtual #138 <Method com.icpnetworks.gameserver.model.skills.L2Skill L2PcInstance.removeSkill(com.icpnetworks.gameserver.model.skills.L2Skill)>

    // 470 1088:pop

    // 471 1089:getstatic #139 <Field boolean Config.ENABLE_VITALITY>

    // 472 1092:ifeq 1134

    // 473 1095:getstatic #140 <Field boolean Config.RECOVER_VITALITY_ON_RECONNECT>

    // 474 1098:ifeq 1134

    // 475 1101:getstatic #141 <Field float Config.RATE_RECOVERY_ON_RECONNECT>

    // 476 1104:invokestatic #142 <Method long System.currentTimeMillis()>

    // 477 1107:aload_1

    // 478 1108:invokevirtual #143 <Method long L2PcInstance.getLastAccess()>

    // 479 1111:lsub

    // 480 1112:l2f

    // 481 1113:fmul

    // 482 1114:ldc1 #144 <Float 60000F>

    // 483 1116:fdiv

    // 484 1117:fstore 4

    // 485 1119:fload 4

    // 486 1121:fconst_0

    // 487 1122:fcmpl

    // 488 1123:ifle 1134

    // 489 1126:aload_1

    // 490 1127:fload 4

    // 491 1129:iconst_0

    // 492 1130:iconst_1

    // 493 1131:invokevirtual #145 <Method void L2PcInstance.updateVitalityPoints(float, boolean, boolean)>

    // 494 1134:aload_1

    // 495 1135:invokevirtual #146 <Method void L2PcInstance.checkRecoBonusTask()>

    // 496 1138:aload_1

    // 497 1139:invokevirtual #147 <Method void L2PcInstance.broadcastUserInfo()>

    // 498 1142:aload_1

    // 499 1143:invokevirtual #148 <Method MacroList L2PcInstance.getMacros()>

    // 500 1146:invokevirtual #149 <Method void MacroList.sendUpdate()>

    // 501 1149:aload_0

    // 502 1150:new #150 <Class ItemList>

    // 503 1153:dup

    // 504 1154:aload_1

    // 505 1155:iconst_0

    // 506 1156:invokespecial #151 <Method void ItemList(L2PcInstance, boolean)>

    // 507 1159:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 508 1162:aload_1

    // 509 1163:invokevirtual #152 <Method void L2PcInstance.queryGameGuard()>

    // 510 1166:aload_0

    // 511 1167:new #153 <Class ExGetBookMarkInfoPacket>

    // 512 1170:dup

    // 513 1171:aload_1

    // 514 1172:invokespecial #154 <Method void ExGetBookMarkInfoPacket(L2PcInstance)>

    // 515 1175:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 516 1178:aload_0

    // 517 1179:new #155 <Class ShortCutInit>

    // 518 1182:dup

    // 519 1183:aload_1

    // 520 1184:invokespecial #156 <Method void ShortCutInit(L2PcInstance)>

    // 521 1187:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 522 1190:aload_1

    // 523 1191:aload_1

    // 524 1192:invokestatic #157 <Method ExBasicActionList ExBasicActionList.getStaticPacket(L2PcInstance)>

    // 525 1195:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 526 1198:aload_1

    // 527 1199:invokevirtual #158 <Method void L2PcInstance.sendSkillList()>

    // 528 1202:aload_1

    // 529 1203:new #159 <Class HennaInfo>

    // 530 1206:dup

    // 531 1207:aload_1

    // 532 1208:invokespecial #160 <Method void HennaInfo(L2PcInstance)>

    // 533 1211:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 534 1214:aload_1

    // 535 1215:invokestatic #161 <Method void Quest.playerEnter(L2PcInstance)>

    // 536 1218:getstatic #162 <Field boolean Config.DISABLE_TUTORIAL>

    // 537 1221:ifne 1229

    // 538 1224:aload_0

    // 539 1225:aload_1

    // 540 1226:invokespecial #163 <Method void loadTutorial(L2PcInstance)>

    // 541 1229:invokestatic #164 <Method QuestManager QuestManager.getInstance()>

    // 542 1232:invokevirtual #165 <Method Iterable QuestManager.getAllManagedScripts()>

    // 543 1235:invokeinterface #166 <Method Iterator Iterable.iterator()>

    // 544 1240:astore 4

    // 545 1242:aload 4

    // 546 1244:invokeinterface #86 <Method boolean Iterator.hasNext()>

    // 547 1249:ifeq 1286

    // 548 1252:aload 4

    // 549 1254:invokeinterface #87 <Method Object Iterator.next()>

    // 550 1259:checkcast #167 <Class Quest>

    // 551 1262:astore 5

    // 552 1264:aload 5

    // 553 1266:ifnull 1283

    // 554 1269:aload 5

    // 555 1271:invokevirtual #168 <Method boolean Quest.getOnEnterWorld()>

    // 556 1274:ifeq 1283

    // 557 1277:aload 5

    // 558 1279:aload_1

    // 559 1280:invokevirtual #169 <Method void Quest.notifyEnterWorld(L2PcInstance)>

    // 560 1283:goto 1242

    // 561 1286:aload_1

    // 562 1287:new #170 <Class QuestList>

    // 563 1290:dup

    // 564 1291:invokespecial #171 <Method void QuestList()>

    // 565 1294:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 566 1297:getstatic #172 <Field int Config.PLAYER_SPAWN_PROTECTION>

    // 567 1300:ifle 1308

    // 568 1303:aload_1

    // 569 1304:iconst_1

    // 570 1305:invokevirtual #173 <Method void L2PcInstance.setProtection(boolean)>

    // 571 1308:aload_1

    // 572 1309:aload_1

    // 573 1310:invokevirtual #174 <Method int L2PcInstance.getX()>

    // 574 1313:aload_1

    // 575 1314:invokevirtual #175 <Method int L2PcInstance.getY()>

    // 576 1317:aload_1

    // 577 1318:invokevirtual #176 <Method int L2PcInstance.getZ()>

    // 578 1321:invokevirtual #177 <Method void L2PcInstance.spawnMe(int, int, int)>

    // 579 1324:aload_1

    // 580 1325:invokevirtual #178 <Method PcInventory L2PcInstance.getInventory()>

    // 581 1328:invokevirtual #179 <Method void PcInventory.applyItemSkills()>

    // 582 1331:aload_1

    // 583 1332:invokestatic #180 <Method boolean L2Event.isParticipant(L2PcInstance)>

    // 584 1335:ifeq 1342

    // 585 1338:aload_1

    // 586 1339:invokestatic #181 <Method void L2Event.restorePlayerEventStatus(L2PcInstance)>

    // 587 1342:getstatic #182 <Field boolean Config.ALLOW_WEDDING>

    // 588 1345:ifeq 1362

    // 589 1348:aload_0

    // 590 1349:aload_1

    // 591 1350:invokespecial #183 <Method void engage(L2PcInstance)>

    // 592 1353:aload_0

    // 593 1354:aload_1

    // 594 1355:aload_1

    // 595 1356:invokevirtual #184 <Method int L2PcInstance.getPartnerId()>

    // 596 1359:invokespecial #185 <Method void notifyPartner(L2PcInstance, int)>

    // 597 1362:aload_1

    // 598 1363:invokevirtual #186 <Method boolean L2PcInstance.isCursedWeaponEquipped()>

    // 599 1366:ifeq 1382

    // 600 1369:invokestatic #187 <Method CursedWeaponsManager CursedWeaponsManager.getInstance()>

    // 601 1372:aload_1

    // 602 1373:invokevirtual #188 <Method int L2PcInstance.getCursedWeaponEquippedId()>

    // 603 1376:invokevirtual #189 <Method CursedWeapon CursedWeaponsManager.getCursedWeapon(int)>

    // 604 1379:invokevirtual #190 <Method void CursedWeapon.cursedOnLogin()>

    // 605 1382:aload_1

    // 606 1383:invokevirtual #191 <Method void L2PcInstance.updateEffectIcons()>

    // 607 1386:aload_1

    // 608 1387:new #192 <Class EtcStatusUpdate>

    // 609 1390:dup

    // 610 1391:aload_1

    // 611 1392:invokespecial #193 <Method void EtcStatusUpdate(L2PcInstance)>

    // 612 1395:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 613 1398:aload_1

    // 614 1399:new #194 <Class ExStorageMaxCount>

    // 615 1402:dup

    // 616 1403:aload_1

    // 617 1404:invokespecial #195 <Method void ExStorageMaxCount(L2PcInstance)>

    // 618 1407:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 619 1410:aload_0

    // 620 1411:new #196 <Class FriendList>

    // 621 1414:dup

    // 622 1415:aload_1

    // 623 1416:invokespecial #197 <Method void FriendList(L2PcInstance)>

    // 624 1419:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 625 1422:getstatic #198 <Field SystemMessageId SystemMessageId.FRIEND_S1_HAS_LOGGED_IN>

    // 626 1425:invokestatic #199 <Method SystemMessage SystemMessage.getSystemMessage(SystemMessageId)>

    // 627 1428:astore 4

    // 628 1430:aload 4

    // 629 1432:aload_1

    // 630 1433:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 631 1436:invokevirtual #200 <Method SystemMessage SystemMessage.addString(String)>

    // 632 1439:pop

    // 633 1440:aload_1

    // 634 1441:invokevirtual #201 <Method List L2PcInstance.getFriendList()>

    // 635 1444:invokeinterface #85 <Method Iterator List.iterator()>

    // 636 1449:astore 5

    // 637 1451:aload 5

    // 638 1453:invokeinterface #86 <Method boolean Iterator.hasNext()>

    // 639 1458:ifeq 1501

    // 640 1461:aload 5

    // 641 1463:invokeinterface #87 <Method Object Iterator.next()>

    // 642 1468:checkcast #202 <Class Integer>

    // 643 1471:invokevirtual #203 <Method int Integer.intValue()>

    // 644 1474:istore 6

    // 645 1476:invokestatic #34 <Method L2World L2World.getInstance()>

    // 646 1479:iload 6

    // 647 1481:invokevirtual #35 <Method L2Object L2World.findObject(int)>

    // 648 1484:astore 7

    // 649 1486:aload 7

    // 650 1488:ifnull 1498

    // 651 1491:aload 7

    // 652 1493:aload 4

    // 653 1495:invokevirtual #204 <Method void L2Object.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 654 1498:goto 1451

    // 655 1501:getstatic #205 <Field boolean RankPvpSystemConfig.NICK_COLOR_ENABLED>

    // 656 1504:ifne 1513

    // 657 1507:getstatic #206 <Field boolean RankPvpSystemConfig.TITLE_COLOR_ENABLED>

    // 658 1510:ifeq 1587

    // 659 1513:invokestatic #207 <Method PvpTable PvpTable.getInstance()>

    // 660 1516:aload_1

    // 661 1517:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 662 1520:invokevirtual #208 <Method PvpStats PvpTable.getPvpStats(int)>

    // 663 1523:astore 5

    // 664 1525:getstatic #205 <Field boolean RankPvpSystemConfig.NICK_COLOR_ENABLED>

    // 665 1528:ifeq 1562

    // 666 1531:aload_1

    // 667 1532:invokevirtual #53 <Method PcAppearance L2PcInstance.getAppearance()>

    // 668 1535:aload 5

    // 669 1537:invokevirtual #209 <Method Rank PvpStats.getRank()>

    // 670 1540:invokevirtual #210 <Method int Rank.getNickColor()>

    // 671 1543:invokevirtual #211 <Method void PcAppearance.setNameColor(int)>

    // 672 1546:aload_1

    // 673 1547:new #212 <Class UserInfo>

    // 674 1550:dup

    // 675 1551:aload_1

    // 676 1552:invokespecial #213 <Method void UserInfo(L2PcInstance)>

    // 677 1555:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 678 1558:aload_1

    // 679 1559:invokevirtual #147 <Method void L2PcInstance.broadcastUserInfo()>

    // 680 1562:getstatic #206 <Field boolean RankPvpSystemConfig.TITLE_COLOR_ENABLED>

    // 681 1565:ifeq 1587

    // 682 1568:aload_1

    // 683 1569:invokevirtual #53 <Method PcAppearance L2PcInstance.getAppearance()>

    // 684 1572:aload 5

    // 685 1574:invokevirtual #209 <Method Rank PvpStats.getRank()>

    // 686 1577:invokevirtual #214 <Method int Rank.getTitleColor()>

    // 687 1580:invokevirtual #215 <Method void PcAppearance.setTitleColor(int)>

    // 688 1583:aload_1

    // 689 1584:invokevirtual #216 <Method void L2PcInstance.broadcastTitleInfo()>

    // 690 1587:getstatic #217 <Field boolean Config.ANNOUNCE_HERO_LOGIN>

    // 691 1590:ifeq 1642

    // 692 1593:aload_1

    // 693 1594:invokevirtual #218 <Method boolean L2PcInstance.isHero()>

    // 694 1597:ifeq 1642

    // 695 1600:new #219 <Class CreatureSay>

    // 696 1603:dup

    // 697 1604:iconst_1

    // 698 1605:bipush 20

    // 699 1607:ldc1 #220 <String "Hero System">

    // 700 1609:new #16 <Class StringBuilder>

    // 701 1612:dup

    // 702 1613:invokespecial #17 <Method void StringBuilder()>

    // 703 1616:ldc1 #221 <String "Hero ">

    // 704 1618:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 705 1621:aload_1

    // 706 1622:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 707 1625:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 708 1628:ldc1 #222 <String " has been logged in.">

    // 709 1630:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 710 1633:invokevirtual #21 <Method String StringBuilder.toString()>

    // 711 1636:invokespecial #223 <Method void CreatureSay(int, int, String, String)>

    // 712 1639:invokestatic #224 <Method void Broadcast.toAllOnlinePlayers(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 713 1642:getstatic #225 <Field boolean Config.ANNOUNCE_CASTLE_LORDS>

    // 714 1645:ifeq 1653

    // 715 1648:aload_0

    // 716 1649:aload_1

    // 717 1650:invokespecial #226 <Method void notifyCastleOwner(L2PcInstance)>

    // 718 1653:getstatic #227 <Field boolean Config.ANNOUNCE_GM_LOGIN>

    // 719 1656:ifeq 1699

    // 720 1659:aload_1

    // 721 1660:invokevirtual #44 <Method boolean L2PcInstance.isGM()>

    // 722 1663:ifeq 1699

    // 723 1666:invokestatic #228 <Method Announcements Announcements.getInstance()>

    // 724 1669:new #16 <Class StringBuilder>

    // 725 1672:dup

    // 726 1673:invokespecial #17 <Method void StringBuilder()>

    // 727 1676:ldc1 #229 <String "The Admin/GM ">

    // 728 1678:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 729 1681:aload_1

    // 730 1682:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 731 1685:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 732 1688:ldc1 #230 <String " Has Logged in">

    // 733 1690:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 734 1693:invokevirtual #21 <Method String StringBuilder.toString()>

    // 735 1696:invokevirtual #231 <Method void Announcements.announceToAll(String)>

    // 736 1699:getstatic #232 <Field boolean Config.PC_BANG_ENABLED>

    // 737 1702:ifeq 1745

    // 738 1705:aload_1

    // 739 1706:invokevirtual #233 <Method int L2PcInstance.getPcBangPoints()>

    // 740 1709:ifle 1734

    // 741 1712:aload_1

    // 742 1713:new #234 <Class ExPCCafePointInfo>

    // 743 1716:dup

    // 744 1717:aload_1

    // 745 1718:invokevirtual #233 <Method int L2PcInstance.getPcBangPoints()>

    // 746 1721:iconst_0

    // 747 1722:iconst_0

    // 748 1723:iconst_0

    // 749 1724:iconst_1

    // 750 1725:invokespecial #235 <Method void ExPCCafePointInfo(int, int, boolean, boolean, int)>

    // 751 1728:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 752 1731:goto 1745

    // 753 1734:aload_1

    // 754 1735:new #234 <Class ExPCCafePointInfo>

    // 755 1738:dup

    // 756 1739:invokespecial #236 <Method void ExPCCafePointInfo()>

    // 757 1742:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 758 1745:getstatic #237 <Field boolean Config.AUTO_RESTART_ENABLE>

    // 759 1748:ifeq 1800

    // 760 1751:new #219 <Class CreatureSay>

    // 761 1754:dup

    // 762 1755:iconst_2

    // 763 1756:bipush 20

    // 764 1758:ldc1 #238 <String "[sERVER]">

    // 765 1760:new #16 <Class StringBuilder>

    // 766 1763:dup

    // 767 1764:invokespecial #17 <Method void StringBuilder()>

    // 768 1767:ldc1 #239 <String "Next Restart at ">

    // 769 1769:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 770 1772:invokestatic #240 <Method GameServerRestart GameServerRestart.getInstance()>

    // 771 1775:invokevirtual #241 <Method String GameServerRestart.getRestartNextTime()>

    // 772 1778:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 773 1781:ldc1 #242 <String " hs.">

    // 774 1783:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 775 1786:invokevirtual #21 <Method String StringBuilder.toString()>

    // 776 1789:invokespecial #223 <Method void CreatureSay(int, int, String, String)>

    // 777 1792:astore 5

    // 778 1794:aload_1

    // 779 1795:aload 5

    // 780 1797:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 781 1800:aload_1

    // 782 1801:getstatic #243 <Field SystemMessageId SystemMessageId.WELCOME_TO_LINEAGE>

    // 783 1804:invokevirtual #82 <Method void L2PcInstance.sendPacket(SystemMessageId)>

    // 784 1807:aload_1

    // 785 1808:ldc1 #244 <String "This project powered by icpnetworks team">

    // 786 1810:invokevirtual #245 <Method void L2PcInstance.sendMessage(String)>

    // 787 1813:aload_1

    // 788 1814:ldc1 #246 <String "">

    // 789 1816:invokevirtual #245 <Method void L2PcInstance.sendMessage(String)>

    // 790 1819:invokestatic #130 <Method SevenSigns SevenSigns.getInstance()>

    // 791 1822:aload_1

    // 792 1823:invokevirtual #247 <Method void SevenSigns.sendCurrentPeriodMsg(L2PcInstance)>

    // 793 1826:invokestatic #228 <Method Announcements Announcements.getInstance()>

    // 794 1829:aload_1

    // 795 1830:invokevirtual #248 <Method void Announcements.showAnnouncements(L2PcInstance)>

    // 796 1833:iload_3

    // 797 1834:ifeq 1902

    // 798 1837:new #249 <Class NpcHtmlMessage>

    // 799 1840:dup

    // 800 1841:iconst_1

    // 801 1842:invokespecial #250 <Method void NpcHtmlMessage(int)>

    // 802 1845:astore 5

    // 803 1847:aload 5

    // 804 1849:aload_1

    // 805 1850:invokevirtual #251 <Method String L2PcInstance.getHtmlPrefix()>

    // 806 1853:ldc1 #252 <String "data/html/clanNotice.htm">

    // 807 1855:invokevirtual #253 <Method boolean NpcHtmlMessage.setFile(String, String)>

    // 808 1858:pop

    // 809 1859:aload 5

    // 810 1861:ldc1 #254 <String "%clan_name%">

    // 811 1863:aload_1

    // 812 1864:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 813 1867:invokevirtual #255 <Method String L2Clan.getName()>

    // 814 1870:invokevirtual #256 <Method void NpcHtmlMessage.replace(String, String)>

    // 815 1873:aload 5

    // 816 1875:ldc2 #257 <String "%notice_text%">

    // 817 1878:aload_1

    // 818 1879:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 819 1882:invokevirtual #258 <Method String L2Clan.getNotice()>

    // 820 1885:invokevirtual #256 <Method void NpcHtmlMessage.replace(String, String)>

    // 821 1888:aload 5

    // 822 1890:invokevirtual #259 <Method void NpcHtmlMessage.disableValidation()>

    // 823 1893:aload_0

    // 824 1894:aload 5

    // 825 1896:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 826 1899:goto 1942

    // 827 1902:getstatic #260 <Field boolean Config.SERVER_NEWS>

    // 828 1905:ifeq 1942

    // 829 1908:invokestatic #261 <Method HtmCache HtmCache.getInstance()>

    // 830 1911:aload_1

    // 831 1912:invokevirtual #251 <Method String L2PcInstance.getHtmlPrefix()>

    // 832 1915:ldc2 #262 <String "data/html/servnews.htm">

    // 833 1918:invokevirtual #263 <Method String HtmCache.getHtm(String, String)>

    // 834 1921:astore 5

    // 835 1923:aload 5

    // 836 1925:ifnull 1942

    // 837 1928:aload_0

    // 838 1929:new #249 <Class NpcHtmlMessage>

    // 839 1932:dup

    // 840 1933:iconst_1

    // 841 1934:aload 5

    // 842 1936:invokespecial #264 <Method void NpcHtmlMessage(int, String)>

    // 843 1939:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 844 1942:getstatic #265 <Field boolean Config.PETITIONING_ALLOWED>

    // 845 1945:ifeq 1955

    // 846 1948:invokestatic #266 <Method PetitionManager PetitionManager.getInstance()>

    // 847 1951:aload_1

    // 848 1952:invokevirtual #267 <Method void PetitionManager.checkPetitionMessages(L2PcInstance)>

    // 849 1955:aload_1

    // 850 1956:invokevirtual #268 <Method boolean L2PcInstance.isAlikeDead()>

    // 851 1959:ifeq 1974

    // 852 1962:aload_0

    // 853 1963:new #269 <Class Die>

    // 854 1966:dup

    // 855 1967:aload_1

    // 856 1968:invokespecial #270 <Method void Die(com.icpnetworks.gameserver.model.actor.L2Character)>

    // 857 1971:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 858 1974:aload_1

    // 859 1975:invokevirtual #271 <Method void L2PcInstance.onPlayerEnter()>

    // 860 1978:aload_0

    // 861 1979:new #272 <Class SkillCoolTime>

    // 862 1982:dup

    // 863 1983:aload_1

    // 864 1984:invokespecial #273 <Method void SkillCoolTime(L2PcInstance)>

    // 865 1987:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 866 1990:aload_0

    // 867 1991:new #274 <Class ExVoteSystemInfo>

    // 868 1994:dup

    // 869 1995:aload_1

    // 870 1996:invokespecial #275 <Method void ExVoteSystemInfo(L2PcInstance)>

    // 871 1999:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 872 2002:aload_0

    // 873 2003:new #276 <Class ExNevitAdventEffect>

    // 874 2006:dup

    // 875 2007:iconst_0

    // 876 2008:invokespecial #277 <Method void ExNevitAdventEffect(int)>

    // 877 2011:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 878 2014:aload_0

    // 879 2015:new #278 <Class ExNevitAdventPointInfoPacket>

    // 880 2018:dup

    // 881 2019:aload_1

    // 882 2020:invokespecial #279 <Method void ExNevitAdventPointInfoPacket(L2PcInstance)>

    // 883 2023:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 884 2026:aload_0

    // 885 2027:new #280 <Class ExNevitAdventTimeChange>

    // 886 2030:dup

    // 887 2031:aload_1

    // 888 2032:invokevirtual #281 <Method int L2PcInstance.getAdventTime()>

    // 889 2035:iconst_0

    // 890 2036:invokespecial #282 <Method void ExNevitAdventTimeChange(int, boolean)>

    // 891 2039:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 892 2042:aload_1

    // 893 2043:invokevirtual #178 <Method PcInventory L2PcInstance.getInventory()>

    // 894 2046:invokevirtual #283 <Method L2ItemInstance[] PcInventory.getItems()>

    // 895 2049:astore 5

    // 896 2051:aload 5

    // 897 2053:arraylength

    // 898 2054:istore 6

    // 899 2056:iconst_0

    // 900 2057:istore 7

    // 901 2059:iload 7

    // 902 2061:iload 6

    // 903 2063:icmpge 2114

    // 904 2066:aload 5

    // 905 2068:iload 7

    // 906 2070:aaload

    // 907 2071:astore 8

    // 908 2073:aload 8

    // 909 2075:invokevirtual #284 <Method boolean L2ItemInstance.isTimeLimitedItem()>

    // 910 2078:ifeq 2086

    // 911 2081:aload 8

    // 912 2083:invokevirtual #285 <Method void L2ItemInstance.scheduleLifeTimeTask()>

    // 913 2086:aload 8

    // 914 2088:invokevirtual #286 <Method boolean L2ItemInstance.isShadowItem()>

    // 915 2091:ifeq 2108

    // 916 2094:aload 8

    // 917 2096:invokevirtual #287 <Method boolean L2ItemInstance.isEquipped()>

    // 918 2099:ifeq 2108

    // 919 2102:aload 8

    // 920 2104:iconst_0

    // 921 2105:invokevirtual #288 <Method void L2ItemInstance.decreaseMana(boolean)>

    // 922 2108:iinc 7 1

    // 923 2111:goto 2059

    // 924 2114:aload_1

    // 925 2115:invokevirtual #289 <Method PcWarehouse L2PcInstance.getWarehouse()>

    // 926 2118:invokevirtual #290 <Method L2ItemInstance[] PcWarehouse.getItems()>

    // 927 2121:astore 5

    // 928 2123:aload 5

    // 929 2125:arraylength

    // 930 2126:istore 6

    // 931 2128:iconst_0

    // 932 2129:istore 7

    // 933 2131:iload 7

    // 934 2133:iload 6

    // 935 2135:icmpge 2164

    // 936 2138:aload 5

    // 937 2140:iload 7

    // 938 2142:aaload

    // 939 2143:astore 8

    // 940 2145:aload 8

    // 941 2147:invokevirtual #284 <Method boolean L2ItemInstance.isTimeLimitedItem()>

    // 942 2150:ifeq 2158

    // 943 2153:aload 8

    // 944 2155:invokevirtual #285 <Method void L2ItemInstance.scheduleLifeTimeTask()>

    // 945 2158:iinc 7 1

    // 946 2161:goto 2131

    // 947 2164:invokestatic #291 <Method DimensionalRiftManager DimensionalRiftManager.getInstance()>

    // 948 2167:aload_1

    // 949 2168:invokevirtual #174 <Method int L2PcInstance.getX()>

    // 950 2171:aload_1

    // 951 2172:invokevirtual #175 <Method int L2PcInstance.getY()>

    // 952 2175:aload_1

    // 953 2176:invokevirtual #176 <Method int L2PcInstance.getZ()>

    // 954 2179:iconst_0

    // 955 2180:invokevirtual #292 <Method boolean DimensionalRiftManager.checkIfInRiftZone(int, int, int, boolean)>

    // 956 2183:ifeq 2193

    // 957 2186:invokestatic #291 <Method DimensionalRiftManager DimensionalRiftManager.getInstance()>

    // 958 2189:aload_1

    // 959 2190:invokevirtual #293 <Method void DimensionalRiftManager.teleportToWaitingRoom(L2PcInstance)>

    // 960 2193:aload_1

    // 961 2194:invokevirtual #294 <Method long L2PcInstance.getClanJoinExpiryTime()>

    // 962 2197:invokestatic #142 <Method long System.currentTimeMillis()>

    // 963 2200:lcmp

    // 964 2201:ifle 2211

    // 965 2204:aload_1

    // 966 2205:getstatic #295 <Field SystemMessageId SystemMessageId.CLAN_MEMBERSHIP_TERMINATED>

    // 967 2208:invokevirtual #82 <Method void L2PcInstance.sendPacket(SystemMessageId)>

    // 968 2211:aload_1

    // 969 2212:invokevirtual #178 <Method PcInventory L2PcInstance.getInventory()>

    // 970 2215:sipush 9819

    // 971 2218:invokevirtual #296 <Method L2ItemInstance PcInventory.getItemByItemId(int)>

    // 972 2221:ifnull 2302

    // 973 2224:invokestatic #123 <Method FortManager FortManager.getInstance()>

    // 974 2227:aload_1

    // 975 2228:invokevirtual #297 <Method Fort FortManager.getFort(L2Object)>

    // 976 2231:astore 5

    // 977 2233:aload 5

    // 978 2235:ifnull 2253

    // 979 2238:invokestatic #96 <Method FortSiegeManager FortSiegeManager.getInstance()>

    // 980 2241:aload_1

    // 981 2242:aload 5

    // 982 2244:invokevirtual #102 <Method int Fort.getFortId()>

    // 983 2247:invokevirtual #298 <Method void FortSiegeManager.dropCombatFlag(L2PcInstance, int)>

    // 984 2250:goto 2302

    // 985 2253:aload_1

    // 986 2254:invokevirtual #178 <Method PcInventory L2PcInstance.getInventory()>

    // 987 2257:aload_1

    // 988 2258:invokevirtual #178 <Method PcInventory L2PcInstance.getInventory()>

    // 989 2261:sipush 9819

    // 990 2264:invokevirtual #296 <Method L2ItemInstance PcInventory.getItemByItemId(int)>

    // 991 2267:invokevirtual #299 <Method int PcInventory.getSlotFromItem(L2ItemInstance)>

    // 992 2270:istore 6

    // 993 2272:aload_1

    // 994 2273:invokevirtual #178 <Method PcInventory L2PcInstance.getInventory()>

    // 995 2276:iload 6

    // 996 2278:invokevirtual #300 <Method L2ItemInstance PcInventory.unEquipItemInBodySlot(int)>

    // 997 2281:pop

    // 998 2282:aload_1

    // 999 2283:ldc2 #301 <String "CombatFlag">

    // 1000 2286:aload_1

    // 1001 2287:invokevirtual #178 <Method PcInventory L2PcInstance.getInventory()>

    // 1002 2290:sipush 9819

    // 1003 2293:invokevirtual #296 <Method L2ItemInstance PcInventory.getItemByItemId(int)>

    // 1004 2296:aconst_null

    // 1005 2297:iconst_1

    // 1006 2298:invokevirtual #302 <Method boolean L2PcInstance.destroyItem(String, L2ItemInstance, L2Object, boolean)>

    // 1007 2301:pop

    // 1008 2302:aload_1

    // 1009 2303:getstatic #303 <Field PcCondOverride PcCondOverride.ZONE_CONDITIONS>

    // 1010 2306:invokevirtual #304 <Method boolean L2PcInstance.canOverrideCond(PcCondOverride)>

    // 1011 2309:ifne 2344

    // 1012 2312:aload_1

    // 1013 2313:getstatic #305 <Field ZoneId ZoneId.SIEGE>

    // 1014 2316:invokevirtual #306 <Method boolean L2PcInstance.isInsideZone(ZoneId)>

    // 1015 2319:ifeq 2344

    // 1016 2322:aload_1

    // 1017 2323:invokevirtual #307 <Method boolean L2PcInstance.isInSiege()>

    // 1018 2326:ifeq 2337

    // 1019 2329:aload_1

    // 1020 2330:invokevirtual #308 <Method byte L2PcInstance.getSiegeState()>

    // 1021 2333:iconst_2

    // 1022 2334:icmpge 2344

    // 1023 2337:aload_1

    // 1024 2338:getstatic #309 <Field com.icpnetworks.gameserver.instancemanager.MapRegionManager$TeleportWhereType com.icpnetworks.gameserver.instancemanager.MapRegionManager$TeleportWhereType.Town>

    // 1025 2341:invokevirtual #310 <Method void L2PcInstance.teleToLocation(com.icpnetworks.gameserver.instancemanager.MapRegionManager$TeleportWhereType)>

    // 1026 2344:getstatic #311 <Field boolean Config.ALLOW_MAIL>

    // 1027 2347:ifeq 2368

    // 1028 2350:invokestatic #312 <Method MailManager MailManager.getInstance()>

    // 1029 2353:aload_1

    // 1030 2354:invokevirtual #313 <Method boolean MailManager.hasUnreadPost(L2PcInstance)>

    // 1031 2357:ifeq 2368

    // 1032 2360:aload_0

    // 1033 2361:iconst_0

    // 1034 2362:invokestatic #314 <Method ExNoticePostArrived ExNoticePostArrived.valueOf(boolean)>

    // 1035 2365:invokevirtual #115 <Method void sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 1036 2368:invokestatic #315 <Method RegionBBSManager RegionBBSManager.getInstance()>

    // 1037 2371:invokevirtual #316 <Method void RegionBBSManager.changeCommunityBoard()>

    // 1038 2374:invokestatic #317 <Method CommunityServerThread CommunityServerThread.getInstance()>

    // 1039 2377:new #318 <Class WorldInfo>

    // 1040 2380:dup

    // 1041 2381:aload_1

    // 1042 2382:aconst_null

    // 1043 2383:iconst_2

    // 1044 2384:invokespecial #319 <Method void WorldInfo(L2PcInstance, L2Clan, byte)>

    // 1045 2387:invokevirtual #320 <Method boolean CommunityServerThread.sendPacket(org.netcon.BaseWritePacket)>

    // 1046 2390:pop

    // 1047 2391:aload_1

    // 1048 2392:invokestatic #321 <Method void TvTEvent.onLogin(L2PcInstance)>

    // 1049 2395:getstatic #322 <Field boolean Config.WELCOME_MESSAGE_ENABLED>

    // 1050 2398:ifeq 2418

    // 1051 2401:aload_1

    // 1052 2402:new #323 <Class ExShowScreenMessage>

    // 1053 2405:dup

    // 1054 2406:getstatic #324 <Field String Config.WELCOME_MESSAGE_TEXT>

    // 1055 2409:getstatic #325 <Field int Config.WELCOME_MESSAGE_TIME>

    // 1056 2412:invokespecial #326 <Method void ExShowScreenMessage(String, int)>

    // 1057 2415:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 1058 2418:aload_1

    // 1059 2419:invokestatic #327 <Method void L2ClassMasterInstance.showQuestionMark(L2PcInstance)>

    // 1060 2422:aload_1

    // 1061 2423:invokevirtual #328 <Method int L2PcInstance.checkBirthDay()>

    // 1062 2426:istore 5

    // 1063 2428:iload 5

    // 1064 2430:ifne 2443

    // 1065 2433:aload_1

    // 1066 2434:getstatic #329 <Field SystemMessageId SystemMessageId.YOUR_BIRTHDAY_GIFT_HAS_ARRIVED>

    // 1067 2437:invokevirtual #82 <Method void L2PcInstance.sendPacket(SystemMessageId)>

    // 1068 2440:goto 2474

    // 1069 2443:iload 5

    // 1070 2445:iconst_m1

    // 1071 2446:icmpeq 2474

    // 1072 2449:getstatic #330 <Field SystemMessageId SystemMessageId.THERE_ARE_S1_DAYS_UNTIL_YOUR_CHARACTERS_BIRTHDAY>

    // 1073 2452:invokestatic #199 <Method SystemMessage SystemMessage.getSystemMessage(SystemMessageId)>

    // 1074 2455:astore 4

    // 1075 2457:aload 4

    // 1076 2459:iload 5

    // 1077 2461:invokestatic #331 <Method String Integer.toString(int)>

    // 1078 2464:invokevirtual #200 <Method SystemMessage SystemMessage.addString(String)>

    // 1079 2467:pop

    // 1080 2468:aload_1

    // 1081 2469:aload 4

    // 1082 2471:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 1083 2474:aload_1

    // 1084 2475:invokevirtual #332 <Method Map L2PcInstance.getPremiumItemList()>

    // 1085 2478:invokeinterface #333 <Method boolean Map.isEmpty()>

    // 1086 2483:ifne 2493

    // 1087 2486:aload_1

    // 1088 2487:getstatic #334 <Field ExNotifyPremiumItem ExNotifyPremiumItem.STATIC_PACKET>

    // 1089 2490:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 1090 2493:getstatic #335 <Field FastList listeners>

    // 1091 2496:invokevirtual #336 <Method Iterator FastList.iterator()>

    // 1092 2499:astore 6

    // 1093 2501:aload 6

    // 1094 2503:invokeinterface #86 <Method boolean Iterator.hasNext()>

    // 1095 2508:ifeq 2532

    // 1096 2511:aload 6

    // 1097 2513:invokeinterface #87 <Method Object Iterator.next()>

    // 1098 2518:checkcast #337 <Class PlayerSpawnListener>

    // 1099 2521:astore 7

    // 1100 2523:aload 7

    // 1101 2525:aload_1

    // 1102 2526:invokevirtual #338 <Method void PlayerSpawnListener.onSpawn(L2PcInstance)>

    // 1103 2529:goto 2501

    // 1104 2532:return

    }

     

    private void engage(L2PcInstance cha)

    {

    // 0 0:aload_1

    // 1 1:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 2 4:istore_2

    // 3 5:invokestatic #339 <Method CoupleManager CoupleManager.getInstance()>

    // 4 8:invokevirtual #340 <Method FastList CoupleManager.getCouples()>

    // 5 11:invokevirtual #336 <Method Iterator FastList.iterator()>

    // 6 14:astore_3

    // 7 15:aload_3

    // 8 16:invokeinterface #86 <Method boolean Iterator.hasNext()>

    // 9 21:ifeq 108

    // 10 24:aload_3

    // 11 25:invokeinterface #87 <Method Object Iterator.next()>

    // 12 30:checkcast #341 <Class Couple>

    // 13 33:astore 4

    // 14 35:aload 4

    // 15 37:invokevirtual #342 <Method int Couple.getPlayer1Id()>

    // 16 40:iload_2

    // 17 41:icmpeq 53

    // 18 44:aload 4

    // 19 46:invokevirtual #343 <Method int Couple.getPlayer2Id()>

    // 20 49:iload_2

    // 21 50:icmpne 105

    // 22 53:aload 4

    // 23 55:invokevirtual #344 <Method boolean Couple.getMaried()>

    // 24 58:ifeq 66

    // 25 61:aload_1

    // 26 62:iconst_1

    // 27 63:invokevirtual #345 <Method void L2PcInstance.setMarried(boolean)>

    // 28 66:aload_1

    // 29 67:aload 4

    // 30 69:invokevirtual #346 <Method int Couple.getId()>

    // 31 72:invokevirtual #347 <Method void L2PcInstance.setCoupleId(int)>

    // 32 75:aload 4

    // 33 77:invokevirtual #342 <Method int Couple.getPlayer1Id()>

    // 34 80:iload_2

    // 35 81:icmpne 96

    // 36 84:aload_1

    // 37 85:aload 4

    // 38 87:invokevirtual #343 <Method int Couple.getPlayer2Id()>

    // 39 90:invokevirtual #348 <Method void L2PcInstance.setPartnerId(int)>

    // 40 93:goto 105

    // 41 96:aload_1

    // 42 97:aload 4

    // 43 99:invokevirtual #342 <Method int Couple.getPlayer1Id()>

    // 44 102:invokevirtual #348 <Method void L2PcInstance.setPartnerId(int)>

    // 45 105:goto 15

    // 46 108:return

    }

     

    private void notifyPartner(L2PcInstance cha, int partnerId)

    {

    // 0 0:aload_1

    // 1 1:invokevirtual #184 <Method int L2PcInstance.getPartnerId()>

    // 2 4:ifeq 90

    // 3 7:aload_1

    // 4 8:invokevirtual #184 <Method int L2PcInstance.getPartnerId()>

    // 5 11:istore_3

    // try 12 37 handler(s) 40

    // 6 12:invokestatic #34 <Method L2World L2World.getInstance()>

    // 7 15:iload_3

    // 8 16:invokevirtual #349 <Method L2PcInstance L2World.getPlayer(int)>

    // 9 19:astore 4

    // 10 21:aload 4

    // 11 23:ifnull 34

    // 12 26:aload 4

    // 13 28:ldc2 #350 <String "Your Partner has logged in.">

    // 14 31:invokevirtual #245 <Method void L2PcInstance.sendMessage(String)>

    // 15 34:aconst_null

    // 16 35:astore 4

    // 17 37:goto 90

    // catch ClassCastException

    // 18 40:astore 4

    // 19 42:getstatic #11 <Field Logger _log>

    // 20 45:new #16 <Class StringBuilder>

    // 21 48:dup

    // 22 49:invokespecial #17 <Method void StringBuilder()>

    // 23 52:ldc2 #352 <String "Wedding Error: ID ">

    // 24 55:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 25 58:iload_3

    // 26 59:invokevirtual #18 <Method StringBuilder StringBuilder.append(int)>

    // 27 62:ldc2 #353 <String " is now owned by a(n) ">

    // 28 65:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 29 68:invokestatic #34 <Method L2World L2World.getInstance()>

    // 30 71:iload_3

    // 31 72:invokevirtual #35 <Method L2Object L2World.findObject(int)>

    // 32 75:invokevirtual #354 <Method Class Object.getClass()>

    // 33 78:invokevirtual #355 <Method String Class.getSimpleName()>

    // 34 81:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 35 84:invokevirtual #21 <Method String StringBuilder.toString()>

    // 36 87:invokevirtual #13 <Method void Logger.warning(String)>

    // 37 90:return

    }

     

    private void notifyClanMembers(L2PcInstance activeChar)

    {

    // 0 0:aload_1

    // 1 1:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 2 4:astore_2

    // 3 5:aload_2

    // 4 6:ifnull 58

    // 5 9:aload_2

    // 6 10:aload_1

    // 7 11:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 8 14:invokevirtual #356 <Method L2ClanMember L2Clan.getClanMember(int)>

    // 9 17:aload_1

    // 10 18:invokevirtual #357 <Method void L2ClanMember.setPlayerInstance(L2PcInstance)>

    // 11 21:getstatic #358 <Field SystemMessageId SystemMessageId.CLAN_MEMBER_S1_LOGGED_IN>

    // 12 24:invokestatic #199 <Method SystemMessage SystemMessage.getSystemMessage(SystemMessageId)>

    // 13 27:astore_3

    // 14 28:aload_3

    // 15 29:aload_1

    // 16 30:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 17 33:invokevirtual #200 <Method SystemMessage SystemMessage.addString(String)>

    // 18 36:pop

    // 19 37:aload_2

    // 20 38:aload_3

    // 21 39:aload_1

    // 22 40:invokevirtual #359 <Method void L2Clan.broadcastToOtherOnlineMembers(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket, L2PcInstance)>

    // 23 43:aconst_null

    // 24 44:astore_3

    // 25 45:aload_2

    // 26 46:new #360 <Class PledgeShowMemberListUpdate>

    // 27 49:dup

    // 28 50:aload_1

    // 29 51:invokespecial #361 <Method void PledgeShowMemberListUpdate(L2PcInstance)>

    // 30 54:aload_1

    // 31 55:invokevirtual #359 <Method void L2Clan.broadcastToOtherOnlineMembers(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket, L2PcInstance)>

    // 32 58:return

    }

     

    private void notifySponsorOrApprentice(L2PcInstance activeChar)

    {

    // 0 0:aload_1

    // 1 1:invokevirtual #362 <Method int L2PcInstance.getSponsor()>

    // 2 4:ifeq 46

    // 3 7:invokestatic #34 <Method L2World L2World.getInstance()>

    // 4 10:aload_1

    // 5 11:invokevirtual #362 <Method int L2PcInstance.getSponsor()>

    // 6 14:invokevirtual #349 <Method L2PcInstance L2World.getPlayer(int)>

    // 7 17:astore_2

    // 8 18:aload_2

    // 9 19:ifnull 43

    // 10 22:getstatic #363 <Field SystemMessageId SystemMessageId.YOUR_APPRENTICE_S1_HAS_LOGGED_IN>

    // 11 25:invokestatic #199 <Method SystemMessage SystemMessage.getSystemMessage(SystemMessageId)>

    // 12 28:astore_3

    // 13 29:aload_3

    // 14 30:aload_1

    // 15 31:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 16 34:invokevirtual #200 <Method SystemMessage SystemMessage.addString(String)>

    // 17 37:pop

    // 18 38:aload_2

    // 19 39:aload_3

    // 20 40:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 21 43:goto 89

    // 22 46:aload_1

    // 23 47:invokevirtual #364 <Method int L2PcInstance.getApprentice()>

    // 24 50:ifeq 89

    // 25 53:invokestatic #34 <Method L2World L2World.getInstance()>

    // 26 56:aload_1

    // 27 57:invokevirtual #364 <Method int L2PcInstance.getApprentice()>

    // 28 60:invokevirtual #349 <Method L2PcInstance L2World.getPlayer(int)>

    // 29 63:astore_2

    // 30 64:aload_2

    // 31 65:ifnull 89

    // 32 68:getstatic #365 <Field SystemMessageId SystemMessageId.YOUR_SPONSOR_C1_HAS_LOGGED_IN>

    // 33 71:invokestatic #199 <Method SystemMessage SystemMessage.getSystemMessage(SystemMessageId)>

    // 34 74:astore_3

    // 35 75:aload_3

    // 36 76:aload_1

    // 37 77:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 38 80:invokevirtual #200 <Method SystemMessage SystemMessage.addString(String)>

    // 39 83:pop

    // 40 84:aload_2

    // 41 85:aload_3

    // 42 86:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 43 89:return

    }

     

    private void loadTutorial(L2PcInstance player)

    {

    // 0 0:aload_1

    // 1 1:ldc2 #366 <String "255_Tutorial">

    // 2 4:invokevirtual #367 <Method QuestState L2PcInstance.getQuestState(String)>

    // 3 7:astore_2

    // 4 8:aload_2

    // 5 9:ifnull 25

    // 6 12:aload_2

    // 7 13:invokevirtual #368 <Method Quest QuestState.getQuest()>

    // 8 16:ldc2 #369 <String "UC">

    // 9 19:aconst_null

    // 10 20:aload_1

    // 11 21:invokevirtual #370 <Method boolean Quest.notifyEvent(String, com.icpnetworks.gameserver.model.actor.L2Npc, L2PcInstance)>

    // 12 24:pop

    // 13 25:return

    }

     

    public String getType()

    {

    // 0 0:ldc2 #371 <String "[C] 11 EnterWorld">

    // 1 3:areturn

    }

     

    protected boolean triggersOnActionRequest()

    {

    // 0 0:iconst_0

    // 1 1:ireturn

    }

     

    public static void addSpawnListener(PlayerSpawnListener listener)

    {

    // 0 0:getstatic #335 <Field FastList listeners>

    // 1 3:aload_0

    // 2 4:invokevirtual #372 <Method boolean FastList.contains(Object)>

    // 3 7:ifne 18

    // 4 10:getstatic #335 <Field FastList listeners>

    // 5 13:aload_0

    // 6 14:invokevirtual #373 <Method boolean FastList.add(Object)>

    // 7 17:pop

    // 8 18:return

    }

     

    public static void removeSpawnListener(PlayerSpawnListener listener)

    {

    // 0 0:getstatic #335 <Field FastList listeners>

    // 1 3:aload_0

    // 2 4:invokevirtual #374 <Method boolean FastList.remove(Object)>

    // 3 7:pop

    // 4 8:return

    }

     

    private void PremiumServiceIcon(L2PcInstance activeChar)

    {

    // 0 0:aload_1

    // 1 1:invokevirtual #40 <Method int L2PcInstance.getPremiumService()>

    // 2 4:iconst_1

    // 3 5:icmpne 31

    // 4 8:aload_1

    // 5 9:new #375 <Class PremiumState>

    // 6 12:dup

    // 7 13:aload_1

    // 8 14:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 9 17:iconst_1

    // 10 18:invokespecial #376 <Method void PremiumState(int, int)>

    // 11 21:invokevirtual #43 <Method void L2PcInstance.sendPacket(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 12 24:aload_1

    // 13 25:ldc2 #377 <String "Premium account: now active">

    // 14 28:invokevirtual #245 <Method void L2PcInstance.sendMessage(String)>

    // 15 31:return

    }

     

    private void notifyCastleOwner(L2PcInstance activeChar)

    {

    // 0 0:aload_1

    // 1 1:invokevirtual #73 <Method L2Clan L2PcInstance.getClan()>

    // 2 4:astore_2

    // 3 5:aload_2

    // 4 6:ifnull 100

    // 5 9:aload_2

    // 6 10:invokevirtual #118 <Method int L2Clan.getCastleId()>

    // 7 13:ifle 100

    // 8 16:invokestatic #119 <Method CastleManager CastleManager.getInstance()>

    // 9 19:aload_2

    // 10 20:invokevirtual #118 <Method int L2Clan.getCastleId()>

    // 11 23:invokevirtual #378 <Method Castle CastleManager.getCastleById(int)>

    // 12 26:astore_3

    // 13 27:aload_3

    // 14 28:ifnull 100

    // 15 31:aload_1

    // 16 32:invokevirtual #28 <Method int L2PcInstance.getObjectId()>

    // 17 35:aload_2

    // 18 36:invokevirtual #379 <Method int L2Clan.getLeaderId()>

    // 19 39:icmpne 100

    // 20 42:new #219 <Class CreatureSay>

    // 21 45:dup

    // 22 46:iconst_1

    // 23 47:bipush 20

    // 24 49:ldc2 #380 <String "Castle System">

    // 25 52:new #16 <Class StringBuilder>

    // 26 55:dup

    // 27 56:invokespecial #17 <Method void StringBuilder()>

    // 28 59:ldc2 #381 <String "Lord ">

    // 29 62:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 30 65:aload_1

    // 31 66:invokevirtual #38 <Method String L2PcInstance.getName()>

    // 32 69:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 33 72:ldc2 #382 <String " Ruler Of ">

    // 34 75:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 35 78:aload_3

    // 36 79:invokevirtual #383 <Method String Castle.getName()>

    // 37 82:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 38 85:ldc2 #384 <String " Castle is Now Online!">

    // 39 88:invokevirtual #20 <Method StringBuilder StringBuilder.append(String)>

    // 40 91:invokevirtual #21 <Method String StringBuilder.toString()>

    // 41 94:invokespecial #223 <Method void CreatureSay(int, int, String, String)>

    // 42 97:invokestatic #224 <Method void Broadcast.toAllOnlinePlayers(com.icpnetworks.gameserver.network.serverpackets.L2GameServerPacket)>

    // 43 100:return

    }

     

    static

    {

    // 0 0:new #385 <Class FastList>

    // 1 3:dup

    // 2 4:invokespecial #386 <Method void FastList()>

    // 3 7:invokevirtual #387 <Method FastList FastList.shared()>

    // 4 10:putstatic #335 <Field FastList listeners>

    // 5 13:return

    }

     

    private static final String _C__11_ENTERWORLD = "[C] 11 EnterWorld";

    private static FastList listeners;

    private final int[][] tracert;

    }

×
×
  • Создать...