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.
@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 ?
@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
@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”.
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?
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();
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();
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…
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.