raphael.mca
(Ralf Mikaels)
September 11, 2018, 3:48pm
1
Good afternoon, a few months ago I took a version of A-BOT that contained a command line to identify Dreadnouts in the anomaly, and in case it respaw it it would abound to avoid dying.
Does anyone have this version of A-BOT that contains this code in the combat.cs file so I can adapt it to mine?
the dread , his declaration and retreat you can find here ( is not a big difference between declaration in sanderling or A-bot:
/*RAAB1.1.2 This bot ratting anomaly and/or asteroids;It use tethering zone, warp distance configurable from settings, take the loot (or not, by ship type). Planning time by session or by time before DT, logout at the end of first timespan and stop bot. Protection from bumping
Latest release of Sanderling can load scripts from web so the bot will be with default settings (what I use at the momment, so review your settings)
Download the latest release of Sanderling from https://github.com/Arcitectus/Sanderling/releases
fixs/adds:
>add save bookmark site; now you go back to same site until you finish him and also until there are no wrecks
>added ship range max ( in km, the script do the calcs). If the distance to first rat is > range, then will start to spin around him
(-) because of same rares circumstances who stuck the ship withoud doing anything, I deactivated the "one push" function for "open cargo".
(+) changes in timers calculation
ignore rats further than 120km (configurable)
warp at distance configurable from anomalies and asteroids( copy paste the string)
some messages (or all)
GUIDE: ( and you have example at each variable in settings)
fill in the values for:
-retreat from neutrals
-copypaste the string for warp distance
-max distance for rats.
-if you like to do anomalies or asteroids
-the timers
-name anomalies etc etc
This file has been truncated. show original
Also here: Avoiding to struggle - a guide for beginers
you have the usage of list; the declaration is like for commander
1 Like
pikacuq
September 11, 2018, 8:39pm
3
@raphael.mca
you are looking for this bit of code:
var listOverviewDreadCheck = listOverviewEntry?.Where(entry => entry?.Name?.RegexMatchSuccessIgnoreCase("Dreadnought") ?? false).ToList();
if (listOverviewDreadCheck.Count() > 0)
{
// do whatever you need to do in here
}
best PQ
1 Like
raphael.mca
(Ralf Mikaels)
September 11, 2018, 10:22pm
4
Thank you … that’s what I was looking for …