Commit Graph

2160 Commits

Author SHA1 Message Date
Martin Ambrus 8f979deba9 fix: wrong user ID being selected via getNotice2() & getNotice3()
#313
2017-11-17 23:15:12 +01:00
Martin Ambrus ffeeac3173 fix: database connection does not include port from config
#353
2017-11-17 22:48:43 +01:00
Martin Ambrus fd20e12d34 fix: $values, not $value
#313
2017-11-17 22:26:06 +01:00
Martin Ambrus 6d0e95670b refactor: messages and reports only loaded on pages where needed
#313
2017-11-17 21:00:00 +01:00
Martin Ambrus db87ce88a7 refactor: getUnit() can take multiple IDs at once
#313
2017-11-17 20:23:01 +01:00
Martin Ambrus d17d1f9b32 refactor: last round of database values caching
#313
2017-11-17 19:40:34 +01:00
Martin Ambrus e2612efbf8 refactor: date column really can't be varchar 2017-11-17 17:20:05 +01:00
Martin Ambrus 1318f34cba refactor: Units class-related caching done
#313
2017-11-17 15:34:08 +01:00
Martin Ambrus 079c830b94 refactor: Technology class-related caching done
#313
2017-11-17 14:36:49 +01:00
Martin Ambrus 282d7f9db8 refactor: real hero check to use a lot less queries 2017-11-17 13:28:21 +01:00
Martin Ambrus bec487cad5 fix: only including village file once 2017-11-17 12:36:45 +01:00
Martin Ambrus 51f354542d fix: village resources display outdated information on page load 2017-11-17 12:36:27 +01:00
Martin Ambrus d138bb4ef7 fix: village renaming doesn't work 2017-11-16 21:58:32 +01:00
Martin Ambrus 8b3abdba94 Merge remote-tracking branch 'origin/master' 2017-11-16 21:51:09 +01:00
Martin Ambrus d0a882f136 fix: maxcrop & maxstore cannot be 0, nor it should be < lowest threshold 2017-11-16 21:49:22 +01:00
Shadow cc676c02f2 Merge pull request #351 from velhbxtyrj/master
Change the description that now corresponds to reality
2017-11-16 09:02:30 +02:00
Vladyslav 75adb96ad9 Update zh_tw.php 2017-11-16 08:53:44 +02:00
Vladyslav 5c05ecf467 Update ru.php 2017-11-16 08:52:17 +02:00
Vladyslav 2f295b6795 Update es.php 2017-11-16 08:51:08 +02:00
Vladyslav c01b35534f Update en.php 2017-11-16 08:46:51 +02:00
Martin Ambrus d3ec209ad8 refactor: village-related methods now all optimized 2017-11-15 23:33:07 +01:00
Martin Ambrus 612661c9f0 refactor: units DB values caching 2017-11-15 23:20:14 +01:00
Martin Ambrus 6ccc72350d fix: recountPop() already calls procClimbers() internally 2017-11-15 22:23:57 +01:00
Martin Ambrus c7acc523ea fix: prune methods to include storage multiplier
Also, the updateStore() method does not need to concern itself with
villages without warehouses and granaries, as they have already been
tended by prune methods beforehead.
2017-11-15 22:17:11 +01:00
Martin Ambrus 38c4172a43 fix: class must start with a constructor, we shouldn't be looking for it 2017-11-15 22:05:52 +01:00
Martin Ambrus a8b8664e07 fix: Automation::updateStore() shouldn't be called twice 2017-11-15 22:00:18 +01:00
Martin Ambrus 33ab908744 Merge remote-tracking branch 'origin/master' 2017-11-15 20:21:23 +01:00
Martin Ambrus dab768f662 refactor: 1st round of database values caching 2017-11-15 16:01:00 +01:00
Martin Ambrus 06161dd5f9 fix: undefined variables 2017-11-15 15:39:15 +01:00
Shadow 63eae219d4 vacation mode enabled only for username Shadow 2017-11-14 13:43:27 +02:00
Shadow fbbe815e3f not fixed , dont receive error for sending resource 2017-11-14 13:41:30 +02:00
Shadow 3a7ff0dddc fix vacation mode for market 2017-11-14 13:15:36 +02:00
Vladyslav 918c12bace fix: The same location of the list of villages on all pages in the sidebar (#347)
On some page the list went up. Now he is on the same level.
2017-11-13 22:00:02 +01:00
Martin Ambrus 785a371871 fix: alleviating the bad math, which is impossible to quick-fix for me 2017-11-13 19:04:24 +01:00
Martin Ambrus bdfe99b7f6 fix: alleviating the bad math, which is impossible to quick-fix for me 2017-11-13 19:03:59 +01:00
Martin Ambrus c6d9d264ce fix: this can sometimes go above current building level 2017-11-13 17:19:18 +01:00
Martin Ambrus 35512d16f0 refactor: 5th round of sendunitsComplete() optimizations 2017-11-13 17:02:58 +01:00
Martin Ambrus e798635ebb fix: setVillageLevel() tried to execute wrong SQL
+ some more methods for later refactor commit
2017-11-13 17:01:36 +01:00
Martin Ambrus 05d3b676a2 fix: Lang folder letter case correction
#346
2017-11-13 12:00:34 +01:00
Martin Ambrus a4c05092b2 chore: cleanup 2017-11-12 10:37:05 +01:00
Martin Ambrus 3d44226c92 refactor: more caching where possible
This also fixes "Multihunter" being stated as the one attacking
reinforcements in villages during battle (now stores real attacker ID).
2017-11-12 10:36:53 +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 603d28f31a fix: MySQL 5.7 compatibility + undefined variables 2017-11-10 14:07:32 +01:00
Martin Ambrus c07dd99627 fix: this should work but doesn't, so I'm reverting it back 2017-11-10 13:27:54 +01:00
Martin Ambrus 49d64de54b chore: badge on top looks nicer :P 2017-11-10 12:41:50 +01:00
Martin Ambrus 0c3579e5da Merge remote-tracking branch 'origin/master' 2017-11-10 12:41:02 +01:00
Martin Ambrus a3e2ad005d chore: a nice ToDo :) 2017-11-10 12:40:55 +01:00
Martin Ambrus bc3a20a8db fix: Natars user not shown in statistics
#332
2017-11-10 12:39:32 +01:00
Shadow 777faf77c8 Merge pull request #336 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2017-11-10 13:04:23 +02:00
The Gitter Badger ff236b5e22 Add Gitter badge 2017-11-10 11:00:22 +00:00