Jump to content
  • 0

Limit max attack AutoFarm


Question

Posted

I'm having a problem with the maximum limit at which the character attacks the monster, above 900 radius the character receives this message for being too far away!
there are no barriers between the monster and the character.

Sem_titulo.png?ex=6538470e&is=6525d20e&h

any solutions? the code is made in Cis 382. 

sorry for my bad english.

https://www.mediafire.com/file/tmazk81pndn2u3v/farm.txt/file

  • Like 1

8 answers to this question

Recommended Posts

  • 0
Posted (edited)

well ... try again auto farm when you get same message stop auto farm systeem and dont do anything but try cast skill , same ?

Edited by LoVe+
  • 0
Posted
40 minutes ago, LoVe+ said:

well ... try again auto farm when you get same message stop auto farm systeem and dont do anything but try cast skill , same ?

same here

  • 0
Posted
6 hours ago, Orochy said:

I'm having a problem with the maximum limit at which the character attacks the monster, above 900 radius the character receives this message for being too far away!
there are no barriers between the monster and the character.


Target radius is basically saying to ur bot to search for monsters in that radius. Your problem is skill radius, you have to make ur bot move closer to the target if skill range is lower than your target distance.

  • 0
Posted

I spent some time researching the subject and the answer was in front of me... lol 

thanks for help guys!  resolved..

 

private void doSkill(L2Skill skill, boolean isSelfSkill) {

if (skill == null) {

return;

}

 

if (isNecessarySkill(skill)) {

if (_actor.isAttackingNow() || _actor.isCastingNow()) {

_actor.getAI().setNextAction(new NextAction(AiEventType.READY_TO_ACT, IntentionType.CAST, () -> _actor.useMagic(skill, true, true)));

} else {

_actor.useMagic(skill, isSelfSkill, false);

}

}

}

  • Haha 1
Guest
This topic is now closed to further replies.


  • Posts

    • Make it 20 no one’s going to buy your garbage files.
    • Maybe you have problem with card graphig on pc?
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! Our Online Shop: socnet.store Our SMM-Boosting Panel: socnet.pro Telegram Shop Bot: socnet.shop Telegram Support: https://t.me/solomon_bog Telegram Channel: https://t.me/accsforyou_shop Discord Support: @AllSocialNetworksShop Discord Server:https://discord.gg/y9AStFFsrh WhatsApp Support: 79051904467 WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Email Support: solomonbog@socnet.store
    • Olá comunidade,   Apresento a vocês meu Painel UCP (User Control Panel) totalmente funcional e integrado ao servidor L2J, oferecendo uma experiência moderna, segura e extremamente prática para jogadores e administradores. Funcionalidades para Jogadores: Sistema de Doações Integrado com: [Stripe] [MercadoPago (Pix)] Ranking automático com os melhores PvP e PK do servidor. Troca de senha com validação segura. Serviços para jogadores, usando saldo: Alterar nome do personagem Outras funções customizáveis Loja de Itens: Compra de itens direto pelo painel Entrega automática no inventário in-game Atualização de saldo em segundos Interface multilíngue: Português e Inglês Funcionalidades para Administradores: Gerenciamento completo da Loja: Adicionar/editar/remover itens Visualização com ícones dinâmicos Gerenciamento de Saldos: Editar saldo das contas Verificar histórico de doações aprovadas e pendentes Gerenciamento de Contas Admin: Acesso diferenciado por nível (Admin ou GM) Controle seguro de permissões Painel de controle com informações em tempo real Imagens de Apresentação: Painel UCP - Página de Login Painel UCP - Página de Personagens Painel UCP - Página de Doação Painel UCP - Página de Shop Painel UCP - Página de Compra Painel UCP - Página de Serviços Painel UCP - Página de Ranking Painel UCP - Página de Trocar Senha Painel Admin UCP - Shop Painel Admin UCP - Gerenciar Shop Painel Admin UCP - Gerenciar Saldo Painel Admin UCP - Gerenciar Admin https://github.com/JulioPradoL2j/panel
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock