At least, the assemblies consumed by the A-Bot build need to be replaced by the ones produced in the Sanderling build. They need to go into the directory modeled at https://github.com/botengine-de/A-Bot/tree/master/lib
Because of how the assemblies are referenced in the A-Bot source, I think it makes sense for me to do this myself. I will update A-Bot when the memory reading changes have been included into the Sanderling main branch.
If we do not see any problems with the resulting version of A-Bot, that will be sufficient.
I recognize the first two error messages. Those both mean that in addition to the change described earlier, we will also need to add an assembly reference to the A-Bot project in which those error messages appear.
I am looking into the changes in Sanderling and find the addition of references to the package System.ValueTuple version 4.4.0 in the commit at Make It Easier To Start With Automation · Arcitectus/Sanderling@3067560 · GitHub
When working on Sanderling, I used the function Manage NuGet Packages in Visual Studio 2017 on the C# projects to add this reference to System.ValueTuple.
So my plan is to do the same again when updating A-Bot and then see if that is enough.
About the third error you posted: That might be caused by missing reference to System.ValueTuple, so I would test if that one remains after fixing the other two.
You are a champ! The programm does not thow any problems anymore when debugging but he does not finish the “last measurement” which is needed to start the bot. If there is something i can do to help you to solve this problem let me know!
If i get it right i can make a whole new region to click with something like
MouseClickWithRegionSubstituted(UIElement,
RectInt.FromMinPointAndMaxPoint(
new Vektor2DInt (111,222), new Vektor2DInt(333, 444)),
BotEngine.Motor.MouseButtonIdEnum.Left);
Yes?
By the way, speed indication is not working. Could it be memory reading problem?
memoryMeasurement?.ShipUi?.SpeedMilli - always null even if
memoryMeasurement?.ShipUi?.SpeedLabel have text “3600 m/s” or any other numbers.
I can parse it by myself but i though if there is such parameter in memorymeasurement it should provide something
If you are running this with the Visual Studio debugger attached, you could show the content of the Visual Studio output window here.
Maybe the debug output contains a hint about what causes the problem on your system.
This is what i get in the debugger.
It basically says PDB-Data not found or could not be opened.
Anyhow i dont think thats the problem. Ive send u a textfile with the complete output to your email. Ive looked though it but to me it doesnt seem to show any errors.
How to force measurement invalidation in the body of any Task in Sanderling.ABot?
I was looking at Sanderling.InvalidateMeasurement() like here but seems like its not working that way anymore.
Any tips?
Thanks.
@Viir Hey mate, is it possible to add to MemoryReading ability to parse icon from overview? Like NPC frigate/cruiser / wreck / container and etc? Now i see only SpriteID and indicators like targeted by me.
Also it will be awesome if its possible to parse OnTarget assigned effects like StasisWeb, Neutralizer, Salvager, Tractor and etc Now its possible only get IconTextureId from Target[0].Assigned[0].IconTexture.Id
So my question is how real is it?
I found that its possible to get HintText from raw, but its always null in target child (WindowOverview[0].ListView.Entry[0].Sprite.HintText) and shown only as memoryMeasurement?.Tooltip don’t know if it will help you to implement this.