Jump to content

Napster321

Banned
  • Posts

    1,639
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Napster321

  1. I want to sell l2j server pack ready for mid rate server pm me for more info.
  2. [Hidden post: You need reply to this topic to see it.]
  3. That's my die.java i cant find something wrong /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package com.l2jfrozen.gameserver.network.serverpackets; import com.l2jfrozen.gameserver.datatables.AccessLevel; import com.l2jfrozen.gameserver.datatables.sql.AccessLevels; import com.l2jfrozen.gameserver.managers.CastleManager; import com.l2jfrozen.gameserver.managers.FortManager; import com.l2jfrozen.gameserver.model.L2Attackable; import com.l2jfrozen.gameserver.model.L2Character; import com.l2jfrozen.gameserver.model.L2SiegeClan; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.entity.event.CTF; import com.l2jfrozen.gameserver.model.entity.event.DM; import com.l2jfrozen.gameserver.model.entity.event.TvT; import com.l2jfrozen.gameserver.model.entity.siege.Castle; import com.l2jfrozen.gameserver.model.entity.siege.Fort; /** * sample 0b 952a1048 objectId 00000000 00000000 00000000 00000000 00000000 00000000 format dddddd rev 377 format * ddddddd rev 417 * * @version $Revision: 1.3.3 $ $Date: 2009/04/29 00:46:18 $ */ public class Die extends L2GameServerPacket { private static final String _S__0B_DIE = "[s] 06 Die"; private int _charObjId; private boolean _fake; private boolean _sweepable; private boolean _canTeleport; private AccessLevel _access = AccessLevels.getInstance()._userAccessLevel; private com.l2jfrozen.gameserver.model.L2Clan _clan; L2Character _activeChar; /** * @param cha */ public Die(L2Character cha) { _activeChar = cha; if(cha instanceof L2PcInstance) { L2PcInstance player = (L2PcInstance) cha; _access = player.getAccessLevel(); _clan = player.getClan(); _canTeleport = !((TvT.is_started() && player._inEventTvT) || (DM.is_started() && player._inEventDM) || (CTF.is_started() && player._inEventCTF) || player.isInFunEvent() || player.isPendingRevive()); if(_canTeleport) _canTeleport = com.l2jfrozen.gameserver.event.EventManager.getInstance().isRegistered(player) && com.l2jfrozen.gameserver.event.EventManager.getInstance().isRunning(); } _charObjId = cha.getObjectId(); _fake = !cha.isDead(); if(cha instanceof L2Attackable) { _sweepable = ((L2Attackable) cha).isSweepActive(); } } @Override protected final void writeImpl() { if(_fake) return; writeC(0x06); writeD(_charObjId); // NOTE: // 6d 00 00 00 00 - to nearest village // 6d 01 00 00 00 - to hide away // 6d 02 00 00 00 - to castle // 6d 03 00 00 00 - to siege HQ // sweepable // 6d 04 00 00 00 - FIXED writeD(_canTeleport ? 0x01 : 0); // 6d 00 00 00 00 - to nearest village if(_canTeleport && _clan != null) { L2SiegeClan siegeClan = null; Boolean isInDefense = false; Castle castle = CastleManager.getInstance().getCastle(_activeChar); Fort fort = FortManager.getInstance().getFort(_activeChar); if(castle != null && castle.getSiege().getIsInProgress()) { //siege in progress siegeClan = castle.getSiege().getAttackerClan(_clan); if(siegeClan == null && castle.getSiege().checkIsDefender(_clan)) { isInDefense = true; } } else if(fort != null && fort.getSiege().getIsInProgress()) { //siege in progress siegeClan = fort.getSiege().getAttackerClan(_clan); if(siegeClan == null && fort.getSiege().checkIsDefender(_clan)) { isInDefense = true; } } writeD(_clan.getHasHideout() > 0 ? 0x01 : 0x00); // 6d 01 00 00 00 - to hide away writeD(_clan.getHasCastle() > 0 || _clan.getHasFort() > 0 || isInDefense ? 0x01 : 0x00); // 6d 02 00 00 00 - to castle writeD(siegeClan != null && !isInDefense && siegeClan.getFlag().size() > 0 ? 0x01 : 0x00); // 6d 03 00 00 00 - to siege HQ } else { writeD(0x00); // 6d 01 00 00 00 - to hide away writeD(0x00); // 6d 02 00 00 00 - to castle writeD(0x00); // 6d 03 00 00 00 - to siege HQ } writeD(_sweepable ? 0x01 : 0x00); // sweepable (blue glow) writeD(_access.allowFixedRes() ? 0x01 : 0x00); // 6d 04 00 00 00 - to FIXED } /* (non-Javadoc) * @see com.l2jfrozen.gameserver.serverpackets.ServerBasePacket#getType() */ @Override public String getType() { return _S__0B_DIE; } }
  4. what can i do for that? im using l2jfrozen where should i check and what?
  5. apo pou ki ws pou na pas esy ston psoma? WTF lock to topic.
  6. lol xalarwse oute o elfo den kanei etsi...sto katw katw to site einai mono gia na vlepeis ta news to developing progress den stamataei....an einai dinatwn ekanes olokliro thread gia ena ddos .
  7. Greetings, brave traveler! I bring to you a website that has been long awaited! I bring to you a website that lets you reminisce on this amazing game and look forward to it's sequel! Do you still remember how amazing it felt to create your first character? Do you remember, how you killed your first goblin and slaughtered your very first keltir? Weren't those amazing moments? Don't you hold those memories dear to your heart? One may argue how Lineage changed throughout time but one thing should never be questioned. Lineage II is a game that we all love. Lineage II is not simply a game. It is a journey. A journey, once made, will never be forgotten. Lineage3-Online.com is Lineage themed, indeed. We want to dedicate this site to this amazing game and let others freely discuss and reminisce about their experiences. However, it is not solely focused on Lineage. It is a place for everyone, indeed. To discuss and socialize, talk about anything you like. There are no boundaries. Thus I invite you to step in and pay us a visit. What bad can come of it? We mean you no harm, dear friend. Join, and you shall not regret. http://lineage3-online.com
  8. i want to ask how can i make that html put it in website? is it possible first of all?
  9. Elfo you are very good dev and your project will be used by a lot of people wish you the best!
  10. you want top quality for free.....DIFFICULT/IMPOSSIBLE
×
×
  • Create New...