Open MoneyMoney33 opened 4 years ago
the bot has to process that command and its already doing something so ....
is like trying to get a chanter to come chant you while giving tps
hey, I havent used follower for 2 years, but to address the question re: stop followers killing/last hit mob:
within follower.js, the attack command is received and the follower eventually does this:
if (attack) {
Attack.clear(20, false, false, false, true);
this.pickPotions(20);
}
The problem is attack.clear tries to killa and clear all mobs in the range.
I'm giessing that whilst the bot is looping through the list of mobs to kill via attack.js it hasnt returned to follower.js to process the next command yet (similar priblem to mfhelpers not following leader when it leaves until they have finished clearing a level etc)
Within attack.js theres a function called hurt - which allows you to attack a mob until its life is reduced to x% - problem is it needs you to pass it a mob classid
hurt: function (classId, percent) {....
Whilst youre waiting for someone who has/can work around this to help, I'd look into the changes made/to be made to mfhelper syncing
here's a pr that was done, not sure of status vs live code: https://github.com/kolton/d2bot-with-kolbot/pull/1188
So when I play manual and have a follower, when I say "quit" they automatically quit no matter what right there. But for example if I am out of town with the follower an we are attacking a mob if I tell it "2" as in go to town, or "s" to stop or "a" to stop attacking they will wait until they kill the monster(s) before stopping. How do I make them quit their action and move on to my next command?
*I want to get the last hit on my main char as I have the most MF so getting them to stop attacking or to all go to town immediately would be very beneficial.
Thanks!