Stuart Travers

Results 24 comments of Stuart Travers

Yep, move it back, that won't help. I believe this is to do with when the stats are written to output file. At present, this happens when UpdateLiveStats runs.

Hmmm, UpdateLiveStats runs at bot start, so the stats should be there pretty quickly.

Make sure you have UpdateLiveStats enabled in your config. @Mephistophiles earned? What option? What happened exactly?

And then what happens? The bot "earned"???

But yes, the stats will never update if UpdateLiveStats is not turned on.

OK so it's working now?

@BreezeRo the telegram task gets its player_data info from the web inventory (web/inventory-username.json). If that hasn't had the info written yet (by UpdateLiveStats) there's no data to populate the database...

If telegram_task.py made an api call instead of relying on UpdateLiveStats / web inventory file, it would work. eg. replace get_player_stats with: ``` def _get_player_stats(self): """ Helper method parsing the...

Could use the same order provided by MoveToMapPokemon, eg. pokemon with a higher threshold should be caught first. Might need to separate thresholds from MoveToMapPokemon to achieve.