Jump to content
  • 0

L2Character$Notifyaitask


Question

Posted

 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();

 

Recommended Posts

  • 0
Posted

Java, make sure you are using the 64 bits version.

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

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.

  • 0
Posted

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
Guest
This topic is now closed to further replies.

×
×
  • Create New...