Commit Graph

142 Commits

Author SHA1 Message Date
Pietro 49ebbee747 Fixed a demolition bug
Resource fields can't be demolished anymore
2018-04-03 13:56:13 +02:00
Pietro 1108871e9e Fixed a bug in the hero's mansion
You can't assign an empty name to an hero anymore.
The new name will be displayed correctly (instead of the old name) after renaming your hero.
2018-04-03 02:23:57 +02:00
Pietro a8e39468b4 Fixed a little thing
Corrected the embassy requirements
2018-04-02 17:23:55 +02:00
Pietro cfc64aacc8 Fixed an exploit in the Hero's mansion
With this exploit you can release any conquered oasis
2018-04-01 18:37:10 +02:00
AL-Kateb 454106dfce Removed a debugging echo 2018-01-22 11:05:21 +00:00
Martin Ambrus 68c491509c Merge pull request #461 from velhbxtyrj/patch-5
Embellishment treasury. Part 2
2018-01-06 13:50:57 +01:00
Vladyslav 6457c67dbc Embellishment treasury. Part 2
Removed unnecessary (empty) line in the bottom of the table with the artefacts on page Large artefacts.
2018-01-06 02:15:58 +02:00
Vladyslav 2f9b96e226 Embellishment treasury. Part 1
Removed unnecessary (empty) line in the bottom of the table with the artefacts on page Small artefacts .
2018-01-06 02:15:25 +02:00
AL-Kateb 00da54dcae Minor fix, corrected upgrade.tpl for NPC button 2017-12-31 18:29:20 +00:00
AL-Kateb 5466aa2af1 NPC button no longer appears if combined resources are not enough 2017-12-31 18:19:05 +00:00
Martin Ambrus 43dfea920b fix: unable to attack players with Multihunter access rights 2017-12-02 14:18:28 +01:00
Martin Ambrus cbc404e740 fix: warning with 0 heroes
#341
2017-12-01 21:29:26 +01:00
Martin Ambrus 0d0dc548c1 fix: spending hero points subtracts these from all player's heroes
#341
2017-12-01 12:53:05 +01:00
Martin Ambrus bc4687bf76 fix: hero training and revival misbehaving 2017-12-01 12:29:32 +01:00
Martin Ambrus 3ccdbec06d fix: invalid next level info with Master builder the only item in queue
#257
2017-11-26 15:25:36 +01: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 c06c62ba6a fix: hero training and revive got messed up 2017-11-22 21:38:57 +01:00
Martin Ambrus 9d73275522 fix: incorrect hero return time calculation 2017-11-22 18:58:16 +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 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