Releases: Arcitectus/Sanderling
Releases · Arcitectus/Sanderling
release v16.05.21
The following improvements where made since version 16.04.18:
- memory reading: fixed a bug that could prevent reading of "MyOrders" in regional market as reported at http://forum.botengine.de/thread/myorders/
- memory reading: added reading of module overload indicator as requested in issue #7
- sample mining script: Add support for unloading to POS, based on contribution from eveminer: 017e293
- sample mining script improvements: expand tree in inventory to make ore hold visible: 438220c, select all items when unloading: 407c097.
- fixed a bug in the default config: e0c3192.
Release v16.04.18
changes since v16.04.12:
- memory reading: fixed reading of
ServiceButton
inWindowStation
- memory reading: fixed reading of Ship hangar and Item hangar as
IWindowInventory
(issue #6)
Release v16.04.12
The following improvements where made since release v16.03.09
- memory reading: the undock button provided by the
IWindowStation
was adjusted to changes in eve online client. - parsing:
IMenuEntry
now shows whether the entryIsExpandable
- parsing: ship speed was fixed
- sample mining script: was adjusted to use only one module per asteroid.
- sample mining script: added support for using bookmark folders for mining sites. Just supply the name of a folder instead of a bookmark and it will pick a random bookmark from this folder.
Release v16.03.09
- fixed a bug which could stop the script execution.
- added parsing of Ship UI indication.
- changed included auto pilot script to not open the menu anymore while warping or jumping.
Release v16.03.04
Improvements since v16.02.04:
- extended memory reading API for reading of complex capture timer in space. As requested at http://forum.botengine.de/thread/getting-information-about-complexes-capturing/
- fixed a bug in the included mining script as reported at http://forum.botengine.de/thread/sanderling-release-v16-02-04/?order=all#comment-742d6236-b872-4428-b206-a5c10063fa43
- extended the included mining script: support multiple mining sites, support unloading to different containers (like POS)
- simplified identification of ice harvester type modules as requested at http://forum.botengine.de/thread/ice-harvesting/
- added notification sound when script run fails
- extended parsing of agent dialogue: wait time to decline without loss of standing
example using the new Inflight bracket to read the remaining complex capture time:
bool IsCapture(IInSpaceBracket bracket) =>
bracket?.LabelText?.Any(label => label.Text?.RegexMatchSuccessIgnoreCase("capturing") ?? false) ?? false;
int? CaptureTimeRemaining(IInSpaceBracket bracket)
{
var secondCount = bracket?.LabelText?.Select(label => label.Text.SecondCountFromBracketTimerText())?.WhereNotDefault()?.FirstOrDefault();
if(secondCount.HasValue)
return secondCount;
if(bracket?.LabelText?.Any(label => label.Text?.RegexMatchSuccessIgnoreCase("Captured") ?? false) ?? false)
return 0;
return null;
}
int? captureTimeRemaining =>
CaptureTimeRemaining(Sanderling.MemoryMeasurementParsed.Value.InflightBracket?.FirstOrDefault(IsCapture);
release v16.02.04
changes since v16.00.19:
- fix a NullReferenceException in parsing of mission description.
- fix bug in API Explorer which prevented propagation of some elements in Measurement to Tree View as described at http://forum.botengine.de/thread/mining/?order=all#comment-2f115d70-f0a4-4719-8547-a5aa000461a5
- add find&replace tool to the integrated script editor as requested at http://forum.botengine.de/thread/sanderling-release-16-00-19/?order=all#comment-69409985-dfab-4d61-a7ec-a5a800175c0c
- add
#r
directive to BotSharp which enables usage of other .NET assemblies in your scripts. (see example below) In response to request at #1 (comment) - add main icon components to
IOverviewEntry
which contain several indicators regarding targeting. In response to request at http://forum.botengine.de/thread/mining/?order=all#comment-579c77c2-2d9a-4133-9298-a5a800307ecf - add
MessageInput
UIElement toWindowChatChannel
to make sending chat messages easier. As described at http://forum.botengine.de/thread/writing-message-to-corp-or-fleet-chat/?order=all#comment-cdd52f6e-218b-47bf-9a6d-a5b70139b03d (see example below) - add contained UIElements to
PanelGroup
to support navigation in Neocom.
sending a message to a chat channel
void ChatSendMessage(WindowChatChannel windowChat, string messageText)
{
if(null == windowChat) return;
Sanderling.MouseClickLeft(windowChat?.MessageInput);
Sanderling.TextEntry(messageText);
Sanderling.KeyboardPress(VirtualKeyCode.RETURN);
}
void ChatCorpSendMessage(string messageText) => ChatSendMessage(
Sanderling.MemoryMeasurementParsed?.Value?.WindowChatChannel?.FirstOrDefault(c => c?.Caption?.RegexMatchSuccessIgnoreCase("corp") ?? false),
messageText);
employing the #r
directive to make use .NET assembly of your choice
#r "System.Speech" // Assembly name, in this case to be found in GAC
using System.Speech.Synthesis;
var synth = new SpeechSynthesizer();
synth.Speak("BotSharp at your service.");
release v16.00.19
New features:
- the
RegionalMarketWindow
window now containsMyOrders
for convenient access to sell&buy orders. - the chat participants from the
WindowChatChannel
now contain the flag icon texts.
The following example lists all visible chat participants with name and the flag icon text:
var listParticipantNameAndFlagText =
Sanderling.MemoryMeasurement?.Value?.WindowChatChannel
?.SelectMany(windowChatChannel => windowChatChannel?.ParticipantView?.Entry
?.Select(participantEntry => new {
name = participantEntry?.NameLabel?.Text,
flagText = string.Join(",", (participantEntry?.FlagIcon?.Select(flagIcon => flagIcon?.HintText)).EmptyIfNull()),
})
)?.ToArray();
foreach(var participantNameAndFlagText in listParticipantNameAndFlagText)
Host.Log(participantNameAndFlagText);
release v16.00.10
bugfix in parsing functions: comparison of labels failed in some cases dependent on system culture settings. For example, identifying the Item hangar failed with culture set to tr-TR (Turkish-Turkey).
release v16.00.07
switch to new version of Bot# IDE which adds the breakpoint feature to improve debugging.
release v15.11.19
changes since release v15.11.11:
- hotkey for quick save in IDE: CTRL+S
InvalidateMeasurement
method onSanderling
host interface.- added keyboard input methods:
KeyboardPress
,KeyboardPressCombined
,TextEntry
- added parsing methods for keyboard shortcuts:
static public IEnumerable<VirtualKeyCode> ListKeyCodeFromUIText(this string ListKeyUITextAggregated)
- bugfixes and improvements in sample script
mine.ore.cs
- added warning message in IDE when required .NET components are not available.