Added Milestone On Install

Added Milestone On Install
This commit is contained in:
novgorodschi catalin
2026-07-01 11:05:44 +03:00
parent f484bb04d6
commit 0edb95203d
24 changed files with 384 additions and 39 deletions
+2 -1
View File
@@ -333,6 +333,7 @@ define("NEW_FUNCTIONS_MEDAL_3YEAR", %NEW_FUNCTIONS_MEDAL_3YEAR%);
define("NEW_FUNCTIONS_MEDAL_5YEAR", %NEW_FUNCTIONS_MEDAL_5YEAR%);
define("NEW_FUNCTIONS_MEDAL_10YEAR", %NEW_FUNCTIONS_MEDAL_10YEAR%);
define("NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM", %NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM%);
define("NEW_FUNCTIONS_MILESTONES", %NEW_FUNCTIONS_MILESTONES%);
//////////////////////////////////////////
@@ -392,7 +393,7 @@ $requse = 0;
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename config.php ##
## Version 4.8.5 ##
## Version 10.0 Full Refactor & Security ##
## Developed by: Dzoki and Dixie Edited by Advocaite ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
+1
View File
@@ -169,6 +169,7 @@ class Process {
$findReplace["%NEW_FUNCTIONS_MEDAL_5YEAR%"] = $_POST['new_functions_medal_5year'];
$findReplace["%NEW_FUNCTIONS_MEDAL_10YEAR%"] = $_POST['new_functions_medal_10year'];
$findReplace["%NEW_FUNCTIONS_SPECIAL_MEDALS_SYSTEM%"] = $_POST['new_functions_special_medals_system'];
$findReplace["%NEW_FUNCTIONS_MILESTONES%"] = $_POST['new_functions_milestones'];
fwrite($gameConfig, str_replace(array_keys($findReplace), array_values($findReplace), $text));
+2 -1
View File
@@ -206,7 +206,8 @@ $mechs = [
'new_functions_medal_3year' => 'Medal 3y',
'new_functions_medal_5year' => 'Medal 5y',
'new_functions_medal_10year' => 'Medal 10y',
'new_functions_special_medals_system' => 'Special Medals System'
'new_functions_special_medals_system' => 'Special Medals System',
'new_functions_milestones' => 'Server Milestones'
];
foreach($mechs as $k => $l){