Hello my friends!
First of all - I have 0 programming experience and English is not my native language so take that into account
Now to the topic. I would like to add a feature to Sanderling script for anomaly ratting. The script is perfect but lacks one thing and that is warping off when anomaly is already being done by fellow blue. Is it possible to add a feature to warp off? And if yes, could you help me with adding it there?
Thank you very very much!
Best regards to all
The script I’m using is this one that is available here https://forum.botlab.org/t/bot-2cae55c4-this-bot-ratting-anomaly-and-or-asteroids-warp-to-asteroids-at-20km-anomaly-at-50km-configurable-from-settings-for-almost-everything/1207
is already done that:
if (RattingAnomaly && (0 < listOverviewEntryFriends?.Length || ListCelestialToAvoid?.Length > 0 )
&& ReadyToBattle)
{
if ( ListCelestialToAvoid?.Length > 0)
{
Host.Log(" Gas Haven, better run!!");
ClickMenuEntryOnPatternMenuRoot(Measurement?.InfoPanelCurrentSystem?.ListSurroundingsButton, UnloadBookmark, "warp");
}
if (Measurement?.ShipUi?.Indication?.ManeuverType != ShipManeuverTypeEnum.Orbit)
{
Host.Log(" Presence of friends on site! Let them be!");
ActivateArmorRepairerExecute();//to be sure I stay alive, rats can target me
deleteBookmark();
return TakeAnomaly;
}
}
Oh yeah. It won’t start shooting stuff. But it actually will stop doing anything, just opening and closing probe window. Am I doing something wrong?
Oh okay, it’s slow but after some undocking it changes the anomaly correctly thank you buddy
Okey, so, hopefully you see this. It actually doesn’t work properly. Only once it worked after some dock/undock attempts. But what it does now is that it sits at the anomaly in open/close probe launcher loop. Any suggestions?
Will test again, will do. Thank you for your prompt replies.