iopietro
f156c6bc80
Farm list fixes
...
+Fixed a bug that permitted to attack the same village where the
farmlist was created
2018-05-16 17:36:29 +02:00
iopietro
cf74514451
General fixes
...
+Fixed an exploit that permitted to starts other players' farm lists
+Fixed an exploit that permitted to save our raids to other players'
farm lists
+Fixed an exploit that permitted to edit other players' farm lists
+Fixed a rounding upkeep bug
+Moved the whole startRaid.tpl to a new method in Units.php
+A lot of clean-up
+Improoved indentation
+In the raid list, the "carry" image will now show to the left of an
attack
+Fixed a bug that displayed the wrong loot to returning troops released
by traps
+General minor bug fixing and improovements
-Deleted a lot of redundant code
2018-05-04 22:12:18 +02:00
Martin Ambrus
a3e2ad005d
chore: a nice ToDo :)
2017-11-10 12:40:55 +01:00
Martin Ambrus
767b1727e8
chore: ToDo update
2017-11-06 14:17:38 +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
59e6a309e9
chore: ToDo items moved to issue tracker
2017-11-04 11:12:39 +01:00
Martin Ambrus
949bc88503
chore: little things, little things...
2017-11-04 09:55:08 +01:00
Martin Ambrus
23eed5da53
fix: unable to train settlers if chieftan is present
...
It is debatable whether or not to allow this, since chieftan would be of
no use once we have 3 settlers and settle a new village. However, if we
accidentally created a chieftan, we can't train settlers until we send
the chieftan to his death.
I think this move could be a predule to a later game mechanics, where
chieftan could fight (talk, actually) against chieftan, if one is
present in village, so taking a village over isn't so easy.
2017-11-03 17:23:29 +01:00
Martin Ambrus
660835ee59
chore: some more ToDo notes
2017-11-03 12:56:35 +01:00
Martin Ambrus
cff04310cc
chore: more things to do
2017-11-02 00:10:38 +01:00
Martin Ambrus
71cf0d1ff5
chore: some new ideas and things that needs fixing and checking
2017-11-01 00:20:04 +01:00
Martin Ambrus
7b178e197b
feat: message sender (when reading message) now links to a user
2017-10-29 13:34:05 +01:00
Martin Ambrus
69da66c410
feat: forum notification message has a user link for one who was posting
2017-10-29 13:14:33 +01:00
Martin Ambrus
2ca133f830
chore: a few more ToDos
2017-10-29 13:03:11 +01:00
Martin Ambrus
1066fff9a2
refactor: installation happens at MySQL side
...
A lot has happened here. Here's the list:
1. autoloader was added that should prevent various "failed to open
stream" errors when trying to load new classes
2. PHP-based data generation was replaced by MySQL-based one, hopefully
fixing the installation problems when insert payload it too high and the
DB wouldn't populate with some users
3. thanks to step 2, the installation should be really almost
instantenious, instead of waiting a long time for many SQL connections
and queries to populate the world
4. World Data & Oasis generation and population is done in 1 step now
2017-10-27 18:27:03 +02:00
Martin Ambrus
91736e6209
fix: dang, type hinting is only for PHP7... bleee :P
2017-10-26 11:43:08 +02:00
Martin Ambrus
50a45cc0ac
chore: a new helpful ToDo
2017-10-25 23:41:21 +02:00
Martin Ambrus
ab461e5945
chore: new ToDos
2017-10-25 08:08:50 +02:00
Martin Ambrus
e033f597a9
chore: new ToDo
2017-10-24 20:54:54 +02:00
Martin Ambrus
a33c4e2408
chore: ToDos and new regexes
2017-10-24 19:17:40 +02:00
Martin Ambrus
6ab2cfe896
chore: mostly forum regexes for the debug tool
2017-10-24 13:29:17 +02:00
Martin Ambrus
5567bcd85d
refactor: DB optimizations
2017-10-23 17:50:33 +02:00
Martin Ambrus
b8de6338bf
refactor: SQL optimizations
2017-10-23 00:33:13 +02:00
Martin Ambrus
4c072951b5
fix: database is not always needed
2017-10-22 22:04:11 +02:00
Martin Ambrus
71ad4307e1
refactor: counting users on homepage uses indexes
...
... and some intelligent queries for a change :P
2017-10-22 21:44:33 +02:00
Martin Ambrus
1749ff0c1d
chore: another nice ToDo :)
2017-10-22 21:02:29 +02:00
Martin Ambrus
775e6990fe
chore: ToDo added
2017-10-22 21:00:33 +02:00
Martin Ambrus
53f54ce9e9
feat: Admins can be attacked, raided and traded with via config option
2017-10-22 20:28:03 +02:00
Martin Ambrus
a163206782
feat: forum post notifications into mailbox
2017-10-22 19:16:43 +02:00
Martin Ambrus
2fcaaa3ee8
fix: Natar random attacks while building WW show correct units
2017-10-22 17:55:37 +02:00
Martin Ambrus
61a4bba0d4
feat: NPC links in Hero's Mansion
2017-10-22 17:41:38 +02:00
Martin Ambrus
6f5b464160
fix: quest 1 reloads page to show wood 1 once finished and dialog closes
2017-10-22 17:08:34 +02:00
Martin Ambrus
5dbf799463
fix: installation will not be allowed if old data are still in DB
2017-10-22 16:27:45 +02:00
Martin Ambrus
ff6ca38fbf
feat: in-game messages can be sent as Support when allowed
2017-10-22 16:05:18 +02:00
Martin Ambrus
965ba37f67
feat: Admins can see Support messages if set in config
2017-10-22 14:47:27 +02:00
Martin Ambrus
e4d470693b
fix: correction for message when resetting PLUS bonus in Admin
2017-10-22 13:58:18 +02:00
Martin Ambrus
c7f62f2307
fix: current Quest display in Admin
2017-10-22 13:56:06 +02:00
Martin Ambrus
92d2964b51
feat: mass message sent as Support rather than Multihunter
2017-10-22 13:43:43 +02:00
Martin Ambrus
48cea5ea2b
feat: new messages-related links in Admin
2017-10-22 13:36:12 +02:00
Martin Ambrus
dd90648b09
fix: immediate finish of all building progress redirects correctly
2017-10-22 13:21:36 +02:00
Martin Ambrus
e9e55af338
fix: don't initialize messages if not logged-in
2017-10-22 13:11:19 +02:00
Martin Ambrus
43a2775ebc
chore: some ToDo cleanup
2017-10-22 12:40:03 +02:00
Martin Ambrus
0fee49051f
chore: this ToDo is already done :)
2017-10-22 00:40:51 +02:00
Martin Ambrus
838f6be2d4
fix: message sending to players via Admin now works
2017-10-22 00:39:25 +02:00
Martin Ambrus
40eacecea6
fix: self-kicking from alliance disallowed
2017-10-22 00:31:25 +02:00
Martin Ambrus
e3b6bbeb70
fix: reports pagination stays on subsection, if one is selected
2017-10-22 00:13:08 +02:00
Martin Ambrus
680cb209f4
fix: Enter when editing additional user info in Admin saves data
2017-10-22 00:06:07 +02:00
Martin Ambrus
38a377bec6
fix: gone are invalid <br /> tags when editing user description in Admin
2017-10-21 23:47:42 +02:00
Martin Ambrus
09f44c9846
feat: combat simulator link for non-empty oasis
2017-10-21 23:35:43 +02:00