onEvtThink() failed: null

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
meikis
Posts: 7
Joined: Mon Dec 28, 2009 10:45 pm

onEvtThink() failed: null

Post by meikis »

Maybe someone know where is problem? :|

Code: Select all

RaidBossSpawnManager: Updated Varka's Hero Shadith respawn time to Mon Nov 24 22:11:00 EST 2014Actor: Varka's Hero Shadith -  onEvtThink() failed: nulljava.lang.NullPointerException    at net.sf.l2j.gameserver.model.actor.L2Summon.isInvul(L2Summon.java:578)    at net.sf.l2j.gameserver.ai.L2AttackableAI.autoAttackCondition(L2AttackableAI.java:139)    at net.sf.l2j.gameserver.ai.L2AttackableAI.thinkActive(L2AttackableAI.java:418)    at net.sf.l2j.gameserver.ai.L2AttackableAI.onEvtThink(L2AttackableAI.java:2121)    at net.sf.l2j.gameserver.ai.L2CharacterAI.onIntentionActive(L2CharacterAI.java:158)    at net.sf.l2j.gameserver.ai.L2AttackableAI.onIntentionActive(L2AttackableAI.java:2243)    at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:287)    at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:244)    at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamageHate(L2Attackable.java:885)    at net.sf.l2j.gameserver.ai.L2AttackableAI.onEvtAttacked(L2AttackableAI.java:2166)    at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:371)    at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:342)    at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:4409)    at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2PcInstance.java:4141)    at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:2178)    at net.sf.l2j.gameserver.ThreadPoolManager$RunnableWrapper.run(ThreadPoolManager.java:80)    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)    at java.util.concurrent.FutureTask.run(FutureTask.java:262)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)    at java.lang.Thread.run(Thread.java:745)

Code: Select all

 @Override    protected void onEvtThink()    {        // Check if the actor can't use skills and if a thinking action isn't already in progress        if (_thinking || getActiveChar().isAllSkillsDisabled())            return;                // Start thinking action        _thinking = true;                try        {            // Manage AI thinks of a L2Attackable            switch (getIntention())            {                case AI_INTENTION_ACTIVE:                    thinkActive();                    break;                case AI_INTENTION_ATTACK:                    thinkAttack();                    break;                case AI_INTENTION_CAST:                    thinkCast();                    break;            }        }        catch(Exception e)        {            _log.log(Level.WARNING, this+" -  onEvtThink() failed: "+e.getMessage(), e);        }        finally        {            // Stop thinking action            _thinking = false;        }    }
Stalitsa
Initiates
Initiates
Posts: 87
Joined: Fri Jul 26, 2013 10:16 am

Re: onEvtThink() failed: null

Post by Stalitsa »

You request a support for another Project....!!
Contact the Owners for that support!!!
Image
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: onEvtThink() failed: null

Post by UnAfraid »

Replace the method in L2Summon with this one:

Code: Select all

public boolean isInvul(){    final L2PcInstance owner = _owner;    return super.isInvul() || ((owner != null) && owner.isSpawnProtected());}
Image
Stalitsa
Initiates
Initiates
Posts: 87
Joined: Fri Jul 26, 2013 10:16 am

Re: onEvtThink() failed: null

Post by Stalitsa »

UnAfraid wrote:Replace the method in L2Summon with this one:

Code: Select all

public boolean isInvul(){    final L2PcInstance owner = _owner;    return super.isInvul() || ((owner != null) && owner.isSpawnProtected());}
is that he asked from L2J??
Image
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: onEvtThink() failed: null

Post by Sdw »

You're in legacy server support function. If you are saying he is using another pack cause of package name, you should know L2J use to be net.sf.l2J. It changed between Gracia Final -> Freya.
Stalitsa
Initiates
Initiates
Posts: 87
Joined: Fri Jul 26, 2013 10:16 am

Re: onEvtThink() failed: null

Post by Stalitsa »

Sdw wrote:You're in legacy server support function. If you are saying he is using another pack cause of package name, you should know L2J use to be net.sf.l2J. It changed between Gracia Final -> Freya.
ohh realy missed that. thnx for the info!!!
and sry to @Meikis !!!
Image
Post Reply