Jump to content

Recommended Posts

Posted (edited)

I've done a script that warns me of mobs with higher hp, in my server they are called goldkeepers. In the same line as the level it appears the word "GoldKeepers". I'd like the bot to prioritize the lower level mobs so they don't acumulate while killing the goldkeeper.  As I don't know how to configure the bot like that I like to go out of the room in which I'm farming and kill the goldkeepers alone. For that I use this script to know when there is a goldkeeper. I turn the bot off, move outside and turn it on again. When the bot finishes that mob it continues as before.

var
  i: integer;
  mobTitle: string;
  p: integer;
begin
  while  true  do
  begin
    for  i := 0  to NpcList.Count-1  do
    begin
      mobTitle := NpcList.Items (i).Title;
      p := pos ('GoldKeeper', mobTitle);
      
      if  ( User.DistTo(NpcList.Items(i)) < 500 )  and
          NpcList.Items(i).Attackable  and
          not NpcList.Items(i).Dead  and
         ((NpcList.Items(i).MaxHP > 30000)  or  (p <> 0))  then
      begin
        PlaySound (exepath + '\sounds\beep.wav');
      end;
    end;
    Delay (3333);
  end;
end.
Edited by darknesscrysis
  • 4 weeks later...
Posted (edited)

you wouldn't accomplish much if you can't clear the mobs since after some time more and more those gold diggers would be spawned and you would be left only with them

rather choose a spot you can digest

Edited by bistabil

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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