Commit Graph

52 Commits

Author SHA1 Message Date
iopietro b58b762b12 General Fixes
+Completely reworked the "removeBuilding" function, it's now more
generic (for future uses)
+Fixed a bug that bugged the master builder time when a building was
removed from the construction queue
+Fixed a bug that bugged building times when a building was removed from
the queue, with a master builder order queued
+Fixed a bug that didn't permit to save the server settings from the
+MH/Admin panel
+Fixed a bug that did save the WW spawn time in the WW building plan
spawn time and vice versa
+General improovements and bug fixing
2018-05-14 23:14:10 +02:00
iopietro 90221cf19f 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.
2018-05-10 17:45:27 +02:00
Martin Ambrus 59b5d97dc0 fix: all languages added to installer and Admin 2017-11-27 16:14:23 +01:00
Martin Ambrus 8c8c32ed57 fix: all languages added to installer 2017-11-27 16:12:35 +01:00
Martin Ambrus d3b51a34ec fix: disallow Natars user registration
#382
2017-11-26 16:56:29 +01:00
Martin Ambrus a4c05092b2 chore: cleanup 2017-11-12 10:37:05 +01:00
Martin Ambrus c685c87621 refactor: all users set up together during install
Closes #278
2017-11-07 13:26:18 +01:00
Martin Ambrus 312507fe9f feat: MySQL port into installation options
Closes #279
2017-11-07 12:30:32 +01:00
Martin Ambrus f5ceefebb7 fix: new /var/log folder needs to be chmodded on Linux
The /var/log game folder stores game logs (for now only access log) and
as such must be writable by the server.
2017-10-28 19:02:25 +02:00
Martin Ambrus 1066fff9a2 refactor: installation happens at MySQL side
A lot has happened here. Here's the list:

1. autoloader was added that should prevent various "failed to open
stream" errors when trying to load new classes

2. PHP-based data generation was replaced by MySQL-based one, hopefully
fixing the installation problems when insert payload it too high and the
DB wouldn't populate with some users

3. thanks to step 2, the installation should be really almost
instantenious, instead of waiting a long time for many SQL connections
and queries to populate the world

4. World Data & Oasis generation and population is done in 1 step now
2017-10-27 18:27:03 +02:00
Martin Ambruš dcde4f9c4d feat: end screen should contain chmod info 2017-10-25 06:55:21 +02:00
Martin Ambrus 12687766b6 refactor: much speedier installation process 2017-10-23 13:38:32 +02:00
Martin Ambrus 53f54ce9e9 feat: Admins can be attacked, raided and traded with via config option 2017-10-22 20:28:03 +02:00
Martin Ambrus 5dbf799463 fix: installation will not be allowed if old data are still in DB 2017-10-22 16:27:45 +02:00
Martin Ambrus 965ba37f67 feat: Admins can see Support messages if set in config 2017-10-22 14:47:27 +02:00
Martin Ambrus 4d6b18de4c feat: Support password setting into installation step 2017-10-22 10:42:05 +02:00
Martin Ambrus 8a1ca0960f feat: PLUS packages configurable during installation 2017-10-04 09:15:40 +02:00
Martin Ambrus d39220d980 fix: installation_done file creation in root works now 2017-08-28 23:10:54 +02:00
Martin Ambrus d497674bad fix: MySQLi now only enabled during installation 2017-08-28 17:49:37 +02:00
Martin Ambrus a486ac115d chore: restoring installation folder 2017-08-28 17:37:08 +02:00
Martin Ambrus 1c51f2eec0 chore: HTML fixes from Eclipse 2017-08-28 17:31:55 +02:00
evader1337 32e016e948 Improved gold packages 2016-09-14 13:27:49 +02:00
Domen Kajdič 2cf2f3c343 Trying to fix this monstrosity #1 2016-09-13 15:38:14 +02:00
TienTN 3e7685ffce initialize new branch 2016-08-31 22:55:21 +07:00
uroskn 5fc5c76b72 Installation script refuses to run again after completed install.
This is achieved by leaving special file in install/ directory.
2016-07-02 22:58:57 +02:00
uroskn 1afde368d3 GameEngine and install folders have 777 already set by default 2016-07-02 21:39:28 +02:00
Shadow 82ee64b3ba Update end.tpl 2015-08-27 09:00:10 +03:00
Shadow eee877a4d1 Update greet.tpl 2015-08-27 08:50:52 +03:00
Shadow c955acd5dc Update end.tpl 2015-08-27 08:46:24 +03:00
Shadow 8ac677c4a0 Update multihunter.tpl 2015-08-27 08:41:06 +03:00
Shadow 6206eeb7f9 Update menu.tpl 2015-08-27 08:40:39 +03:00
Shadow 9e7b5a70c3 Update field.tpl 2015-08-27 08:32:43 +03:00
Shadow 440b53a54c Update dataform.tpl 2015-08-27 08:32:24 +03:00
Shadow 1c388e9bf1 Update config.tpl 2015-08-27 08:32:06 +03:00
Shadow 82415cb34c Update greet.tpl 2015-08-27 08:30:24 +03:00
cosme12 1427e23a82 Installation security increased
After installation, the folder ```install``` will be renamed to ```installed_$time```. This way, in case you forget to remove the folder, it will be harder to spot.
2015-04-07 17:54:20 -03:00
cosme12 6a41ac2040 Script name change
Just a little detail. Since title says, thanks for installing TravianZ, it should also say "Thanks for installing TravianZ." and "My TravianZ homepage".
2015-04-06 22:25:11 -03:00
Shadow b1b16f9d89 Update config.tpl 2014-03-03 07:36:41 +02:00
armando1980 3da80bc994 add option Spanish by Armando 2014-01-24 20:47:37 -05:00
KFCSpike b14bff4146 Fix and tidy up greet.tpl 2014-01-08 18:27:37 +00:00
KFCSpike c1b6d5fd54 Add the Europe/London option for time zone when installing - Fixes #8 2013-12-08 13:29:52 +00:00
Shadow 7fd2ec8394 Update config.tpl 2013-11-14 13:54:32 +02:00
Shadow 0d5e3a4b01 Update oasis.tpl 2013-11-14 13:51:14 +02:00
Shadow d3c292a673 Update field.tpl 2013-11-14 13:50:56 +02:00
Shadow 1ac6a6476c Update dataform.tpl 2013-11-14 13:50:31 +02:00
Shadow 30b25d4605 Update config.tpl 2013-11-14 13:50:10 +02:00
Maharaja 53fd503694 fixed the password show bug with the install 2013-10-28 20:02:45 +01:00
Shadowss 071ce2d084 fix medal , now appers correctly 2013-09-19 14:57:23 +03:00
yi12345 fdd9d3dc4d fix special characters when send troops + add auto medals update system 2013-09-15 11:37:49 +02:00
Shadowss bca91e1f16 Fix oasis.tpl 2013-08-08 14:01:52 +03:00