Commit Graph

53 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
Shadow 4c68d8dd39 Update to version 8.3.5
Many Fixes
2022-02-18 13:56:17 +02:00
Shadow 5bc1633182 Block folder accces
+404 error
2018-06-13 11:17:18 +03:00
iopietro cf74514451 General fixes
+Fixed an exploit that permitted to starts other players' farm lists
+Fixed an exploit that permitted to save our raids to other players'
farm lists
+Fixed an exploit that permitted to edit other players' farm lists
+Fixed a rounding upkeep bug
+Moved the whole startRaid.tpl to a new method in Units.php
+A lot of clean-up
+Improoved indentation
+In the raid list, the "carry" image will now show to the left of an
attack
+Fixed a bug that displayed the wrong loot to returning troops released
by traps
+General minor bug fixing and improovements
-Deleted a lot of redundant code
2018-05-04 22:12:18 +02:00
iopietro 49bc3c5073 General fixes
+Fixed a bug in the farm list that permitted to attack the same village
troops were sent
+Fixed a bug that permitted to delete others raid lists
+Fixed a bug that permitted to view broken reports
+Fixed a bug that permitted to insert 0 troops in the raid list
+Fixed the broken graphic of the raid/farm list
+Fixed a bug that didn't permit to send more than 2 raids at a time (in
the raid list)
+General improovements and bug fixing
+Some clean-up
2018-05-03 23:07:11 +02:00
iopietro 58e72bf61e Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-04-29 00:49:32 +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
phaze1G 2c1c2fb2d9 Buttons replace (#535)
* Updating buttons

* Update assignpos.tpl

* Update changename.tpl

* Update kick.tpl

* Update kick.tpl

* Update linkforum.tpl

* Update search.tpl

* Update 18_create.tpl

* Update invite.tpl

* Update option.tpl

* Update newdorf.tpl
2018-04-28 13:20:18 +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
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