Commit Graph

14 Commits

Author SHA1 Message Date
Alex Stoica 1a71fdbc60 Add WW win correct date 2018-01-07 16:48:22 +00:00
Martin Ambrus b261212d12 fix: expansion slots not being cleared up upon village destruction
#400
2017-12-02 16:17:47 +01:00
Martin Ambrus 55a5238a6d chore: create default users with bcrypt enabled by default 2017-12-01 19:32:03 +01:00
Martin Ambrus 6d0e95670b refactor: messages and reports only loaded on pages where needed
#313
2017-11-17 21:00:00 +01:00
Martin Ambrus d17d1f9b32 refactor: last round of database values caching
#313
2017-11-17 19:40:34 +01:00
Martin Ambrus e2612efbf8 refactor: date column really can't be varchar 2017-11-17 17:20:05 +01:00
Martin Ambrus 282d7f9db8 refactor: real hero check to use a lot less queries 2017-11-17 13:28:21 +01:00
Martin Ambrus 9b0d7995e3 refactor: index for ww_attacks 2017-11-08 15:46:24 +01:00
Martin Ambrus 90f8982245 fix: hero dying and revival doesn't work correctly with multiple heroes 2017-11-02 23:59:03 +01:00
Martin Ambrus cdfb3ece4a fix: typo in unique index
Fixes #263
2017-11-02 13:24:43 +01:00
Martin Ambrus 7c67e1e7b9 fix: only 1 hero can exist and is deleted upon new hero training start
Closes #261
2017-11-02 11:05:26 +01:00
Martin Ambrus c9038e20b8 refactor: alliance and Embassy mechanics refactoring, stage 2 of 3
Everything is now prepared for the last stage, where the code to handle
Embassy destruction during a battle will be added and tested :)

A few Embassy-demolition-related issues have been ironed-out in this
commit as well.
2017-11-01 00:16:52 +01:00
Martin Ambrus 7689e73280 refactor: new market DB index 2017-10-27 23:05:29 +02:00
Martin Ambrus 1066fff9a2 refactor: installation happens at MySQL side
A lot has happened here. Here's the list:

1. autoloader was added that should prevent various "failed to open
stream" errors when trying to load new classes

2. PHP-based data generation was replaced by MySQL-based one, hopefully
fixing the installation problems when insert payload it too high and the
DB wouldn't populate with some users

3. thanks to step 2, the installation should be really almost
instantenious, instead of waiting a long time for many SQL connections
and queries to populate the world

4. World Data & Oasis generation and population is done in 1 step now
2017-10-27 18:27:03 +02:00