Avoiding to struggle - a guide for beginers

and our history keep going …; and keep :slight_smile:

you really want to take the faction loot, isn’t?
Well, i have for you something more : take the loot and salvage.
about salvage , i think you have to tweak a little more, to put the salvager in framework sanderling, compile and copy some dll into abot. i do that some time ago, and i don’t remember exactly how;
but you have another way to do: tooltip and caption for module
I suppose you know more than me to realize this stuff, but if you need, i can offer my help.
back to salvage and taking the loot. Once the rats are dead, you can change the tab to the one with wrecks.or not, how you want.
you can change the salvage range with 1000 , no problem, I think.

int? salvageRange = 500;
if (listOverviewCommanderWreck.Count > 0)
{

if (null == targetSelected)
{
if (!(wreckCommander.DistanceMax < salvageRange))
yield return wreckCommander.ClickMenuEntryByRegexPattern(bot, "open cargo");
else
yield return wreckCommander.ClickMenuEntryByRegexPattern(bot, @"^lock\s*target");
if (LootButton != null)
{
yield return new BotTask { Effects = new[] { LootButton.MouseClick(BotEngine.Motor.MouseButtonIdEnum.Left) } };
}
}
else
if (!(absalvager.IsActive(bot) ?? true))
								
yield return bot.EnsureIsActive(absalvager);
}

I wanna thanks to the real programmers and coders who made/contribute at the miner script. Without this script i could not accomplish all this stuff ( because Im null at programming, you see my coding style :d :)) )

And the bonus, traveling with A-bot

	var RouteElementMarkerNext =
	memoryMeasurement?.InfoPanelRoute?.RouteElementMarker
	?.OrderByCenterDistanceToPoint(new Vektor2DInt(0, 0))?.FirstOrDefault(); 

// you have to put the  using bib3geometry up on the head on file, VS help you :slight_smile:
//later, when you don't have any anomaly in you system,  this lines help you:
if (null == scanResultCombatSite)
if (null != RouteElementMarkerNext)
{
var MenuEntry =
	memoryMeasurement?.Menu?.FirstOrDefault()
	?.Entry?.FirstOrDefault(candidate => candidate.Text.RegexMatchSuccessIgnoreCase("dock|Jump through stargate"));
if (null != MenuEntry)
yield return new BotTask { Effects = new[] { MenuEntry.MouseClick(BotEngine.Motor.MouseButtonIdEnum.Left) } };

yield return new BotTask { Effects = new[] { RouteElementMarkerNext.MouseClick(BotEngine.Motor.MouseButtonIdEnum.Right) } };
} 
else
yield return new DiagnosticTask

{
MessageText = NoSuitableAnomalyFoundDiagnosticMessage,
};

Of course, you can improve this thing from Terpla’s adventures. Here you have the link: Terpla adventures or blog-style guide for begginers - #10 by kaboonus