hdkv
/
i2_bot
Archived
1
Fork 0
Commit Graph

11 Commits (a9f1d25c7bb86cfbb5cb48378c2697febfbe7e7f)

Author SHA1 Message Date
Vladimir Hodakov a9f1d25c7b Add pokememes info, convert it to new format and drop unnecessary database tables
This commit introduces pokememes information storage in source code (because they're rarely changed and I always update them manually).

All information about pokememes updated after nerf of 25 April. Also, added buttons to /pokedeks command for changing pages (there are 21 pages already!), and limited one page to 35 pokememes.
2018-05-02 00:47:55 +04:00
Vladimir Hodakov 3db79300af Fix "is_active=127" error (maybe) 2018-03-31 10:16:52 +04:00
Vladimir Hodakov dbaa85a517 Reflect latest game update
So, now we can handle 10th grade pokememes (and any two-digit grade pokememes in future).
Also, /best and /advice commands for 9th-level players respect new pokememes.
2018-03-31 09:16:32 +04:00
Vladimir Hodakov c9855116da Move rarely changed data to datamappings, fix profile updating
As result of profile format change, introduced in game update yesterday we need to change profile regexp.

As result of some refactoring, rarely changed data removed from database and added to sources of bot.
2018-03-31 08:34:27 +04:00
Vladimir Hodakov 6a681669ab Fix for column count in pokememes 2018-02-17 20:54:00 +04:00
Vladimir Hodakov 54614bfc4d Pokedex sorting by letter, for moving zero grade to end of the list 2018-02-17 19:54:45 +04:00
Vladimir Hodakov be9b2d72f1 Archive pokememes 2018-02-17 19:47:22 +04:00
Vladimir Hodakov 3a5411f814 Pokedeks sorting almost as in game: grade-attack-name 2018-02-17 18:26:33 +04:00
Vladimir Hodakov 7cdb74ac36 Updating current pokememes via Telegram 2018-02-14 00:09:58 +04:00
Vladimir Hodakov 1370ab2b91 Yet another remote change
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
Vladimir Hodakov b8226d8aa8 DataCache and changes for game update
Recent game update changed pokememes view in pokedeks, so we need to
reflect it by updating parser.

Introducing DataCache - a silver bullet for eliminating lags linked to
database queries. Less queries, more in RAM, faster work. Needs testing
in production environment.
2018-01-29 23:50:25 +04:00