Commit Graph

1066 Commits

Author SHA1 Message Date
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
Martin Ambrus 30fc76e85b fix: old version cannot save config data anymore 2017-11-22 12:20:05 +01:00
Martin Ambrus 65a62becc2 fix: rat reinforcement does not arrive due to a wrong reinfs check
#366
2017-11-22 11:47:17 +01:00
Martin Ambrus 1b25c4c178 fix: s1_research must not cache on second village data load
#313
2017-11-21 01:34:11 +01:00
Martin Ambrus 56565ef8dd fix: s1_abdata caching doesn't give data
#313
2017-11-21 01:19:59 +01:00
Martin Ambrus 80160d683e refactor: s1_wdata caching implemented
#313
2017-11-21 00:59:06 +01:00
Martin Ambrus 676de95764 refactor: s1_hero to update last timestamps in a single query
#313
2017-11-21 00:22:30 +01:00
Martin Ambrus 572c99559c refactor: s1_research caching implemented
#313
2017-11-21 00:01:30 +01:00
Martin Ambrus bc2eaa1380 refactor: s1_abdata & s1_tdata caching implemented
#313
2017-11-20 23:46:45 +01:00
Martin Ambrus 3792fd5ed5 refactor: s1_prisoners caching implemented
#313
2017-11-20 23:22:56 +01:00
Martin Ambrus 06d468ce6f refactor: s1_odata caching implemented
#313
2017-11-20 22:58:49 +01:00
Martin Ambrus 82a0c0ad07 fix: s1_enforcement caching improved
#313
2017-11-20 22:33:35 +01:00
Martin Ambrus f58878abfa fix: s1_vdata caching correction
#313
2017-11-20 21:25:11 +01:00
Martin Ambrus 4612125f0f refactor: s1_movement caching implemented
#313
2017-11-20 20:54:34 +01:00
Martin Ambrus 13cccebf94 refactor: s1_enforcement caching implemented
#313
2017-11-20 17:55:27 +01:00
Martin Ambrus ceeb6a3a9b refactor: s1_units caching implemented
#313
2017-11-20 16:17:26 +01:00
Martin Ambrus 64d7d158c7 refactor: s1_fdata caching implemented
#313
2017-11-20 15:41:29 +01:00
Martin Ambrus 91049ae034 refactor: no need for 2 timestamp updates
#313
2017-11-20 15:25:14 +01:00
Martin Ambrus a4ce48ca38 refactor: s1_vdata sometimes didn't get cached
#313
2017-11-20 14:11:45 +01:00
Martin Ambrus 4a7ab1f81a fix: quests do not progress
#354
2017-11-20 11:06:54 +01:00
Martin Ambrus b7e9c4edcb fix: max units count shown as infinity 2017-11-20 10:15:54 +01:00
Martin Ambrus 582d9644fc Merge remote-tracking branch 'origin/master' 2017-11-20 10:10:41 +01:00
Martin Ambrus 645793dde2 refactor: s1_vdata queries cached and reused
#313
2017-11-20 10:10:29 +01:00
Shadow e34b6e68f7 fix #359 2017-11-20 09:51:19 +02:00
Martin Ambrus 0984c7ef34 fix: DB connection is global and tries 2 tested ways to connect
Some installations seem to support localhost:port for 1st parameter of
mysqli_connect(), others will only support the official parameters with
port towards the end. This fix tries them both - first the official one,
then the localhost:port one.

Also, there were a lot of mysqli_connect()'s inside Admin mods. These
now also use the central Database class.
2017-11-20 01:09:49 +01:00
Martin Ambrus c27b397016 refactor: preparation to vdata queries consolidation
#313
2017-11-20 00:52:24 +01:00
Martin Ambrus 66132a7cdf refactor: Session.php only included once, login procedure optimization
#313
2017-11-20 00:39:37 +01:00
Martin Ambrus cb843dda57 refactor: getVSumField() in Automation replaced by direct update instead
#313
2017-11-20 00:13:52 +01:00
Martin Ambrus 1747a26c1e fix: cannot send traders to village determined by a village name 2017-11-19 23:37:38 +01:00
Martin Ambrus 37c53a30f5 fix: undefined index 2017-11-19 20:41:35 +01:00