Page 1 of 2
can not enter the room of Antharas
Posted: Fri Sep 03, 2010 11:34 pm
by maxstyleboy
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision
4410:
L2JDP Revision
7663:
Players can not enter the room of Antharas.
can someone help me?

Re: can not enter the room of Antharas
Posted: Sat Sep 04, 2010 1:45 am
by Nyayukko
You check respawn of 4 Antharas? Old, Weak, Normak and Strong
Re: can not enter the room of Antharas
Posted: Sat Sep 04, 2010 2:21 am
by maxstyleboy
not, what should I do?
Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 5:37 am
by maxstyleboy
I'm still having problems, need help!

Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 5:55 am
by hope
Did you do the quest, all parts?
Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 7:08 am
by maxstyleboy
yes
Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 7:37 am
by Naonah
Custom mods.
Post here all codes you modified otherwise we cant help you.
Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 7:42 am
by SolidSnake
If I remember good, that custom npc had a problem with Antharas.. Have you downloaded last 'BossRespawn.java' version?
Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 9:43 am
by Tan
Have you spawned Antharas manually?
Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 11:17 am
by Akz
That message is displayed when Antharas' status is 3 (dead).
Check his status in your database.
Edit: That custom NPC which shows boss status indeed has a problem with Antharas due to the fact that there are more than one Antharas.

Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 11:36 am
by SolidSnake
http://pastebin.com/zWfZu3rh
Use this version made by ThePunisher, it should be fixed and it update Grand/Raid Bosses' status every 30 minutes
Anyway the Grand Bosses' system is very simple to disturb.. If there is this problem it's because you have done something wrong or Antharas is dead, who knows?
Re: can not enter the room of Antharas
Posted: Mon Sep 13, 2010 11:46 am
by Akz
I'd say there's nothing wrong except his custom NPC.

Re: can not enter the room of Antharas
Posted: Tue Sep 14, 2010 1:49 am
by maxstyleboy
BossRespawn.java
Code: Select all
/* * 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 custom.BossRespawn; import javolution.text.TextBuilder; import com.l2jserver.gameserver.instancemanager.GrandBossManager;import com.l2jserver.gameserver.model.actor.L2Npc;import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;import com.l2jserver.gameserver.model.quest.Quest;import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;import com.l2jserver.gameserver.datatables.NpcTable; public class BossRespawn extends Quest{ private static final int NPC_ID = 93000; private static final int[] BOSSES = {29001, 29006, 29014, 29020, 29022, 29028, 29045, 29019, 29066, 29067, 29068, 25325}; public BossRespawn(int questid, String name, String descr) { super(questid, name, descr); addFirstTalkId(NPC_ID); } public String onFirstTalk(L2Npc npc, L2PcInstance pc) { if(npc == null || pc == null) return null; if(npc.getNpcId() == NPC_ID) { sendInfo(pc); } return null; } private void sendInfo(L2PcInstance activeChar) { TextBuilder tb = new TextBuilder(); tb.append("<html><title>Chat</title><body><br><center>"); tb.append("<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br><br>"); for(int boss : BOSSES) { String name = NpcTable.getInstance().getTemplate(boss).getName(); long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time"); if (delay <= System.currentTimeMillis()) { tb.append("<font color=\"00C3FF\">" + name + "</color>: " + "<font color=\"9CC300\">Is Alive</color>"+"<br1>"); } else { int hours = (int) ((delay - System.currentTimeMillis()) / 1000 / 60 / 60); int mins = (int) (((delay - (hours * 60 * 60 * 1000)) - System.currentTimeMillis()) / 1000 / 60); int seconts = (int) (((delay - ((hours * 60 * 60 * 1000) + (mins * 60 * 1000))) - System.currentTimeMillis()) / 1000); tb.append("<font color=\"00C3FF\">" + name + "</color>" + "<font color=\"FFFFFF\">" +" " + "Respawn in :</color>" + " " + " <font color=\"32C332\">" + hours + " : " + mins + " : " + seconts + "</color><br1>"); } } tb.append("<br><img src=\"L2UI_CH3.herotower_deco\" width=256 height=32><br>"); tb.append("</center></body></html>"); NpcHtmlMessage msg = new NpcHtmlMessage(NPC_ID); msg.setHtml(tb.toString()); activeChar.sendPacket(msg); } public static void main(String[] args) { new BossRespawn(-1, "BossRespawn", "custom"); }}
Re: can not enter the room of Antharas
Posted: Tue Sep 14, 2010 1:53 am
by maxstyleboy
In my database stats raid boss 3 and respawn 0
Re: can not enter the room of Antharas
Posted: Thu Sep 16, 2010 10:15 am
by maxstyleboy
I'm still having problems...