Commit Graph

40 Commits

Author SHA1 Message Date
iopietro 6f895f7d54 Fixed some bugs
+Fixed a "division by zero" error, in Battle.php
+Reworked spied informations, now they're shown only if the building is
at least at level 1. Splitted residence/palace information in two
distinct informations. Now the total crannies capacity is displayed
(even if the capacity is 0) instead of the level of the greatest cranny
+Fixed "getFieldLevelInVillage" function in Database.php
-Removed an useless control in Units.php
2018-04-16 18:39:41 +02:00
iopietro e6449d20c6 Fixed issue #432
+Added an error which warns you if you enter an invalid attack type (a
number greater tha 4 or less than 2)
+Fixed the possibility to spy with attacking troops by hacking the
attack type
+Some clean-up
2018-04-16 15:59:05 +02:00
iopietro 9e44c1cd6d Some replacements
+Replaced all $GLOBALS['link'] with $database->dblink
-Removed Templates/links.tpl from build.php (it's already in
Templates/menu.tpl)
2018-04-08 19:55:28 +02:00
Pietro 36666615eb Added the Brewery as catapults target 2018-04-05 00:07:12 +02:00
AL-Kateb caf9112314 Prevent user from illegally founding a new village with 0 settlers 2018-01-01 19:02:25 +00:00
Martin Ambrus af8a2364ae fix: duplication of troops via raid lists 2017-12-06 18:38:39 +01:00
Martin Ambrus 32bb5fe726 fix: raid lists do not work
Closes #411
2017-12-04 11:19:21 +01:00
Martin Ambrus 43dfea920b fix: unable to attack players with Multihunter access rights 2017-12-02 14:18:28 +01:00
Martin Ambrus 68c6cc69cc fix: troops duplicate for certain tribes via raid lists 2017-11-30 20:09:49 +01:00
Martin Ambrus d6fc9ee371 fix: raid list counting down leaving units again 2017-11-24 19:11:02 +01:00
Martin Ambrus 12fe632bf4 fix: prevent reuse of old attacks by re-POSTing same values 2017-11-24 10:17:54 +01:00
Martin Ambrus 9d73275522 fix: incorrect hero return time calculation 2017-11-22 18:58:16 +01:00
Martin Ambrus 2a68b07704 refactor: last of foreach loops optimized
#313
2017-11-19 14:32:00 +01:00
Martin Ambrus 69ef6ef349 fix: undefined index 2017-11-19 11:02:23 +01:00
Martin Ambrus 609593cd10 fix: undefined index 2017-11-18 21:04:53 +01:00
Martin Ambrus ee017adb40 refactor: most of broad SELECTs updated
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus 740c28f136 fix: undefined index 2017-11-05 01:28:24 +01:00
Martin Ambrus 169c07dd92 fix: wrong default input value when sending reinforcements back 2017-11-05 01:15:37 +01:00
Martin Ambrus f485f69e0a fix: clear all remaining village troops when conquering a village
Closes #269
2017-11-05 00:08:22 +01:00
Martin Ambrus 5e4521e62e fix: misspelled session variable 2017-11-03 17:15:16 +01:00
Martin Ambrus 90f8982245 fix: hero dying and revival doesn't work correctly with multiple heroes 2017-11-02 23:59:03 +01:00
Martin Ambrus 041726fbd2 fix: undefined indexes 2017-11-01 21:35:24 +01:00
Martin Ambrus 2340c3821c fix: undefined variables 2017-10-28 12:04:28 +02:00
Martin Ambrus 53f54ce9e9 feat: Admins can be attacked, raided and traded with via config option 2017-10-22 20:28:03 +02:00
Martin Ambrus 7270a69a63 fix: all location headers need to have exit after them! 2017-10-22 13:00:54 +02:00
Martin Ambrus d76669cb42 fix: last batch of manual INT typecastings 2017-10-18 01:11:25 +02:00
Martin Ambrus 6f3973748c fix: more manual typecastings 2017-10-18 00:59:49 +02:00
Martin Ambrus 2b12f16b3d fix: more sql injection escapes... 2017-10-17 16:13:06 +02:00
Martin Ambrus 2674cd1ae8 fix: removal of the total units warning when passing non-numeric values 2017-10-10 15:20:49 +02:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
Shadow c408f02aa7 Update newdorf.tpl 2014-02-19 12:42:51 +02:00
Shadow 06ec88755b Update sendback_1.tpl 2014-01-04 16:08:32 +02:00
Shadow 2478f1810b Update sendback_2.tpl 2014-01-04 16:08:30 +02:00
Shadow 668f112372 Update sendback_3.tpl 2014-01-04 16:08:28 +02:00
Shadow 902d153f2e Update sendback_4.tpl 2014-01-04 16:08:25 +02:00
Shadow 3aab221764 Update sendback_5.tpl 2014-01-04 16:08:22 +02:00
armando1980 21867be0f1 Fixed choose two targets for catapults by Armando
With a level 20 rally point two buildings can be targeted at the same time. You just need to attack with at least 20 catapults to be able to choose two targets.
http://t3.answers.travian.us/
2013-12-24 17:34:00 -05:00
Shadow 02baf73c9d Update search.tpl 2013-12-01 08:19:20 +02:00
Shadowss 07b8694419 FIX WITH RANDOM CATAPULTS BREWERY , now you can target brewery + fix loss protection if you attack 2013-10-13 09:13:58 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00