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

Suggestion #7

Open
The-RavenKing opened this issue Apr 18, 2020 · 11 comments
Open

Suggestion #7

The-RavenKing opened this issue Apr 18, 2020 · 11 comments

Comments

@The-RavenKing
Copy link

The-RavenKing commented Apr 18, 2020

Hey,
Firstly I want to say awesome job! Very quick and easy to setup for someone like me who is a total noob to this stuff.

Just a suggestion though, is it possible to only have the mining bot click once to approach the nearest asteroid? I feel like there is a chance that as it continually repeats clicking the 'approach' button this might signal that a bot is being used and get you banned?
Given I know nothing about programming etc. I am likely missing something so sorry if it seems like a stupid request. Just an idea =)

edit: what about getting it to drop drones once at the site then picking them back up before walking away? That way when mining in hi-sec you won't have to run from rats? =)

Thanks for your hard work.

@Viir
Copy link
Owner

Viir commented Apr 19, 2020

Just a suggestion though, is it possible to only have the mining bot click once to approach the nearest asteroid?

Thank you for the idea! How could this work in practice? As far as I remember the ship UI indicates when you have started to approach. AFAIR it displays a text like "Approaching" and also the name of the object below. Maybe we can use these texts to decide to not click the 'approach' button?

@Viir
Copy link
Owner

Viir commented Apr 19, 2020

what about getting it to drop drones once at the site then picking them back up before walking away? That way when mining in hi-sec you won't have to run from rats? =)

I like the idea! I made this version that uses drones to defend against rats: https://github.com/Viir/bots/tree/71f695e1b585e7afd89576d29e90992bbf9f2165/implement/applications/eve-online/eve-online-mining-bot

@The-RavenKing
Copy link
Author

Just a suggestion though, is it possible to only have the mining bot click once to approach the nearest asteroid?

Thank you for the idea! How could this work in practice? As far as I remember the ship UI indicates when you have started to approach. AFAIR it displays a text like "Approaching" and also the name of the object below. Maybe we can use these texts to decide to not click the 'approach' button?

Yeah I believe it does say something about approaching. I wouldn't know how to program a bot but perhaps if it can recognise approaching and then the type of asteroid it could know to wait until on range and then start the mining process? 🤷‍♂️

@The-RavenKing
Copy link
Author

The-RavenKing commented Apr 19, 2020

what about getting it to drop drones once at the site then picking them back up before walking away? That way when mining in hi-sec you won't have to run from rats? =)

I like the idea! I made this version that uses drones to defend against rats: https://github.com/Viir/bots/tree/71f695e1b585e7afd89576d29e90992bbf9f2165/implement/applications/eve-online/eve-online-mining-bot

Thank you. Will check it out. 🤘

Edit: checked it out on the offline botengine and so far so good man! Thank you.
I don't know how to program but if you want any help or suggestions from a miner then give me a shout 🙂

Edit 2: I didn't think and loaded the bot without ever docking. Then when the hull is full it just sits there. Perhaps have it dock at the nearest station if stations are included in the overview?

@Whizkidzz
Copy link

Just another suggestion, deactive miners before locking target.
When asteroid is depleted the other mining module will keep running, and with strip miner this can be up to 180 seconds

Viir added a commit that referenced this issue Apr 21, 2020
Adapt for idea from JongoFett at #7 (comment)
@The-RavenKing
Copy link
Author

I implemented this now here: https://github.com/Viir/bots/blob/a307028d742926a0b746f6cccda9fdddbef2c60e/implement/applications/eve-online/eve-online-mining-bot/src/Bot.elm

https://catalog.botengine.org/F28BBA079FFAEDEE1A992368DF49347A8401775AF0EFAE970EC0165A2CF47192

What are your results with this version?

Is that catalog version the one that uses drones? I used it offline a few times and it's good. Had one set of NPC's come attack me and it was fine.
Not sure how I'd fair against trigs or something as I usually just run from them haha.

The one you've implemented, is that going to stop the repeated approach clicks? I can't tell what the differences are 🙈

@Viir
Copy link
Owner

Viir commented Apr 22, 2020

The one you've implemented, is that going to stop the repeated approach clicks? I can't tell what the differences are 🙈

Yes.
Following the link in the catalog entry, I found this view of the differences in the implementation: a307028

@The-RavenKing
Copy link
Author

@Viir that all works great except if I start it without every going to a station then it won't dock again and just hangs. Then if rats come along my ship just sits there until its destroyed which is a bit rubbish.
Anyway when it doesn't know what station to go to it can just pick the nearest or something?

@Viir
Copy link
Owner

Viir commented Apr 26, 2020

Anyway when it doesn't know what station to go to it can just pick the nearest or something?

Sure, here is a version that docks at a random station when shield hitpoints are below 70%:
https://catalog.botengine.org/08C2F5B083533BAAA290083127B29E315BC6BF17E6FC10EC0278BB8EC6151A51

It displays such a message then:

[...]
++ Shield hitpoints are at 68%. Run away.
+++ Click on menu entry 'stations'.
[...]

@The-RavenKing
Copy link
Author

The-RavenKing commented Apr 26, 2020 via email

Viir added a commit that referenced this issue May 23, 2020
Adapt for the idea from JongoFett at #7 (comment):

> Just a suggestion though, is it possible to only have the mining bot click once to approach the nearest asteroid? I feel like there is a chance that as it continually repeats clicking the 'approach' button this might signal that a bot is being used and get you banned?

On the catalog, I see this variant has been used for 156 hours already: https://catalog.botengine.org/F28BBA079FFAEDEE1A992368DF49347A8401775AF0EFAE970EC0165A2CF47192

Since this has become so popular, integrate it into more example apps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants