Commit Graph

8 Commits

Author SHA1 Message Date
iopietro a40accc101 Distance calculation optimization and bug fixing
-Removed a lot of redundant code and put into a function
+Fixed a bug that permitted to found a new village in already founded
village
+Fixed a bug that permitted to found in an oasis
+Fixed a bug that permitted to hack the time you need to found a new
village
+Fixed a bug that permitted to found a new village to an inexistent one
2018-04-29 00:49:24 +02:00
Martin Ambrus 87329832c5 fix: somebody used a diff and left these in :-/ 2017-11-24 23:55:38 +01:00
Shadow 0bfc9d4812 Update Generator.php 2017-01-07 12:20:35 +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
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
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00