Is it possible to use Adrenalin 1.71 (Cracked) on clients higher than H5? Looking for support for Grand Crusade (109) or Essence: Assassin (418) on a bot-allowed server.
Really? Really
Completely? Completely
We're sorry too. It's been a great way of 10 years, and we are grateful to you for every activation you made. All the details about the closure are available on the website.
Important! The SMS-Activate brand no longer exists. There appear websites that duplicate our name — these are scammers, we have no connection to them. If you receive messages from “SMS-Activate employees”, be sure it's a scam. Currently, our technical support is only processing withdrawals from balances.
Question
EvadeTube
Hey Guys When i go from the Giran Harbor to the NPC where i talk for the zaken day time nighttime something like that Therese doing nothing
here is the script
/* * 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.grandboss; import java.util.logging.Logger; import ai.group_template.L2AttackableAIScript; import com.l2jserver.Config; import com.l2jserver.gameserver.GameTimeController; import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.ai.CtrlIntention; import com.l2jserver.gameserver.datatables.DoorTable; import com.l2jserver.gameserver.datatables.SkillTable; import com.l2jserver.gameserver.instancemanager.GrandBossManager; import com.l2jserver.gameserver.model.L2Effect; import com.l2jserver.gameserver.model.L2Object; import com.l2jserver.gameserver.model.L2Skill; import com.l2jserver.gameserver.model.actor.L2Attackable; import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2GrandBossInstance; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.zone.type.L2BossZone; import com.l2jserver.gameserver.network.serverpackets.PlaySound; import com.l2jserver.gameserver.templates.StatsSet; import com.l2jserver.util.Rnd; /** * Zaken AI * */ public class Zaken extends L2AttackableAIScript { private static final Logger _log = Logger.getLogger(Zaken.class.getName()); private int _1001 = 0; // Used for first cancel of QuestTimer "1001" private int _ai0 = 0; // Used for zaken coords updater private int _ai1 = 0; // Used for X coord tracking for non-random teleporting in zaken's self teleport skill private int _ai2 = 0; // Used for Y coord tracking for non-random teleporting in zaken's self teleport skill private int _ai3 = 0; // Used for Z coord tracking for non-random teleporting in zaken's self teleport skill private int _ai4 = 0; // Used for spawning minions cycles private int _quest0 = 0; // Used for teleporting progress private int _quest1 = 0; // Used for most hated players progress private int _quest2 = 0; // Used for zaken HP check for teleport private L2PcInstance c_quest0 = null; // 1st player used for area teleport private L2PcInstance c_quest1 = null; // 2nd player used for area teleport private L2PcInstance c_quest2 = null; // 3rd player used for area teleport private L2PcInstance c_quest3 = null; // 4th player used for area teleport private L2PcInstance c_quest4 = null; // 5th player used for area teleport private static final int ZAKEN = 29022; private static final int doll_blader_b = 29023; private static final int vale_master_b = 29024; private static final int pirates_zombie_captain_b = 29026; private static final int pirates_zombie_b = 29027; private static final int[] Xcoords = { 53950, 55980, 54950, 55970, 53930, 55970, 55980, 54960, 53950, 53930, 55970, 55980, 54960, 53950, 53930 }; private static final int[] Ycoords = { 219860, 219820, 218790, 217770, 217760, 217770, 219920, 218790, 219860, 217760, 217770, 219920, 218790, 219860, 217760 }; private static final int[] Zcoords = { -3488, -3488, -3488, -3488, -3488, -3216, -3216, -3216, -3216, -3216, -2944, -2944, -2944, -2944, -2944 }; // ZAKEN Status Tracking : private static final byte ALIVE = 0; // Zaken is spawned. private static final byte DEAD = 1; // Zaken has been killed. private static L2BossZone _Zone; public Zaken(int questId, String name, String descr) { super(questId, name, descr); _Zone = GrandBossManager.getInstance().getZone(55312, 219168, -3223); // Zaken doors handling ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new Runnable() { public void run() { try { if (GameTimeController.getInstance().getInGameHour() == 0) { _Zone.allowPlayersEntry(true); DoorTable.getInstance().getDoor(21240006).openMe(); ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() { public void run() { try { DoorTable.getInstance().getDoor(21240006).closeMe(); _Zone.allowPlayersEntry(false); } catch (Throwable e) { _log.warning("Cannot close door ID: 21240006 " + e); } } }, 300000L); } } catch (Throwable e) { _log.warning("Cannot open door ID: 21240006 " + e); } } }, 2000L, 600000L); int[] mobs = { ZAKEN, doll_blader_b, vale_master_b, pirates_zombie_captain_b, pirates_zombie_b }; registerMobs(mobs, true, true, false, true, true, true, true); StatsSet info = GrandBossManager.getInstance().getStatsSet(ZAKEN); int status = GrandBossManager.getInstance().getBossStatus(ZAKEN); if (status == DEAD) { // Load the unlock date and time for zaken from DB long temp = info.getLong("respawn_time") - System.currentTimeMillis(); // If zaken 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("zaken_unlock", temp, null, null); else { // The time has already expired while the server was offline. // Immediately spawn zaken. L2GrandBossInstance zaken = (L2GrandBossInstance) addSpawn(ZAKEN, 55312, 219168, -3223, 0, false, 0); GrandBossManager.getInstance().setBossStatus(ZAKEN, ALIVE); _Zone.oustAllPlayers(); spawnBoss(zaken); } } 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"); L2GrandBossInstance zaken = (L2GrandBossInstance) addSpawn(ZAKEN, loc_x, loc_y, loc_z, heading, false, 0); zaken.setCurrentHpMp(hp, mp); _Zone.oustAllPlayers(); spawnBoss(zaken); } } public void spawnBoss(L2GrandBossInstance npc) { if (npc == null) { _log.warning("Zaken AI failed to load, missing Zaken in grandboss_data.sql"); return; } GrandBossManager.getInstance().addBoss(npc); npc.broadcastPacket(new PlaySound(1, "BS01_A", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ())); _ai0 = 0; _ai1 = npc.getX(); _ai2 = npc.getY(); _ai3 = npc.getZ(); _quest0 = 0; _quest1 = 0; _quest2 = 3; if (_Zone == null) { _log.warning("Zaken AI failed to load, missing zone for Zaken"); return; } if (_Zone.isInsideZone(npc)) { _ai4 = 1; startQuestTimer("1003", 1700, null, null, true); } _1001 = 1; startQuestTimer("1001", 1000, npc, null, true); // Buffs, random teleports } public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { int status = GrandBossManager.getInstance().getBossStatus(ZAKEN); if (event.equalsIgnoreCase("oust_players")) { _Zone.oustAllPlayers(); } if (status == DEAD && !event.equalsIgnoreCase("zaken_unlock")) return super.onAdvEvent(event, npc, player); if (event.equalsIgnoreCase("1001")) { if (_1001 == 1) { _1001 = 0; cancelQuestTimer("1001", npc, null); } int sk_4223 = 0; int sk_4227 = 0; L2Effect[] effects = npc.getAllEffects(); if (effects != null && effects.length != 0) { for (L2Effect e : effects) { if (e.getSkill().getId() == 4227) { sk_4227 = 1; } if (e.getSkill().getId() == 4223) { sk_4223 = 1; } } } if (GameTimeController.getInstance().getInGameHour() < 5) { if (sk_4223 == 1) // Use night face if zaken have day face { npc.setTarget(npc); npc.doCast(SkillTable.getInstance().getInfo(4224, 1)); _ai1 = npc.getX(); _ai2 = npc.getY(); _ai3 = npc.getZ(); } if (sk_4227 == 0) // Use zaken regeneration { npc.setTarget(npc); npc.doCast(SkillTable.getInstance().getInfo(4227, 1)); } if (npc.getAI().getIntention() == CtrlIntention.AI_INTENTION_ATTACK && _ai0 == 0) { int i0 = 0; int i1 = 1; if (((L2Attackable) npc).getMostHated() != null) { if ((((((L2Attackable) npc).getMostHated().getX() - _ai1) * (((L2Attackable) npc).getMostHated().getX() - _ai1)) + ((((L2Attackable) npc).getMostHated().getY() - _ai2) * (((L2Attackable) npc).getMostHated().getY() - _ai2))) > (1500 * 1500)) i0 = 1; else i0 = 0; if (i0 == 0) i1 = 0; if (_quest0 > 0) { if (c_quest0 == null) i0 = 0; else if ((((c_quest0.getX() - _ai1) * (c_quest0.getX() - _ai1)) + ((c_quest0.getY() - _ai2) * (c_quest0.getY() - _ai2))) > (1500 * 1500)) i0 = 1; else i0 = 0; if (i0 == 0) i1 = 0; } if (_quest0 > 1) { if (c_quest1 == null) i0 = 0; else if ((((c_quest1.getX() - _ai1) * (c_quest1.getX() - _ai1)) + ((c_quest1.getY() - _ai2) * (c_quest1.getY() - _ai2))) > (1500 * 1500)) i0 = 1; else i0 = 0; if (i0 == 0) i1 = 0; } if (_quest0 > 2) { if (c_quest2 == null) i0 = 0; else if ((((c_quest2.getX() - _ai1) * (c_quest2.getX() - _ai1)) + ((c_quest2.getY() - _ai2) * (c_quest2.getY() - _ai2))) > (1500 * 1500)) i0 = 1; else i0 = 0; if (i0 == 0) i1 = 0; } if (_quest0 > 3) { if (c_quest3 == null) i0 = 0; else if ((((c_quest3.getX() - _ai1) * (c_quest3.getX() - _ai1)) + ((c_quest3.getY() - _ai2) * (c_quest3.getY() - _ai2))) > (1500 * 1500)) i0 = 1; else i0 = 0; if (i0 == 0) i1 = 0; } if (_quest0 > 4) { if (c_quest4 == null) i0 = 0; else if ((((c_quest4.getX() - _ai1) * (c_quest4.getX() - _ai1)) + ((c_quest4.getY() - _ai2) * (c_quest4.getY() - _ai2))) > (1500 * 1500)) i0 = 1; else i0 = 0; if (i0 == 0) i1 = 0; } if (i1 == 1) { _quest0 = 0; int i2 = Rnd.get(15); _ai1 = Xcoords[i2] + Rnd.get(650); _ai2 = Ycoords[i2] + Rnd.get(650); _ai3 = Zcoords[i2]; npc.setTarget(npc); npc.doCast(SkillTable.getInstance().getInfo(4222, 1)); } } } if (Rnd.get(20) < 1 && _ai0 == 0) { _ai1 = npc.getX(); _ai2 = npc.getY(); _ai3 = npc.getZ(); } L2Character c_ai0 = null; if (npc.getAI().getIntention() == CtrlIntention.AI_INTENTION_ATTACK && _quest1 == 0) { if (((L2Attackable) npc).getMostHated() != null) { c_ai0 = ((L2Attackable) npc).getMostHated(); _quest1 = 1; } } else if (npc.getAI().getIntention() == CtrlIntention.AI_INTENTION_ATTACK && _quest1 != 0) { if (((L2Attackable) npc).getMostHated() != null) { if (c_ai0 == ((L2Attackable) npc).getMostHated()) { _quest1 = (_quest1 + 1); } else { _quest1 = 1; c_ai0 = ((L2Attackable) npc).getMostHated(); } } } if (npc.getAI().getIntention() == CtrlIntention.AI_INTENTION_IDLE) { _quest1 = 0; } if (_quest1 > 5) { ((L2Attackable) npc).stopHating(c_ai0); L2Character nextTarget = ((L2Attackable) npc).getMostHated(); if (nextTarget != null) npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, nextTarget); _quest1 = 0; } } else if (sk_4223 == 0) // Use day face if not night time { npc.setTarget(npc); npc.doCast(SkillTable.getInstance().getInfo(4223, 1)); _quest2 = 3; } if (sk_4227 == 1) // When switching to day time, cancel zaken night regen { npc.setTarget(npc); npc.doCast(SkillTable.getInstance().getInfo(4242, 1)); } if (Rnd.get(40) < 1) { int i2 = Rnd.get(15); _ai1 = Xcoords[i2] + Rnd.get(650); _ai2 = Ycoords[i2] + Rnd.get(650); _ai3 = Zcoords[i2]; npc.setTarget(npc); npc.doCast(SkillTable.getInstance().getInfo(4222, 1)); } startQuestTimer("1001", 30000, npc, null, true); } if (event.equalsIgnoreCase("1002")) { _quest0 = 0; npc.doCast(SkillTable.getInstance().getInfo(4222, 1)); _ai0 = 0; } if (event.equalsIgnoreCase("1003")) { if (_ai4 == 1) { int rr = Rnd.get(15); addSpawn(pirates_zombie_captain_b, Xcoords[rr] + Rnd.get(650), Ycoords[rr] + Rnd.get(650), Zcoords[rr], Rnd.get(65536), false, 0).setIsRaidMinion(true); _ai4 = 2; } else if (_ai4 == 2) { int rr = Rnd.get(15); addSpawn(doll_blader_b, Xcoords[rr] + Rnd.get(650), Ycoords[rr] + Rnd.get(650), Zcoords[rr], Rnd.get(65536), false, 0).setIsRaidMinion(true); _ai4 = 3; } else if (_ai4 == 3) {3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now