You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
You have the coordinates of a pokestop, based on those coordinates you can get the timezone and determine the local midnight time of the pokestop and know the expiration time of the quest because of it.
This way you can have a clean map, clean set of pokestops after midnight,...
In RocketMapPlusPlus the following logic was used:
Another way to read timezone could be to use GetPlayerResponse.player_data.time_zone_offset_ms. However, there might be a disconnect from the time GetPlayer is requested until FortSearch is initiated, or if the player is on the borderline of two timezones... Never mind.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
You have the coordinates of a pokestop, based on those coordinates you can get the timezone and determine the local midnight time of the pokestop and know the expiration time of the quest because of it.
This way you can have a clean map, clean set of pokestops after midnight,...
In RocketMapPlusPlus the following logic was used:
for the timezoneoffset, the following code was used:
The text was updated successfully, but these errors were encountered: