mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-02 16:37:15 +00:00
@@ -14,7 +14,7 @@ if(isset($_GET['u']))
|
|||||||
$newfile = "update.zip";
|
$newfile = "update.zip";
|
||||||
if (!copy($file, $newfile))
|
if (!copy($file, $newfile))
|
||||||
{
|
{
|
||||||
echo "Update Files of Version $dl were not found.";
|
echo "Update Files of Version $dl were not found.<br />";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -24,11 +24,11 @@ if(isset($_GET['u']))
|
|||||||
$zip->extractTo('../');
|
$zip->extractTo('../');
|
||||||
$zip->close();
|
$zip->close();
|
||||||
unlink('update.zip');
|
unlink('update.zip');
|
||||||
echo "Successfully Updated to Version $dl ";;
|
echo "Successfully Updated to Version $dl.<br />";;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo 'Failed to update to Version $dl';
|
echo 'Failed to update to Version $dl.<br />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -376,7 +376,7 @@ class Battle {
|
|||||||
if($type == 1)
|
if($type == 1)
|
||||||
{
|
{
|
||||||
for($y=4;$y<=44;$y++) {
|
for($y=4;$y<=44;$y++) {
|
||||||
if($y == 4 || $y == 14 || $y == 23)
|
if($y == 4 || $y == 14 || $y == 23 || $y == 44)
|
||||||
{
|
{
|
||||||
global ${'u'.$y};
|
global ${'u'.$y};
|
||||||
if($y >= $start && $y <= ($end-2) && ${def_ab.$abcount} > 0) {
|
if($y >= $start && $y <= ($end-2) && ${def_ab.$abcount} > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user