mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Natars automation system
+Natars will now spawn automatically, you can set how many day should
pass before the spawn of Natars (and artifacts), WW Villages and WW
building plans (Note: WW villages and WW building plans won't spawn
until the creation of the natar account)
+Added 3 timers under the left menu which indicate the spawn of
Natars/Artifacts, WW villages and WW building plans
+Added an option in the installation, to set the resource production of
oasis
+Fixed a bug that didn't permit to add multiple Units, Abtech and tech
rows with one query
+Added a new information to the Artifact of the fool, the next effect
reroll will now be displayed in his informations (in the treasury)
+Fixed a bug that dind't permit the correct timers flow in Dorf3.php
(Warehouse tab), they'll now flow correctly
+Timers and resources percentage of villages with a negative production
of crop will now be marked in red (in the Warehouse tab, Dorf3.php) and
will now be displayed in how much time the granary will be emptied
+Fixed a possible bug that prevented to add raids to farm lists
+Fixed a bug that didn't permit to create WW Villages from the
Multihunter control panel
+Reworked all timers, there will be only one timer field now (in
Session.php)
+Minor bug fixing and optimization
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 "config.php" file:
// ***** Natars Spawn Time
define("NATARS_SPAWN_TIME",260);
define("NATARS_WW_SPAWN_TIME",260);
define("NATARS_WW_BUILDING_PLAN_SPAWN_TIME",260);
// ***** Oasis production
define("OASIS_WOOD_MULTIPLIER",40);
define("OASIS_CLAY_MULTIPLIER",40);
define("OASIS_IRON_MULTIPLIER",40);
define("OASIS_CROP_MULTIPLIER",40);
define("OASIS_WOOD_PRODUCTION",OASIS_WOOD_MULTIPLIER*SPEED);
define("OASIS_CLAY_PRODUCTION",OASIS_CLAY_MULTIPLIER*SPEED);
define("OASIS_IRON_PRODUCTION",OASIS_IRON_MULTIPLIER*SPEED);
define("OASIS_CROP_PRODUCTION",OASIS_CROP_MULTIPLIER*SPEED);
P.S: from the next version, the possibility to add manual WWs, WW
building plans and to create the natar account will be REMOVED.
This commit is contained in:
@@ -116,9 +116,24 @@ define("SHOW_NATARS",%SHOW_NATARS%);
|
||||
// ***** Natars Units Multiplier
|
||||
define("NATARS_UNITS",%NATARS_UNITS%);
|
||||
|
||||
// ***** Natars Spawn Time
|
||||
define("NATARS_SPAWN_TIME",%NATARS_SPAWN_TIME%);
|
||||
define("NATARS_WW_SPAWN_TIME",%NATARS_WW_SPAWN_TIME%);
|
||||
define("NATARS_WW_BUILDING_PLAN_SPAWN_TIME",%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%);
|
||||
|
||||
// ***** Nature troops regeneration time
|
||||
define("NATURE_REGTIME",%NATURE_REGTIME%);
|
||||
|
||||
// ***** Oasis production
|
||||
define("OASIS_WOOD_MULTIPLIER",%OASIS_WOOD_MULTIPLIER%);
|
||||
define("OASIS_CLAY_MULTIPLIER",%OASIS_CLAY_MULTIPLIER%);
|
||||
define("OASIS_IRON_MULTIPLIER",%OASIS_IRON_MULTIPLIER%);
|
||||
define("OASIS_CROP_MULTIPLIER",%OASIS_CROP_MULTIPLIER%);
|
||||
define("OASIS_WOOD_PRODUCTION",OASIS_WOOD_MULTIPLIER*SPEED);
|
||||
define("OASIS_CLAY_PRODUCTION",OASIS_CLAY_MULTIPLIER*SPEED);
|
||||
define("OASIS_IRON_PRODUCTION",OASIS_IRON_MULTIPLIER*SPEED);
|
||||
define("OASIS_CROP_PRODUCTION",OASIS_CROP_MULTIPLIER*SPEED);
|
||||
|
||||
// ***** Enable T4 is Coming screen
|
||||
define("T4_COMING",%T4_COMING%);
|
||||
|
||||
|
||||
@@ -130,7 +130,14 @@ class Process {
|
||||
$findReplace["%WW%"] = $_POST['ww'];
|
||||
$findReplace["%SHOW_NATARS%"] = $_POST['show_natars'];
|
||||
$findReplace["%NATARS_UNITS%"] = $_POST['natars_units'];
|
||||
$findReplace["%NATARS_SPAWN_TIME%"] = $_POST['natars_spawn_time'];
|
||||
$findReplace["%NATARS_WW_SPAWN_TIME%"] = $_POST['natars_ww_spawn_time'];
|
||||
$findReplace["%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%"] = $_POST['natars_ww_building_plan_spawn_time'];
|
||||
$findReplace["%NATURE_REGTIME%"] = $_POST['nature_regtime'];
|
||||
$findReplace["%OASIS_WOOD_MULTIPLIER%"] = $_POST['oasis_wood_multiplier'];
|
||||
$findReplace["%OASIS_CLAY_MULTIPLIER%"] = $_POST['oasis_clay_multiplier'];
|
||||
$findReplace["%OASIS_IRON_MULTIPLIER%"] = $_POST['oasis_iron_multiplier'];
|
||||
$findReplace["%OASIS_CROP_MULTIPLIER%"] = $_POST['oasis_crop_multiplier'];
|
||||
$findReplace["%T4_COMING%"] = $_POST['t4_coming'];
|
||||
$findReplace["%REG_OPEN%"] = $_POST['reg_open'];
|
||||
$findReplace["%PEACE%"] = $_POST['peace'];
|
||||
|
||||
@@ -95,7 +95,19 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">Natars Units Multiplier:</span></td>
|
||||
<td width="140"><input type="text" name="natars_units" id="natars_units" value="100" size="3"></td>
|
||||
<td width="140"><input type="text" name="natars_units" id="natars_units" value="100" size="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">Natars Spawn (Days):</span></td>
|
||||
<td width="140"><input type="text" name="natars_spawn_time" id="natars_spawn_time" value="260" size="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">WW building plan spawn (Days):</span></td>
|
||||
<td width="140"><input type="text" name="natars_ww_spawn_time" id="natars_ww_spawn_time" value="260" size="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">WW spawn (Days):</span></td>
|
||||
<td width="140"><input type="text" name="natars_ww_building_plan_spawn_time" id="natars_ww_building_plan_spawn_time" value="260" size="3"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">World size:</span></td>
|
||||
@@ -177,6 +189,22 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">Oasis wood production multiplier:</span></td>
|
||||
<td width="140"><input type="text" name="oasis_wood_multiplier" id="oasis_wood_multiplier" value="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">Oasis clay production multiplier:</span></td>
|
||||
<td width="140"><input type="text" name="oasis_clay_multiplier" id="oasis_clay_multiplier" value="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">Oasis iron production multiplier:</span></td>
|
||||
<td width="140"><input type="text" name="oasis_iron_multiplier" id="oasis_iron_multiplier" value="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="f9 c6">Oasis crop production multiplier:</span></td>
|
||||
<td width="140"><input type="text" name="oasis_crop_multiplier" id="oasis_crop_multiplier" value="40"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr class="hover">
|
||||
<td><span class="f9 c6">Medal Interval:</span></td>
|
||||
|
||||
Reference in New Issue
Block a user