Martin Ambrus
571fb9019f
fix: hero can be killed even if unit not present anywhere on the map
...
#371
2017-11-25 01:21:28 +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
645793dde2
refactor: s1_vdata queries cached and reused
...
#313
2017-11-20 10:10:29 +01: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
67d9a42506
refactor: a lot of Automation foreach loops updated
...
#313
2017-11-19 14:01:30 +01:00
Martin Ambrus
bfc7a2b28a
fix: keeping compatibility with older versions
...
#353
2017-11-17 23:18:40 +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
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
7bc1cb751c
fix: All Artefact have the same image
...
Closes #255
2017-11-06 16:14:50 +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
b01d787627
fix: extra space making location header not work
2017-11-03 20:58:33 +01:00
Martin Ambrus
90f8982245
fix: hero dying and revival doesn't work correctly with multiple heroes
2017-11-02 23:59:03 +01:00
Martin Ambrus
c545304e69
fix: correct rules link
...
Closes #256
2017-11-02 13:40:40 +01:00
Martin Ambrus
945bb2f8c7
fix: too much gold for instant build & research
...
Fixes #257
2017-11-02 13:11:19 +01:00
Martin Ambrus
7c67e1e7b9
fix: only 1 hero can exist and is deleted upon new hero training start
...
Closes #261
2017-11-02 11:05:26 +01:00
Martin Ambrus
4621c29e05
fix: admin session username stored in session
2017-10-28 09:40:23 +02:00
Martin Ambrus
6f7c70a0d7
refactor: autoprefixing class includes
2017-10-28 02:17:43 +02:00
Martin Ambrus
5bae1cfd54
fix: admin DB prefixes to try and find the unfindable database
2017-10-28 00:49:00 +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
30d3b9c4fa
refactor: OOP code movements started :)
2017-10-25 13:38:38 +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
53f54ce9e9
feat: Admins can be attacked, raided and traded with via config option
2017-10-22 20:28:03 +02:00
Martin Ambrus
d9dc875772
fix: hero removal fixed in Admin
2017-10-22 17:41:19 +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
d5e5b40a6f
fix: user field gets Multihunter only when really no ID or name given
2017-10-22 12:21:32 +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
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
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
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
c3ee6a484f
fix: Database class not included in Admin module action
2017-10-20 00:10:48 +02:00
Martin Ambrus
331885a110
fix: remove SQL injections in Admin
2017-10-19 21:17:11 +02:00
Martin Ambrus
ac5d3538f8
fix: mysqli_error needs MySQLi connection as parameter
2017-10-17 13:05:13 +02:00
Martin Ambrus
d9b6eadd1b
fix: extra settings correctly keep PLUS and other server settings
2017-10-09 19:45:56 +02:00
Martin Ambrus
1475b1c869
fix: admin settings correctly keep PLUS settings
2017-10-09 19:38:35 +02:00
Martin Ambrus
2f5156cdbc
fix: extra settings correctly keep PLUS settings
2017-10-09 19:31:38 +02:00