Commit Graph

296 Commits

Author SHA1 Message Date
novgorodschi catalin a3100fb691 Redesign Admin Panel Second Round
Redesign Admin Panel Second Round
2026-05-22 15:16:47 +03:00
novgorodschi catalin 62c86380a4 Redesign Admin Panel First Round
Redesign Admin Panel First Round
2026-05-22 15:12:37 +03:00
novgorodschi catalin 3fa16f13b2 Full Refactor Admin Panel & Logs
Full Refactor Admin Panel & Logs (now you can see detailed logs in admin panel) - ONLY BACKED
2026-05-22 11:29:37 +03:00
novgorodschi catalin 1192e53b04 Fix admin error line 600
Fix admin error line 600
2026-05-21 13:18:12 +03:00
novgorodschi catalin 05bfde9063 Remove some unused code and some fix
Remove some unused code and some fix
2026-05-21 13:12:21 +03:00
novgorodschi catalin 878ecec687 Added Account transactions with History
Added Account transactions with History
2026-05-21 11:23:45 +03:00
novgorodschi catalin 4a2108e88e Change to english Admin - Change
Change to english Admin - Change
2026-05-18 09:21:01 +03:00
novgorodschi catalin 55e6dd60b5 Refactor + BugFix
1. Fix a bug in Admin Panel that you can edit by yourself your rank, now you cannot edit your rank anymore.

2. Now Alliance Leader can edit his own Position

3. Fix negative value on Demolition Building, now in database at lvl is appear new level not -1

4. Refactor Ajax map, now all is alligned (Ajax folder and Map folder)

5. Fix bug from Palace (when change capital now Automation recount population automaticaly on old capital and new capital)
2026-05-18 09:18:35 +03:00
Catalin Novgorodschi 850a46ae2d Some fixes & improovements
1. Fix ban access, 2. Fix profile ('"") , 3. Add on vacation Admin/MH and exclude rat from reinforcement.
2026-05-15 12:13:01 +03:00
Catalin Novgorodschi cd4a5cd957 Fix ban, forgot to change access
Fix ban, forgot to change access
2026-05-15 09:05:02 +03:00
Catalin Novgorodschi 60c2ed2f60 Incremental Refactor Templates 3
Incremental Refactor Templates 2
2026-05-07 11:20:05 +03:00
Catalin Novgorodschi a02be51969 Incremental Refactor Templates
Incremental Refactor Templates
2026-05-06 13:16:54 +03:00
Catalin Novgorodschi bff79d3006 Update version number in ver.tpl 2026-04-29 14:01:24 +03:00
Catalin Novgorodschi 0e21d17969 Update latest version in update_latest.tpl 2026-04-29 13:59:39 +03:00
Catalin Novgorodschi 624424dde9 Admin Natars/WW management
Admin Natars/WW management
2026-04-29 12:53:49 +03:00
Catalin Novgorodschi a7cedf06bd Added ban history
Added ban history
2026-04-29 08:46:25 +03:00
Catalin Novgorodschi d16a5b2719 Fix ban.tpl
1. You cannot ban system accounts (Support / Nature / Natars / Taskmaster / Multihunter)

2. Cannot ban users that does not exist

3. Cannot ban twice same user
2026-04-29 08:38:13 +03:00
Catalin Novgorodschi 37f49aec6f Fix bugs
Fix ban_msg added name and reason, fix home from adminpanel, fix server_info from admin panel. Added credits
2026-04-29 08:08:14 +03:00
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