Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect Mining range from Tooltip and stop ship at maximum range-1km #27

Open
habeas81 opened this issue Nov 16, 2020 · 7 comments
Open

Comments

@habeas81
Copy link

I'd recommend that the ship stays at mining range so it doesn't get hung up on asteroids if it needs to escape. Is it possible to expose the fields as a configuration item for user-input in the script, or otherwise have the range detected from the mining module tooltip and have the ship approach until it is inside the mining range, then stop and activate mining modules?

Thanks!

@Viir
Copy link
Owner

Viir commented Nov 16, 2020

Sounds interesting; let's have a closer look at your game client.

What reading do you get from the module button tooltip? Do you see that mining range in there?

About the possibility of stopping the approach: Maybe you have a button in the ship UI to achieve this effect? Can you look at the available actions there to see if something helps you with that effect?

@habeas81
Copy link
Author

habeas81 commented Dec 3, 2020

Yes the mining range is listed in the tooltip see image and the ship status cluster see image has a button for "stop the ship". It is the "-" symbol on the left side of the ship speed indicator window.

@Viir
Copy link
Owner

Viir commented Dec 4, 2020

Yes the mining range is listed in the tooltip see image

In this image, I see a text Range within 19 km left of the range. How about searching for the text Range within in the reading from the game client to find the range?

Do you get the text Range within 19 km when using the function getAllContainedDisplayTexts on your memory reading?

the ship status cluster see image has a button for "stop the ship". It is the "-" symbol on the left side of the ship speed indicator window.

Nice find! The example projects for EVE Online currently use memory reading to read the UI. If we can identify the button in the memory reading, we could reuse the existing reading infrastructure.
Can you share a memory reading that we could use as training data to find this button? Feel free to link a complete session recording if you don't want to extract an individual reading from the game client.

@habeas81
Copy link
Author

Will do, though I'm very new at this so it might take me awhile to figure out how to read and interpret the memory using the tools and guides you have so kindly provided! Thanks!

@Viir
Copy link
Owner

Viir commented Dec 18, 2020

You don't need to read the memory or interpret it. You can upload the file with your session as-is. When I have your session file, I can check the question about getAllContainedDisplayTexts on my end. The same applies to the stop button, I think.

As far as I know, you can upload a file directly here in the GitHub issue. Others have already used this successfully, like here: #23

The process to export and upload usually takes less than five minutes, but of course, it depends on your network bandwidth.

In case you prefer to do more of the exploration yourself, here is a shortcut to a recent version of the EVE Online memory reading inspection UI: https://botengine.blob.core.windows.net/blob-library/by-name/2020-12-11-eve-online-alternate-ui.html

@Mitsuakisan
Copy link

Has this been addressed already? I was playing around with the newest release and noticed that after it finished mining out an asteroid it would immediately lock another and approach, however it would not orbit or stop the ship when within range. This means you fly past it and move infinitely away while the bot, goes into a loop of trying to turn on the mining equips even if they are out of range. There needs to be an orbit command where after locking instead of approaching it orbits instead. That would eliminate all of these issues.

@Viir
Copy link
Owner

Viir commented Sep 29, 2021

@Mitsuakisan that sounds interesting. I will take a look at your scenario, too, if you can share it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants