Skip to content

Commit

Permalink
Adapt to the scenario discovered by Levris today
Browse files Browse the repository at this point in the history
Adapt to the scenario shared by Levris at #79 (comment)

From the discussion:
When you say 'overview panel', I guess you mean that UI element in the screenshot you added.

That screenshot is cropped; a part is missing, but I guess this is the menu you get when clicking the surroundings button.
It is easy to adapt a bot to use the entries in there.
We can do this by starting with a popular mining bot that already uses the menu from the surroundings button. That way, we only have to adjust the path in the menu. Most people use a submenu that contains the string 'asteroid belts' when they expand that menu to arrive at the representation of their mining site.

As I understand your screenshot, your setup has a submenu called '*Anomalies*' in the same menu.
So our next experiment is replacing that string used to filter submenus and testing that on your game client.
  • Loading branch information
Viir committed Apr 19, 2023
1 parent eb1f720 commit e6a0b69
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{- EVE Online mining bot version 2023-04-18
{- EVE Online bot of Levris
The bot warps to an asteroid belt, mines there until the mining hold is full, and then docks at a station or structure to unload the ore. It then repeats this cycle until you stop it.
If no station name or structure name is given with the bot-settings, the bot docks again at the station where it was last docked.
Adapted for the setup shared by Levris at <https://github.com/Viir/bots/issues/79#issuecomment-1515193171>
Setup instructions for the EVE Online client:
Expand Down Expand Up @@ -1135,7 +1134,7 @@ dockToStationOrStructureUsingSurroundingsButtonMenu { prioritizeStructures, desc
warpToMiningSite : BotDecisionContext -> DecisionPathNode
warpToMiningSite context =
useContextMenuCascadeOnListSurroundingsButton
(useMenuEntryWithTextContaining "asteroid belts"
(useMenuEntryWithTextContaining "Anomalies"
(useRandomMenuEntry (context.randomIntegers |> List.head |> Maybe.withDefault 0)
(useMenuEntryWithTextContaining "Warp to Within"
(useMenuEntryWithTextContaining "Within 0 m" menuCascadeCompleted)
Expand Down

0 comments on commit e6a0b69

Please sign in to comment.