We will provide you with a new process sample with the button tooltip and fighter squadron bay UI.
To target all the rats I use this (setRatVisible array comes from your previous example):
int ratTargets = setRatVisible.Length-1;
for(int i =0; i <=ratTargets; i++)
{
KeyDown(VirtualKeyCode.LCONTROL);
Sanderling.MouseClickLeft(setRatVisible[i]);
Host.Delay(delayDuration);
KeyUp(VirtualKeyCode.LCONTROL);
}
It works.
Right now I am trying to figure it out how to warp within 30km instead of 0.
The targeting code can be improved:
Your code will throw an exception and thus stop the script if setRatVisible
is ever null
If you place the keyboard code outside the loop you save the time for the delay
The loop code can be simplified with the foreach
statement.
The following code incorporates all those changes:
KeyDown(VirtualKeyCode.LCONTROL); foreach(var ratEntry in setRatVisible.EmptyIfNull()) Sanderling.MouseClickLeft(ratEntry); Host.Delay(delayDuration); KeyUp(VirtualKeyCode.LCONTROL);
If you have a menu entry that contains the 30km, you can use this pattern instead the one I showed for warp to 0:
"warp.*30s*km"
With release of version 16.06.11 , I expanded memory reading to include probe scan results and squadron UI.
You can now access the probe scan results over the follwing path:
memoryMeasurement?.WindowProbeScanner?.FirstOrDefault()?.ScanResultView?.Entry
To access the squadron UI, use the new SquadronsUI
property of the IShipUi
:
memoryMeasurement?.ShipUi?.SquadronsUI
You can find the release at https://github.com/Arcitectus/Sanderling/releases/tag/v16.06.11
Terpla
December 11, 2016, 12:12pm
29
Do we have any attribute or flag for selected squadron?
Viir
(Michael Rätzel)
December 11, 2016, 1:08pm
30
I don’t think we have this yet.
If you submit a corresponding process sample , I can look into adding an IsSelected
property.
Terpla
December 11, 2016, 1:54pm
31
Done.Check your PM.
Also i dont found this hint:
Update:
You’ve reached the maximum number of replies a new user can create on their first day. Please wait 3 hours before trying again.
Now I cant reply on forum.
Yes second sample contain all, soo you can download only them.
Viir
(Michael Rätzel)
December 11, 2016, 2:11pm
32
I see you uploaded two samples. Does the last one contain everything we need? I do not want to store multiple samples for stuff that can be covered in one.
Unless there is a good reason to do otherwise, I’d prefer to use one sample as reference for both selection and hint to keep the storage requirements low.
Terpla
December 11, 2016, 5:52pm
34
Also i should to know Is this ability active/not active/deactiveted.
Viir
(Michael Rätzel)
December 11, 2016, 6:01pm
35
Where can I see this in the screenshot from the process sample?
(I just assigned you the next higher trust level, so you should be able to write posts without the waiting time you mentioned earlier)
Terpla
December 11, 2016, 6:24pm
36
In measurement that i mail you no one ability in use, soo i guess it will be impossible to find differences. We need new one, isn’t it?
Viir
(Michael Rätzel)
December 11, 2016, 6:49pm
37
Yes, we need some sample of what we want to read.
Viir
(Michael Rätzel)
December 18, 2016, 5:36pm
38
@Terpla , the additions to the interface for the Sqadron UI you requested have been added with version 16.11.17: Sanderling release v16.11.17
1 Like
Terpla
December 20, 2016, 9:12pm
39
Thank you. I tested, it works. But I still have a couple of questions:
Is it possible to distinguish active from deactivated abilities?
In both cases, property RampActive == True
Is it possible to understand that the ability is on cooldown?
It looks like you need to add another property.
I ran into a problem: I can not tell the difference from the first and second abilities.
So I ask to add a hint. As for Squadron.
Is it possible add this hint without mouseovers as for modules? Do you need another memory measurement?
Viir
(Michael Rätzel)
January 4, 2017, 6:59pm
42
Hello Terpla,
I did not forget about your request. At the moment, I have no time to search through process samples for the additional properties you described.
Maybe we could speed up the development process by having multiple people take on the part of searching for memory reading paths. What do you think?
Terpla
January 5, 2017, 8:55am
43
Do we have any tools for this task? or algorithm described with steps?
I would like to help but do not know how to do it.
Viir
(Michael Rätzel)
January 6, 2017, 8:14pm
44
I will upload a tool which extracts from the UI from a eve client process sample and exporrts the info in an easy to read format. This will follow the algorithm I explained at Advanced Do It Yourself Memory Reading In EVE Online
It will be a tool to persist what you can aleady read with the mentioned algorithm today.
Viir
(Michael Rätzel)
January 15, 2017, 10:08pm
45
Hello, just wondering how your carrier bot worked out. Abbadon and I are about to start our own and we would sincerely appreciate any help, lessons learned, or even code for where to get the carrier data.