datamllab / rlcard-showdown

Leaderboard and Visualization for RLCard
352 stars 95 forks source link

Error in getting replay data #9

Closed Maxwell2017 closed 3 years ago

Maxwell2017 commented 3 years ago

After Launching Tournaments in guide.md, I Click the replay button doudizhu-rule-v1 to watch the replay with doudizhu, BUT when i click start in http://localhost:3000/replay/doudizhu, Suddenly prompt me “Error in getting replay data”, Then prompted the following error “TypeError: Cannot read property 'length' of undefined”. The replay button of Texas Hold'em will not report an error, This is very confusing to me.

hsywhu commented 3 years ago

Hi @Maxwell2017 , thanks for reporting the issue! It's the recently pushed code for Doudizhu PvE demo that breaks the replay functionality. I pushed a quick fix towards the issue, please pull the latest code and try again. Let me know if you face further issues.

Maxwell2017 commented 3 years ago

Thanks for the quick reply,the problem is solved

Maxwell2017 commented 3 years ago

@hsywhu By the way, why is there no card type and probability in the frontend interface of Doudizhu?

hsywhu commented 3 years ago

@hsywhu By the way, why is there no card type and probability in the frontend interface of Doudizhu?

We have that in previous version, but we found there are bugs in the functionality. It's a bit tricky to extract probability information in backend so we disabled it for now.