Alexell / BlumBot

Bot that mines Blum Points
37 stars 10 forks source link

Issue with Games #16

Open HollySheeeet opened 1 month ago

HollySheeeet commented 1 month ago

2024-10-11 11:26:29 | ERROR | 237 | Testsession1 | Games http error: 401, message='Unauthorized', url=URL('https://game-domain.blum.codes/api/v1/game/play') 2024-10-11 11:26:32 | ERROR | 237 | Testsession2 | Games http error: 401, message='Unauthorized', url=URL('https://game-domain.blum.codes/api/v1/game/play') 2024-10-11 11:26:32 | ERROR | 237 | Testsession3 | Games http error: 401, message='Unauthorized', url=URL('https://game-domain.blum.codes/api/v1/game/play')

@Alexell

Hi, could you check what's going on? the API has changed or something else, but starting today, I'm getting these kinds of messages when trying to start a game.

Looking forward to your response or any fixes.

Thanks.

Artiesy commented 1 month ago

They changed api to v2 with another payload, that is base64 but transformed with WASM.

HollySheeeet commented 1 month ago

They changed api to v2 with another payload, that is base64 but transformed with WASM.

Well, what should I do in this case? Should I wait for the author to fix it, or is there a part of the code that can be adjusted to make everything work?

Artiesy commented 1 month ago

Just set GAMES_ENABLED to False in .env for a moment. I think @Alexell should find the solution. I'm also looking for that

MorinCerber commented 1 month ago

Just set GAMES_ENABLED to False in .env for a moment. I think @Alexell should find the solution. I'm also looking for that

Friend, can you tell me approximately how long it will take him? When the bot is ready, I want to hear your suggestion

Alpamic commented 1 month ago

923550067763 | Games http error: 200, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url='https://game-domain.blum.codes/api/v1/game/play'

Artiesy commented 1 month ago

Just set GAMES_ENABLED to False in .env for a moment. I think @Alexell should find the solution. I'm also looking for that

Friend, can you tell me approximately how long it will take him? When the bot is ready, I want to hear your suggestion

Don't even know this guy, just used his bot like you. We should wait, otherwise i'll fork repo and will try something