Jump to content

DeVBlaze

Members
  • Posts

    422
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by DeVBlaze

  1. Like what ? I don't see enough info about the project either :P
  2. Egw thelo mia vila kamia 30argia maids kai kana ekatomirio kai se psifiso dagodo :P
  3. Lineage 2 Naia Powerleveling In less than a Week(1) from 0 Level to 85 Level 7 Days ~ 50€(68.36$) 5 Days ~ 75€(102.54$) 100% Safe - Guarantee Contact: dev.blaze@gmail.com devblaze(Skype) Payment PayPal, PaySafeCard, CreditCard or Bank Transfer
  4. Nai mporite na valete tis apopsisas edw, psaxno na do pou yparxi pio polloi entiaferon
  5. You have the right to make multiple choices.
  6. Mporite na epileksete parapano apo mia epiloges.
  7. http://eliteadmins.es/threads/interlude-lindvior-e-valakas-weapons.5524/
  8. [shadow=red,left]Lineage 2 Cobalion[/shadow] Exp.: x75 Sp.: x75 Drop: x2 Drop Spoil: x3 -==================- Safe Enchant: +5 Max Enchant: +20 Normal Enchant Change: 70% Bless Enchant Change: 95% ~ Custom Items ~ Ice Crusader Epic Dark Knigth Epic Weapons ~ Server Coins ~ Global Coins ~ Reward Items ~ Gold Medal Silver Medal Bronze Medal -==================- Vote Reward Ticket Bless Item ~ Features ~ *100% balanced gameplay and economical system. *100% working auguments. *Buff duration 1 hour. *Offline shops disabled. *Unstuck 30 seconds *Olympaid period 2 week Download: http://www.mediafire.com/download/2a4w27kod27qi28/L2_Cobalion.rar Website: http://l2cobalion.tk
  9. http://l2extreme.bplaced.net/
  10. Does anyone know how can i decode the encoded php files with eAccelerator. Example: <?php if (!is_callable("eaccelerator_load") && !@dl("eAccelerator.so")) { die("Du hast kein eAcellerator installiert, was aber zwingend erforderlich ist. <a href=\"http://eaccelerator.sourceforge.net/\">eAccelerator</a>"); }eaccelerator_load('eJxzdXR2dvVxDXIM8Q9iYGZgYGBiYG YHUumpJdmplUAeA4TjDeSgAiYkth0j48/GeoapIDYHiGABYjYUlTlo2pmR2BqMzAJAykY/KT+l0o7LRj+jJDfHjsufA2EgMgAARGQRug=='); ?>
  11. nai epsaksa alla pou einai :P
  12. Nomizo yparxi mia epilogi pou kani ta clan skills na mporis na ta pernis xwris ta eggs thimate kanis pou einai??? (L2J Server / High Five)
  13. It's still on a PC not to dedicated so don't :P
  14. Is it possible to make the Divine Scroll's to been able to use them when the weapon is +16 until +20 ??? Sorry for my bad english
  15. ok to efriaksa to Queen Ant alla otan varaw ta Grand Boss (Baium, Valakas kai Antharas) me kani teleport allou h leei oti autoktonisa (Sto baium sigekrimena)
  16. oxi otan skotono to Queen Ant kai den rixni tpt, episis se auto edw to code pou dini xroma sto title pos mporo na to kanw na einai gia 7 Meres? st.getPlayer().getAppearance().setTitleColor(0x70db93)
  17. Exw ena provlima me tin Queen Ant kai den mporo na vro ti ftei edw einai kai to java pou vgazi problima /* * 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */ package ai.individual; import java.util.List; import javolution.util.FastList; import ai.group_template.L2AttackableAIScript; import com.l2jserver.Config; import com.l2jserver.gameserver.ai.CtrlIntention; import com.l2jserver.gameserver.datatables.SkillTable; import com.l2jserver.gameserver.instancemanager.GrandBossManager; import com.l2jserver.gameserver.model.StatsSet; import com.l2jserver.gameserver.model.actor.L2Attackable; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.L2Playable; import com.l2jserver.gameserver.model.actor.instance.L2GrandBossInstance; import com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.holders.SkillHolder; import com.l2jserver.gameserver.model.skills.L2Skill; import com.l2jserver.gameserver.model.zone.type.L2BossZone; import com.l2jserver.gameserver.network.serverpackets.MagicSkillUse; import com.l2jserver.gameserver.network.serverpackets.PlaySound; import com.l2jserver.util.Rnd; /** * Queen Ant AI * @author Emperorc */ public class QueenAnt extends L2AttackableAIScript { private static final int QUEEN = 29001; private static final int LARVA = 29002; private static final int NURSE = 29003; private static final int GUARD = 29004; private static final int ROYAL = 29005; private static final int[] MOBS = { QUEEN, LARVA, NURSE, GUARD, ROYAL }; private static final int QUEEN_X = -21610; private static final int QUEEN_Y = 181594; private static final int QUEEN_Z = -5734; // QUEEN Status Tracking : private static final byte ALIVE = 0; // Queen Ant is spawned. private static final byte DEAD = 1; // Queen Ant has been killed. private static L2BossZone _zone; private static SkillHolder HEAL1 = new SkillHolder(4020, 1); private static SkillHolder HEAL2 = new SkillHolder(4024, 1); private L2MonsterInstance _queen = null; private L2MonsterInstance _larva = null; private final List<L2MonsterInstance> _nurses = new FastList<>(5); public QueenAnt(int questId, String name, String descr) { super(questId, name, descr); registerMobs(MOBS, QuestEventType.ON_SPAWN, QuestEventType.ON_KILL, QuestEventType.ON_AGGRO_RANGE_ENTER); addFactionCallId(NURSE); _zone = GrandBossManager.getInstance().getZone(QUEEN_X, QUEEN_Y, QUEEN_Z); StatsSet info = GrandBossManager.getInstance().getStatsSet(QUEEN); int status = GrandBossManager.getInstance().getBossStatus(QUEEN); if (status == DEAD) { // load the unlock date and time for queen ant from DB long temp = info.getLong("respawn_time") - System.currentTimeMillis(); // if queen ant is locked until a certain time, mark it so and start the unlock timer // the unlock time has not yet expired. if (temp > 0) { startQuestTimer("queen_unlock", temp, null, null); } else { // the time has already expired while the server was offline. Immediately spawn queen ant. L2GrandBossInstance queen = (L2GrandBossInstance) addSpawn(QUEEN, QUEEN_X, QUEEN_Y, QUEEN_Z, 0, false, 0); GrandBossManager.getInstance().setBossStatus(QUEEN, ALIVE); spawnBoss(queen); } } else { int loc_x = info.getInteger("loc_x"); int loc_y = info.getInteger("loc_y"); int loc_z = info.getInteger("loc_z"); int heading = info.getInteger("heading"); int hp = info.getInteger("currentHP"); int mp = info.getInteger("currentMP"); if (!_zone.isInsideZone(loc_x, loc_y, loc_z)) { loc_x = QUEEN_X; loc_y = QUEEN_Y; loc_z = QUEEN_Z; } L2GrandBossInstance queen = (L2GrandBossInstance) addSpawn(QUEEN, loc_x, loc_y, loc_z, heading, false, 0); queen.setCurrentHpMp(hp, mp); spawnBoss(queen); } } private void spawnBoss(L2GrandBossInstance npc) { GrandBossManager.getInstance().addBoss(npc); if (getRandom(100) < 33) { _zone.movePlayersTo(-19480, 187344, -5600); } else if (getRandom(100) < 50) { _zone.movePlayersTo(-17928, 180912, -5520); } else { _zone.movePlayersTo(-23808, 182368, -5600); } GrandBossManager.getInstance().addBoss(npc); startQuestTimer("action", 10000, npc, null, true); startQuestTimer("heal", 1000, null, null, true); npc.broadcastPacket(new PlaySound(1, "BS02_D", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ())); _queen = npc; _larva = (L2MonsterInstance) addSpawn(LARVA, -21600, 179482, -5846, getRandom(360), false, 0); } @Override public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { if (event.equalsIgnoreCase("heal")) { boolean notCasting; final boolean larvaNeedHeal = (_larva != null) && (_larva.getCurrentHp() < _larva.getMaxHp()); final boolean queenNeedHeal = (_queen != null) && (_queen.getCurrentHp() < _queen.getMaxHp()); for (L2MonsterInstance nurse : _nurses) { if ((nurse == null) || nurse.isDead() || nurse.isCastingNow()) { continue; } notCasting = nurse.getAI().getIntention() != CtrlIntention.AI_INTENTION_CAST; if (larvaNeedHeal) { if ((nurse.getTarget() != _larva) || notCasting) { nurse.setTarget(_larva); nurse.useMagic(Rnd.nextBoolean() ? HEAL1.getSkill() : HEAL2.getSkill()); } continue; } if (queenNeedHeal) { if (nurse.getLeader() == _larva) { continue; } if ((nurse.getTarget() != _queen) || notCasting) { nurse.setTarget(_queen); nurse.useMagic(HEAL1.getSkill()); } continue; } // if nurse not casting - remove target if (notCasting && (nurse.getTarget() != null)) { nurse.setTarget(null); } } } else if (event.equalsIgnoreCase("action") && (npc != null)) { if (getRandom(3) == 0) { if (getRandom(2) == 0) { npc.broadcastSocialAction(3); } else { npc.broadcastSocialAction(4); } } } else if (event.equalsIgnoreCase("queen_unlock")) { L2GrandBossInstance queen = (L2GrandBossInstance) addSpawn(QUEEN, QUEEN_X, QUEEN_Y, QUEEN_Z, 0, false, 0); GrandBossManager.getInstance().setBossStatus(QUEEN, ALIVE); spawnBoss(queen); } return super.onAdvEvent(event, npc, player); } @Override public String onSpawn(L2Npc npc) { final L2MonsterInstance mob = (L2MonsterInstance) npc; switch (npc.getNpcId()) { case LARVA: mob.setIsImmobilized(true); mob.setIsMortal(false); mob.setIsRaidMinion(true); break; case NURSE: mob.disableCoreAI(true); mob.setIsRaidMinion(true); _nurses.add(mob); break; case ROYAL: case GUARD: mob.setIsRaidMinion(true); break; } return super.onSpawn(npc); } @Override public String onFactionCall(L2Npc npc, L2Npc caller, L2PcInstance attacker, boolean isPet) { if ((caller == null) || (npc == null)) { return super.onFactionCall(npc, caller, attacker, isPet); } if (!npc.isCastingNow() && (npc.getAI().getIntention() != CtrlIntention.AI_INTENTION_CAST)) { if (caller.getCurrentHp() < caller.getMaxHp()) { npc.setTarget(caller); ((L2Attackable) npc).useMagic(HEAL1.getSkill()); } } return null; } @Override public String onAggroRangeEnter(L2Npc npc, L2PcInstance player, boolean isPet) { if (npc == null) { return null; } final boolean isMage; final L2Playable character; if (isPet) { isMage = false; character = player.getPet(); } else { isMage = player.isMageClass(); character = player; } if (character == null) { return null; } if (!Config.RAID_DISABLE_CURSE && ((character.getLevel() - npc.getLevel()) > 8)) { L2Skill curse = null; if (isMage) { if (!character.isMuted() && (getRandom(4) == 0)) { curse = SkillTable.FrequentSkill.RAID_CURSE.getSkill(); } } else { if (!character.isParalyzed() && (getRandom(4) == 0)) { curse = SkillTable.FrequentSkill.RAID_CURSE2.getSkill(); } } if (curse != null) { npc.broadcastPacket(new MagicSkillUse(npc, character, curse.getId(), curse.getLevel(), 300, 0)); curse.getEffects(npc, character); } ((L2Attackable) npc).stopHating(character); // for calling again return null; } return super.onAggroRangeEnter(npc, player, isPet); } @Override public String onKill(L2Npc npc, L2PcInstance killer, boolean isPet) { int npcId = npc.getNpcId(); if (npcId == QUEEN) { npc.broadcastPacket(new PlaySound(1, "BS02_D", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ())); GrandBossManager.getInstance().setBossStatus(QUEEN, DEAD); // Respawn time is 36 Hours - 17 Random Hours long respawnTime = (long) Config.Interval_Of_QueenAnt_Spawn - getRandom(Config.Random_Of_QueenAnt_Spawn); startQuestTimer("queen_unlock", respawnTime, null, null); cancelQuestTimer("action", npc, null); cancelQuestTimer("heal", null, null); // also save the respawn time so that the info is maintained past reboots StatsSet info = GrandBossManager.getInstance().getStatsSet(QUEEN); info.set("respawn_time", System.currentTimeMillis() + respawnTime); GrandBossManager.getInstance().setStatsSet(QUEEN, info); _nurses.clear(); _larva.deleteMe(); _larva = null; _queen = null; } else if ((_queen != null) && !_queen.isAlikeDead()) { if (npcId == ROYAL) { L2MonsterInstance mob = (L2MonsterInstance) npc; if (mob.getLeader() != null) { mob.getLeader().getMinionList().onMinionDie(mob, (280 + getRandom(40)) * 1000); } } else if (npcId == NURSE) { L2MonsterInstance mob = (L2MonsterInstance) npc; _nurses.remove(mob); if (mob.getLeader() != null) { mob.getLeader().getMinionList().onMinionDie(mob, 10000); } } } return super.onKill(npc, killer, isPet); } public static void main(String[] args) { // now call the constructor (starts up the ai) new QueenAnt(-1, "queen_ant", "ai"); } }
  18. Exei kanenas to Geodata tou L2J High Five?
  19. ok thanks vl4d gt to epsaxna apo to L2J_Configurator.jar :P
  20. Nope den einai ekei
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock