lajp / geoguessr-bot-rs

A Discord bot for sending GeoGuessr challenge links that uses the GeoGuessr API written in rust.
6 stars 0 forks source link

Starting battle-royale seems to be not working #1

Closed lajp closed 3 years ago

lajp commented 3 years ago

I'm quite sure it's caused by this line: https://github.com/lajp/geoguessr-bot-rs/blob/9c0fe10d2797592fba7f857f9311083916850969/src/geoguessr_api/api_request.rs#L124

lajp commented 3 years ago

I'm quite sure it's caused by this line:

https://github.com/lajp/geoguessr-bot-rs/blob/9c0fe10d2797592fba7f857f9311083916850969/src/geoguessr_api/api_request.rs#L124

No, this is infact not the case. I think this error message has something to do with it tho "{"message":"You can't start a game in a lobby that you haven't joined" (a response from the GG-API)

lajp commented 3 years ago

I got it! It turns out that before POSTing to https://game-server.geoguessr.com/api/lobby/{lobbyid}/start one must first PST to https://game-server.geoguessr.com/api/lobby/{lobbyid}/join in order to be able to start the game