Commit Graph

27 Commits

Author SHA1 Message Date
Martin Ambrus 282d7f9db8 refactor: real hero check to use a lot less queries 2017-11-17 13:28:21 +01:00
Martin Ambrus dab768f662 refactor: 1st round of database values caching 2017-11-15 16:01:00 +01:00
Martin Ambrus ee017adb40 refactor: most of broad SELECTs updated
Closes #301
2017-11-05 14:35:19 +01:00
Martin Ambrus 6bbeb0c574 fix: session login check for admin 2017-10-28 11:25:50 +02:00
Martin Ambrus 6f7c70a0d7 refactor: autoprefixing class includes 2017-10-28 02:17:43 +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 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 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 8c61c6ec63 feat: Support can join game and see messages 2017-10-22 11:19:38 +02:00
Martin Ambrus 6f3973748c fix: more manual typecastings 2017-10-18 00:59:49 +02:00
Martin Ambrus ee467fe734 fix: sanitization of username in session where used directly in queries 2017-10-17 13:18:26 +02:00
Martin Ambrus 80c70f0f13 fix: no double-escaping of SQL queries for login 2017-10-17 12:59:03 +02:00
Martin Ambrus 1654ce498f fix: security patching due to mysql injection vulnerabilities everywhere 2017-10-17 12:21:41 +02:00
evader1337 2d26af7c46 Trying to fix this monstrosity #2 2016-09-13 18:54:25 +02:00
Domen Kajdič 2cf2f3c343 Trying to fix this monstrosity #1 2016-09-13 15:38:14 +02:00
TienTN b14568c7e0 Fix the session problem
In README note #7
2016-09-04 14:49:47 +07:00
uroskn 1afde368d3 GameEngine and install folders have 777 already set by default 2016-07-02 21:39:28 +02:00
Shadow ff5ca62a1e credits 2015-06-22 08:20:34 +03:00
sempoi 3cd3ac31a4 Update Session.php 2014-03-08 20:31:45 +08:00
Shadow 66b15135fe Update Session.php 2014-03-04 08:22:58 +02:00
Shadow c92ac12b52 Update Session.php 2013-12-21 10:16:36 +02:00
Shadow db6b3df4b9 Update Session.php 2013-12-04 08:24:40 +02:00
Shadow b306540375 Update Session.php 2013-11-08 09:52:31 +02:00
Shadowss c380ec5432 fix hero 2013-11-01 09:33:34 +02:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00