mtaheij / PoGo-UWP

UWP Client for Pokemon Go
34 stars 10 forks source link

Others fixes #185

Closed Furtif closed 6 years ago

Furtif commented 6 years ago

i thinks this pr https://github.com/Furtif/POGOLib/commit/c01bb4b67df7b97d216417e7329d5a2b39bb4d3e bugs.. need test

Furtif commented 6 years ago

Discord user says:

I have been using your package to check my accounts. I am not sure what I did wrong, but once I updated your package I have this error on this line

if (!await session.StartupAsync())

it throw me an exception below.

The value needs to be either -1 (signifying an infinite timeout), 0 or a positive integer.
Parameter name: millisecondsDelay

issue here https://github.com/Furtif/POGOLib/issues/2

(pogolib.core 1.6.6)

Furtif commented 6 years ago

fix at https://github.com/Furtif/POGOLib/pull/4 thanks @PeterDM65

Furtif commented 6 years ago

usage for Playelocale:

            ILocaleInfo LocaleInfo = new ILocaleInfo();
            LocaleInfo.SetValues(MySettings.Country, MySettings.Language, MySettings.TimeZone);
            Configuration.LocaleInfo = LocaleInfo;

If not set uses defaults:

string country = "US", string language = "en", string timezone = "America/New_York"