Jump to content
  • 0

L2Character$Notifyaitask


Xerus

Question

 com.l2jesios.gameserver.model.actor.L2Character$NotifyAITask run

WARNING: 
java.lang.StackOverflowError
 at com.l2jesios.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:934)
 at com.l2jesios.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:240)
 at com.l2jesios.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:316)
 at com.l2jesios.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.java:673)
 at com.l2jesios.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:417)
 at com.l2jesios.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:340)
 at com.l2jesios.gameserver.model.actor.L2Character.moveToLocation(L2Character.java:3893)
 at com.l2jesios.gameserver.model.actor.L2Character$AIAccessor.moveTo(L2Character.java:3039)
 at com.l2jesios.gameserver.ai.AbstractAI.moveTo(AbstractAI.java:582)
 at com.l2jesios.gameserver.ai.AbstractAI.moveToPawn(AbstractAI.java:538)
 at com.l2jesios.gameserver.ai.L2CharacterAI.maybeMoveToPawn(L2CharacterAI.java:948)
 
This error is flloding my gs very often and produce lag anyone know how to fix it? this is the line in L2CharacterAI
 
protected boolean maybeMoveToPawn(L2Object target, int offset)
{
if (target == null || offset < 0) // skill radius -1
return false;


offset += _actor.getTemplate().getCollisionRadius();   //this is the line 934
if (target instanceof L2Character)
offset += ((L2Character) target).getTemplate().getCollisionRadius();

 

Link to comment
Share on other sites

Recommended Posts

  • 0

Oh yes it is the 64 version btw if someone can look in my source and can fix it pls pm me

 

You are 100% sure about it right ? Because if it is the 32 bit version, L2J will also work, but there will be memory limitings causing lag.

Link to comment
Share on other sites

  • 0

You are 100% sure about it right ? Because if it is the 32 bit version, L2J will also work, but there will be memory limitings causing lag.

Yes i am sure... i did 2 nodifications so far. Added taskmgr for olympiad save every 10 minutes and edited some ai from bosses scripts like oustapp players but i dont believe this is the problem
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...