Commit Graph

681 Commits

Author SHA1 Message Date
Martin Kalabek 1efe104ed2 Add Natars into combat simulator 2024-10-26 21:01:58 +02:00
221V ca3cecf457 fix SERVER_TIME 2024-10-09 17:48:39 +03:00
221V a0a0059f68 fix u49 2024-10-09 17:34:24 +03:00
221V 130ae40327 fix u43 2024-10-09 17:33:31 +03:00
221V b851713b32 fix u39 2024-10-09 17:32:14 +03:00
Catalin Novgorodschi 5da2154a77 Merge pull request #44 from osztenkurden/master
Fixes for multiple bugs
2024-05-15 12:54:45 +03:00
Catalin Novgorodschi 2a75177377 Merge pull request #43 from bram1000/master
Fix CVE-2023-36993, CVE-2023-36994, CVE-2023-36995
2024-05-15 12:54:07 +03:00
saulius 840cd62f1e Update 37_hero.tpl
bug ciange
2023-10-12 16:16:40 +03:00
Hubert Walczak cbd343e369 Fixed city walls and rallypoint incorrect availability 2023-07-07 05:54:01 +02:00
nixpc e39ca488a9 Fix CVE-2023-36995 2023-07-06 23:02:00 +02:00
fanmuchen 6b5d02097a Localization Reference Added
Some of the templates failed to refer to the localization in /GameEngine/Lang/. Proper reference was created.
2022-04-01 14:50:33 +08:00
fanmuchen 1aa16452c8 Add files via upload
Some of the templates failed to refer to the localization in /GameEngine/Lang/. Proper reference was created.
2022-04-01 14:44:40 +08:00
Shadow 4c68d8dd39 Update to version 8.3.5
Many Fixes
2022-02-18 13:56:17 +02: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 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 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 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 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
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
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 c4d6d70128 General fixes
+Fixed a bug that showed deleted artifacts in the treasury
2018-06-22 12:57:05 +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 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
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
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
iopietro 048b0d9589 General fixes
+Better indentation, why doesn't anyone use arrays :(
2018-06-11 16:03:54 +02:00