hdkv
/
i2_bot
Archived
1
Fork 0
Commit Graph

24 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 049fdd7235 Fix pokememes attack parsing in 10th grade profiles 2018-03-31 14:51: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 48679e85eb Fix error, when user tries to print it's profile without weapon 2018-02-20 22:58:13 +04:00
Vladimir Hodakov fef521e35b Squads and chats in DataCache, squads rework
Work in progress, bugs may vary
2018-02-17 07:03:58 +04:00
Vladimir Hodakov 1370ab2b91 Yet another remote change
Now: source.wtfteam.pro
2018-02-13 22:05:32 +04:00
Vladimir Hodakov 7368c58e2d Adding multiple cummands for listing filtered and unfiltered pokememes 2018-02-07 15:59:28 +04:00
Vladimir Hodakov 14413b3167 /advice command for searching most valuable pokememes 2018-02-07 15:00:04 +04:00
Vladimir Hodakov feb1899992 /find_top_attack for selecting users by top position 2018-02-05 13:00:18 +04:00
Vladimir Hodakov 6dac398fd3 /top and /top_my functions 2018-02-05 12:37:46 +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
Vladimir Hodakov b7379013a8 Explicit error message for profile posting with enabled artifacts 2018-01-23 20:50:21 +04:00
Vladimir Hodakov c5d8590b87 Removed trailing 1 from profiles attack 2018-01-23 20:37:48 +04:00
Vladimir Hodakov 6a57d8581c Command to find users on level 2018-01-23 20:13:16 +04:00
Vladimir Hodakov 190cdc6e7b Migration to new git server 2018-01-21 23:28:53 +04:00
Vladimir Hodakov 24e4904807 /find_user moved to custom SQL query
Now it's much, MUCH faster.
2017-12-23 18:49:09 +04:00
Vladimir Hodakov b7ca6b3c6a New restrictions logic for all chats. Fixed filter for /send_league 2017-12-23 17:03:26 +04:00
Vladimir Hodakov 8a11a356a3 Some easter eggs. Ability to find user by name or nickname. 2017-12-02 13:45:24 +04:00
Vladimir Hodakov 703ea27cdb Academic access level, can see other profiles 2017-12-01 10:55:18 +04:00
Vladimir Hodakov b706c2d895 Academy link in profile success message for newbies 2017-11-29 10:36:36 +04:00
Vladimir Hodakov 130aabda81 Fixed error with underscores in usernames 2017-11-25 03:44:58 +04:00
Vladimir Hodakov ac0292ab6f Broadcast message to all Instinkt players
Closes #7
2017-11-25 03:00:34 +04:00
Vladimir Hodakov a32ed89be8 User addition to squads
Closes #8
2017-11-24 00:16:22 +04:00
Vladimir Hodakov dfe0d08ecc Massive refactoring for future development 2017-11-21 06:06:32 +04:00