Martin Ambrus
dc22a45c8a
fix: time not selected in general stats, making casualties 0 per day
2017-11-09 23:54:55 +01:00
Martin Ambrus
b6652cbb32
fix: ban cleanup removes bans on users who are banned forever
...
#325
2017-11-09 23:41:51 +01:00
Martin Ambrus
4e5e52f421
fix: immediate finish (PLUS) allows master builder to build 2 levels
2017-11-09 22:35:29 +01:00
Martin Ambrus
29d638b7f7
refactor: 4th round of sendunitsComplete() optimizations + market fix
...
Sending units more than 1x (with PLUS) didn't work after the first
market refactor.
2017-11-09 21:38:30 +01:00
Martin Ambrus
2ba0500433
fix: this cannot be in production
2017-11-09 14:24:01 +01:00
Martin Ambrus
371c717702
refactor: 3rd round of sendunitsComplete() optimizations
2017-11-09 14:22:15 +01:00
Martin Ambrus
b1b1581f4c
refactor: 2nd round of sendunitsComplete() optimizations
2017-11-09 00:43:10 +01:00
Martin Ambrus
0a541d5bd3
fix: reverting possibility of settlers & chieftain creation side-by-side
...
Turns out we could conquer a village and then settle a new one without
having enough expansion slots. Thus this is a revert to original state,
where we can't train settlers with chieftain in village or chieftain
with settlers in village, if we don't have enough slots.
Closes #324
2017-11-09 00:08:40 +01:00
Martin Ambrus
50f0cae495
refactor: 1st round of sendunitsComplete() optimizations
2017-11-08 23:43:28 +01:00
Martin Ambrus
0c44b93bc0
fix: this got commented-out by a debug mistake :-O :-/ :-(
2017-11-08 19:21:00 +01:00
Martin Ambrus
151553735d
refactor: setMovementProc() to take one or multiple IDs for update
2017-11-08 18:21:30 +01:00
Martin Ambrus
21d6874325
refactor: marketComplete() to use less queries and caching
2017-11-08 18:12:54 +01:00
Martin Ambrus
159de207c9
refactor: get and set multiple fields at once
2017-11-08 17:46:18 +01:00
Roy Shum
aa570c1bcb
fix resource limit ( #322 )
2017-11-08 17:29:23 +01:00
Martin Ambrus
b85abeaf78
refactor: optimization of buildComplete() code
2017-11-08 16:57:58 +01:00
Martin Ambrus
5db951c135
refactor: optimization to update of oasis and village resources
2017-11-08 15:46:08 +01:00
Martin Ambrus
c638c67624
refactor: preparation to take batches of data in prepared statements
2017-11-08 13:49:58 +01:00
Martin Ambrus
59c7fdd3c0
refactor: Nature no longer sends automated notification, Taskmaster does
2017-11-08 11:02:15 +01:00
Martin Ambrus
4bef1eb402
fix: cannot delete account via profile Account page
...
Closes #312
2017-11-08 10:48:10 +01:00
Martin Ambrus
6fa9058c43
fix: attack duplication
...
Closes #259
2017-11-08 10:34:30 +01:00
Martin Ambrus
8e0b81d8dc
fix: hero duplication on reinforcements with MySQL 5.7+
2017-11-08 09:32:42 +01:00
Martin Ambrus
2b17754066
fix: message sending always comes from nature
2017-11-08 08:57:01 +01:00
Roy Shum
5b7bc2a5c3
improve performance on updatestore
2017-11-08 14:50:49 +08:00
Martin Ambrus
19770a5418
fix: master builder auto-increments building level with low resources
...
When we don't have enough resources, the building level still got
increased when using master builder in the queue and then using instant
build.
Relates to #290
Relates to #257
2017-11-07 19:48:32 +01:00
Martin Ambrus
9a3cb7dc5c
feat: send alliance invite to in-game messages
...
Closes #277
2017-11-07 19:17:39 +01:00
Martin Ambrus
312507fe9f
feat: MySQL port into installation options
...
Closes #279
2017-11-07 12:30:32 +01:00
Martin Ambrus
8f009afc9d
chore: this file is duplicated & needs to be copied over during install
...
Instead of having 2 same files on 2 different locations, copy&paste this
template when installing the game.
2017-11-07 11:41:18 +01:00
Martin Ambrus
8a7f12268c
fix: logging works, tech log link added to Admin
2017-11-07 10:34:50 +01:00
Martin Ambrus
2bae5f21c6
fix: stating real punishment in log
2017-11-07 10:05:55 +01:00
fixMartin Ambrus
0ddb0e691b
fix: new village added via Admin to bear player's username
2017-11-07 10:01:28 +01:00
Martin Ambrus
7f16182e76
fix: oasis can be deleted (un-conquered) via Admin
...
Closes #283
2017-11-06 21:15:23 +01:00
Martin Ambrus
4e91b02f07
fix: removing single medal from player
...
Relates to #283
2017-11-06 21:05:28 +01:00
Martin Ambrus
fcf1a15c64
fix: BBCode replacements in messages
...
Closes #289
2017-11-06 20:52:24 +01:00
Martin Ambrus
f7d8da5a41
fix: Master builder can build above warehouse/granary requirements
...
Closes #290
2017-11-06 18:49:03 +01:00
Martin Ambrus
5f5dfb978e
fix: here movement between villages requires hero to travel alone
...
Closes #272
2017-11-06 18:16:54 +01:00
Martin Ambrus
7bc1cb751c
fix: All Artefact have the same image
...
Closes #255
2017-11-06 16:14:50 +01:00
Martin Ambrus
9514976c15
fix: attacks on oasis result in assigning them to Multihunter
2017-11-06 15:11:57 +01:00
Martin Ambrus
1301e1eb4a
fix: use strings instead of undefined constants
2017-11-06 14:17:52 +01:00
Martin Ambrus
5a929457c0
fix: unable to determine attack type
2017-11-06 14:01:24 +01:00
Martin Ambrus
9db31ff311
fix: wrong forum link field
2017-11-05 16:03:51 +01:00
Martin Ambrus
18b5665b7d
fix: master builder takes no resources in insta-build
...
Closes #270
2017-11-05 15:48:22 +01:00
Martin Ambrus
8933b0b55f
fix: master builder doesn't subtract gold but insta-builds anyway
2017-11-05 15:04:20 +01:00
Martin Ambrus
ee017adb40
refactor: most of broad SELECTs updated
...
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus
ee285a4ed8
fix: units not returning from attack and staying as reinforcements
2017-11-05 09:17:43 +01:00
Martin Ambrus
57057384d3
refactor: SELECT * replaced by SELECT fieldname1, fieldname2 ...
...
So far in a few places.
2017-11-05 09:03:59 +01:00
Martin Ambrus
f485f69e0a
fix: clear all remaining village troops when conquering a village
...
Closes #269
2017-11-05 00:08:22 +01:00
Martin Ambrus
1767b591d4
refactor: online users in Admin sorted by 1) access, 2) username
2017-11-04 22:04:21 +01:00
Martin Ambrus
77fd3a7e5f
refactor: online users in Admin sorted by 1) access, 2) lastupdate
2017-11-04 22:03:33 +01:00
Martin Ambrus
a822504706
fix: counting queries optimization
...
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus
36bfb2b8f7
fix: alliance deletion check
2017-11-04 10:32:30 +01:00