diff --git a/Admin/Templates/editServerSet.tpl b/Admin/Templates/editServerSet.tpl index 543ff514..4e0515cb 100644 --- a/Admin/Templates/editServerSet.tpl +++ b/Admin/Templates/editServerSet.tpl @@ -63,12 +63,12 @@ function refresh(tz) { - + - + - + Server Speed @@ -76,7 +76,7 @@ function refresh(tz) { Troop Speed - + Evasion Speed @@ -129,7 +129,7 @@ function refresh(tz) { - + Register Open @@ -148,7 +148,7 @@ function refresh(tz) { - + Quest - + Tourn Threshold diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 09ead08e..97f9086a 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -654,11 +654,10 @@ class Automation { if ($level != 1) { $max -= ${'bid'.$indi['type']}[$level-1]['attri'] * STORAGE_MULTIPLIER; - $max += ${'bid'.$indi['type']}[$level]['attri'] * STORAGE_MULTIPLIER; - } else { - $max = ${'bid'.$indi['type']}[$level]['attri'] * STORAGE_MULTIPLIER; } + $max += ${'bid'.$indi['type']}[$level]['attri'] * STORAGE_MULTIPLIER; + $fieldsToSet[$fieldDbName] = $max; } diff --git a/install/templates/config.tpl b/install/templates/config.tpl index 76140317..af628c83 100644 --- a/install/templates/config.tpl +++ b/install/templates/config.tpl @@ -4,15 +4,15 @@ ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## ---------------------------------------------------------------------------------------- ## ## Project: TravianZ ## -## Version: 22.06.2015 ## +## Version: 22.06.2015 ## ## Filename config.tpl ## -## Developed by: Mr.php , Advocaite , brainiacX , yi12345 , Shadow , ronix, martinambrus ## +## Developed by: Mr.php , Advocaite , brainiacX , yi12345 , Shadow , ronix, martinambrus ## ## Fixed by: Shadow - STARVATION , HERO FIXED COMPL. ## ## Fixed by: InCube - double troops ## ## License: TravianZ Project ## ## Copyright: TravianZ (c) 2010-2015. All rights reserved. ## ## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## +## Source code: https://github.com/Shadowss/TravianZ ## ## ## ############################################################################################## @@ -141,6 +141,9 @@ echo "
Error creating constant.php @@ -279,15 +282,15 @@ echo "
Error creating constant.php