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.");