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
b12e4ef2b7
fix: show Natar villages in stats when allowed
2017-10-25 23:41:39 +02:00
Martin Ambrus
7def98f081
feat: Farms generation via Admin must be fair (= random all over map)
2017-10-25 18:42:13 +02:00
Martin Ambrus
b5a0789ff2
fix: we could really use autoloader... later, later...
2017-10-25 18:17:46 +02:00
Martin Ambrus
df5400be79
fix: unstupiding my own stupidity :-D
2017-10-25 17:18:40 +02:00
Martin Ambrus
099a7307e3
fix: new DB class to consider installation
2017-10-25 14:54:23 +02:00
Martin Ambrus
30d3b9c4fa
refactor: OOP code movements started :)
2017-10-25 13:38:38 +02:00
Martin Ambrus
dc0e6b6941
fix: undefined index
2017-10-25 08:08:49 +02:00
Martin Ambrus
d6c517bba6
refactor: this would use a database index
2017-10-24 22:40:25 +02:00
Martin Ambrus
ffd3bf373c
fix: non-numeric values could be present for empty values
2017-10-24 17:20:32 +02:00
Martin Ambrus
b3feb3f2b1
fix: missing AND
2017-10-24 13:18:48 +02:00
Martin Ambrus
aab1010906
fix: super-strange id + 0 query that totally prevents the use of indexes
2017-10-24 09:55:18 +02:00
Martin Ambrus
d12be30634
fix: commenting-out BBCode dynamic replacements, as they are broken
2017-10-24 09:31:43 +02:00
Martin Ambrus
40ad09865c
fix: a possible fix for duplicating unit IDs and creating wrong SQL
2017-10-23 17:50:13 +02:00
Martin Ambrus
12687766b6
refactor: much speedier installation process
2017-10-23 13:38:32 +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
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
d9dc875772
fix: hero removal fixed in Admin
2017-10-22 17:41:19 +02:00
Martin Ambrus
11c4541f48
fix: registrations work again
2017-10-22 16:33:58 +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
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
7270a69a63
fix: all location headers need to have exit after them!
2017-10-22 13:00:54 +02:00
Martin Ambrus
b7dfa800d3
feat: Admin log in descending order
2017-10-22 12:23:41 +02:00
Martin Ambrus
d5e5b40a6f
fix: user field gets Multihunter only when really no ID or name given
2017-10-22 12:21:32 +02:00
Martin Ambrus
10c203dd03
fix: messages sent to Multihunter have correct name shown
2017-10-22 11:26:54 +02:00
Martin Ambrus
a059aac482
fix: Send merchants link would not work for Support
2017-10-22 11:21:51 +02:00
Martin Ambrus
8c61c6ec63
feat: Support can join game and see messages
2017-10-22 11:19:38 +02:00
Martin Ambrus
90db6539c1
fix: correcting Automation calculations on returning units
2017-10-22 10:25:39 +02:00
Martin Ambrus
40eacecea6
fix: self-kicking from alliance disallowed
2017-10-22 00:31:25 +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
a43afc7233
fix: Support, Taskmaster & Multihunter not shown in stats
2017-10-21 23:44:57 +02:00
Martin Ambrus
09f44c9846
feat: combat simulator link for non-empty oasis
2017-10-21 23:35:43 +02:00
Martin Ambrus
a7cd9c8a0c
fix: errors with empty post data in combat simulator
2017-10-21 22:57:08 +02:00
Martin Ambrus
77a1d9879d
fix: Great Workshop shown as error in Admin (editing Village)
2017-10-21 22:38:01 +02:00
Martin Ambrus
78694da32b
fix: player deleting & password checks work as intended
2017-10-21 11:30:38 +02:00
Martin Ambrus
c262fba318
fix: mysqli_num_rows() has only 1 param
2017-10-21 11:26:37 +02:00
Martin Ambrus
b63df89034
fix: logs work again (were missing mysqli connection identifier)
2017-10-21 10:45:22 +02:00
Martin Ambrus
9391553dcb
feat: front-end page names
2017-10-20 18:17:42 +02:00
Martin Ambrus
0737b5879d
fix: new lines in profile description stripped out and garbled
2017-10-20 12:56:52 +02:00
Martin Ambrus
cc51e9ad91
fix: DB class not included in some admin actions
2017-10-20 12:47:39 +02:00
Martin Ambrus
f4021d1452
feat: MD5 passwords exchanged for bcrypt ones
2017-10-20 12:31:27 +02:00
Martin Ambrus
606d0a6ad2
fix: DB class not included
2017-10-20 11:04:28 +02:00
Martin Ambrus
590892348a
fix: potential SQL injection
2017-10-20 00:52:47 +02:00
Martin Ambrus
b3ae55f48a
fix: db query function should not have duplicate escaping
2017-10-20 00:49:39 +02:00