-
Notifications
You must be signed in to change notification settings - Fork 15
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
Second run #15
Comments
Hi,
Or You can use the branch "ForDeveloppement" (from the actual repo) which is newer (I put a lot of code which is not in "main") My fork : https://github.com/Efemache/Mercenaries-Hearthstone-game-bot ('ill create a new branch like "improvement" for next commits) [Edit][new-url] https://github.com/Efemache/Mercenaries-Farm-bot |
Better support for The Barrens and Felwood (normal and heroic) added : |
So, I tried your version, but it seems to be stuck on prize selection. When I look at cmd window, it seems to fail to find "presents" in UI_ellements. Granted, I'm trying Level 5 heroic from barrens, and only "presents" picture has 4 presents in them, so it probably fails because of that. I could try farming default level 27 felwood, but the bot is definitely not ready to for high-level bounties, because 1. The logic behind it lacks, often resulting in bad decisions, which results in a loss. 2. Most of the time, bot can't use moves (usually it's the middle one, in my case Samuro). All I'm saying, that the bot is still not ready. |
Hi, There is a lot of bugs (i'm trying to solve them and each day I find new ones). So I'm trying to solve these bugs before to go for new features. I'll try to look at this bug you're talking. The "present" image isn't needed. |
Honestly, even just working bot without logic and just using 1 button would be fine to farm low level bounties for coins. |
Hello, That's fine now : https://github.com/Efemache/Mercenaries-Hearthstone-game-bot/tree/improve2 I changed a lot of code (not related to your bug) so I couldn't test everything (like Boon, Mysterious Encounter, group creation,...) but for rewards, battle, treasure, level selection, ... everything is fine. ps : I support only 1920x1080 and English language (for now) |
Tried it again. Now it did choose all the rewards, but after that, it went to the main menu and kept looking for back button and pressing it, resulting in loop. |
Hi, |
ok, I think it works now. The remaining problem I have is, sometimes bot doesn't use on of my heroes (I run Xyrella, Samuro and Cariele). I think it's because it tries to use second ability, but Samuro has that ability on cooldown. |
It's weird, the bot only uses 2 (or 3) abilities for 3 heroes. I remember, I already saw the bot to doesn't use one of my hero.
You can open a new bug; We'll see if somebody can look at it. I'll look into battle code latter. |
Looks like I still can't get consistent second runs. I have two thing happening:
|
Hi, |
I pushed a quick/dirty patch but not tested. |
A new version is available. |
I'll test it today, thanks. |
Sometimes the second run doesn't start and I know why. When the "mercenaries menu" (where you can choose to see tasks, go to battle, see your mercenaries, etc...) is loaded, it takes some seconds before to be clickable. Try different values (3, 4, 5, 6 ...). |
@asakurato since you are the only one to ask / answer :) , do you need the feature to (auto) create group ? |
Actually no, I don't need it, I mainly want the bot to farm coins, not level up. |
Hi,
|
fixed here : https://github.com/Efemache/Mercenaries-Farm-bot |
That's what I would like, I guess we continue there. |
So, I know that finishok button is bugged right now, but if you move the mouse, the bot continues like normal. Except, when it starts the loop again, it gets stuck in the level selection menu. I have selected level 5 heroic in Barrens, but after the first run, bot gets stuck in the loop, just looking for "fir" and "ser" buttons and clicking them nonstop, resulting in an infinite loop. Relaunching the bot makes it continue like normal. This is on 1920x1080 res.
Edit: Looks like the problem is that the bot can't select the level that is already selected. The log says it can't find the level button, level 5 in my case.
The text was updated successfully, but these errors were encountered: