Commit Graph

1155 Commits

Author SHA1 Message Date
Pietro b1069edf1d A little forgetfullness 2018-04-03 14:41:19 +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 09ec695997 Fixed some building bugs
Fixed a bug that allowed to build resource fields in the village (the previous fix was still hackable)
Fixed a bug that allowed to build everything with the master builder (even the WW)
Fixed a bug that allowed to build over the twentieth level with the master builder
Fixed a bug that allowed to build level 0 building with the master builder by removing them from the construction queue
2018-04-02 18:55:10 +02:00
Pietro 27bef26315 Fixed an exploit in Building.php
With this exploit you can build "infinite" building of the same type.
Reduced the file size from 1274 lines to 1072 lines.
Removed some unused variables.
Corrected some building requirements (Embassy, Academy, Stable, Walls).
2018-04-02 17:22:09 +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
Pietro f3564a3390 Update Multisort.php 2018-03-31 17:58:37 +02:00
Pietro ea42e8bf63 A little forgetfulness 2018-03-31 17:32:17 +02:00
Pietro 1657928d88 Fixed a bug while sorting 2018-03-31 16:07:32 +02:00
Vladyslav a9975b9fde right amount of resources for the treasury
11 and 12 levels of the treasury used the wrong amount of wood
2018-03-04 22:06:24 +02:00
AL-Kateb 9de7aec692 Fixed redirecting to the rally point issue #479 2018-01-23 12:18:57 +00:00
AL-Kateb 5b1d7a300b cleanup 2018-01-22 13:53:12 +00:00
AL-Kateb 7f7d6f1f63 Restored truncated Technology.php 2018-01-22 13:50:00 +00:00
AL-Kateb b8749af55b Fixed issue #462 wrong troops training 2018-01-22 13:47:00 +00:00
Shadow b2133ddbc0 Gallic trappers does not work right #473
Thanks @Dayran
2018-01-15 08:34:39 +02: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
Alex Stoica b87fb4eb0e Fix uncont PHP 7.2 error 2018-01-07 05:28:35 +00:00
Alex Stoica 7b67bed84e Fix multiSort create_function is deprecated in PHP 7.2 2018-01-07 03:07:07 +00:00
Alex Stoica 4c16c01781 Fix more PHP 7.2 non-countable types 2018-01-06 05:41:30 +00:00
Alex Stoica bea610cfde Fix PHP 7.2 non-countable types 2018-01-06 05:26:26 +00:00
Alex Stoica 8e2fb18c33 Fix warning count in Ranking
Fix Warning: count(): Parameter must be an array or an object that implements Countable in GameEngine/Ranking.php on line 279
2018-01-07 04:10:13 +02:00
AL-Kateb f5a3bf8ab0 Fixed bakery wrng calculation Issue #408 2018-01-03 20:53:40 +00:00
AL-Kateb de1f19b5d6 Fixed hero does not gain XP when he dies in battle issue #445 2018-01-01 22:08:04 +00:00
AL-Kateb caf9112314 Prevent user from illegally founding a new village with 0 settlers 2018-01-01 19:02:25 +00:00
AL-Kateb 5466aa2af1 NPC button no longer appears if combined resources are not enough 2017-12-31 18:19:05 +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 879e4952ce fix: fail to delete heroes from a village that's being removed via Admin 2017-12-26 20:27:30 +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 342ae0f0e4 fix: prisoners caching returned wrong number of prisoners
#421
2017-12-07 14:03:11 +01:00
Martin Ambrus 3b31bb05e9 fix: forum topic creation MySQL 5.7 incompatibility
#420
2017-12-07 12:59:42 +01:00
Martin Ambrus 5264cbff62 fix: lumber, crop, iron, clay BBCode icons not replaced in forum posts
#409
2017-12-04 20:59:02 +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 9d3e074d09 fix: Multihunter and Support unread messages counter incorrect
#398
2017-12-02 17:03:25 +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 43dfea920b fix: unable to attack players with Multihunter access rights 2017-12-02 14:18:28 +01:00
Martin Ambrus 76fdbc6c3e feat: ability for players with Multihunter rank to see&write MH messages
#398
2017-12-02 11:57:59 +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 a948537056 fix: embassy checks performed on non-alliance players
#399
2017-12-02 10:45:20 +01:00