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

Improve AttendedGather mode by attempting to move closer to the node #593

Open
coussiraty opened this issue Jun 13, 2024 · 11 comments
Open
Labels
feature request This is a request for a new feature, or an expansion of an existing feature.

Comments

@coussiraty
Copy link

Hi, is there any way to automate the collection of herbal and mining resources effectively? Maybe I'm doing the wrong configuration, or maybe it's just like that, when I try it goes straight, shouldn't I stop and collect it?
Or do you have to do this manually?

@coussiraty coussiraty added the feature request This is a request for a new feature, or an expansion of an existing feature. label Jun 13, 2024
@Xian55
Copy link
Owner

Xian55 commented Jun 13, 2024

Hello, gooday!

Hi, is there any way to automate the collection of herbal and mining resources effectively?

I tried to explain what the AttendedGather Mode it seems i've failed.

The gist of it should be like that while the AttendedGather mode is active

  • It follows the given path.
  • When a yellow node appears in the mini map, it starts beeping.
  • You have to go to the yellow node on your own within interact distance.
  • Click on the node / if the SoftTarget is enabled, then just press the Interact button.
  • The rest of it should be taken care of the bot.

Since the Soft Targeting system has been added, this feature could be improved further. However the current navigation system is not precise enough to reach all of the tricky placed nodes, like mining node which spawned at a mountain slope.

@coussiraty
Copy link
Author

Hi, thanks for responding,

I understand, it would be semi-automatic, I'm trying to use it in cata, I managed to make everything work, except that, but now I understand, there would be no way to do any calculations so that it moves close to that node and when reading the screen it clicks the button for interaction? Just a silly idea, and I also have the problem that it beeps for mission icons.

@Xian55
Copy link
Owner

Xian55 commented Jun 13, 2024

there would be no way to do any calculations so that it moves close to that node and when reading the screen it clicks the button for interaction?

Last time when i worked on this feature the primary problem was to locate the node(vein/herb) on the screen. However since the Soft Targeting System has been added to the game, that problem is solved, the player only would required to be close within interact distance from the node and the rest of it should just work.

Moving close to the node can be a bit challenging, however its not impossible.

I just want to point out, that currently i have a very limited time to spare working on my hobby projects. I would really like to improve, just lack of time :)

@Xian55 Xian55 changed the title AttendedGather Improve AttendedGather mode by attempting to move closer to the node Jun 13, 2024
@coussiraty
Copy link
Author

Of course I understand, what you do here is already a big job, I'm just starting to work with C# so I'm not the best, but I'm trying to adjust some things, this is one of them, what I thought, maybe get it from the db where these nodules are born and create a mapping of this, I don't know if this would work, because like that, I'm quite a noob at this part, but when arriving at this location it would scan with the mouse (same as loot) if it switches to the capture mouse it press the interception button, if it doesn't move on to the next nodule, I don't really know how to apply this. but I think it would work. I could be totally wrong too.

@Xian55
Copy link
Owner

Xian55 commented Jun 13, 2024

I'm trying to adjust some things

Its and open source project feel free to tinker.

scan with the mouse (same as loot) if it switches to the capture mouse

In this scenario it is not needed to scan with the mouse, pressing the Interact key would reduce the complexity of the problem significantly.

@coussiraty
Copy link
Author

Even better, the idea would be to create routes that lead exactly to the node point, so, sorry to bother you here, exchanging ideas helps me think of a good solution.

@Xian55
Copy link
Owner

Xian55 commented Jun 13, 2024

i've already created such project which uses the wowhead database for all the possible node in the zone(its based on player submission so might be incorrect), one for herbs and one veins. It can be found under Utilities / WowheadDB_Extractor / Zone_Extractor, its currently commented out as it takes time to solve the Traveling salesman problem

These paths were generated by the tool:

However i would like to bring to your attention that, only just the possible spawn locations are known, it might be that the given node at the time is not spawned, as in the game only a handful spawn location could be used, its defined by a pool.

Moving the player to the exact node location might be problematic, especially some of the weirdly placed nodes which can only be access by climbing a small hill or mountain.

@coussiraty
Copy link
Author

@Xian55 Hello, I hope everything is fine with you.

I'm working on your project as I told you and I found this problem for some skills (UNKNOWN REQUIREMENT! Power Word: Fortitude) , I noticed that in datacolor they are there, correctly, do I need to modify something? Does it recognize the correct icon? I'm trying to understand how this works. to be able to add or remove buffs.

@Xian55
Copy link
Owner

Xian55 commented Jun 16, 2024

Hi this is off topic compare to the original issue.

I found this problem for some skills (UNKNOWN REQUIREMENT! Power Word: Fortitude)

In the code it is mentioned just as Fortitude

@coussiraty
Copy link
Author

oh, sorry, I'm so stupid, I didn't see that and it was in my face, sorry.

@Xian55
Copy link
Owner

Xian55 commented Jun 16, 2024

On the other hand, keep this issue open as the feature request still faire and valid :)

@Xian55 Xian55 reopened this Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This is a request for a new feature, or an expansion of an existing feature.
Projects
None yet
Development

No branches or pull requests

2 participants