Commit Graph

39 Commits

Author SHA1 Message Date
Catalin Novgorodschi 59c1114b1c Change some text on license TravianZ 2025-02-11 11:22:22 +02:00
nixpc e39ca488a9 Fix CVE-2023-36995 2023-07-06 23:02:00 +02:00
Shadow 4c68d8dd39 Update to version 8.3.5
Many Fixes
2022-02-18 13:56:17 +02:00
iopietro a8d6b9c357 General fixes
+Fixed a bug that didn't permit to change the name or the Tag of the
alliance individually
+Fixed a bug that didn't count the population growth sometimes
+Fixed a bug that didn't halve the population consumption in WW villages
2018-06-08 19:15:39 +02:00
iopietro f7e05c9802 Optimizations
-Removed the "sort_type" 6 from the movement table, looted resources
will now be saved in the "sort_type" 4 returing attack.
This reduces a lot the spam in the tables "send" and "movement" of the
database
-Removed some useless methods in Database.php and Message.php
+Optimized report loading, own report will be loaded only once (and not
twice at random) and allied reports aren't loaded anymore
+Minor improovements and better indentation
2018-05-05 17:54:34 +02:00
iopietro cf74514451 General fixes
+Fixed an exploit that permitted to starts other players' farm lists
+Fixed an exploit that permitted to save our raids to other players'
farm lists
+Fixed an exploit that permitted to edit other players' farm lists
+Fixed a rounding upkeep bug
+Moved the whole startRaid.tpl to a new method in Units.php
+A lot of clean-up
+Improoved indentation
+In the raid list, the "carry" image will now show to the left of an
attack
+Fixed a bug that displayed the wrong loot to returning troops released
by traps
+General minor bug fixing and improovements
-Deleted a lot of redundant code
2018-05-04 22:12:18 +02:00
iopietro 56e280f436 Artifacts fixes part 4
Completely fixed the artifact of the fool and fixed all kind of
artifact:

+Deleted some useless .tpl files and merged into one (Stable)
+The artifact of the fool effect won't be displayed if not active
+Fixed a bug that permitted to have a great and a unique artefacts
active at the same moment
+Big reductions of code in a lot of files
+Created some new methods to support artifacts
+Fixed a bug that prevented the effect of the "Rivals confusion" to work
correctly
+Fixed a bug that prevented "The eagles eyes" artifact to work correctly
for the attacker
+Fixed the artifact of the fool of every kind, now it's calculated with
a new method
+Fixed the cranny capacity when a "Rivals confusion" artifact is active
+Some minor bug fixing , improovements and optimization
2018-04-26 20:37:47 +02:00
Martin Ambrus 879e4952ce fix: fail to delete heroes from a village that's being removed via Admin 2017-12-26 20:27:30 +01:00
Martin Ambrus b261212d12 fix: expansion slots not being cleared up upon village destruction
#400
2017-12-02 16:17:47 +01:00
Martin Ambrus 0d65029db4 fix: adding new village via Admin generates incorrect fields 2017-12-01 19:26:30 +01:00
Martin Ambrus 645793dde2 refactor: s1_vdata queries cached and reused
#313
2017-11-20 10:10:29 +01:00
Martin Ambrus 0984c7ef34 fix: DB connection is global and tries 2 tested ways to connect
Some installations seem to support localhost:port for 1st parameter of
mysqli_connect(), others will only support the official parameters with
port towards the end. This fix tries them both - first the official one,
then the localhost:port one.

Also, there were a lot of mysqli_connect()'s inside Admin mods. These
now also use the central Database class.
2017-11-20 01:09:49 +01:00
Martin Ambrus bfc7a2b28a fix: keeping compatibility with older versions
#353
2017-11-17 23:18:40 +01:00
Martin Ambrus ffeeac3173 fix: database connection does not include port from config
#353
2017-11-17 22:48:43 +01:00
Martin Ambrus 2bae5f21c6 fix: stating real punishment in log 2017-11-07 10:05:55 +01:00
fixMartin Ambrus 0ddb0e691b fix: new village added via Admin to bear player's username 2017-11-07 10:01:28 +01:00
Martin Ambrus 1767b591d4 refactor: online users in Admin sorted by 1) access, 2) username 2017-11-04 22:04:21 +01:00
Martin Ambrus 77fd3a7e5f refactor: online users in Admin sorted by 1) access, 2) lastupdate 2017-11-04 22:03:33 +01:00
Martin Ambrus a822504706 fix: counting queries optimization
Closes #300
2017-11-04 15:41:35 +01:00
Martin Ambrus 90f8982245 fix: hero dying and revival doesn't work correctly with multiple heroes 2017-11-02 23:59:03 +01:00
Martin Ambrus 945bb2f8c7 fix: too much gold for instant build & research
Fixes #257
2017-11-02 13:11:19 +01:00
Martin Ambrus 5bae1cfd54 fix: admin DB prefixes to try and find the unfindable database 2017-10-28 00:49:00 +02:00
Martin Ambrus 30d3b9c4fa refactor: OOP code movements started :) 2017-10-25 13:38:38 +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 78694da32b fix: player deleting & password checks work as intended 2017-10-21 11:30:38 +02:00
Martin Ambrus b63df89034 fix: logs work again (were missing mysqli connection identifier) 2017-10-21 10:45:22 +02:00
Martin Ambrus f4021d1452 feat: MD5 passwords exchanged for bcrypt ones 2017-10-20 12:31:27 +02:00
Martin Ambrus 331885a110 fix: remove SQL injections in Admin 2017-10-19 21:17:11 +02:00
Martin Ambrus db4c373ace fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones 2017-09-19 20:40:43 +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
evader1337 a402b87a53 Trying to fix this monstrosity #3 2016-09-13 19:55:18 +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
Shadow fa52446234 Update database.php 2014-03-06 07:33:26 +02:00
Shadow cca7f5f1b4 credits 2014-03-05 09:01:50 +02:00
Shadow 19767cf6a6 update admin panel 2014-03-04 12:44:25 +02:00
yi12345 f0024248d5 fix delete player in admin panel 2013-09-12 21:23:24 +03:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00