Page 1 of 1
How to extend next target range
Posted: Sun Nov 19, 2017 3:58 pm
by ShinichiYao
Next target only select very close mobs now. I remember its much farther in retail server.
Re: How to extend next target range
Posted: Mon Nov 20, 2017 2:00 pm
by Sdw
it's purely a client side feature
Re: How to extend next target range
Posted: Tue Nov 21, 2017 7:51 am
by ShinichiYao
Sdw wrote: ↑Mon Nov 20, 2017 2:00 pm
it's purely a client side feature
So why this feature can select at least 900 distance target in retail server, but less than 400 in L2J server?
Re: How to extend next target range
Posted: Tue Nov 21, 2017 9:39 pm
by maneco2
In retail is not 900 range, imagine next target with 900 range, same range mystic classes skills range, retail 400 range on High Five.
Re: How to extend next target range
Posted: Wed Nov 22, 2017 12:35 am
by ShinichiYao
OK. Maybe we should add a voice command ".nexttarget" to select random mob in knownlist
Re: How to extend next target range
Posted: Wed Nov 22, 2017 5:18 pm
by Sdw
Do it, 5 minutes job
Re: How to extend next target range
Posted: Thu Nov 23, 2017 4:59 am
by ShinichiYao
Spend me 1 hour
Code: Select all
case "nexttarget":
List<L2Character> chars = activeChar.getKnownList().getKnownCharactersInRadius(1000);
Collections.shuffle(chars);
for (L2Character nextMob : chars)
{
if ((nextMob != null) && nextMob.isAttackable() && !nextMob.isDead() && nextMob != activeChar.getTarget() && GeoData.getInstance().canSeeTarget(activeChar, nextMob))
{
activeChar.setTarget(nextMob);
break;
}
}
break;
But it cause flood block and mute for 1 min if using it too often...
How to exclude specific voice command from Chat Ban?
Re: How to extend next target range
Posted: Thu Nov 30, 2017 4:58 am
by ShinichiYao
I don't see any CHATBAN_FOR_1_MINUTE keyword used in server source code, is it also client side feature?