Commit Graph

123 Commits

Author SHA1 Message Date
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 481769b68e fix: undefined index 2017-11-19 11:33:11 +01:00
Martin Ambrus 07e5f322e2 fix: reinforcements sent back do not hide the reinforcements table 2017-11-19 02:33:07 +01:00
Martin Ambrus 258ba60014 fix: undefined index 2017-11-19 02:26:38 +01:00
Martin Ambrus 349115af66 fix: undefined index 2017-11-18 21:19:41 +01:00
Martin Ambrus d17d1f9b32 refactor: last round of database values caching
#313
2017-11-17 19:40:34 +01:00
Martin Ambrus 994cef151c fix: World of Wonder needs additional building plan from lvl 50
The game allowed to build until level 51.
#337
2017-11-10 14:11:38 +01:00
Martin Ambrus ed8628bfb2 fix: constant used as a string 2017-11-08 18:01:00 +01:00
Martin Ambrus 6ef538b365 fix: undefined indexes 2017-11-08 18:00:14 +01:00
Martin Ambrus 7bc1cb751c fix: All Artefact have the same image
Closes #255
2017-11-06 16:14:50 +01:00
Martin Ambrus ee017adb40 refactor: most of broad SELECTs updated
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus 5e4521e62e fix: misspelled session variable 2017-11-03 17:15:16 +01:00
Martin Ambrus a07afeea62 fix: NPC trade on settlers has incorrect values 2017-11-03 16:57:01 +01:00
Martin Ambrus 3863456ac9 fix: all artefacts have the same image
Closes #255
2017-11-03 16:12:04 +01:00
Martin Ambrus 90f8982245 fix: hero dying and revival doesn't work correctly with multiple heroes 2017-11-02 23:59:03 +01:00
Martin Ambrus 7c67e1e7b9 fix: only 1 hero can exist and is deleted upon new hero training start
Closes #261
2017-11-02 11:05:26 +01:00
Martin Ambrus d88a30b0a4 fix: undefined indexes 2017-11-02 07:54:28 +01:00
Martin Ambrus d78f4ecd2d fix: undefined indexes 2017-11-02 00:58:36 +01:00
Martin Ambrus 87c489814b fix: undefined index 2017-11-02 00:54:16 +01:00
Martin Ambrus d9da11ef4b fix: don't show errors and fix that empty value 2017-11-02 00:53:46 +01:00
Martin Ambrus 041726fbd2 fix: undefined indexes 2017-11-01 21:35:24 +01:00
Martin Ambrus c9038e20b8 refactor: alliance and Embassy mechanics refactoring, stage 2 of 3
Everything is now prepared for the last stage, where the code to handle
Embassy destruction during a battle will be added and tested :)

A few Embassy-demolition-related issues have been ironed-out in this
commit as well.
2017-11-01 00:16:52 +01:00
Martin Ambrus 5d91de0e14 feat: new Embassy logic for demolitions and alliance quitting 2017-10-29 23:06:25 +01: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 61a4bba0d4 feat: NPC links in Hero's Mansion 2017-10-22 17:41:38 +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 b63df89034 fix: logs work again (were missing mysqli connection identifier) 2017-10-21 10:45:22 +02:00
Martin Ambrus f4021d1452 feat: MD5 passwords exchanged for bcrypt ones 2017-10-20 12:31:27 +02:00
Martin Ambrus 6d9a93a4d4 fix: typo in escaping function name 2017-10-18 11:17:50 +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
Martin Ambrus 1654ce498f fix: security patching due to mysql injection vulnerabilities everywhere 2017-10-17 12:21:41 +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
cosme12 3c83066222 Master builder fix 2015-08-31 12:12:15 -03:00
cosme12 aed0d130df Master builder fix 2015-08-31 12:10:35 -03:00
cosme12 f7cd705ec2 Update 27_3.tpl 2015-04-08 20:06:42 -03:00
cosme12 57de4f910a Centering upgrade resources 2015-04-08 20:05:10 -03:00
Shadow 3e325ee142 Merge pull request #172 from cosme12/patch-7
Marketplace text fix
2015-04-08 08:11:08 +03:00
cosme12 e45f003088 Marketplace text fix 2015-04-07 20:13:07 -03:00
cosme12 693182399b Building finish alert in Main Building
There was no alert message when clicking the option in the Main Building to finish all construction in exchange of 2 gold.
2015-04-07 19:37:38 -03:00
Shadow 8e6a39a900 Merge branch 'master' of https://github.com/Shadowss/TravianZ
Conflicts:
	GameEngine/Lang/en.php
2014-05-12 08:45:37 +03:00
Shadow e337ac2b4d update 2014-05-12 08:43:32 +03:00
Shadow 554f02389c Merge pull request #155 from armando1980/patch-51
fix lang tempalte/build by: Armando
2014-05-12 08:42:02 +03:00
Shadow 8a8354914e Merge pull request #156 from armando1980/patch-52
fix lang tempalte/build by: Armando
2014-05-12 08:41:57 +03:00
Shadow 98189504cd Merge pull request #157 from armando1980/patch-53
fix lang tempalte/build by: Armando
2014-05-12 08:41:53 +03:00