Commit Graph

2822 Commits

Author SHA1 Message Date
Catalin Novgorodschi aa2b0cde4b Update README.md 2019-08-27 11:59:28 +03:00
Catalin Novgorodschi 1b7f457034 Update README.md 2019-06-11 09:46:45 +03:00
Shadow 4c116aefea update 2019-05-06 09:18:20 +03:00
Pietro 3b167c64be Corrected a little mistake 2018-09-24 18:54:17 +02:00
Vladyslav d59aa8e072 Minor changes and additions
+Added a medal of 10 years of playing in Travian.
Enabled (Disabled) during installation and in the
admin panel.
+If at least one of the new functions is enabled,
a corresponding section appears in the Manual
with a description of all the new functions and
shows which of them is Enabled or Disabled.
+Minor changes
2018-09-03 22:05:54 +03:00
Vladyslav b9ceb86392 Some improvements and changes
+Added the ability to change the position of Direct links
+Added the ability to Enable (Disable) veteran medals
2018-08-31 17:15:53 +03:00
Vladyslav afe25fb5fd Minor bug fixing
+Fixed incorrect display of footer in village statistics
2018-08-31 13:46:08 +03:00
Vladyslav baf38dc6f9 Sorting of villages
+Fixed sorting of villages in the profile overview
of the player and in the side menu of the village
list (multivillage). Reduced to the real Travian.
2018-08-31 13:02:00 +03:00
Vladyslav 7d14953052 Minor changes
Minor changes and improvements
2018-08-28 22:39:26 +03:00
Vladyslav c9d18675ce Minor changes
+Added Enable (Disable) of information about the troops of Nature and Natars in the manual

NOTE 1: To play this version of the game, you need to reinstall the server OR you can simply add these lines of code into your file:

GameEngine/config.php

define("NEW_FUNCTIONS_MANUAL_NATURENATARS", false);

GameEngine/Admin/Mods/constant_format.tpl

define("NEW_FUNCTIONS_MANUAL_NATURENATARS", %NEW_FUNCTIONS_MANUAL_NATURENATARS%);

NOTE 2: pay special attention to the fact that these are two different records !!! If the records are entered incorrectly, you will receive a non-working code!
2018-08-28 17:08:46 +03:00
Vladyslav c33322ef52 Minor changes and improvements
+Changed the placement of menu links https://github.com/Shadowss/TravianZ/issues/544#issuecomment-416526737
+Minor changes and improvements in the Admin panel
+Minor corrections in the display of text in the profile of the player
2018-08-28 15:22:44 +03:00
Vladyslav e3c2a28d71 Minor bug fixes
WW villages cannot be destroyed. Thank @iopietro for your help.
2018-08-28 01:42:35 +03:00
Vladyslav 22548258f0 Minor changes and additions
+Added the ability to Enable (Disable) the display of the targets of the catapults in the rally point
+Added the display of the village with a wonder of the world (as is done with the display of artifacts) in the viewing player profiles. Also this function is Enabled (Disable) during installation and in the admin panel.
2018-08-27 18:15:53 +03:00
Vladyslav 7c6de23303 Minor changes
Sometimes during the transition through the links in the admin panel, 
the ADMIN image jumped down due to the appearance of margin: 20px;
2018-08-03 08:41:17 +03:00
Vladyslav 55d5ff9c32 Minor change
Now the alliance section is highlighted when viewing the top 10 statistics on alliances
2018-08-03 08:24:01 +03:00
Shadow a263f17ecc Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-08-02 13:31:21 +03:00
Shadow cec37642c4 @velhbxtyrj updates 2018-08-02 13:31:18 +03:00
iopietro f032523e1c Generale fixes
+Fixed a bug that didn't return reinforcements in counquered oasis, if
it was released by the owner, or from the admin panel
+Changed the catapults and rams formulas (still not completed at 100%),
thanks to Kirilloid!
+Changed the Natars' capital default coordinates
2018-07-28 15:07:52 +02:00
iopietro dbd425b1e4 Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-07-27 02:25:32 +02:00
iopietro d3a78a5ea5 Admin panel fixes
+Plus and bonuses duration, can now be decreased or resetted, by
inserting a negative value of days
+Artifacts and artifacts villages created on a user account, won't
contain any troops
+Some clean up
2018-07-27 02:25:08 +02:00
Pietro 339620e361 Update README.md 2018-07-26 18:04:49 +02:00
iopietro ca0ba2e8f1 Fixed #448
+Fixed a bug that created the admin village in a not existent cell, if
the world was smaller than 50x50
2018-07-25 18:44:57 +02:00
iopietro 6a963d0ba3 Fixed #491
+Fixed a bug that created MH's and Admin's villages with wrong resource
fields, during the installation
2018-07-25 18:39:39 +02:00
iopietro b9a442b423 General fixes
+Fixed a bug that would have killed all troops by starvation, if added
through the admin panel
2018-07-25 17:17:52 +02:00
iopietro 1f86162179 Artifacts fix
+Added the possibility to add WW villages to a player, in the admin
panel
+Fixed the WW villages counter
+Deleted Natars' artifacts can now be recovered from the admin panel
2018-07-25 15:32:14 +02:00
iopietro 94447708ad Artifacts fixes
+Fixed a bug that assigned a wrong village name, when returning a WW
building plans to Natars' account
2018-07-25 13:05:59 +02:00
iopietro 84b00790a6 General fixes
+Fixed a bug that showed "The village has been destroyed" two times, if
an artifact was conquered from Natars (or from a 0 popped village) and
there were catapults in the attack
2018-07-25 02:43:29 +02:00
iopietro ee0b4984c2 #554 Fixes and General fixes
+Fixed a bug that could have happened in the statistics if there were 0
users in the server
+Fixed a compatibility bug with PHP 7.0
2018-07-24 18:19:44 +02:00
iopietro 81dcd16e3d Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-07-24 03:04:37 +02:00
iopietro 77136a9784 Artifacts update and optimizations
+Added the "Artifacts" section in the Admin Panel, which contains two
options: return a deleted artifact to the Natars and create new
Artifacts, assigned to a specified player
+Return to Natars coded, in the village section of the Admin Panel
+Moved a lot of functions and costants from Automation.php to the "new"
class Artifacts.php
+Optimized a lot the whole Natars creation process, decreased the number
of query of about 600
+Optimized a lot the function which deletes a player's account, it's now
executed almost instantly, even with players with a lot of villages
+Redesigned the map spawn system, using a more Travian-like village
distribution
+Fixed a bug that did show a broken village in the artifact chronology,
if that village was destroyed
+Reduced the amount of redundant code (about 230 lines) for
27_1.tpl/27_2.tpl and 27_3.tpl
+Fixed a bug that permitted to build the Great Granary and the Great
Warehouse in the whole account, with only a village effect artifact
+Fixed a bug in the Admin Panel map that didn't permit to show village
informations, if that village contained single quotes in its name
2018-07-24 03:04:25 +02:00
Vladyslav 48a0aaba7f Minor changes to medals
Now during the editing of the profile instead of the word "Bonus" a specific name of the medal is written
2018-07-17 18:54:04 +03:00
Catalin Novgorodschi 3f11f8a843 Update README.md 2018-07-13 09:01:03 +03:00
Vladyslav dc399437d0 New navigation menu in admin panel
+The side navigation menu in the admin panel
has been completely changed.
+When clicking on the links, the selected sub-item
of the menu is saved using the file cookie (it works a little incorrectly).
+Completely centered administration image in the admin panel.
2018-07-09 20:23:39 +03:00
Vladyslav b13879e619 General fixes
+Changed the issuance of medals. Thanks @iopietro
2018-07-01 00:39:17 +03:00
Vladyslav 642d90a73d General fixes
+Redesigned set of buildings in the center of the village of Natars with artifacts
+Rally point now correct displayed in the village overview of the admin panel

NOTE: To use this change, must recreate account Natars
2018-06-30 23:23:05 +03:00
Vladyslav 963471825a General fixes
+Redesigned set of buildings during the appearance of the WW village

NOTE: To use this change, you must recreate all the WW villages
2018-06-27 15:25:50 +03:00
Shadow 8d25ef9424 Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-27 13:00:48 +03:00
Shadow dc1bce2aec Pyapal email
@iopietro : can you check why that email doesn`t change from configuration file ? If i press buy website redirect to paypal to pay at mail that i put on install , but in files remain old email
2018-06-27 13:00:44 +03:00
Vladyslav 3cbcdd4bd1 Redirect to profile overview if vacation mode is disabled
+Now if vacation mode is disabled and whoever wants to go to the well-known 
vacation mode link, it will be redirected to an overview of its profile.
2018-06-27 11:11:47 +03:00
Vladyslav 3f64e4f3bc Enable (Disable) Vacation Mode
+Enable (Disable) Vacation Mode
+Fixed an error displaying the icon to
delete the villages in the admin search

NOTE 1: To play this version of the game, you need
to reinstall the server OR you can simply add
these lines of code into your file:

GameEngine/config.php

define("NEW_FUNCTIONS_VACATION", false);

GameEngine/Admin/Mods/constant_format.tpl

define("NEW_FUNCTIONS_VACATION", %NEW_FUNCTIONS_VACATION%);

NOTE 2: pay special attention to the fact that these are two
different records !!! If the records are entered incorrectly,
you will receive a non-working code!
2018-06-26 20:52:47 +03:00
Catalin Novgorodschi c9c9759664 Fix vacation mode
+now vacation mode fully work
+you cannot send ressource / attacks from User Profile 
(» Send troops. (Vacation mode on) )
(» Send merchant(s). (Vacation mode on) )
+you cannot send ressource from marketplace : 
(Player is on vacation mode. You cannot send resources to him.)
+you cannot attack him from rally point
(User is on vacation mode)
+also is display a message on player profile 
Player Shadow
This player is on VACATION.
+also is display an error message when you try to login
Vacation mode is still enabled

NOTE : must code the criteria from vacation mode

1. There are no moving troops
2. There are no troops that defend the villages of other players
3. No other player has reinforcements on you
4. You do not own a village with the Wonder of the World
5. You do not own an artifact
6. You are no longer in the beginner's protection
7. You do not have troops caught in the cells.
8. Your account is not being deleted.
2018-06-26 10:42:07 +03:00
Vladyslav dffdcc4411 Enable (Disable) some new features
+Enable (Disable) New forum post message
+Enable (Disable) Tribes images in profile
+Enable (Disable) MHs images in profile
+Enable (Disable) Display artifact in profile
+Minor changes

NOTE 1: To play this version of the game, you need to reinstall
the server OR you can simply add these lines of code into your file:
ameEngine/config.php

define("NEW_FUNCTIONS_FORUM_POST_MESSAGE", False);
define("NEW_FUNCTIONS_TRIBE_IMAGES", False);
define("NEW_FUNCTIONS_MHS_IMAGES", False);
define("NEW_FUNCTIONS_DISPLAY_ARTIFACT", False);

GameEngine/Admin/Mods/constant_format.tpl

define("NEW_FUNCTIONS_FORUM_POST_MESSAGE", %NEW_FUNCTIONS_FORUM_POST_MESSAGE%);
define("NEW_FUNCTIONS_TRIBE_IMAGES", %NEW_FUNCTIONS_TRIBE_IMAGES%);
define("NEW_FUNCTIONS_MHS_IMAGES", %NEW_FUNCTIONS_MHS_IMAGES%);
define("NEW_FUNCTIONS_DISPLAY_ARTIFACT", %NEW_FUNCTIONS_DISPLAY_ARTIFACT%);

NOTE 2: pay special attention to the fact that these are two
different records !!! If the records are entered incorrectly,
you will receive a non-working code!
2018-06-25 21:06:30 +03:00
iopietro d30066dc9f Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-22 13:41:33 +02:00
iopietro c4d6d70128 General fixes
+Fixed a bug that showed deleted artifacts in the treasury
2018-06-22 12:57:05 +02:00
Catalin Novgorodschi f745b655e4 Update donation system. 2018-06-22 12:17:52 +03:00
iopietro 10de3dd1b3 General fixes
+Fixed a little mistake

NOTE: In order to play this version of the game properly, you need to refresh your browser cache
2018-06-21 15:50:49 +02:00
iopietro fc562d92dd Merge branch 'master' of https://github.com/Shadowss/TravianZ
Conflicts:
	Templates/Profile/overview.tpl
2018-06-21 15:01:56 +02:00
iopietro c574a71b3a General fixes
+Fixed a bug that didn't delete artifacts when a player deleted his
account
+Added "(artifact)" if a village has an artifact in the village overview
+Added the artifact section in the multihunter panel (return to natars
doesn't work yet)

NOTE: To play this version of the game, you have to run this query first
(where "s1_" is the prefix of your server):

ALTER TABLE `s1_artefacts` ADD `del` TINYINT(1) NULL DEFAULT '0' AFTER
`lastupdate`;
ALTER TABLE `testtravian`.`s1_artefacts` ADD INDEX
`active-owner-conquered-del` (`active`, `owner`, `conquered`, `del`);
2018-06-21 14:43:47 +02:00
Shadow 168733c4c2 Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-21 15:24:16 +03:00
Shadow 135f8fa24f Little mistake in market
+fix vacation in market.
+for the moment is a problem in database (not register vacation in database)
2018-06-21 15:24:14 +03:00