Closed PavelRPavlov closed 4 years ago
D:\GitHub\Auc-Stat-Simple.lua.location is an file which says where your auctioner file is. This contains my account name, so it is not checked in... e.g.
D:\World of Warcraft Classic\World of Warcraft\_classic_\WTF\Account\YOUACCOUNTNAME\SavedVariables\Auc-Stat-Simple.lua
"I have been unable to read the player class. " means it can't read the coloured dots from the addon... I assume that you didn't do the step where you delete the config file. The config file has the x,y points of each of the 100 dots each of which contains values, one of which is the class of the character.
4. Configure the Addon Reader
The bot reads the game state using small blocks of colour shown at the top of the screen by an Addon. This needs to be configured.
Delete the existing config.json file found in c:\WowClassicGrindBot\BlazorServer, we are going to recreate it. This is important as your screen may not be the same size as mine 1920 x 1080.
I did delete the provided configuration file. But I recreated it the wrong way. Now that I have it correctly setup the bot runs as expected.
Thank you for the clarification and additional explanation regarding the files.
I am willing to contribute to this bot. I think its great idea and i like how it uses addons and reads the screen and activates keys. This is a better way rather than injecting dlls into the game.
I have some troubles setting it up, thou. I have read the instructions and built the server project with no errors. But when I execute the run.bat file i receive some errors. Here is the output of the console. It looks to me like there is something on your PC which is not in the repo (or at least has hardcoded path)
C:\WowClassicGrindBot\BlazorServer>dotnet run
[14:23:53 INF] Startup()
[14:23:53 ERR] Failed to read AH prices.Could not find a part of the path 'D:\GitHub\Auc-Stat-Simple.lua.location'.
Following this, the console outputs a warning saying that the class of the player cannot be loaded:
[14:30:41 WRN] There is a problem with the addon, I have been unable to read the player class. Is it running ?
When logging in the game with a player i can see the "We are in" text in the chat window
Can you please assist me on getting the bot to run on my side? Then we can discuss how can i contribute. I have some background with C# and programming :)