Commit Graph

181 Commits

Author SHA1 Message Date
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 93fbba445e fix: big map not centered on screen in high resolutions
Closes #239
2017-10-26 21:07:27 +02:00
Martin Ambrus 743a6a3f90 fix: open quote was left unattended :P 2017-10-25 23:47:22 +02:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +02:00
Martin Ambrus c7dec214f8 fix: unstupiding stupid SQL 2017-10-24 17:29:22 +02:00
Martin Ambrus b8de6338bf refactor: SQL optimizations 2017-10-23 00:33:13 +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 d1ff824278 fix: troops adjustment form reacts on Enter as well now 2017-10-22 19:56:45 +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 965ba37f67 feat: Admins can see Support messages if set in config 2017-10-22 14:47:27 +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 0e231d3483 chore: cleanup of duplicated unused files 2017-10-22 12:22:10 +02:00
Martin Ambrus 838f6be2d4 fix: message sending to players via Admin now works 2017-10-22 00:39: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 38a377bec6 fix: gone are invalid <br /> tags when editing user description in Admin 2017-10-21 23:47:42 +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 d0a3aaa044 fix: return to server URL correction 2017-10-21 22:33:06 +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 e519826621 feat: Admin page titles update to reflect subpages 2017-10-20 17:29:34 +02:00
Martin Ambrus f4021d1452 feat: MD5 passwords exchanged for bcrypt ones 2017-10-20 12:31:27 +02:00
Martin Ambrus 69902b4af4 fix: Admin Map shows Natars when Player villages are not showing 2017-10-19 23:56:07 +02:00
Martin Ambrus 51cfe8fa3f fix: Multihunter village no longer shows as Natar on Map in Admin 2017-10-19 23:47:41 +02:00
Martin Ambrus 19bc403183 fix: Admin map correctly showing natar villages 2017-10-19 21:32:58 +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 0bba324aa8 fix: password field must be a password type 2017-10-08 12:10:23 +02:00
Martin Ambrus e3b46ed0d0 feat: Admin-configurable PLUS settings 2017-10-04 11:36:52 +02:00
Martin Ambrus 68619ac892 fix: big map centered on page + closeable
This commit also updates the hardcoded cache booster ID, as CSS+JS 
changed to accomplish the map fix.
2017-09-11 21:11:44 +02:00
Martin Ambrus 92b9a7b043 fix: a lot of MySQL calls in templates replaced by MySQLi ones 2017-08-28 23:56:59 +02:00
Martin Ambrus 52ba99d2f0 fix: Admin DB file used MySQLi 2017-08-28 23:32:56 +02:00
Martin Ambrus 399d23cefe fix: MySQLi used in server info Admin template 2017-08-28 23:29:57 +02:00
Martin Ambrus 1c51f2eec0 chore: HTML fixes from Eclipse 2017-08-28 17:31:55 +02:00
evader1337 a402b87a53 Trying to fix this monstrosity #3 2016-09-13 19:55:18 +02:00
Shadow 153d97b7ce fix some undecoded code 2016-03-18 10:30:51 +02:00
Tomas Kasparek ec18bd788c fix PHP Fatal error: Cannot redeclare class Generator on PHP 5.5
PHP 5.5 STL introdouced class Generator and PHP interpret thinks we want to redeclare it -> rename Generator class to something else
2015-07-08 13:35:20 +02:00
Shadow 3dd66f6e9b translate fix 2015-06-22 11:29:40 +03:00
Shadow 2bec69c295 fix mh 2014-12-20 19:43:15 +02:00
Shadow 2bf923020d Resetting Game Server 2014-12-02 09:32:11 +02:00
Shadow ce308e2e9c Resetting Game Server 2014-12-02 09:31:51 +02:00
Shadow e215031011 Resetting Game Server 2014-12-02 09:29:01 +02:00
Shadow 4f1d04e864 Update admin.php 2014-12-02 09:28:08 +02:00
Shadow b781d1f6d1 Update playeradditionalinfo.tpl 2014-11-25 13:58:45 +02:00
Shadow 6deedfc8d7 Update deletion.tpl 2014-10-29 14:27:29 +02:00
Shadow ee29c5bb7f Merge pull request #143 from sempoi/patch-31
Update addUsers.tpl
2014-03-24 07:26:02 +02:00
Shadow 7a0470a30d Merge pull request #142 from sempoi/patch-30
Update village.tpl
2014-03-24 07:25:51 +02:00
Shadow 170f365897 Merge pull request #141 from sempoi/patch-29
Update addABTroops.tpl
2014-03-24 07:25:41 +02:00