Commit Graph

2808 Commits

Author SHA1 Message Date
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
Catalin Novgorodschi aa671c51a9 Update medal images code
+reduce the line
2018-06-21 14:43:48 +03:00
Vladyslav 6ef38c50cb Minor changes using boolean statements 2018-06-21 00:54:41 +03:00
Vladyslav c1eb10b19b Enable (Disable) Alliance invitation message
+Now during the installation (or after installation in the admin panel) you can Enable (Disable) sending an in-game message to the player, if he was invited to the alliance.
+Preparing the code for Enable (Disable) "New Alliance & Embassy Mechanics"

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_ALLIANCE_INVITATION", True);
define("NEW_FUNCTIONS_EMBASSY_MECHANICS", False);

GameEngine/Admin/Mods/constant_format.tpl

define("NEW_FUNCTIONS_ALLIANCE_INVITATION", %NEW_FUNCTIONS_ALLIANCE_INVITATION%);
define("NEW_FUNCTIONS_EMBASSY_MECHANICS", %NEW_FUNCTIONS_EMBASSY_MECHANICS%);

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!

NOTE 3: it is also necessary to follow the instructions with this change (if they were not previously executed) https://github.com/Shadowss/TravianZ/commit/11ae61c013d663304086ecfd5d845040ebf2f144
2018-06-20 19:34:05 +03:00
Vladyslav 11ae61c013 Enable and disable display of oases
+Now during the installation (or after installation in the admin panel) you can enable or disable oasis display for villages in the player profile.

NOTE: 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

/////////////////////////////////////////////////
//   ****  NEW MECHANICS AND FUNCTIONS  ****   //
/////////////////////////////////////////////////
define("NEW_FUNCTIONS_OASIS", True);

GameEngine/Admin/Modsconstant_format.tpl

/////////////////////////////////////////////////
//   ****  NEW MECHANICS AND FUNCTIONS  ****   //
/////////////////////////////////////////////////
define("NEW_FUNCTIONS_OASIS", %NEW_FUNCTIONS_OASIS%);

NOTICE 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-20 16:57:13 +03:00
Shadow 7747a301be Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-20 08:38:27 +03:00
Shadow 37b9fce473 Gloria medals
+gpack updated
2018-06-20 08:38:13 +03:00
Vladyslav 4eadb214c0 Changing sections of the alliance description
The alliance description sections in the admin panel are swapped 
(as it looks in the overview of the alliance in the game)
2018-06-18 14:41:32 +03:00
Vladyslav ce83e0fde5 Little forgetfulness 2018-06-18 13:38:06 +03:00
Vladyslav 1a9f71e23d General fixes
+Activation correction plus (it was not displayed correctly)
+Added a transfer to a new line of long words in the admin panel (for the description of the player's profile and the alliance)
2018-06-17 18:40:13 +03:00
Vladyslav a547938514 Change the date display
In the code, the dates have a variety of display formats so everything can not be displayed at once. It is possible that somewhere else there are dates in other display formats.
2018-06-17 15:28:58 +03:00
Vladyslav 56c729a211 Fix the display of long words in the alliance
Now the long words in the alliance description are not hidden but are transferred to a new line
2018-06-17 15:13:34 +03:00
Vladyslav 7fde3e5ec2 Fix the display of long words in the profile
Now the long words in the player's description are not hidden but are transferred to a new line
2018-06-17 14:01:53 +03:00
iopietro 8861a578e4 General fixes
+Fixed a bug that didn't update the starvation correctly, when
starvation data was updated (for example: troops in training, attacks
completed, etc.)
2018-06-17 01:48:40 +02:00
iopietro b61bdc980f Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-15 02:31:47 +02:00