L2JMobius
Free Users => Bug Reports => Topic started 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
-
// 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.
-
// 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.
-
Look for this file in your java AutoPlayTaskManager.java