Commit Graph

278 Commits

Author SHA1 Message Date
Catalin Novgorodschi ed25eb68ec Redirect admin
Redirect admin
2026-04-23 12:09:09 +03:00
Catalin Novgorodschi 3dac01c45c Rollback 2026-04-23 12:00:50 +03:00
Catalin Novgorodschi 9ef97ed27d Change admin logic system
Change admin logic system
2026-04-23 11:31:30 +03:00
levi a0ef06a35f chore: harden php8 compatibility, optimize installer/croppers, and refresh docs/admin ux 2026-03-14 16:50:27 -03:00
lietuvis10 7b411e908c Update map.tpl
Updated map UI, allows to scroll in, scroll out, move around map and click on user to open either village or his profile.
2025-11-02 23:41:12 +02:00
Catalin Novgorodschi 1dde2599f3 fix addUsers.tpl 2025-10-23 09:59:39 +03:00
Catalin Novgorodschi ac51c207c2 add admin panel - edit map tile type - village and oasis by Taras 2025-05-15 10:04:46 +03:00
Catalin Novgorodschi 59c1114b1c Change some text on license TravianZ 2025-02-11 11:22:22 +02:00
221V 4aa4ef0480 tr - rm doubling 2024-12-11 19:21:33 +02:00
221V 365aba27bf tr - unify - artifact to artefact 2024-12-11 16:21:16 +02:00
Catalin Novgorodschi a6524d3092 Update server_info.tpl 2024-11-21 13:58:13 +02:00
Catalin Novgorodschi 30fb46b020 Update server_info.tpl 2024-11-21 13:56:42 +02:00
Catalin Novgorodschi 31d99a3b51 Update server_info.tpl 2024-10-31 11:27:01 +02:00
Martin Kalabek 28820ea02c Add enforcements to "Troops on the Server" calculations 2024-10-17 14:55:32 +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 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 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
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 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 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 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 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 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
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 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
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
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 3f46872021 Update graphics
+delete some language files
+update some credits
2018-06-12 13:18:03 +03: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 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 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
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
iopietro c9332ea67d General fixes
+Changed the Multihunter's tribe from 0 to Romans (1)
+Added an option to the Multihunter's panel map which shows all
artefacts on the map
2018-06-06 01:29:42 +02:00
iopietro 5b7a13ef5d General fixes
+You can now read all reports in the multihunter panel, it's still a
work in progress
2018-06-01 18:34:24 +02:00
iopietro 15cae4fde9 General fixes
+Added the possibility to start a maintenance (no user will be banned)
2018-06-01 17:57:44 +02:00