L2JMobius

Dwelling of Spirits Autofarm System (Shorts/Long)

Matrixane · 3 · 5122

Offline Matrixane

  • Heir
  • **
    • Posts: 17
Greetings people. Anyone know can fix short and long range for autofarm. I think the problem Is geodata (off grid offset. Like sight vision) if any can help Will be very apreciated


Offline jhordanny

  • Heir
  • **
    • Posts: 28
Hi there, the problem is in this file AutoPlayTaskManager.java look for it in your java.org.l2jmobius.gameserver.taskmanager folder. Scroll down untill you find this:
// Find target.
            MonsterInstance monster = null;
            double closestDistance = Double.MAX_VALUE;
            TARGET: for (MonsterInstance nearby : World.getInstance().getVisibleObjectsInRange(player, MonsterInstance.class, player.getAutoPlaySettings().isLongRange() ? 1400: 600 ))
            {

What you must do now is flip the values to 600:1400 then compile.


Offline Matrixane

  • Heir
  • **
    • Posts: 17