Commit Graph

237 Commits

Author SHA1 Message Date
Alex Stoica 1a71fdbc60 Add WW win correct date 2018-01-07 16:48:22 +00:00
AL-Kateb a254572a43 Fixed deleting trade routes after village is conquered 2017-12-28 15:21:07 +00:00
AL-Kateb ddc2e62472 Fixed loosing 1 level when there are only few catapults 2017-12-27 14:38:40 +00:00
AL-Kateb be8f683417 Cleanup 2017-12-27 10:59:01 +00:00
AL-Kateb 4d00b4ad1c Fixed units doubling when evasion is active 2017-12-27 10:23:57 +00:00
Martin Ambrus 77cc7b1d16 fix: rally point not destroyed correctly when taking over a village
#427
2017-12-26 20:29:40 +01:00
Martin Ambrus 56680344ec fix: treasuries with artifacts must be destroyable, villages must not
#425
2017-12-26 20:03:28 +01:00
Martin Ambrus 765914d863 fix: villages with artifacts must not be destroyed
#425
2017-12-26 19:58:34 +01:00
Martin Ambrus 33b47f4319 fix: hero attributes incorrectly adjusted on levelling up
#341
2017-12-26 17:38:01 +01:00
Martin Ambrus bdb705c69b fix: 2 catapults destroy a level 20 building
#423
2017-12-26 16:40:50 +01:00
Martin Ambrus fa8a6640e2 fix: demolition could bring building level to negative numbers
Closes #412
2017-12-04 11:10:00 +01: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 aec7a57ca4 fix: destroyed Embassy evicts player even with another Embassy standing
#399
2017-12-02 16:00:24 +01:00
Martin Ambrus 4b842ae0fa fix: village destroyed text displayed twice for 2-row catapults attack
#393
2017-12-02 15:04:15 +01:00
Martin Ambrus 537a14e4e3 fix: second row of catapults destroys incorrect target
#393
2017-12-02 11:09:14 +01:00
Martin Ambrus 9474a60313 fix: embassy destruction status text on an incorrect line in a report
#393
2017-12-02 10:55:24 +01:00
Martin Ambrus 680386044e fix: 2nd wave of catapults destroys targets and villages incorrectly
#393
2017-12-01 14:47:43 +01:00
Martin Ambrus 4db6ca52f9 fix: sendunits.txt file could not be opened from Admin 2017-12-01 10:43:30 +01:00
Martin Ambrus b7463cd522 fix: max crop/resources reset to level 1 value temporarily
This happened when level 1 granary / warehouse was built because of
a missing + sign in a formula.

#374
2017-11-27 16:33:10 +01:00
Martin Ambrus 5dfbd89130 fix: fool's artefact caching returns non-fool artefact data
#313
2017-11-25 20:50:12 +01:00
Martin Ambrus 8d8c96014b refactor: multiple calls to getVSumField() replaced by a single one
#313
2017-11-25 20:29:12 +01:00
Martin Ambrus 446e9b5f1d fix: artefacts couldn't be claimed after last db caching optimizations 2017-11-25 19:26:19 +01:00
Martin Ambrus ec234579cc fix: give hero points to spend by the actual number of levels he got 2017-11-25 16:28:28 +01:00
Martin Ambrus e2ad6d3c2b fix: due to DB inconsistencies, don't check for hero unit in village
#371
2017-11-25 01:41:29 +01:00
Martin Ambrus c06c62ba6a fix: hero training and revive got messed up 2017-11-22 21:38:57 +01:00
Martin Ambrus 9d73275522 fix: incorrect hero return time calculation 2017-11-22 18:58:16 +01:00
Martin Ambrus 65a62becc2 fix: rat reinforcement does not arrive due to a wrong reinfs check
#366
2017-11-22 11:47:17 +01:00
Martin Ambrus 80160d683e refactor: s1_wdata caching implemented
#313
2017-11-21 00:59:06 +01:00
Martin Ambrus 676de95764 refactor: s1_hero to update last timestamps in a single query
#313
2017-11-21 00:22:30 +01:00
Martin Ambrus bc2eaa1380 refactor: s1_abdata & s1_tdata caching implemented
#313
2017-11-20 23:46:45 +01:00
Martin Ambrus 3792fd5ed5 refactor: s1_prisoners caching implemented
#313
2017-11-20 23:22:56 +01:00
Martin Ambrus 06d468ce6f refactor: s1_odata caching implemented
#313
2017-11-20 22:58:49 +01:00
Martin Ambrus 82a0c0ad07 fix: s1_enforcement caching improved
#313
2017-11-20 22:33:35 +01:00
Martin Ambrus 4612125f0f refactor: s1_movement caching implemented
#313
2017-11-20 20:54:34 +01:00
Martin Ambrus 13cccebf94 refactor: s1_enforcement caching implemented
#313
2017-11-20 17:55:27 +01:00
Martin Ambrus ceeb6a3a9b refactor: s1_units caching implemented
#313
2017-11-20 16:17:26 +01:00
Martin Ambrus 64d7d158c7 refactor: s1_fdata caching implemented
#313
2017-11-20 15:41:29 +01:00
Martin Ambrus a4ce48ca38 refactor: s1_vdata sometimes didn't get cached
#313
2017-11-20 14:11:45 +01:00
Martin Ambrus 645793dde2 refactor: s1_vdata queries cached and reused
#313
2017-11-20 10:10:29 +01:00
Martin Ambrus c27b397016 refactor: preparation to vdata queries consolidation
#313
2017-11-20 00:52:24 +01:00
Martin Ambrus cb843dda57 refactor: getVSumField() in Automation replaced by direct update instead
#313
2017-11-20 00:13:52 +01:00
Martin Ambrus 1747a26c1e fix: cannot send traders to village determined by a village name 2017-11-19 23:37:38 +01:00
Martin Ambrus 37c53a30f5 fix: undefined index 2017-11-19 20:41:35 +01:00
Martin Ambrus dc501d6984 fix: don't delete if we don't have any IDs
#313
2017-11-19 19:25:14 +01:00
Martin Ambrus 609a61fc3e fix: don't delete if we don't have any IDs
#313
2017-11-19 19:24:10 +01:00
Martin Ambrus 0df4de9413 fix: transaction did not speed things up + hero fields resetting fixed
#313
2017-11-19 19:08:47 +01:00
Martin Ambrus 97dba8b0f0 refactor: enclosing many updates into transaction for speed improvement
#313
2017-11-19 18:58:31 +01:00
Martin Ambrus 5d951f8e9e refactor: getVSumField() to cache data for multiple user IDs
#313
2017-11-19 18:55:47 +01:00
Martin Ambrus 24789507a7 refactor: getProfileVillages() takes multiple IDs
#313
2017-11-19 15:57:52 +01:00
Martin Ambrus 699781d130 refactor: for loops optimized
#313
2017-11-19 15:17:24 +01:00