iopietro
d3ae7b8b21
Fixed some bugs in the alliance
...
+Fixed a bug that permitted to create an alliance while already being in
an alliance
+Fixed a bug that permitted to create an alliance with an embassy of
level 3 or lower (or even without an embassy)
+Fixed a bug that permitted to set the max numbers of players during the
creation of an alliance, by hacking the building id passed in a post
request
+Fixed some redirect issues
2018-04-13 02:00:37 +02:00
iopietro
21179d346f
Fixed some bugs and errors
...
+Part 1 of the starvation refactor, attacking troops will now be killed
+Fixed some errors in Units.php, Technology.php, Battle.php and some
16_incomming.tpl
-Removed an unused function in Database.php
+Fixed a bug that could have destroyed a village after taking an
artefact even if it had more than 0 pop
2018-04-09 21:31:50 +02:00
iopietro
9e44c1cd6d
Some replacements
...
+Replaced all $GLOBALS['link'] with $database->dblink
-Removed Templates/links.tpl from build.php (it's already in
Templates/menu.tpl)
2018-04-08 19:55:28 +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
d236a21d38
Fixed some bugs
...
+Level upgrades in Blacksmith and Armoury are now shown correctly
+Corrected a typo
+Upgrades in the Blacksmith and the Armoury should be ordered correctly
2018-04-07 23:15:23 +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
iopietro
f341c209b8
Added a new feature and some clean-up
...
Added the research loop in the blacksmith and in the armoury, only for
plus users. This was a not coded T3.6 feature.
"Total resources required" (for NPC merchants) are now calculated
correctly in the Armoury.
Some clean-up in Technology.php
2018-04-06 21:59:04 +02:00
iopietro
eb041f5cd9
Fixed a bug in the rally point
...
The name of the attacked oasis and the link connected to it, are now
shown correctly.
2018-04-06 19:53:41 +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
02d79777f1
Fixed a bug in the troops training
...
Troops can now be trained in 0 seconds.
2018-04-05 03:05:57 +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
2619326732
A little forgetfulness
...
Removed the possibility to see the catapult target(s) when attacking an occupied oasis.
2018-04-04 21:46:05 +02:00
Pietro
b881605cbc
Added a new functionality
...
This is a T4+ functionality, but it's very useful. Catapult target(s) are now shown in the rally point, under the amount of attacking troops.
2018-04-04 21:38:57 +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
370acfb5b6
Clean-up
...
Removed an unused code.
Centered the "Name Changed" string.
2018-04-03 16:15:02 +02:00
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