Forums
Bot attacks npc-mob - Printable Version

+- Forums (https://uaro.kiev.ua/forum)
+-- Forum: uaRO (https://uaro.kiev.ua/forum/forumdisplay.php?fid=1)
+--- Forum: uaOpenKore (https://uaro.kiev.ua/forum/forumdisplay.php?fid=43)
+---- Forum: Fixes OpenKore (https://uaro.kiev.ua/forum/forumdisplay.php?fid=45)
+---- Thread: Bot attacks npc-mob (/showthread.php?tid=33)



Bot attacks npc-mob - Sergio - 17-04-2024

There are cunning NPCs that are presented as mobs. When you try to attack such a mob, a dialogue opens. For example, at level 5 of Payon dungeon there are nine tails, which offers to exchange 999 tails for a kistune mask. Such NPCs are presented in the game as first-level mobs.
The easiest way to solve this problem is to force OpenKore not to see level 1 mobs. But you need to understand that in this case the bot will stop seeing all such mobs, even porings, etc. Therefore, you need to carefully use this fix!

You need to add 3 lines to the /src/Network/Receive.pm file
After line(~705): #### Step 3: Add actor to actor list ####
if ($mustAdd && UNIVERSAL::isa($actor, "Actor::Monster") && $args->{lv} < 2) {
return;
}

A solution to the problem was proposed: https://ro-fan.ru/viewtopic.php?t=73