mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-26 22:46:09 +00:00
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
This commit is contained in:
@@ -212,8 +212,8 @@ if ($session->goldclub == 1) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if(isset($_POST['action'] ) && $_POST['action'] == 'startRaid') {
|
||||
if($session->access != BANNED) include("Templates/a2b/startRaid.tpl");
|
||||
if(isset($_POST['action']) && $_POST['action'] == 'startRaid') {
|
||||
if($session->access != BANNED) $units->startRaidList($_POST);
|
||||
else
|
||||
{
|
||||
header( "Location: banned.php");
|
||||
|
||||
Reference in New Issue
Block a user