Commit Graph

27 Commits

Author SHA1 Message Date
iopietro ec63b04587 General fixes
+Fixed an exploit that permit to maintain the crop level constant if the
page was refreshed every second, with a negative production
2018-05-06 15:20:58 +02:00
iopietro f7e05c9802 Optimizations
-Removed the "sort_type" 6 from the movement table, looted resources
will now be saved in the "sort_type" 4 returing attack.
This reduces a lot the spam in the tables "send" and "movement" of the
database
-Removed some useless methods in Database.php and Message.php
+Optimized report loading, own report will be loaded only once (and not
twice at random) and allied reports aren't loaded anymore
+Minor improovements and better indentation
2018-05-05 17:54:34 +02:00
iopietro e751a0c01f Fixed some bugs
+Returning troops time will now flow correctly in the rally point
+Resources won't be set to 0 anymore if overflow (this could have
happened in high speed servers)
+Fixed a distorted view of the right part  of the page, while reading a
mass message
2018-05-03 14:35:19 +02:00
iopietro 56e280f436 Artifacts fixes part 4
Completely fixed the artifact of the fool and fixed all kind of
artifact:

+Deleted some useless .tpl files and merged into one (Stable)
+The artifact of the fool effect won't be displayed if not active
+Fixed a bug that permitted to have a great and a unique artefacts
active at the same moment
+Big reductions of code in a lot of files
+Created some new methods to support artifacts
+Fixed a bug that prevented the effect of the "Rivals confusion" to work
correctly
+Fixed a bug that prevented "The eagles eyes" artifact to work correctly
for the attacker
+Fixed the artifact of the fool of every kind, now it's calculated with
a new method
+Fixed the cranny capacity when a "Rivals confusion" artifact is active
+Some minor bug fixing , improovements and optimization
2018-04-26 20:37:47 +02:00
AL-Kateb f5a3bf8ab0 Fixed bakery wrng calculation Issue #408 2018-01-03 20:53:40 +00:00
AL-Kateb 5466aa2af1 NPC button no longer appears if combined resources are not enough 2017-12-31 18:19:05 +00:00
Martin Ambrus abfcde6e9a fix: build check for village vs non-village buildings 2017-11-25 11:26:10 +01:00
Martin Ambrus 1b25c4c178 fix: s1_research must not cache on second village data load
#313
2017-11-21 01:34:11 +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 66132a7cdf refactor: Session.php only included once, login procedure optimization
#313
2017-11-20 00:39:37 +01:00
Martin Ambrus 699781d130 refactor: for loops optimized
#313
2017-11-19 15:17:24 +01:00
Martin Ambrus 2a68b07704 refactor: last of foreach loops optimized
#313
2017-11-19 14:32:00 +01:00
Martin Ambrus 51f354542d fix: village resources display outdated information on page load 2017-11-17 12:36:27 +01:00
Martin Ambrus d3ec209ad8 refactor: village-related methods now all optimized 2017-11-15 23:33:07 +01:00
Martin Ambrus dab768f662 refactor: 1st round of database values caching 2017-11-15 16:01:00 +01:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +02:00
Martin Ambrus 7270a69a63 fix: all location headers need to have exit after them! 2017-10-22 13:00:54 +02:00
Martin Ambruš b579fcac00 fix: PHP <7 constructor 2017-10-05 16:16:07 +02:00
evader1337 5b73417956 Small changes 2016-09-14 15:05:28 +02:00
uroskn 1afde368d3 GameEngine and install folders have 777 already set by default 2016-07-02 21:39:28 +02:00
Shadow f8a1e81cf9 Update Village.php 2013-11-21 09:03:30 +02:00
Shadow d41dccd705 Update Village.php 2013-11-21 08:07:43 +02:00
Novgorodschi Catalin c315b436bf updates and fixes 2013-11-20 07:49:21 +02:00
Shadow 11154c14fb Update Village.php 2013-11-18 07:33:59 +02:00
Shadow 414690a4ad Update Village.php 2013-11-17 12:15:39 +02:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00