Fuzzy building A-Bot


#150

Hi,
Can anyone help me with a simple task?
What should I do to update sanderline for the bot in this tread?
If something was fixed in framework like(Rails - IsWeapon?) what should I do to apply these changes to already existing bot?
Thank you in advance.


#151

Did you download the community edition from here?


The only explanation is you manage to install something else like the IDE or something?

I clicked wrong in the beginning too, make sure that’s not the problem:


#152

I installed Visual studio code… the IDE after I finish this big install for visual studio I’ll edit this post for what happens. I feel stupid.

Edit: It works! How do you keep the rats from switching to your drones considering it doesn’t activate a auto target-er or anything of the sorts.

How would I change the anomalyenter.cs to go into forsaken hubs? I assume like this I may be wrong.

var probeScannerWindow = memoryMeasurement?.WindowProbeScanner? Forsaken();

			var scanResultCombatSite =
				probeScannerWindow?.ScanResultView?.Entry?.Forsaken Hub(AnomalySuitableGeneral);

#154

I’m running into the issue that the bot tries to save the scanresult instead of ignore the anomaly if it is populated by an ally, but I can’t seem to solve it. Has anyone managed to fix this or can someone point me in the right direction?


#155

I’ve changed AnomalyEnter.cs on line 17 to this:

static public bool AnomalySuitableGeneral(Interface.MemoryStruct.IListEntry scanResult) => scanResult?.CellValueFromColumnHeader("Name")?.RegexMatchSuccessIgnoreCase("forsaken hub") ?? false;


#156
//this whole file is about executing a "safe" protocol. "SaveShip.cs" is what determines when safing needs to occur, this is just how safing is accomplished
using System.Collections.Generic;
using System.Linq;
using Sanderling.Motor;
using Sanderling.ABot.Parse;


namespace Sanderling.ABot.Bot.Task
{
	public class RetreatTask : IBotTask
	{
		public Bot Bot;

		public IEnumerable<IBotTask> Component
		{
			get
			{
				var memoryMeasurement = Bot?.MemoryMeasurementAtTime?.Value;
				var memMeasAccu = Bot?.MemoryMeasurementAccu;
				var abOff = memMeasAccu?.ShipUiModule?.Where(module => module?.TooltipLast?.Value?.IsAfterburner ?? false);
				if (!memoryMeasurement.ManeuverStartPossible())
					yield break;
				yield return new MenuPathTask
				{
					RootUIElement = memoryMeasurement?.InfoPanelCurrentSystem?.ListSurroundingsButton,
					Bot = Bot,
					ListMenuListPriorityEntryRegexPattern = new[] { new[] { retreatBookmark }, new[] { @"dock", ParseStatic.MenuEntryWarpToAtLeafRegexPattern } },
				};

				yield return Bot?.DeactivateModule(abOff);

			}
		}

		public IEnumerable<MotionParam> Effects => null;
	}
}

I feel so dumb right now… Trying to get retreat.cs to turn off the afterburner after the warp command is sent (just to help align quicker) and for whatever reason the way I’m doing it throws no errors but causes the bot to toggle a reactive armor hardener instead. I’m obviously doing something horribly wrong but I can’t figure out what it is for the life of me. Can anyone help?

P.S. is there a way to use the step-through functionality in Sanderling with ABot? That would be insanely helpful.