Noctem / Monocle

PoGo mapper and notifier
MIT License
122 stars 151 forks source link

[Feature Request] Whisper/yell if an account is flagged #266

Open Jabsu opened 7 years ago

Jabsu commented 7 years ago

Now that this anticheat measure is a thing, warnings about flagged accounts would be appreciated, if it's possible with the API.

osxy commented 7 years ago

Atleast log it into the account details and give an option to rotate blinded accounts out.

DavePlater commented 7 years ago

Should be doing the same thing as "Banned" and "Captcha"

Jabsu commented 7 years ago

Don't know what's the response from the API, but something like this in the worker.py should do the job:

In def get_player:

            if get_player.banned or get_player.warn: # assuming the response is 'warn'
                raise ex.BannedAccountException
DavePlater commented 7 years ago

When I pulled the lastest, some of my bots are reporting [W0: Bad Request] Scan.log: [2017-05-22 22:04:13][ WARNING][worker-0] (bot0) received code 3 and is likely banned. Removing until next run. Which I think means they are flagged with that new system, so it IS sort of finding this out.

Jabsu commented 7 years ago

I haven't seen those kind of errors yet. But I launched the scan with that get_player.warn addition as in my example, and judging by the exceptions, the 'warn' response seems to be the right one. If that's the case, it seems most of my accounts are flagged.

DavePlater commented 7 years ago

The latest version of pogeo (or whatever) seems to understand this, as it logs out some of my accounts that are flagged. Does monocle have a timed rotation for accounts? Can I say after "X hours of being active, log out and pick a different account from the pool" ?