Speed up the guards

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
pina
Posts: 2
Joined: Wed Mar 19, 2008 12:20 pm

Speed up the guards

Post by pina »

Hi,my question would be ,that how can I speed up the guards AI?
In the properties file if I set the update interval to a lower value,it still acts the same (to me).

Code: Select all

# Interval (in miliseconds) in which the knownlist does full updates.# For move based updates its used for intermediate updates.# WARNING!#       Useful interval is between 300 - 2000. Too small value may kill your CPU, too high value may not update knownlists properly. The default value is chosen experimentally.# Default: 1250KnownListUpdateInterval = 1250
in GuardKnownList I enabled the debug feature and saw that a lot of time is consumed to process the attack,after the player gets in scan range.For eg. a player with karma enters the range,and the guard attacks 2-3seconds later,even if it's already in it's knownlist.I used KnownListUpdateInterval = 300
I also tried setting the attention to

Code: Select all

getActiveChar().getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
instead of

Code: Select all

getActiveChar().getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, null);
but got the same result. What should I cange to get it to process faster?
Thanks in advance.
Post Reply