Markus Persson

Results 34 comments of Markus Persson

The bug in the replay file is that the game plays Shattered Sun Cleric, but no target is set in the replay so it targets None, which generates the error.

The replay records the play from the event "card_played", but no target has been made by this point. A current_target for the minion card is set in the card.use() function...

Hmm, I will be home from work in about an hour. Will see if I can help out and replicate it.

Well I must admit that it's rare, but I got it again. These were the decks this time. Deck 1: Chillwind Yeti, Defender of Argus, War Golem, Imp Master, Stranglethorn...

And again. The deck building AI had already chosen "Imp Master", so it was probably doing a lot of iterations on Duplicate. Deck 1: Imp Master, Duplicate, Murloc Raider, Gelbin...

Again, more deck information. "Dancing Swords, Bloodsail Raider" had been selected by the AI, crashed when doing an iteration on Mad Scientist. Deck 1: Dancing Swords, Bloodsail Raider, Mad Scientist,...

I encountered it again (deck information below), and I tried to reproduce it but got nothing with 276000 games and counting. This got me thinking, maybe it's the game.copy() event...

I added try-except into the mana_cost function that would print out the card if it got into the except part. And it did indeed print out Duplicate. I have not...

I guess I could try and take a look into implementing the replay feature, saving it if I encounter a problem.

If I did everything right with the replay thingie so is this the replay to get this error: https://gist.github.com/Ragowit/68bd9718e80dfc330ff5