Commit Graph

152 Commits

Author SHA1 Message Date
Martin Ambrus 5d91de0e14 feat: new Embassy logic for demolitions and alliance quitting 2017-10-29 23:06:25 +01:00
Martin Ambrus 69da66c410 feat: forum notification message has a user link for one who was posting 2017-10-29 13:14:33 +01:00
Martin Ambrus eca2c9105c fix: undefined indexes and variables 2017-10-28 02:18:00 +02:00
Martin Ambrus a9bf045a82 fix: no default means no-future-proof 2017-10-28 01:18:47 +02:00
Martin Ambrus 5a967055f4 refactor: using indexed temporary table as array works speed wonders :) 2017-10-27 21:04:16 +02:00
Martin Ambrus 3200cf2c3c fix: multi_query doesn't block next queries anymore 2017-10-27 19:34:19 +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 91736e6209 fix: dang, type hinting is only for PHP7... bleee :P 2017-10-26 11:43:08 +02:00
Martin Ambrus b12e4ef2b7 fix: show Natar villages in stats when allowed 2017-10-25 23:41:39 +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 b5a0789ff2 fix: we could really use autoloader... later, later... 2017-10-25 18:17:46 +02:00
Martin Ambrus 099a7307e3 fix: new DB class to consider installation 2017-10-25 14:54:23 +02:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +02:00
Martin Ambrus b3feb3f2b1 fix: missing AND 2017-10-24 13:18:48 +02:00
Martin Ambrus 12687766b6 refactor: much speedier installation process 2017-10-23 13:38:32 +02:00
Martin Ambrus b8de6338bf refactor: SQL optimizations 2017-10-23 00:33:13 +02:00
Martin Ambrus 4c072951b5 fix: database is not always needed 2017-10-22 22:04:11 +02:00
Martin Ambrus a163206782 feat: forum post notifications into mailbox 2017-10-22 19:16:43 +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 b7dfa800d3 feat: Admin log in descending order 2017-10-22 12:23:41 +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 10c203dd03 fix: messages sent to Multihunter have correct name shown 2017-10-22 11:26:54 +02:00
Martin Ambrus 40eacecea6 fix: self-kicking from alliance disallowed 2017-10-22 00:31:25 +02:00
Martin Ambrus c262fba318 fix: mysqli_num_rows() has only 1 param 2017-10-21 11:26:37 +02:00
Martin Ambrus 0737b5879d fix: new lines in profile description stripped out and garbled 2017-10-20 12:56:52 +02:00
Martin Ambrus f4021d1452 feat: MD5 passwords exchanged for bcrypt ones 2017-10-20 12:31:27 +02:00
Martin Ambrus b3ae55f48a fix: db query function should not have duplicate escaping 2017-10-20 00:49:39 +02:00
Martin Ambrus 529bb2209c fix: statistics are counting again 2017-10-19 15:04:16 +02:00
Martin Ambrus a9f67cbb1c fix: units training now works again 2017-10-18 10:54:12 +02:00
Martin Ambrus 057f713528 fix: a LOT of manual typecastings for DB values that should be INTs 2017-10-18 00:33:03 +02:00
Martin Ambrus 4ef65860dd fix: this method should really not be escaped... 2017-10-17 18:49:25 +02:00
Martin Ambrus 49fcd5d983 fix: no more errors when alliance is in no wars 2017-10-17 13:43:02 +02:00
Martin Ambrus 71dbed0571 fix: missed-out parameters escaping added 2017-10-17 13:41:12 +02:00
Martin Ambrus ac5d3538f8 fix: mysqli_error needs MySQLi connection as parameter 2017-10-17 13:05:13 +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
Martin Ambrus 74cccb2a74 fix: no time limit for new village creation 2017-10-13 21:01:20 +02:00
Martin Ambrus 52a1a5203b fix: mysql_error() parameters fixed 2017-10-13 20:37:44 +02:00
Martin Ambrus aa25833f1b fix: WW Buildingplan villages have no alliance 2017-10-09 19:15:39 +02:00
Martin Ambruš 4d176084ee fix: undefined variables 2017-10-05 16:21:01 +02:00
Martin Ambrus 4788e882df fix: database file did not have config included in some cases 2017-09-19 21:25:36 +02:00
Martin Ambrus db4c373ace fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones 2017-09-19 20:40:43 +02:00
Martin Ambrus 28c0a199ae fix: SQL optimization 2017-08-28 22:05:16 +02:00
Martin Ambrus dfc076b88d fix: MySQLi DB queries properly given MySQLi link as first param 2017-08-28 18:08:26 +02:00
evader1337 5b73417956 Small changes 2016-09-14 15:05:28 +02:00
evader1337 32e016e948 Improved gold packages 2016-09-14 13:27:49 +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
uroskn 1afde368d3 GameEngine and install folders have 777 already set by default 2016-07-02 21:39:28 +02:00