Pietro
3738fd44cc
Fixed some bugs and some clean up
...
Units.php:
Fixed a bug which allows to select invalid buildings or not-hittable building (such as Cranny, Walls, Stonemason's lodge and Trapper) with catapults.
Fixed a bug which allows to select a secondary target with less than 20 catapults.
Removed some unused functions from Automation.php and Database.php.
2018-04-05 00:02:12 +02:00
Pietro
bba46a3e6f
Added some missing <b></b>
2018-04-04 20:49:17 +02:00
Pietro
f41be6dff7
Fixed some bugs
...
Automation.php:
Fixed a bug that could happened if two attacks hit two different targets (one with some traps and the other with 0 traps) at the same second.
Building.php:
Fixed the possibility to build a residence and a palace with the waiting loop (the previous fix wasn't working and $tid was used as a $id and viceversa).
Fixed the possibility to build in the id reserved to walls (id 40).
2018-04-04 20:01:58 +02:00
Pietro
fff86538fa
Release some memory
2018-04-03 12:56:14 +02:00
Pietro
a749d74dfb
Fixed an hero bug
...
The experience was distributed incorrectly if the defender(s)/attacker had more than 1 hero
2018-04-03 01:44:27 +02:00
Pietro
ea65319477
Fixed trapped chiefs' behaviour
...
Trapped chiefs can no longer reduce the village loyalty.
Removed some unused code.
2018-04-01 02:30:46 +02:00
Pietro
057c622c26
Fixed an oasis exploit
...
With this bug you could have an infinite amount of resources
2018-04-01 01:05:02 +02:00
AL-Kateb
9de7aec692
Fixed redirecting to the rally point issue #479
2018-01-23 12:18:57 +00:00
Alex Stoica
83d22f16e7
Fix typo
2018-01-07 16:49:55 +00:00
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