It looks like Silverfish is recalculating after every individual move even when there was no secret/draw/random action. I looked at the code and it confirms my findings. Will this be fixed?
Yes it is inefficient and makes the bot look more like a bot and this is probably one of the main reasons why people say it is easy to tell Hearthbuddy is a bot. The way it should work is that the board state is sent to UAI once and a list of moves is returned for the bot to do. Unless there is something that can't be predicted like a secret or a random effect like knife juggler, there should be no need to recalculate more than once every turn. There's no reason for UAI to do this as it is capable of running without recalculating every single move.
It is an i5-4440. This is not a problem with my computer being too slow. Most of the times it may not be noticeable, but when there are 10 units on the board, even the fastest computers will take several seconds to recalculate from scratch. None of the other bots are like this, even when they also use UAI.
Ok but it isn't going to help because I looked at other people's logs and they have the same issue. And I have pinpointed the problem in the code. As you can see here, the bot tells UAI to recalculate after every single move. Even though it only takes a few milliseconds to calculate the move according to the logger, there's like a 4 second delay between the move and the next action. This should be shortened to 1-2 seconds. 2015-03-24 06:26:21,259 [23] DEBUG Logger (null) - [GameplayScene_MAIN_ACTION_Friendly] Waiting to be in this state longer. 2015-03-24 06:26:24,672 [23] INFO Logger (null) - calculating stuff... 23:26:24.6721 2015-03-24 06:26:25,092 [23] INFO Logger (null) - calculating ended! 23:26:25.0923 2015-03-24 06:26:25,093 [23] INFO Logger (null) - play action 2015-03-24 06:26:25,126 [23] INFO Logger (null) - use ablitiy: Steady Shot target Thrall 2015-03-24 06:26:29,781 [23] INFO Logger (null) - calculating stuff... 23:26:29.7816 2015-03-24 06:26:29,941 [23] INFO Logger (null) - calculating ended! 23:26:29.9416 2015-03-24 06:26:29,942 [23] INFO Logger (null) - play action 2015-03-24 06:26:29,983 [23] INFO Logger (null) - minion attack: Timber Wolf target: Thrall 2015-03-24 06:26:33,526 [23] INFO Logger (null) - calculating stuff... 23:26:33.5269 2015-03-24 06:26:33,691 [23] INFO Logger (null) - calculating ended! 23:26:33.6919 2015-03-24 06:26:33,692 [23] INFO Logger (null) - end turn
Tony, it says right in the logs how long the delay is. 2015-03-24 06:26:24,672 [23] INFO Logger (null) - calculating stuff... 23:26:24.6721 .... 2015-03-24 06:26:29,781 [23] INFO Logger (null) - calculating stuff... 23:26:29.7816 That's a 5 second delay between 2 actions on the same turn. Everyone is getting this issue. https://www.thebuddyforum.com/hearthbuddy-forum/hearthbuddy-support/209072-calculating-move-empty-boards-causing-wasted-time-lag.html https://www.thebuddyforum.com/hearthbuddy-forum/hearthbuddy-support/208993-lags-botting.html Even people that do not report lag have the same delay in their logs. The cause is not a mystery. I looked at the silverfish/UAI code and confirmed it is a problem with the way it interfaces with hearthbuddy. https://www.thebuddyforum.com/hearthbuddy-forum/hearthbuddy-support/207182-bot-crashing.html I have also used the other 2 major bots and none of them have this issue and one of them also uses UAI.
No I can't because my key expired. Tony, I understand you deal with many technically inept people and that's why you always ask for logs, but I am not one of them. You should have been able to tell from my posting history. If you cannot see the delay on your own computer even though everyone's logs are showing the delay, then you are used to it. I have tried all the major bots for hearthstone and none of them have this issue.
well it works as it should on my machine and on 99% of our users what it prints in log file (time stamps) its what it does as well if possible i would like to see the delay you are talking about on a video or via teamviewer
I'm sorry but as I said my license already expired and I don't plan to renew it just so I can prove this to you when anyone can see it exists by running the bot for a few seconds. I don't know why you refuse to believe it when I've showed you multiple people complaining about it, and even the people that aren't complaining about it show the same timings in their logs. Maybe you can post your logs? You could try counting the seconds the bot takes between moves, and then compare this to how long it takes you to make a move without the bot. I would also suggest that you and pushedx try the other 2 major bots and see how smoothly they run. As I already said, other people are reporting this issue, it isn't just me. https://www.thebuddyforum.com/hearthbuddy-forum/hearthbuddy-support/208993-lags-botting.html https://www.thebuddyforum.com/heart...ove-empty-boards-causing-wasted-time-lag.html Any random log file in the support section I open also has a 4-5 second delay between moves on the same turn. Here is another one I randomly picked out. https://www.thebuddyforum.com/hearthbuddy-forum/hearthbuddy-support/207725-missplay.html 2015-03-14 06:08:45,150 [17] INFO Logger (null) - calculating stuff... 11:08:45.1506 2015-03-14 06:08:45,159 [17] INFO Logger (null) - calculating ended! 11:08:45.1596 2015-03-14 06:08:45,160 [17] INFO Logger (null) - play action 2015-03-14 06:08:45,179 [17] INFO Logger (null) - play: Ùèòîíîñåö Ñåí'äæèí target nothing 2015-03-14 06:08:46,635 [17] INFO Logger (null) - [UseAt] 1 2015-03-14 06:08:50,506 [17] INFO Logger (null) - calculating stuff... 11:08:50.5069 As you can see here that's a 5 second delay inbetween moves on the same turn, proven by the log files. In this thread, multiple users are complaining about the speed of the bot. https://www.thebuddyforum.com/hearthbuddy-forum/206108-current-bot-2.html
your key is not a problem we can extend it pm me your Skype and we will teamviewer dont link me other's people threads and stuff,we are here to solve your issue
Do you use Kaspersky? When yes, try this Guide: https://www.thebuddyforum.com/honor...ow-fps-issues-caused-kapersky-anti-virus.html I had the same problem but after adding the Hearthbuddy.exe to the Safe list, the lags are gone ;-)