Commit Graph

1095 Commits

Author SHA1 Message Date
Martin Ambrus b7463cd522 fix: max crop/resources reset to level 1 value temporarily
This happened when level 1 granary / warehouse was built because of
a missing + sign in a formula.

#374
2017-11-27 16:33:10 +01:00
Martin Ambrus faa4fa291e fix: oasis can be conquered with animals in it
#385
2017-11-26 21:41:15 +01:00
Martin Ambrus 89e14abd5e fix: warnings and errors when creating Natars
#384
2017-11-26 21:21:02 +01:00
Martin Ambrus cb60226297 fix: cannot build fields and buildings
#383
2017-11-26 19:02:55 +01:00
Martin Ambrus cb148b9aec fix: sorting in messages and reports does not work
#327
2017-11-26 17:33:10 +01:00
Martin Ambrus d3b51a34ec fix: disallow Natars user registration
#382
2017-11-26 16:56:29 +01:00
Martin Ambrus ef416cd548 fix: horse drinking trough forgives upkeep for all horse units
#105
2017-11-26 16:00:55 +01:00
Martin Ambrus a4bcf0bdfe fix: unable to build with master 2017-11-26 15:17:21 +01:00
Martin Ambrus ec81cb70b8 fix: residence and palace being built together check did not always work 2017-11-26 14:23:01 +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 72599065a9 fix: disallow building non-existing buildings 2017-11-26 12:26:02 +01:00
Martin Ambrus 5dfbd89130 fix: fool's artefact caching returns non-fool artefact data
#313
2017-11-25 20:50:12 +01:00
Martin Ambrus 8d8c96014b refactor: multiple calls to getVSumField() replaced by a single one
#313
2017-11-25 20:29:12 +01:00
Martin Ambrus 446e9b5f1d fix: artefacts couldn't be claimed after last db caching optimizations 2017-11-25 19:26:19 +01:00
Martin Ambrus cca9feaded refactor: s1_bdata table SELECTs optimized and cached
#313
2017-11-25 19:05:01 +01:00
Martin Ambrus f656f631ea refactor: s1_artefact table SELECTs optimized and cached
#313
2017-11-25 18:22:13 +01:00
Martin Ambrus ec234579cc fix: give hero points to spend by the actual number of levels he got 2017-11-25 16:28:28 +01:00
Martin Ambrus 1169b4febb fix: not able to build new buildings 2017-11-25 13:11:22 +01:00
Martin Ambrus bc450c686e fix: not able to upgrade woodcutter fields 2017-11-25 13:01:09 +01:00
Martin Ambrus 8c9cbfee82 fix: possibility to edit somebody else's profile 2017-11-25 12:24:51 +01:00
Martin Ambrus 3196ee9242 fix: possible to build above max level or change standing building type 2017-11-25 12:21:07 +01:00
Martin Ambrus 997b32e174 fix: great warehouse & great granary can be built with right artefact 2017-11-25 11:53:14 +01:00
Martin Ambrus abfcde6e9a fix: build check for village vs non-village buildings 2017-11-25 11:26:10 +01:00
Martin Ambrus 4e51c9c527 fix: fetch all players, not only one for embassy check 2017-11-25 11:19:14 +01:00
Martin Ambrus 56f605eac1 fix: logged-in users with cookies set but database cleared to log out
When switching databse data (for example restoring a backup etc.) and
a user is already logged-in (has a valid cookie, and thus PHP session)
but that user doesn't exist in the database anymore, we need to log them
out, since no data are available for them.
2017-11-25 09:32:21 +01:00
Martin Ambrus 08abff97d1 fix: mysqli_fetch_all() only available with native mysqlnd driver 2017-11-25 09:24:56 +01:00
Martin Ambrus 687dca4cec fix: MySQL 5.7 incompatibility 2017-11-25 01:46:33 +01:00
Martin Ambrus e2ad6d3c2b fix: due to DB inconsistencies, don't check for hero unit in village
#371
2017-11-25 01:41:29 +01:00
Martin Ambrus 571fb9019f fix: hero can be killed even if unit not present anywhere on the map
#371
2017-11-25 01:21:28 +01:00
Martin Ambrus f599e08586 fix: wrong non-multi-array caching of getMovement caused a lot of error
#377
2017-11-25 00:45:33 +01:00
Martin Ambrus 7bc582e674 fix: division by zero 2017-11-25 00:17:26 +01:00
Martin Ambrus 87329832c5 fix: somebody used a diff and left these in :-/ 2017-11-24 23:55:38 +01:00
Martin Ambrus 97fe8ffb25 fix: incorrect return value for getMovement() caused a lot of warnings 2017-11-24 23:45:29 +01:00
Martin Ambrus 56aa916f82 fix: undefined indexes 2017-11-24 18:04:22 +01:00
Martin Ambrus 2bcaeb1fef fix: undefined index 2017-11-24 16:02:54 +01:00
Martin Ambrus 866b0886fe fix: undefined index 2017-11-24 15:59:22 +01:00
Martin Ambrus 0499d58862 fix: disable hack-registering as non-existing or NPC tribe 2017-11-24 10:24:41 +01:00
Martin Ambrus 12fe632bf4 fix: prevent reuse of old attacks by re-POSTing same values 2017-11-24 10:17:54 +01:00
Martin Ambrus c06c62ba6a fix: hero training and revive got messed up 2017-11-22 21:38:57 +01:00
Martin Ambrus 96663574ad fix: compatibility issue with MySQL 5.7 2017-11-22 20:12:31 +01:00
Martin Ambrus a5422130a0 Merge remote-tracking branch 'origin/master' 2017-11-22 19:00:29 +01:00
Martin Ambrus 9d73275522 fix: incorrect hero return time calculation 2017-11-22 18:58:16 +01:00
phaze1G f390388de9 Serbian Language - Not completed yet (#370)
* Srpski jezik

* Serbian Language / Not finished yet.
2017-11-22 18:24:34 +01:00
Martin Ambrus 5492ad29b2 fix: incorrect resources SQL 2017-11-22 16:52:25 +01:00
Martin Ambrus aec0380e17 fix: resources falling to 0 will auto-fill warehouse/crop to max value 2017-11-22 16:29:25 +01:00
Martin Ambrus 6b7424fffb fix: incoming units not shown at rally point 2017-11-22 16:01:12 +01:00
Martin Ambrus 68032702c3 fix: users can't see sent messages
#367
2017-11-22 15:55:17 +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 53fa177671 fix: account activation issues
#344
2017-11-22 13:48:32 +01:00
Martin Ambrus 0134b0abe9 fix: old version cannot save config data anymore 2017-11-22 12:21:16 +01:00