L2JMobius

Homunculus Summoners Bug , Auto attack bug

studiotan22 · 4 · 5061

Offline studiotan22

  • Vassal
  • *
    • Posts: 1
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


Offline jhordanny

  • Heir
  • **
    • Posts: 28
   // 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.


Offline domxii

  • Vassal
  • *
    • Posts: 5
// 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.


Offline jhordanny

  • Heir
  • **
    • Posts: 28
Look for this file in your java AutoPlayTaskManager.java