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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...