Commit Graph

2783 Commits

Author SHA1 Message Date
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
iopietro 9efbe9ffd9 General fixes
+Fixed a bug that didn't permit to create users' villages in small maps,
from the admin panel
2018-06-15 02:31:37 +02:00
phaze1G a799afdbd9 Small fix to calcualted/servertime (#548)
* Calcuated & server time

* Update plus1.php

* Update rules.php

* Update menu.tpl

* Update maintenance.php

* Update version.php

* Update dorf3.php

* Update karte.php

* Update berichte.php

* Update dorf2.php

* Update plus.php

* Update warsim.php

* Update support.php

* Update statistiken.php

* Update nachrichten.php

* Update spieler.php

* Update crop_finder.php

* Update winner.php

* Update a2b2.php
2018-06-14 00:52:44 +02:00
Shadow 5bc1633182 Block folder accces
+404 error
2018-06-13 11:17:18 +03:00
Shadow 9881732c97 A little fix on admin delete img
+little fix on admin ban page (delete img)
+little graphic change on maintenance
2018-06-12 14:43:14 +03:00
Shadow 051fdfa95c Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-12 13:18:05 +03:00
Shadow 3f46872021 Update graphics
+delete some language files
+update some credits
2018-06-12 13:18:03 +03:00
iopietro b7f8eade34 General building
+Starting a building would be nonsense, if the server has already been
finished
2018-06-11 16:06:40 +02:00
iopietro 048b0d9589 General fixes
+Better indentation, why doesn't anyone use arrays :(
2018-06-11 16:03:54 +02:00
iopietro 365e56addf A little forgetfulness 2018-06-11 16:01:37 +02:00
iopietro f7907310c5 Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-11 15:49:22 +02:00
iopietro 216537215a General fixes
+Natars' account will now be excluded from the Top 3 Defenders in
winner.php
+Fixed a bug that showed the fourth attacker and defender of the server
instead of the third one
2018-06-11 15:49:14 +02:00
Catalin Novgorodschi 2cd42a3e4e Ups something went wrong
@iopietro a little forgot :))
2018-06-11 14:55:22 +03:00
Catalin Novgorodschi b60d775e95 Winner text updated
+post the second and third attacker
+post the second and third deffender
+text updated like real travian.
2018-06-11 13:46:14 +03:00
Shadow 3697f761b3 Update oasis images
+update oasis images
+thanks @velhbxtyrj
2018-06-11 11:02:44 +03:00
iopietro 79eb6a73d6 General fixes
+Removed almost all "BANNED" controls to template and .php UI files. The
control will be done only once and in the Session class
2018-06-11 02:22:22 +02:00
iopietro 56f4e799e0 Delete some useless files 2018-06-11 01:21:33 +02:00
iopietro e3632b9aa1 General fixes
+Medals can now be deleted correctly
2018-06-11 01:21:12 +02:00
iopietro 8c2bedb164 General fixes
+Fixed a bug that showed the horizontal scrollbar when the "ADMIN" text
was centered
2018-06-10 13:14:27 +02:00
iopietro f264cb6b8d General fixes
+Oases are now displayed in the players profile
+Fixed a bug that showed a wrong localization in the Castle
2018-06-10 00:41:18 +02:00
iopietro 0ad0100b3f Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-09 19:02:10 +02:00
iopietro 3504c98bea General fixes
+Completely coded "Players report" in the admin panel, now you can see
any report you want
+Added "Players message", you can now see every message of any player
+Fully coded "IMG/Reports" section, it now works properly
+Fully CSSed reports, they'll now look like in game
+Centered the whole admin panel (because we're in 2018, lul)
2018-06-09 19:02:00 +02:00
Vladyslav 75a6bd3376 Change the date display in the treasury 2018-06-09 16:14:16 +03:00
iopietro 2e55a7ee61 Merge branch 'master' of https://github.com/Shadowss/TravianZ 2018-06-09 13:15:07 +02:00
iopietro 640ba67337 Admin panel fixes
+WW level is now showed in the village preview
+WW level can now be changed  in the building list
+Walls and their level are now showed in the village preview
2018-06-09 12:31:46 +02:00
Vladyslav 29cf71f95f A small fix of newsbox 2 2018-06-09 11:16:26 +03:00