Commit Graph

225 Commits

Author SHA1 Message Date
ed8dd20dd8 add database vacuum cleaner, move all sql statements to separate file, cron saves daily player/tribe stats 2020-11-18 12:51:43 +01:00
7bca0d25e5 add 2 new triggers, one logs player name change, second sets deleted_at | bump github.com/tribalwarshelp/shared 2020-11-18 12:51:15 +01:00
bf958c88b6 dominance is now expressed as a percentage 2020-11-18 12:51:15 +01:00
0f15d12daa bump github.com/tribalwarshelp/shared 2020-11-18 12:51:15 +01:00
ba72affcfb bump github.com/tribalwarshelp/shared, add a new trigger that inserts player_id and server_key to player_to_servers table 2020-11-18 12:50:49 +01:00
829c45db31 cron saves and calculates player.daily_growth 2020-11-18 12:49:45 +01:00
e9ecec51e8 cron should not store special servers in db, bump github.com/tribalwarshelp/shared 2020-11-18 12:49:45 +01:00
542b6301b0 create a new instance of http.Client with timeout 2020-11-18 12:49:20 +01:00
a90daa1886 bump github.com/tribalwarshelp/shared 2020-11-18 12:49:20 +01:00
0ee2f8f52d tribe dominance should be calculated based on the number of player villages, a number of barbarian villages should include a number of bonus villages (server stats) 2020-11-18 12:43:08 +01:00
1a07278d62 bump github.com/tribalwarshelp/shared 2020-11-18 12:43:08 +01:00
5509ffded0 cron fetches conquers and saves server stats and history, bump github.com/tribalwarshelp/shared 2020-11-18 12:42:34 +01:00
ed14e23638 bump github.com/tribalwarshelp/shared 2020-06-19 18:33:54 +02:00
755da7f9e6 bump github.com/tribalwarshelp/shared 2020-06-19 18:02:42 +02:00
fc6d815404 fetch server config/unit_config/building_config 2020-06-19 17:42:38 +02:00
80baa079e2 fix bug with empty string 2020-06-18 17:56:07 +02:00
2c669bf778 rename file server_handler -> update_server_data_handler, rename struct serverHandler -> updateServerDataHandler 2020-06-18 13:02:15 +02:00
803dc9b9c2 bump github.com/tribalwarshelp/shared 2020-06-02 17:47:36 +02:00
2a5a1d916c cron should update tribe.AllPoints too 2020-06-02 12:30:03 +02:00
1203c574dd fix concurrency bug 2020-06-02 12:09:32 +02:00
9041745d61 move models and mode package to other repo 2020-06-02 08:26:51 +02:00
febf4f3f81 add Dockerfile 2020-06-02 08:03:08 +02:00
a3bee20f24 rename package 2020-06-02 08:02:04 +02:00
5899b7afa8 remove uneccessary mutex 2020-06-01 21:38:45 +02:00
75e75a43cb init 2020-06-01 21:05:33 +02:00