Commit Graph

2634 Commits

Author SHA1 Message Date
iopietro 8a760b0aec Merge branch 'master' of https://github.com/Shadowss/TravianZ.git 2018-05-01 19:05:25 +02:00
iopietro 44fc912616 Fixed a building bug
+Fixed a bug that permitted to build two buildings or two resources
field concurrently, without a plus account, as a Roman
+Some clean-up
2018-05-01 19:05:17 +02:00
Vladyslav a7c2501117 Some improvements to the output of tooltips 2018-05-01 19:58:14 +03:00
iopietro 0a9fe1125e Fixed a bug while chiefing and catapulting
+Brewery, big parties and moral bonus are now counted correctly towards
the loyalty reduction
+If you have a brewery you'll now forced to attack random buildings
+Some clean-up
2018-05-01 17:03:41 +02:00
iopietro 2fc3e7b7da Fixed trap bugs
+Released troops will now return to their respective villages correctly,
(allied or own villages)
+Fixed "Released X of own troops" and "Released X of friendly troops"
texts, they'll now match the correct amount of own/friendly released
troops.
+Fixed a bug that didn't permit to release troops in the first attack or
if in the attacked village there were prisoners from more than one
village
+Corrected a wrong stolen resources calculation
+Minor improovements and bug fixing
2018-05-01 00:09:58 +02:00
iopietro 0fac64b23a Fixed a bug while conquering
+Expansion slots are now cleared/assigned correctly (following the
official Travian rules)
+Some minor improovements and bug fixing
-Removed redundant code
2018-04-30 13:53:52 +02:00
iopietro 6443d2d490 Fixed a bug while destroying a village
+If a village is destroyed, all oasis of it, will return to the Nature
+If a village is destroyed all trade routes from and to it, will be
deleted
2018-04-29 21:29:14 +02:00
iopietro 2530dcac6d Fixed a bug in Palace/Residence
+Fixed a bug (or fixed a fix?) that didn't permit to train chief and
settlers in the same village
+Fixed a bug that didn't count trapped chiefs and trapped settlers
+Fixed a bug that did count chiefs and settlers of other players as used
slots, if they were attacking/reinforcing you
-Removed an unused portion of code
2018-04-29 16:57:27 +02:00
phaze1G 77e3cd68b0 Buttons replace part 2 (#536)
* 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

* buttons replace part 2

* Update addABTroops.tpl

* Update addTroops.tpl

* Update graphic.tpl

* Update all.tpl

* Update archive.tpl

* Update forum_3.tpl

* Update read.tpl

* Update ranksearch.tpl

* Update delete.tpl

* Update inbox.tpl

* Update 19.tpl
2018-04-29 13:03:59 +02:00
iopietro 7a88a5a60c Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-04-29 12:49:55 +02:00
iopietro c599838dc8 Fixed a spy bug
+Attacking spies will now die if they're detected and the enemy has
spies in reinforcement
2018-04-29 12:49:45 +02:00
Pietro 31fb9800ad Update text.tpl 2018-04-29 01:37:09 +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 48410e960b Merge branch 'master' of https://github.com/Shadowss/TravianZ.git 2018-04-26 20:37:55 +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
phaze1G 618b2a3ce7 Update lang.css
Added text bold on buttons.
2018-04-26 13:48:00 +02:00
iopietro 42eda2f935 Merge branch 'master' of https://github.com/Shadowss/TravianZ.git 2018-04-26 12:19:53 +02:00
iopietro 6394707e53 Fixed a little mistake 2018-04-26 12:19:39 +02:00
phaze1G e47609ab9b Merge pull request #531 from Shadowss/phaze1G-replace-buttons
replace buttons
2018-04-26 09:27:37 +02:00
phaze1G f168d95e3a Update notes.tpl 2018-04-26 09:25:45 +02:00
phaze1G 2783d395d1 Update warsim.php 2018-04-26 09:22:06 +02:00
phaze1G ae624f7599 replacing buttons 2018-04-26 09:19:52 +02:00
Vladyslav 730378a84e Change the appearance of the tooltips 2018-04-26 00:34:04 +03:00
iopietro 1b7f14e6a4 Merge branch 'master' of https://github.com/Shadowss/TravianZ.git 2018-04-25 22:58:27 +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
Pietro b703f1007c Merge pull request #530 from phaze1G/master
Replacing login / register buttons with CSS
2018-04-25 16:26:41 +02:00
phaze1G a07fc234aa Update anmelden.php 2018-04-25 16:15:10 +02:00
phaze1G c87fd6d415 Update login.php 2018-04-25 15:48:53 +02:00
iopietro c15f8d41bb Merge branch 'master' of https://github.com/Shadowss/TravianZ.git 2018-04-25 15:13:31 +02:00
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
phaze1G 0e00507f8b Update lang.css 2018-04-25 14:13:16 +02:00
phaze1G 92412ffd4d Update lang.css 2018-04-25 14:09:40 +02:00
Pietro faa2df0927 Update text.tpl 2018-04-23 20:37:17 +02:00
iopietro 26cb03cdb6 Artifacts fixing part 1
+Added a new table in the database, called "artefacts_chrono" which
stores the chronology of all artifacts
+Added the support for the artifacts chronology in 27_show.tpl
+Added the support for interacting with the artifacts chronology table in Database.php
+Cleaned the code in 27_show.tpl
+Some minor improovements and bug fixing
2018-04-23 20:34:28 +02:00
Vladyslav f810c9fe99 Small edits of available languages 2018-04-22 23:54:03 +03:00
Vladyslav 2891abf977 Small fixes 2018-04-22 23:34:01 +03:00
iopietro 4072aca500 Fixed a graphical error 2018-04-22 16:52:59 +02:00
iopietro ec6a26acf3 Fixed a bug in the market
+ x3 orders and trade routes won't disappear anymore if the player has
less resources than required, the merchants will take all of his
resources instead
+Fixed a bug in the market that didn't permit to send x3 merchants
2018-04-21 21:56:33 +02:00
Vladyslav 4784e73e43 Tooltip part 3 for admin panel settings (last)
+Small tooltip display edits
+Fully added to the file Admin/Templates/config.tpl
+Fully added to the file Admin/ Templates/editAdminInfo.tpl
+Fully added to the file Admin/ Templates/editExtraSet.tpl

Almost completely translated texts in en.php
2018-04-21 22:23:14 +03:00
iopietro 05504afcf4 Fixed a bug while training troops
+Troop trainings with 0 troops are now deleted immediately after adding
the trained troops (and not after another foreach)
+Fixed a bug that could have caused the training of one negative troops
2018-04-21 21:04:16 +02:00
iopietro 13e21d66e1 Fixed a bug while finishing a construction
+Buildings cannot be incremented anymore by two levels instead of one
2018-04-21 20:34:43 +02:00
iopietro daa7f0fdf4 Fixed a bug in oasis
+Oasis now produce resources correctly
2018-04-21 19:41:44 +02:00
iopietro e9def19bd9 Fixed an exploit in the market
+Fixed an exploit that permitted to gain an infinite amount of resources
2018-04-21 17:53:59 +02:00
iopietro 19dfd345f6 Merge branch 'master' of https://github.com/Shadowss/TravianZ.git 2018-04-21 17:30:13 +02:00
iopietro 996f011666 Fixed some report bugs
+Added the report type 23, which indicates a defence during festive days
+Festive reports in the alliance no longer duplicates
+Festive reports in the village view no longer duplicates
+Fixed a bug that didn't permit to read an allied report

General:
-Removed the possibility to view an inexistent village
+Some minor improovements
2018-04-21 17:28:20 +02:00
Vladyslav 912564f5eb Tooltip part 2 for admin panel settings
+The font is slightly increased.
+Partially added to the file Admin/Templates/config.tpl
+Fully added to the file Admin/ Templates/editLogSet.tpl
+Fully added to the file Admin/ Templates/editNewsboxSet.tpl
+Fully added to the file Admin/ Templates/editPlusSet.tpl
Almost completely translated texts in en.php
2018-04-21 17:34:46 +03:00
Pietro 65f7ad1721 Delete attack-defender.tpl
Not used anymore
2018-04-21 13:32:14 +02:00
iopietro 970387342a Merge branch 'master' of https://github.com/Shadowss/TravianZ.git 2018-04-21 13:30:45 +02:00