Commit Graph

24 Commits

Author SHA1 Message Date
Catalin Novgorodschi 67faff13ef Revert "test"
This reverts commit e4850eb188.
2026-02-12 09:07:12 +02:00
Catalin Novgorodschi e4850eb188 test 2026-02-12 08:58:10 +02:00
Catalin Novgorodschi 260896570e Revert "vulnerability fixed and cleanup and refactor"
This reverts commit 2a44e76414.
2026-02-11 15:22:16 +02:00
Catalin Novgorodschi 2a44e76414 vulnerability fixed and cleanup and refactor 2026-02-11 15:11:43 +02:00
iopietro a40accc101 Distance calculation optimization and bug fixing
-Removed a lot of redundant code and put into a function
+Fixed a bug that permitted to found a new village in already founded
village
+Fixed a bug that permitted to found in an oasis
+Fixed a bug that permitted to hack the time you need to found a new
village
+Fixed a bug that permitted to found a new village to an inexistent one
2018-04-29 00:49:24 +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
iopietro 8e731dd7d0 Artifacts fixes part 3
+Fixed the artifact of the fool, it will now work and reduce/increase
troops speed
+Optimized some templates file and deleted some useless files
+Added a method to Database.php which permits to calculate things
related to artifacts (it's not general yet, it only works for troops
speed)
-Removed artifact of the fool "Account" type, because it shouldn't exist
2018-04-25 22:58:18 +02:00
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
Pietro 36666615eb Added the Brewery as catapults target 2018-04-05 00:07:12 +02:00
Martin Ambrus 9d73275522 fix: incorrect hero return time calculation 2017-11-22 18:58:16 +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 f485f69e0a fix: clear all remaining village troops when conquering a village
Closes #269
2017-11-05 00:08:22 +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 6f3973748c fix: more manual typecastings 2017-10-18 00:59:49 +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
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
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