Hello.
I made this share because i think it is usefull for some people because these bugs are known and critical.
First:
When you attack valakas you get teleported to goddard automatically.
Fix:
Find + open valakas.java on gameserver/data/scripts/ai/individual and do as the like-diff say. :D
public String onAttack(L2Npc npc, L2PcInstance attacker, int damage, boolean isPet, L2Skill skill)
{
if (npc.isInvul())
{
return null;
}
i_quest1 = System.currentTimeMillis();
if (GrandBossManager.getInstance().getBossStatus(VALAKAS) != FIGHTING)
{
attacker.teleToLocation(150037, -57255, -2976);
}
DELETE THE RED LINES.
Second:When you attack antharas you automatically spam the console with a npe.
Fix:
Find + open antharas.java on gameserver/data/scripts/ai/individual and do as the like-diff say. Cheesy
@Override
public String onAttack (L2Npc npc, L2PcInstance attacker, int damage, boolean isPet)
{
if (npc.getNpcId() == 29019 || npc.getNpcId() == 29066 || npc.getNpcId() == 29067 || npc.getNpcId() == 29068)
{
_LastAction = System.currentTimeMillis();
if (GrandBossManager.getInstance().getBossStatus(_antharas.getNpcId()) != FIGHTING)
{
_Zone.oustAllPlayers();
}
else if (GrandBossManager == null)
return;
else if (!FWA_OLDANTHARAS && _mobsSpawnTask == null)
{
startMinionSpawns(npc.getNpcId());
}
}
ADD THE GREEN LINES
Restart your server and valakas + antharas will be ok now.
Bye.