Commit Graph

45 Commits

Author SHA1 Message Date
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
phaze1G 77e3cd68b0 Buttons replace part 2 (#536)
* Update assignpos.tpl

* Update changename.tpl

* Update kick.tpl

* Update kick.tpl

* Update linkforum.tpl

* Update search.tpl

* Update 18_create.tpl

* Update invite.tpl

* Update option.tpl

* Update newdorf.tpl

* buttons replace part 2

* Update addABTroops.tpl

* Update addTroops.tpl

* Update graphic.tpl

* Update all.tpl

* Update archive.tpl

* Update forum_3.tpl

* Update read.tpl

* Update ranksearch.tpl

* Update delete.tpl

* Update inbox.tpl

* Update 19.tpl
2018-04-29 13:03:59 +02:00
iopietro 4b1481f2c1 Fixed some bugs
Links are now working properly
Coded a different condition to show the Bakery or not in the "Show Soon"
building list
2018-04-08 12:44:52 +02:00
iopietro 0132af4611 Fixed a lot bugs/security exploits
Profiles can't be hacked anymore, added some security control and
removed those malicious "hidden uid"
Errors now are now shown correctly while editing the profile
The level of the research you're doing in the Blacksmith/Armoury is now
displayed in the research queue
Hugely fixed the battle system, a big thanks to kirilloid for helping me
by providing his formulas :)!
Some general clean-up and bug fixing of little errors
Added some string constants to the language file (en.php)
2018-04-07 22:16:28 +02:00
Shadow e368fd939c Update medal.php 2018-02-01 11:52:52 +02:00
Shadow b12a2b235d Update Nature description 2018-01-23 09:55:08 +02:00
Shadow 2b75bb35de Update MH Text 2018-01-23 09:36:35 +02:00
Shadow d6f929b685 Update profile.tpl 2018-01-23 09:12:08 +02:00
Shadow 8fc39908c3 Test something 2018-01-23 08:31:25 +02:00
Shadow b9a14e75ac Some update for testing 2018-01-23 08:24:34 +02:00
Vladyslav dad468eb07 Add files via upload 2017-12-05 16:18:05 +02:00
Martin Ambrus 0b3f689e4c fix: beginner's protection shown wrong date and time in profile picture 2017-11-22 19:43:58 +01:00
Martin Ambrus 02dd832932 fix: undefined index 2017-11-22 10:03:54 +01:00
Shadow 63eae219d4 vacation mode enabled only for username Shadow 2017-11-14 13:43:27 +02:00
Shadow 45bbefce13 Update vacation
Must to be arrange in a table
2017-11-10 11:31:44 +02:00
Shadow cc78105a33 Vacation mode is enabled for everyone for testing
Vacation mode is enable for everyone for testing as Travian Official have vacation

Must code the condition of vacation

9/9 Conditions

    No troops on movement
    No troops in movement for other villages 
    No troops send for reinforcements 
    Don`t have any troops in your account as reinforcements from other players
    Don`t have a Wonder World
    Don`t have an artifact
    No longer on protection period
    Don`t have any troops trapped
    Don`t have account on deletion process
2017-11-10 11:05:59 +02:00
Martin Ambrus ee017adb40 refactor: most of broad SELECTs updated
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus eca2c9105c fix: undefined indexes and variables 2017-10-28 02:18:00 +02:00
Martin Ambrus 7270a69a63 fix: all location headers need to have exit after them! 2017-10-22 13:00:54 +02:00
Martin Ambrus 6f3973748c fix: more manual typecastings 2017-10-18 00:59:49 +02:00
Martin Ambrus ac5d3538f8 fix: mysqli_error needs MySQLi connection as parameter 2017-10-17 13:05:13 +02:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
uroskn 29c967f734 Fixed hours/days display for beginner protection medal 2016-07-03 11:58:46 +02:00
sempoi 4b6401af9f Update medal.php 2014-03-18 23:56:44 +08:00
Shadow 9731d1a2d6 Update medal.php 2014-03-12 14:23:39 +02:00
Shadow 9c111ab081 Update medal.php 2014-03-12 14:17:16 +02:00
Shadow 267380f38a Update medal.php 2014-03-12 14:15:00 +02:00
Shadow feac499c54 Update profile.tpl 2014-03-12 14:02:59 +02:00
Shadow 9258cab333 Update profile.tpl 2014-03-12 14:02:12 +02:00
Shadow 2bfa7d320d Update medal.php 2014-03-12 13:55:54 +02:00
Shadow c4679fa1a6 Update medal.php 2014-03-12 13:55:16 +02:00
Shadow dad72579bd Update menu.tpl 2014-03-12 13:54:44 +02:00
Shadow 4d0aec158e update 2014-03-12 09:12:17 +02:00
Shadow ed391d14fc vacation mode disabled 2014-03-12 08:45:52 +02:00
Shadow 84f48f8d24 update 2014-03-12 08:43:17 +02:00
Shadow e641d9e9d4 vacation mode but i will disable it just implemented but will be disabled 2014-03-12 08:40:59 +02:00
Shadow 49607c28cd Update overview.tpl 2014-03-07 09:19:09 +02:00
Shadow 15182ecb3d fix some things in admin panel 2014-01-31 08:14:15 +02:00
Shadow 228227dff2 admin panel fix 2014-01-23 14:45:37 +02:00
Shadow b85767f553 Update preference.tpl 2014-01-21 09:46:29 +02:00
Shadow d74d7f7dfb Update preference.tpl 2014-01-21 09:29:35 +02:00
KFCSpike fac62d802c Fix some typos 2013-12-02 21:37:01 +00:00
Shadow 1a0bcc2ef1 Update preference.tpl 2013-11-17 12:25:30 +02:00
yi12345 d09b68a065 update 2013-08-07 02:00:42 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00