can not enter the room of Antharas

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
maxstyleboy
Posts: 183
Joined: Thu Jul 15, 2010 12:26 am

can not enter the room of Antharas

Post by maxstyleboy »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4410:
L2JDP Revision 7663:

Image

Players can not enter the room of Antharas. :(
can someone help me? :oops:
User avatar
Nyayukko
Posts: 14
Joined: Sat Nov 29, 2008 9:28 am

Re: can not enter the room of Antharas

Post by Nyayukko »

You check respawn of 4 Antharas? Old, Weak, Normak and Strong
Image
Image
Image
maxstyleboy
Posts: 183
Joined: Thu Jul 15, 2010 12:26 am

Re: can not enter the room of Antharas

Post by maxstyleboy »

not, what should I do?
maxstyleboy
Posts: 183
Joined: Thu Jul 15, 2010 12:26 am

Re: can not enter the room of Antharas

Post by maxstyleboy »

Image


I'm still having problems, need help! :cry:
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: can not enter the room of Antharas

Post by hope »

Did you do the quest, all parts?
maxstyleboy
Posts: 183
Joined: Thu Jul 15, 2010 12:26 am

Re: can not enter the room of Antharas

Post by maxstyleboy »

yes
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: can not enter the room of Antharas

Post by Naonah »

Custom mods.

Post here all codes you modified otherwise we cant help you.
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: can not enter the room of Antharas

Post by SolidSnake »

If I remember good, that custom npc had a problem with Antharas.. Have you downloaded last 'BossRespawn.java' version?
Image
User avatar
Tan
L2j Veteran
L2j Veteran
Posts: 873
Joined: Wed Jun 10, 2009 10:31 pm
Location: Poland

Re: can not enter the room of Antharas

Post by Tan »

Have you spawned Antharas manually?
Some people believe in God... i believe in Music... some people pray..... I turn on Winamp
http://www.last.fm/user/L2jTan
Akz
Posts: 13
Joined: Thu Mar 26, 2009 8:39 pm

Re: can not enter the room of Antharas

Post 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. :P
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: can not enter the room of Antharas

Post 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?
Image
Akz
Posts: 13
Joined: Thu Mar 26, 2009 8:39 pm

Re: can not enter the room of Antharas

Post by Akz »

I'd say there's nothing wrong except his custom NPC. :P
maxstyleboy
Posts: 183
Joined: Thu Jul 15, 2010 12:26 am

Re: can not enter the room of Antharas

Post 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");    }}
maxstyleboy
Posts: 183
Joined: Thu Jul 15, 2010 12:26 am

Re: can not enter the room of Antharas

Post by maxstyleboy »

In my database stats raid boss 3 and respawn 0
maxstyleboy
Posts: 183
Joined: Thu Jul 15, 2010 12:26 am

Re: can not enter the room of Antharas

Post by maxstyleboy »

I'm still having problems...
Last edited by maxstyleboy on Thu Dec 09, 2010 8:48 pm, edited 1 time in total.
Post Reply