This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Give more info about 'got the data requested' #990
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I couldn't see a way to re-open PR968 ( #968 ), so I've opened this new PR.
Please see last question on this PR.
With this update you will be able to see more information in the 'Got the data requested' log line.
Originally all you would see is a bunch of:
With 968 you would have seen:
But with this new expanded logging you will see lines like:
To expand on my earlier issue, originally I found a worker had been "sitting idle" at a pokestop for 12 hours. The only thing in the MAD log was a constant repetition of:
With this new logging I caught another worker after it had been "sitting idle" at a pokestop for 20 minutes. This time the MAD log showed a repetition of:
So, for some reason the worker was returning "STOP" data, but also returning "OUT_OF_RANGE" data, even though when I looked at the screen of the worker it was standing directly on top of the stop to spin. I'm guessing there was a problem with the client getting game data, which I understand can happen. But, I'm wondering why MAD didn't restart/reboot the client after a few minutes of this?
Does anyone understand the internals of this and can think of a way to get the client to restart/reboot after a few minutes of this problem?