Commit Graph

128 Commits

Author SHA1 Message Date
Martin Ambrus f5ceefebb7 fix: new /var/log folder needs to be chmodded on Linux
The /var/log game folder stores game logs (for now only access log) and
as such must be writable by the server.
2017-10-28 19:02:25 +02:00
Martin Ambrus f5c3e029b5 feat: access log config setting and a real get-post-cookie logger
This is a very naive and primitive logger of user requests to the game.
To be used on systems where access to webserver's log data is not
available (especially if the webserver doesn't store POST data as well).
2017-10-28 18:59:16 +02:00
Martin Ambrus 540e69c8d1 refactor: button disable timeout should be shorter 2017-10-28 10:01:43 +02:00
Martin Ambrus b906e94dcc fix: large map vertical position fix 2017-10-28 00:38:28 +02: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 93fbba445e fix: big map not centered on screen in high resolutions
Closes #239
2017-10-26 21:07:27 +02:00
Martin Ambruš dcde4f9c4d feat: end screen should contain chmod info 2017-10-25 06:55:21 +02:00
Martin Ambrus 30cd0158c3 chore: 2 more indexes 2017-10-24 22:42:05 +02:00
Martin Ambrus 961a11d16a fix: raidable admin in installation script configured properly 2017-10-24 21:29:18 +02:00
Martin Ambrus 19cb9e230c fix: SQL duplication of key 2017-10-24 21:04:33 +02:00
Martin Ambrus 1f4c7768d4 chore: one more SQL optimization to go 2017-10-24 20:54:05 +02:00
Martin Ambrus 042c6012d4 chore: SQL optimizations, indexes 2017-10-24 19:17:26 +02:00
Martin Ambrus adb1aaa860 chore: SQL optimizations, indexes 2017-10-24 13:29:00 +02:00
Martin Ambrus 8cef188fa8 refactor: more SQL optimizations and regexes 2017-10-23 20:26:41 +02:00
Martin Ambrus f6c7128148 chore: more SQL optimizations and regexes for the tool 2017-10-23 19:20:15 +02:00
Martin Ambrus e3ce9427e0 refactor: market SQL optimization 2017-10-23 18:09:41 +02:00
Martin Ambrus 5567bcd85d refactor: DB optimizations 2017-10-23 17:50:33 +02:00
Martin Ambrus 12687766b6 refactor: much speedier installation process 2017-10-23 13:38:32 +02:00
Shadow 50eb34db57 install fix 2017-10-23 12:28:51 +03:00
Martin Ambrus b8de6338bf refactor: SQL optimizations 2017-10-23 00:33:13 +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 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 5dbf799463 fix: installation will not be allowed if old data are still in DB 2017-10-22 16:27:45 +02:00
Martin Ambrus 84e9d4bd80 feat: mysql (without the "i") no longer supported 2017-10-22 16:20:17 +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 4d6b18de4c feat: Support password setting into installation step 2017-10-22 10:42:05 +02:00
Martin Ambrus f4021d1452 feat: MD5 passwords exchanged for bcrypt ones 2017-10-20 12:31:27 +02:00
Martin Ambrus ac5d3538f8 fix: mysqli_error needs MySQLi connection as parameter 2017-10-17 13:05:13 +02:00
Martin Ambrus 42a5a7ce33 chore: index to speed up searching for empty square (new registration) 2017-10-13 20:56:02 +02:00
Martin Ambrus 3322ef3b59 fix: timeout disable for data creation scripts - where it was missing 2017-10-13 12:17:15 +02:00
Martin Ambrus 4a2bf99b04 chore: add missing MySQL index on movement table 2017-10-05 14:42:51 +02:00
Martin Ambrus 450b1890d9 fix: missing quotes for plus config values 2017-10-04 09:20:29 +02:00
Martin Ambrus 3eae6f4adc fix: missing quotes for plus config values 2017-10-04 09:17:51 +02:00
Martin Ambrus 6e7ca63cc1 fix: missing quotes for plus config values 2017-10-04 09:17:31 +02:00
Martin Ambrus 8a1ca0960f feat: PLUS packages configurable during installation 2017-10-04 09:15:40 +02:00
Martin Ambrus 270b3ca432 fix: disable PHP script time limit during installation 2017-10-03 19:14:16 +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 298e6feb58 fix: mysql (without the "i") class returned to its original state
this got replaced by all those mysql-to-mysqli find and replace
mumbo-jumbo tricks :)
2017-08-29 10:49:36 +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 d39220d980 fix: installation_done file creation in root works now 2017-08-28 23:10:54 +02:00
Martin Ambrus 60bd2d4059 chore: inactive users now being auto-logged-out after 1 hour 2017-08-28 23:06:21 +02:00
Martin Ambrus a0072e65d4 chore: restoration of accidentally removed oasis installation step 2017-08-28 22:52:58 +02:00
Martin Ambrus edae50ecb4 fix: removal of non-existant form field replacements 2017-08-28 22:47:48 +02:00
Martin Ambrus 0dffbda620 chore: some SQL indexes fell out of place :P 2017-08-28 22:47:20 +02:00
Martin Ambrus 9a3aff2efe fix: MySQLi in MultiHunter installation step works now :P 2017-08-28 22:22:37 +02:00
Martin Ambrus d8f349d2f3 chore: first wave of SQL updates, mostly adding indexes 2017-08-28 22:07:33 +02:00
Martin Ambrus b4b33f5f5a fix: oasis population installation step uses MySQLi 2017-08-28 17:51:04 +02:00
Martin Ambrus d48e0c02b5 fix: multihunter setup step uses MySQLi 2017-08-28 17:50:27 +02:00
Martin Ambrus d497674bad fix: MySQLi now only enabled during installation 2017-08-28 17:49:37 +02:00