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

AmeisenNavigation Help #449

Closed
rozv11e opened this issue Nov 4, 2022 · 11 comments
Closed

AmeisenNavigation Help #449

rozv11e opened this issue Nov 4, 2022 · 11 comments
Labels
bug Something isn't working

Comments

@rozv11e
Copy link

rozv11e commented Nov 4, 2022

Description

Hi, I can’t build the AmeisenNavigation project because the AnTCP.Client.1.0.0.nupkg package is missing, and when compiling it gives an error of the second package - newtonsoft (can’t find version 13.0.1) help me solve the problem, I want to try using v3 paths in dungeons

Will this navigation work in dungeons?

Addon Version

0.0.0

World of Warcraft Client

Wrath of the Lich King Classic

Reproduction Steps

  1. download VS
  2. Can build AmeisenNavigation
  3. nuget packages

Last Good Version

No response

Screenshots

No response

Logs

No response

@rozv11e rozv11e added the bug Something isn't working label Nov 4, 2022
@Xian55
Copy link
Owner

Xian55 commented Nov 4, 2022

Hello there,

AmeisenNavigation requires Visual Studio 2019 to be installed. Also be sure to the Desktop Development with C++ module is installed as well.

Once you have that be sure to set AmeisenNavigation.Server as startup project.
And unload project AmeisenNavigation.Tester as that one dosen't needed.

With these settings should be able to compile the AmeisenNavigation.Server project.


However the provided mmaps files doesn't contain any instance/raid navigation meshes. As the related in game addon api returns (0,0) coordinates inside dungeons and raids. So you have to find an another way to supply player position info from the game.

@rozv11e
Copy link
Author

rozv11e commented Nov 4, 2022

Thanks, installed.
the only option is to find the mmaps file with the paths for the dungeons? There are no other options?
Some lk dungeons can be farmed in 1 player, this will also help to avoid a possible ban, and increase the farm

@Xian55
Copy link
Owner

Xian55 commented Nov 4, 2022

This has been asked before, #344

There are other options, yes, but it requires to hook into the executable and read the game memory to obtain the player location, which goes against the project principle. You can make modification on your own, but use it on your own risk.


You can extract the mmaps on your own, it takes a little bit of time, here's a little guide about that.

1. Requirements:

2. Move the Tools to your WoW folder
unknown

3. Run the Tools
Things you only need to do once:

mapextractor.exe
vmap4extractor.exe -l
vmap4assembler.exe Buildings vmaps

Run this to generate the MMAPs (note this takes ~20min on a Ryzen 7 3700X) and make sure to set a good maxAngle (I use 50).

mmaps_generator.exe --maxAngle 50

@rozv11e
Copy link
Author

rozv11e commented Nov 7, 2022

Are there any other options without reading the memory to use the bot in the dungeon?

@Xian55
Copy link
Owner

Xian55 commented Nov 7, 2022

I have yet to find an alternative way.

To my best knowledge the only reliable way to have a navigation system, is memory reading.

@rozv11e
Copy link
Author

rozv11e commented Nov 7, 2022

And why can't the bot itself extract resources (grass, ore)?

@Xian55
Copy link
Owner

Xian55 commented Nov 7, 2022

Personally i had no intention to use it as gathering herbs and mines.

With the current setup, the navigation system is not that precise, to make consideration about tight corners, and extreme slope angles and not using click to move, but rather simulating WASD keystrokes. As a result the movement is a bit random and imprecise this effect has advantage and disadvantage.

  • For generally running around and pulling mobs works quite well.
  • For collecting herbs and veins not really, as some of the nodes are placed a really tricky location.

On top of this, the WowClassicGrindBot backend has no notion of the nodes on screen, it can only rely on the minimap yellow icon for direction.

It is not impossible to make it function, but requires lot of effort to make it work properly. I myself yet to find ambition to spend time working on it.

Among us, coolzoom who spent some time working on it, but after time he has deemed the solution not yet ready make it work reliably, mostly because of the previously mentioned challenges.

If you have the spare time to working on it, i encourage you to do so. 🙇

@rozv11e
Copy link
Author

rozv11e commented Nov 7, 2022

I may have an idea how to avoid the ban to some extent by using different paths. for example: he follows one path for 4 hours, sells, and then follows another path, in fact, just rearranging the paths, and so on, it would also be useful to add a mail function so that after selling the trash, he can transfer the necessary items to the twink

@Xian55
Copy link
Owner

Xian55 commented Nov 7, 2022

I may have an idea how to avoid the ban to some extent by using different paths. for example: he follows one path for 4 hours, sells, and then follows another path, in fact, just rearranging the paths, and so on,

Somebody else suggested it in prior. It would be a really good addition to the project indeed. Having the option to alternate routes.

Keep in mind, not recommended to use it for a long period of time. Have to find a good balance.

it would also be useful to add a mail function so that after selling the trash, he can transfer the necessary items to the twink

Mailing options would be nice. Have to do some research what capabilities the in-game lua API exposes.


Keep the conversation related to the original post. You have the option to request new feature or report bug.

@rozv11e rozv11e closed this as completed Nov 7, 2022
@Sattva-108
Copy link

AmeisenNavigation requires Visual Studio 2019 to be installed. Also be sure to the Desktop Development with C++ module is installed as well.

Do you mean Microsoft Visual Studio Professional 2019 has to be installed?

@Xian55
Copy link
Owner

Xian55 commented May 12, 2024

Hey in the past needed at least

  • Visual Studio Community 2019
  • image

installed in order to build build the AmeisenNavigation project.

However that's the old case. For the current flow, please follow #585.

@Xian55 Xian55 mentioned this issue Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants