20 Commits

Author SHA1 Message Date
iopietro 0011d2abcb Artifacts fixes part 2
+Artifacts are now activated after a certain amount of time (based on
the official Travian Rules and the server speed) and not immediately
after the conquer
+Artifacts are now activated based on official Travian Rules, you can
only have 1 unique/account active artifacts

Changes in 27_show.tpl:
+Added the text "Can't be activated" to not-activable artifacts

Changes in Automation.php:
+Added a new method which activate activable artifacts

Changes in Database.php:
+Added some methods to support the new artifacts activation system
2018-04-25 15:13:24 +02:00
Martin Ambrus 571fb9019f fix: hero can be killed even if unit not present anywhere on the map
#371
2017-11-25 01:21:28 +01:00
Martin Ambrus 645793dde2 refactor: s1_vdata queries cached and reused
#313
2017-11-20 10:10:29 +01:00
Martin Ambrus 7f16182e76 fix: oasis can be deleted (un-conquered) via Admin
Closes #283
2017-11-06 21:15:23 +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 4621c29e05 fix: admin session username stored in session 2017-10-28 09:40:23 +02:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +02:00
Martin Ambrus d9dc875772 fix: hero removal fixed in Admin 2017-10-22 17:41:19 +02:00
Martin Ambrus 77a1d9879d fix: Great Workshop shown as error in Admin (editing Village) 2017-10-21 22:38:01 +02:00
Martin Ambrus 78694da32b fix: player deleting & password checks work as intended 2017-10-21 11:30:38 +02:00
Martin Ambrus 331885a110 fix: remove SQL injections in Admin 2017-10-19 21:17:11 +02:00
Martin Ambrus 92b9a7b043 fix: a lot of MySQL calls in templates replaced by MySQLi ones 2017-08-28 23:56:59 +02:00
uroskn 1afde368d3 GameEngine and install folders have 777 already set by default 2016-07-02 21:39:28 +02:00
Shadow 1a06675d1b Update function.php 2014-03-18 11:59:50 +02:00
Shadow d626660ae6 Update function.php 2014-03-18 11:56:40 +02:00
Shadow 7cfa82a18d hero update 2014-03-18 07:35:37 +02:00
Shadow 6718e429b5 Update function.php 2014-03-06 07:36:22 +02:00
Shadow cca7f5f1b4 credits 2014-03-05 09:01:50 +02:00
yi12345 f0024248d5 fix delete player in admin panel 2013-09-12 21:23:24 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00