WillFlame14 / hanabi-bot

A bot that plays on the hanab.live interface.
GNU General Public License v3.0
16 stars 10 forks source link

bot goes offline after being locked #423

Closed downvoid closed 1 week ago

downvoid commented 1 month ago

Version (PM the bot with /version): 1.6.6a Convention settings: level 11 Steps to reproduce or replay link: https://hanab.live/replay/1278133#17 Additional information: bot4 receives a 2 save followed by a 5 save locking it. Then, it crashes when it gets to its turn.

WillFlame14 commented 1 month ago

I haven't looked at all of the recent issues in detail, but in general, the bot can only play No Variant, Black, Rainbow and White. Any other variant, including Special-Ones and Special-Fives, is not tested and the bot will probably crash or behave weirdly. I'm working on Pink and Brown right now, but I would not say those are anywhere close to complete. I'll add this info to the README next update since I think it's unclear, at least compared to when it would crash instantly upon starting the game.

In this game, the bot just took a while to figure out what to do on its turn (haven't looked into why) and I guess hanab.live dropped the websocket. I don't mind if you continue to report issues like these, but I think most of them just come from the fact that a lot of my code expects the bot to only be playing specific variants.

WillFlame14 commented 1 week ago

hanab.live dropping the websocket while processing should be fixed in 7e611ad.