Commit Graph

36 Commits

Author SHA1 Message Date
Hubert Walczak cbd343e369 Fixed city walls and rallypoint incorrect availability 2023-07-07 05:54:01 +02:00
Shadow 4c68d8dd39 Update to version 8.3.5
Many Fixes
2022-02-18 13:56:17 +02:00
iopietro 77136a9784 Artifacts update and optimizations
+Added the "Artifacts" section in the Admin Panel, which contains two
options: return a deleted artifact to the Natars and create new
Artifacts, assigned to a specified player
+Return to Natars coded, in the village section of the Admin Panel
+Moved a lot of functions and costants from Automation.php to the "new"
class Artifacts.php
+Optimized a lot the whole Natars creation process, decreased the number
of query of about 600
+Optimized a lot the function which deletes a player's account, it's now
executed almost instantly, even with players with a lot of villages
+Redesigned the map spawn system, using a more Travian-like village
distribution
+Fixed a bug that did show a broken village in the artifact chronology,
if that village was destroyed
+Reduced the amount of redundant code (about 230 lines) for
27_1.tpl/27_2.tpl and 27_3.tpl
+Fixed a bug that permitted to build the Great Granary and the Great
Warehouse in the whole account, with only a village effect artifact
+Fixed a bug in the Admin Panel map that didn't permit to show village
informations, if that village contained single quotes in its name
2018-07-24 03:04:25 +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
Pietro 00d5021d1c A little forgetfulness 2018-04-05 22:56:24 +02:00
Pietro a067344e03 Fixed a little bug
The Bakery is now shown in the "Soon" building list after meeting at least one prerequisites.
2018-04-05 21:47:46 +02:00
Pietro c2587d855f Fixed a little bug
The market won't show anymore in the "Soon" list if already built.
2018-04-05 01:45:25 +02:00
Pietro 3716398cc4 Fixed a bug + some cleanup
The market is now shown properly in the "Soon" list.
Some cleanup.
2018-04-04 20:05:00 +02:00
Pietro 634675958e Fixed building duplication
Buildings won't duplicate anymore in the "Show more" list.
2018-04-04 18:47:54 +02:00
Pietro 92d928969d Fixed a little thing and some cleanup
"Construct new building" is now shown correctly when trying to build something.
Some cleanup.
2018-04-04 18:27:35 +02:00
Pietro a8e39468b4 Fixed a little thing
Corrected the embassy requirements
2018-04-02 17:23:55 +02:00
Martin Ambrus 43b7e6c9b0 fix: ww can be built to 51 without construction plan in a loop
#337
2017-11-26 14:11:55 +01:00
Martin Ambrus ddb8614b14 fix: construction of a palace and a residence in one village
#323
2017-11-22 14:35:33 +01:00
Martin Ambrus 645793dde2 refactor: s1_vdata queries cached and reused
#313
2017-11-20 10:10:29 +01:00
Martin Ambrus a87802296b refactor: getBuildingByType2() takes multiple IDs
#313
2017-11-19 16:24:33 +01:00
Martin Ambrus ee017adb40 refactor: most of broad SELECTs updated
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus d78f4ecd2d fix: undefined indexes 2017-11-02 00:58:36 +01:00
Martin Ambrus 6f3973748c fix: more manual typecastings 2017-10-18 00:59:49 +02:00
Martin Ambrus 92b9a7b043 fix: a lot of MySQL calls in templates replaced by MySQLi ones 2017-08-28 23:56:59 +02:00
Martin Ambrus 9261a4a4b2 Merge branch 'master' of https://github.com/evader1337/TravianZ into evader1337-master
# Conflicts:
#	GameEngine/Database/db_MYSQL.php
#	Templates/Build/avaliable.tpl
#	Templates/Message/inbox.tpl
2017-08-28 14:18:24 +02:00
TPLinux 444037f7ff Fix in_array bug in show more buldings in WWV 2017-06-29 15:53:53 +00:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
Shadow e337ac2b4d update 2014-05-12 08:43:32 +03:00
Shadow 59926f6102 Update avaliable.tpl 2013-11-29 15:16:50 +02:00
Shadow bb99caa069 Update avaliable.tpl 2013-11-29 13:45:36 +02:00
Shadowss 986eba1355 You can build the brewery only in your capital! Show more options forget 2013-08-15 11:51:48 +03:00
yi12345 035345dcf9 Merge pull request #271 from Shadowss/patch-31
Fix issue #142 now treasurey and palace can be build only on normal vill...
2013-08-10 12:46:51 -07:00
Shadowss 50a236b9f4 Fix issue #142 now treasurey and palace can be build only on normal village 2013-08-10 10:43:13 +03:00
Shadowss 7d154009fd You can build the brewery only in your capital! Fix issue #147 2013-08-10 10:07:39 +03:00
yi12345 e87b9bca5c update 2013-08-08 13:34:20 +03:00
Shadowss 3b4a0473e8 Update issue with palace
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in/home/traviayu/public_html/s1/Templates/Build/avaliable.tpl on line 291
2013-08-08 11:35:19 +03:00
yi12345 411e43fa4c fix ranking 2013-08-08 00:56:57 +03:00
yi12345 40a3e79076 fix trapper building 2013-07-25 14:42:23 +03:00
yi12345 45e6c4a1e2 fix destroy village bug + more some updates 2013-07-24 14:51:36 +03:00
Shadowss 1dabdf1939 Update : now cannot be build more than one palace per account 2013-07-24 12:00:09 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00