pickNext (… ) do this:
var nextSite =
availableMenuEntries
?.OrderBy(menuEntry => visitedLocations.ToList().IndexOf(menuEntry?.Text))
?.FirstOrDefault();
he take in order the entries from an menu, it doesnt mater if is bookmark folder or system
But is matter another thing:
The script record the location, he confront the stored location, identify and take next; You have the location under system name: " v farouh asteroid 2"
and the script try to go to next location from BM3 to BM4 but he recorded “farouh5 asteroid 2” so he doesnt know where it is.
I tried naming the bookmark how they are ( just clik ok and not naming BM1) but it doesnt work.
So in the end you have to chose: or you want to take the asteroids in order and use system default core ( naming “asteroid belts” )or to use your own BM and use the random generator ( there is no way, at least for my skills to take Bm in order by incrementing the number).That’s why I supose the original creators used the random generator, because you avoid to store the names and index the place ( bm 1 is on first place, … bm 25 is on 25 place) and take the index , take the corelation from database to his name ( string) and use that string; and over all that, to increment this number (index) each attempt to warp.
I didn’t know about that and also about onther thing:
CCP implemented and use a paradox from physics: using the formulas to reach a point (object), you’ll never reach that point because you’ll have always 1/2 from the initial distance to do. Also he make a difference between real points ( with brackets like for belts) and “virtual ones” from bookmark. Is the reason we have the approach to bookmark all time
about drones bug i talk in next reply because i need place to put all code. I offer you 2 versions of what to do, but Im not sure if something is working or not; so be careful