0x978 / GeoGuessr_Resolver

A script which returns the correct location in Geoguessr
https://greasyfork.org/en/scripts/450253-geoguessr-resolver-hack-7-5-duels-and-google-maps-update
48 stars 7 forks source link

Xp Farm #11

Open Harry-Hopkinson opened 1 year ago

Harry-Hopkinson commented 1 year ago

Xp farm for Geoguessr

Requirements:

This code should be okay but notify me if I need to make some changes

Harry-Hopkinson commented 1 year ago

This works but may need someone else to check it works on their machine

0x978 commented 1 year ago

This is pretty cool!, I've only had a really quick look but this is what I think:

I'd like to see what you think though!

Harry-Hopkinson commented 1 year ago

Sounds great - I will have a look at implementing these changes.

Harry-Hopkinson commented 1 year ago

When you say "make the guess through the API" - does that include the button pressing as well to submit the guess or just placing the pin?

0x978 commented 1 year ago

When you say "make the guess through the API" - does that include the button pressing as well to submit the guess or just placing the pin?

I believe you can do the entire guess through the API (button press / pin all in one API call). I do this in apiViewer for duels, should be very similar for singleplayer modes

If you can't figure it out, lemme know and I'll see what I can do :)

Harry-Hopkinson commented 1 year ago

I have just refactored the code so now one can start the script whilst already in a game - this script is intended for 20 seconds no moving, as it does not actually press the button to submit a guess so waits for the round to end. I can implement a feature that asks for the length of the game per round and calculates the time to guess based off that. It also removes all of those if statements that made the code unpleasant to read.

I have some homework to do 😢 so have currently not implemented doing all of the guesses and button pressing through the API so will get on that shortly.