• Visit Rebornbuddy
  • If possible, check to make sure play has happened.

    Discussion in 'Hearthbuddy Forum' started by greenxeyezz, May 22, 2014.

    1. greenxeyezz

      greenxeyezz Member

      Joined:
      Jun 16, 2012
      Messages:
      289
      Likes Received:
      1
      Trophy Points:
      18
      I am not sure if this is possible or not, but I have seen on numerous times the bot has a play to be made, tries to make the play, fails not because of cards, but just doesn't read the board right or something, and then ends turn.

      While it doesn't happen every game (that I have seen) it does happen at least once every other game.

      I am wondering if there is a way to have a check on these plays (maybe it'll add too much time to the game) to make sure that the play was made.

      For example,

      Mortal Coil -- deal 1 damage draw card, etc.

      One HP minion on their board.

      Bot said "pick up card mortal coil" "dropping mortal coil"

      But it never played.

      Then I had the opportunity to attack, and it never attacked because the bot said "no target".

      So I am assuming this is the bot not reading the board correctly.

      Maybe have the check before ending turn to make sure that everything that IS playable is done. Such as a loop back to the beginning.

      I think this will also help us with Heores that have powers that can be used, and then re-casted if the mana exists.

      [22:54:37.888 N] --------------------------------------------------------------------------------------------
      [22:55:30.020 N] Checking hand cards priorities :
      [22:55:30.030 N] Card Harvest Golem has a low priority
      [22:55:30.031 N] Card Razorfen Hunter has a low priority
      [22:55:30.073 N] Card Mortal Coil must be ignored
      [22:55:30.077 N] Card Life Tap must be ignored
      [22:55:30.118 N] Card Shadow Bolt must be ignored
      [22:55:30.142 N] Grabbing card: Razorfen Hunter
      [22:55:31.205 N] Dropping currently held card!
      [22:55:35.270 N] Checking hand cards priorities :
      [22:55:35.320 N] Card Mortal Coil must be ignored
      [22:55:35.367 N] Card Shadow Bolt must be ignored
      [22:55:35.367 N] Card Harvest Golem has a low priority
      [22:55:35.370 N] Card Life Tap must be ignored
      [22:55:35.371 N] Grabbing card: Harvest Golem
      [22:55:36.421 N] Dropping currently held card!
      [22:55:40.465 N] Checking hand cards priorities :
      [22:55:40.522 N] Card Mortal Coil has a low priority
      [22:55:40.525 N] Card Life Tap must be ignored
      [22:55:40.527 N] Grabbing card: Mortal Coil
      [22:55:41.570 N] Dropping currently held card!
      [22:55:46.614 N] No target for Frostwolf Warlord
      [22:55:49.034 N] Ending turn.
      [22:55:49.034 N] --------------------------------------------------------------------------------------------
       
    2. Shadosky

      Shadosky New Member

      Joined:
      May 22, 2014
      Messages:
      22
      Likes Received:
      1
      Trophy Points:
      0
      For explain in a simple way : Sometimes the Hearthstone memory is changing while the bot is reading it, then when the bot wanna play, the card can be in an other memory slot than the one he read previously so when he wanna play this card he call the wrong slot & nothing happens...

      It's a bug pretty hard to fix but i'm sure the dev team is working on it :)
       
      Last edited: May 22, 2014
    3. greenxeyezz

      greenxeyezz Member

      Joined:
      Jun 16, 2012
      Messages:
      289
      Likes Received:
      1
      Trophy Points:
      18
      understood which is why if we do a "check" at the end of play such as

      "Check Mana" if mana > 0 Restart at the beginning of the loop the bot uses.

      Therefore the bot will go "can play card(s)" and if there are cards to be played will play them, if cards are NOT able to be played, bot will go "Can play hero power" if bot can play hero power it will play that. Then end turn.

      This SHOULD fix the miss-reading of memory, and tell it to REREAD the cards, and TWO should fix the rogue and druid hero powers where they CAN attack and then relaunch their hero power.

      I am not able to "fix" the bot logic as its the core logic, but I think a "check-loop" should be implemented.
       

    Share This Page