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
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
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
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
90f8982245
fix: hero dying and revival doesn't work correctly with multiple heroes
2017-11-02 23:59:03 +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
5bae1cfd54
fix: admin DB prefixes to try and find the unfindable database
2017-10-28 00:49:00 +02:00
Martin Ambrus
30d3b9c4fa
refactor: OOP code movements started :)
2017-10-25 13:38:38 +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
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
f4021d1452
feat: MD5 passwords exchanged for bcrypt ones
2017-10-20 12:31:27 +02:00
Martin Ambrus
331885a110
fix: remove SQL injections in Admin
2017-10-19 21:17:11 +02:00
Martin Ambrus
db4c373ace
fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones
2017-09-19 20:40:43 +02:00
Martin Ambrus
cbb9d40fd0
fix: correction of order of MySQLi parameters in mysqli_query()
2017-08-28 23:33:28 +02:00
Martin Ambrus
0f93a79a23
fix: database class in admin area now being loaded correctly
2017-08-28 23:18:32 +02:00
evader1337
a402b87a53
Trying to fix this monstrosity #3
2016-09-13 19:55:18 +02:00
Domen Kajdič
2cf2f3c343
Trying to fix this monstrosity #1
2016-09-13 15:38:14 +02:00
uroskn
1afde368d3
GameEngine and install folders have 777 already set by default
2016-07-02 21:39:28 +02:00
Shadow
fa52446234
Update database.php
2014-03-06 07:33:26 +02:00
Shadow
cca7f5f1b4
credits
2014-03-05 09:01:50 +02:00
Shadow
19767cf6a6
update admin panel
2014-03-04 12:44:25 +02:00
yi12345
f0024248d5
fix delete player in admin panel
2013-09-12 21:23:24 +03:00
yi12345
98e94af807
finish hero_full.php
2013-06-16 10:38:34 +03:00