Commit Graph

785 Commits

Author SHA1 Message Date
Martin Ambrus d9b6eadd1b fix: extra settings correctly keep PLUS and other server settings 2017-10-09 19:45:56 +02:00
Martin Ambrus 1475b1c869 fix: admin settings correctly keep PLUS settings 2017-10-09 19:38:35 +02:00
Martin Ambrus 2f5156cdbc fix: extra settings correctly keep PLUS settings 2017-10-09 19:31:38 +02:00
Martin Ambrus 599bb1a861 fix: newsbox settings correctly keep PLUS settings 2017-10-09 19:31:08 +02:00
Martin Ambrus 2d52e3ede0 fix: log settings correctly keep PLUS settings 2017-10-09 19:30:41 +02:00
Martin Ambrus aa25833f1b fix: WW Buildingplan villages have no alliance 2017-10-09 19:15:39 +02:00
Martin Ambrus 4774d7965b fix: Units class cannot be used as array in PHP 7 2017-10-09 13:08:17 +02:00
Martin Ambruš 73ee3107e1 fix: undefined variables handling 2017-10-05 16:46:23 +02:00
Martin Ambruš 61b6d6b2e8 fix: some undefined variables
more are left here with warnings but the code is spaghetti, so it's
a lot of hide-and-seek fun for later time
2017-10-05 16:42:17 +02:00
Martin Ambruš 4d176084ee fix: undefined variables 2017-10-05 16:21:01 +02:00
Martin Ambruš b579fcac00 fix: PHP <7 constructor 2017-10-05 16:16:07 +02:00
Martin Ambruš 2c66e96083 fix: duplicate constants removal 2017-10-05 16:15:13 +02:00
Martin Ambrus e3b46ed0d0 feat: Admin-configurable PLUS settings 2017-10-04 11:36:52 +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 0ca4c4732f fix: editing server configuration works correctly 2017-09-19 20:38:23 +02:00
Martin Ambrus ae8a552ee7 fix: mysqli_result() function added after conversion from MySQL adapter 2017-08-29 00:07:02 +02:00
Martin Ambrus 7caf6cf501 fix: mysqli_result() function added after conversion from MySQL adapter 2017-08-29 00:05:52 +02:00
Martin Ambrus a7ec4da655 fix: mysqli_result() function added after conversion from MySQL adapter 2017-08-29 00:03:04 +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 814a904343 fix: for multihunters & admins, this select can return 0 rows 2017-08-28 23:56:35 +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
Martin Ambrus 28c0a199ae fix: SQL optimization 2017-08-28 22:05:16 +02:00
Martin Ambrus 921179012e fix: removal a crazy MySQL on-column calculation 2017-08-28 20:33:20 +02:00
Martin Ambrus dfc076b88d fix: MySQLi DB queries properly given MySQLi link as first param 2017-08-28 18:08:26 +02:00
Martin Ambrus 192b45bc05 fix: missing auto-clear constant 2017-08-28 17:38:52 +02:00
Martin Ambrus 1c51f2eec0 chore: HTML fixes from Eclipse 2017-08-28 17:31:55 +02:00
Martin Ambrus 9261a4a4b2 Merge branch 'master' of https://github.com/evader1337/TravianZ into evader1337-master
# Conflicts:
#	GameEngine/Database/db_MYSQL.php
#	Templates/Build/avaliable.tpl
#	Templates/Message/inbox.tpl
2017-08-28 14:18:24 +02:00
Martin Ambrus c7c01dd424 conflict from resolution from TPLinux 2017-08-28 13:54:46 +02:00
Martin Ambrus 98e695d178 Merge pull request #2 from hardwarelayer/dev
add variable validate for functions:
2017-08-28 13:28:53 +02:00
Martin Ambrus ed0b8031aa fix: spies fixed via armando1980 2017-08-28 13:03:19 +02:00
TPLinux 3961ea2a0c Fi winner redirection 2017-06-29 16:30:40 +00:00
TPLinux 83c26c024b Fix reload crush bug 2017-06-29 08:22:28 +00:00
TPLinux 18c423dd5e Fixing finish all with tow gold from dorf(1,2) 2017-06-29 06:03:17 +00:00
Shadow 0739bfffda Update db_MYSQL.php 2017-01-07 12:20:52 +02:00
Shadow 0bfc9d4812 Update Generator.php 2017-01-07 12:20:35 +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 a402b87a53 Trying to fix this monstrosity #3 2016-09-13 19:55:18 +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 1aa5c253b6 add variable validate for functions:
addResourceFields
addVillage
setFieldTaken
register
activate
2016-09-06 22:05:13 +07:00
TienTN b14568c7e0 Fix the session problem
In README note #7
2016-09-04 14:49:47 +07:00
TienTN b37fe776ef 1. Fix to db_MYSQL.php with safe_mysql_fetch_all, and safe_mysql_fetch_array wrappers, to avoid error: fix for Warning: mysql_fetch_all/array() expects parameter 1 to be resource, boolean given
2. Fix to the db_MYSQLi.php in class object declaration(if anybody want to use db_MYSQLi.php again)
2016-08-31 23:07:33 +07:00
uroskn 64aba6ccd2 Removed bunch of dead code from db_MYSQL.php 2016-07-05 03:05:27 +02:00
uroskn 0ea068cfd3 On PHP5.4+ use REQUEST_TIME_FLOAT instead of microtime for starting measurment of page loading time 2016-07-03 12:08:10 +02:00
uroskn 234bd692e4 Page load time is independent on passing second.
Previously page loading time was calculated by taking miliseconds
of current wall clock time. In cases where wall clock went into another
second page loading time was calcualted as negative giving incorrect result.

This patch fixes this by using microtime of wall-clock time in float.
2016-07-03 00:01:15 +02:00
uroskn 1afde368d3 GameEngine and install folders have 777 already set by default 2016-07-02 21:39:28 +02:00
Shadow 7c0aa5a21c fix testing 2016-03-08 11:21:15 +02:00