EVE Online Anomaly Ratting Bot Release

Ok, given this observation, the bot might simply be executing the retreat task: https://github.com/botengine-de/A-Bot/blob/b154fbf854a783c8f0a85bb22a48a98f5c7e7cdf/src/Sanderling.ABot/Bot/Task/Retreat.cs#L22-L27 to save the ship (and implants) from hostile players.

The bot attempts to dock/warp to the configured retreat bookmark when all of these conditions are met:

  • the security level of the current system is not greater or equal to 0.5
  • the participant list of the local chat has a scrollbar or shows a number of participants which have no good standing which is not equal to one.

You can see these conditions coded at https://github.com/botengine-de/A-Bot/blob/b154fbf854a783c8f0a85bb22a48a98f5c7e7cdf/src/Sanderling.ABot/Bot/Task/SaveShip.cs#L49

The security level is read from the current system info panel.

So the questions I have about your setup are:

  • What does the current system info panel look like?
  • What does the local chat window look like?
  • Do you have configured a reatreat bookmark?

When I run the bot the bot continue to right click on th “list items in solar system” without do nothing

Still same problem here, im with english windows 10 64bit , i wil try with old laptop with win7 later today.

One more question - where is the bot warping when a neutral get in to the sistem ? i have a safe spot in the system, but do i need to configure somehow the name of the bookmark or something like that ?

@thesaltonsea and @master: Because the local chat window is not visible, the bot does not know whether there are hostiles and therefore acts if there were hostiles in the system. To prevent an encounter with a hostile player, it attempts to dock/warp to the configured retreat bookmark. Preventing an encounter with a hostile player is of higher priority than ratting, therefore the bot will not warp to an anomaly while a hostile is present.

With the current code, you can only use the bot in systems which are free of hostiles or in highsec.

The chat local is visible, with icons standings too, please can u give the details how to configure the local window?

@thesaltonsea: Yes, you need to configure the name of the bookmark for the safespot. Use the format as follows and write this to a file named “bot.config” and locate it in the directory with the bot executable file.

{
  "RetreatBookmark": "name of your bookmark as it appears in the list items in solar system menu"
}

I have made the bot config, now the bot warps to the bookmark and starts again to click on th “list items in solar system” and not doing anything Do i need to add another conf file with BM of anomalies ?

I have tried this bot too, and i have the same Problems like thesaltonsea,

In nullsec, this bot is just warp to the bookmark i have created in bot.config, and start to clicking at the sun icon.

In Hisec this bot work fine

1 Like

I still have the same proble, and my Bookmar is an INSTADOCK Bookmark, if I configure it into the config file, what will do the BOT?

However Im still waiting to know what do about the error of “infinite right click” on the “ist items in solar system” without do nothing

@thesaltonsea and @Fairies: From your description, the bot does not like the looks of local and therefore continues to retreat to avoid an encounter with hostiles. In highsec, local is ignored, that is way you see this difference.

I can help you with the set up of eve online if you send me a snapshot of the memory measurement from the time you can observe the problem taken by the sanderling tool which you can find at https://github.com/Arcitectus/Sanderling/releases

I wrote a guide for saving the memory measurement to a file at http://forum.botlab.org/thread/saving-memory-measurements-from-sanderling-to-file/

With the snapshot, I can look for the difference between your setup and the one I tested with.

It seems that sometimes, the caption of the local chat window does not contain the square brackets. I made a change to the bot to account for this observation. You can find the updated version of the bot at https://github.com/botengine-de/A-Bot/commit/0a07d5409ad49be59e9afcb6a94873d36279074a

How to download the updated .exe ? I dont see the Release folder.

@Arcitectus I finded the error, A-Bot was not able to reconize correctly the various entry, I fixed this with this change:

I changed this:

static public bool IsNeutralOrEnemy(this MemoryStruct.IChatParticipantEntry participantEntry) =>
!(participantEntry?.FlagIcon?.Any(flagIcon =>
new { “good standing”, “excellent standing”, “Pilot is in your (fleet|corporation)”, }
.Any(goodStandingText => flagIcon?.HintText?.RegexMatchSuccessIgnoreCase(goodStandingText) ?? false)) ?? false);
}

Whit this:

static public bool IsNeutralOrEnemy(this MemoryStruct.IChatParticipantEntry participantEntry) =>
!(participantEntry?.FlagIcon?.Any(flagIcon =>
new { “Pilot has good standing”, “Pilot has excellent standing”, “Pilot is in your fleet”, “Pilot is in your corporation”, “Pilot is in your alliance”, null }
.Any(goodStandingText => flagIcon?.HintText?.RegexMatchSuccessIgnoreCase(goodStandingText) ?? false)) ?? false);
}

I explain what was wrong, A-Bot was not able to reconize the various “Labels” and you forgot the Own Char haven’t any icons/label, for make work the bot everyone need activate all icon brackets in local, this mean neutrals/no standing/bad standings/terrible standings/good standings/excellent standing/pilot in fleet/pilot in corp/pilot in alliance,.

In this way A-Bot is able to identify the friends so ppl with those icons: good stading/excellent standing/pilot in corp/pilot in alliance/pilot in fleet, the char without icon will be reconize like the own char, and all the rest will be consider “enemy”.

@Arcitectus

Issues:

1. A-Bot don’t align to the bookmark when he is inside the anomaly (Important if we are in carrier)

2. A-Bot not reconize the Capital Shield Booster and not activate it

3. A-Bot not use the squadrons (fighters)

4. A-Bot not reconize the module: Networked Sensor Array (This module if is present are to activate everytime A-Bot enter into the anomaly so before to start to targhet the NPCs)

Questions:

**1.**I use an insta dock bookmark, this mean I land at 0Km on the station when an enemy enter in system and A-Bot warp to the bookmark, how I can add the function to dock to station after the warp if the bookmark name is “INSTA DOCK”?

2. Can you add the possibility to write to the file: “Bot.config” this settings:
    - Anomaly Name to enter (with priority, example: 1. Sanctum 2. Forsaken Hub)
    - Modules Name to keep always activate like “Capital Shield Booster”
    - Primary Order (like First Frigates, Second: Cruisers ect, Last: BS

3. A-Bot warp to te anomaly at 0km, how I can make A-Bot to warp at anomaly at 50km?

How to download the updated .exe ? I dont see the Release folder.

I now compiled the new version to an exe. You can download it at https://github.com/botengine-de/A-Bot/releases

@Arcitectus

Can I have a little bit of consideration? are 2 days I work on this code, Im trying to apply the various stuff I wrote up… if you can help me here maybe everyone on this forum will be happy to use fighters, bookmark align in anomaly etc…

How to warp at 50km from the anomaly:

I changed this:

if (null != scanResultCombatSite)
yield return scanResultCombatSite.ClickMenuEntryByRegexPattern(bot, ParseStatic.MenuEntryWarpToAtLeafRegexPattern);

Whit this:

if (null != scanResultCombatSite)
{
var menuResult = memoryMeasurement?.Menu?.ToList();
if (null == menuResult)
yield return scanResultCombatSite.ClickMenuEntryByRegexPattern(bot, null);
menuResult = memoryMeasurement?.Menu?.ToList();

var menuResultWarp = menuResult?[0].Entry.ToArray();
var menuResultSelectWarpMenu = menuResultWarp?[1];
if (menuResult.Count <2)
yield return menuResultSelectWarpMenu.ClickMenuEntryByRegexPattern(bot, null);
var menuSpecificDistance = menuResult[1]?.Entry.ToArray();

yield return menuSpecificDistance[4].ClickMenuEntryByRegexPattern(bot, “within 50 km”);
}

How to align to “INSTA DOCK” Bookmark:

In combat.cs, after:

var listOverviewEntryToAttack =
memoryMeasurement?.WindowOverview?.FirstOrDefault()?.ListView?.Entry?.Where(entry => entry?.MainIcon?.Color?.IsRed() ?? false)
?.OrderBy(entry => bot.AttackPriorityIndex(entry))
?.ThenBy(entry => entry?.DistanceMax ?? int.MaxValue)
?.ToArray();

Add THIS code:

if (listOverviewEntryToAttack.Count() > 0)
{
if (retreatBookmark == “INSTA DOCK”)
{
var textIndication = memoryMeasurement?.ShipUi?.Indication?.LabelText?.ToArray();
if (textIndication == null)
{
var RootUIElement = memoryMeasurement?.InfoPanelCurrentSystem?.ListSurroundingsButton;
var menuRootBook = memoryMeasurement?.Menu?.ToList();
if (null == menuRootBook)
yield return RootUIElement.ClickMenuEntryByRegexPattern(bot, “INSTA DOCK”);
menuRootBook = memoryMeasurement?.Menu?.ToList();

var menuBookAlign = menuRootBook?[0].Entry.ToArray();
var menuBookAlignMenu = menuBookAlign?[7];
if (menuRootBook.Count < 2)
yield return menuBookAlignMenu.ClickMenuEntryByRegexPattern(bot, null);
var menuRootSpecicAlign = menuRootBook[1]?.Entry.ToArray();

yield return menuRootSpecicAlign[2].ClickMenuEntryByRegexPattern(bot, “align”);
}
}
}

I tried and work, if you know a better way to do it please let me know

How to download the updated .exe ? I dont see the Release folder.

I now compiled the new version to an exe. You can download it at https://github.com/botengine-de/A-Bot/releases

Hi, i have tried it, now it doesnt go to the bookmark, but it just start the resist module and nothing after that.

Im trying to use the Fighter Squadrons, but into

memoryMeasurement?.ShipUi?.SquadronsUI?.

miss the entry “LabelText” so Im not able to retrieve the status “Ready”/“In Space” of fighters. Into the Api Explorer I see it but if I go to recall it from code I miss it…


@Arcitectus

How I can do an empty left click in space?

How I can click the button “Launch All Fighters”? (I can’t use the function “mouseclick” in combat.cs under “public IEnumerable Component”)

Please if you can… help me xD


If you use an INSTA DOCK bookmark like me and you need dock after the warp like me this the code to make it:

Change this:

yield return new MenuPathTask
{
RootUIElement = memoryMeasurement?.InfoPanelCurrentSystem?.ListSurroundingsButton,
Bot = Bot,
ListMenuListPriorityEntryRegexPattern = new { new { retreatBookmark }, new { @“dock”, ParseStatic.MenuEntryWarpToAtLeafRegexPattern } },
};

Whit this:

var Overview = memoryMeasurement?.WindowOverview?.FirstOrDefault()?.ListView?.Entry?.ToArray();
var Station = Overview[0].LabelText?.ToArray();

if (Station[1].Text.ToString() == “INSERT HERE THE FULL STATION NAME”)
{
if (Station[0].Text.ToString() == “0 m”)
{
yield return Station[1].ClickMenuEntryByRegexPattern(Bot, @“dock”);
}
else
{
yield return new MenuPathTask
{
RootUIElement = memoryMeasurement?.InfoPanelCurrentSystem?.ListSurroundingsButton,
Bot = Bot,
ListMenuListPriorityEntryRegexPattern = new { new { retreatBookmark }, new { @“dock”, ParseStatic.MenuEntryWarpToAtLeafRegexPattern } },
};
}
}

Hi, i have tried it, now it doesnt go to the bookmark, but it just start the resist module and nothing after that.

@thesaltonsea the bot depends on the scanner window to enter anomalies. When no anomalies in group “combat” are visible, the bot waits for anomalies to appear.

@Master

How I can do an empty left click in space?

First, choose a location in the Viewport where space is and then use this method: https://github.com/Viir/A-Bot/commit/d97a19130a66463fb931c6736aa3a2520713939a

How I can click the button “Launch All Fighters”? (I can’t use the function “mouseclick” in combat.cs under “public IEnumerable Component”)

Why can’t you use the function “mouseclick”?