L2JMobius

Free Users => Bug Reports => Topic started by: studiotan22 on May 15, 2021, 09:56:32 AM

Title: Summoners Bug , Auto attack bug
Post by: studiotan22 on May 15, 2021, 09:56:32 AM
Summoner they attack twice, then brake and do not attack more, and cause little damage.
And bug in auto attack, brake every few minutes, and auto attack range (long) malfunctions
Title: Re: Summoners Bug , Auto attack bug
Post by: jhordanny on July 04, 2021, 04:01:52 AM
   // Find target.
            MonsterInstance monster = null;
            double closestDistance = Double.MAX_VALUE;
            TARGET: for (MonsterInstance nearby : World.getInstance().getVisibleObjectsInRange(player, MonsterInstance.class, player.getAutoPlaySettings().isLongRange() ? 600 : 1400 ))


only need to invert these values (isLongRange() ? 600 : 1400 ))) in the file AutoPlayTaskManager.java to fix the long and short range, compile and thats it.
Title: Re: Summoners Bug , Auto attack bug
Post by: domxii on September 24, 2021, 11:40:09 AM
// Find target.
            MonsterInstance monster = null;
            double closestDistance = Double.MAX_VALUE;
            TARGET: for (MonsterInstance nearby : World.getInstance().getVisibleObjectsInRange(player, MonsterInstance.class, player.getAutoPlaySettings().isLongRange() ? 600 : 1400 ))


only need to invert these values (isLongRange() ? 600 : 1400 ))) in the file AutoPlayTaskManager.java to fix the long and short range, compile and thats it.


I can't find this. Can you tell step by step please. Thanks.
Title: Re: Summoners Bug , Auto attack bug
Post by: jhordanny on September 25, 2021, 11:41:48 AM
Look for this file in your java AutoPlayTaskManager.java