This is a mini tool but very useful
Step 1: Create notexist-downloadnow.php in the folder on your webserver (www folder depends on your webserver)
Step 2: Edit the httpd.conf, usually located in Apache2.2/conf (Look 404 and edit it as shown in the video)PHP Code:<?php
$requri = getenv ("REQUEST_URI");
$result=file_get_contents("http://images.habbo.com".$requri);
if ($result === false)
{
// file located in www.habbo.com ?
$result=file_get_contents("http://www.habbo.com".$requri);
if ($result === false)
{
return; // not found in images.habbo.com and www.habbo.com
}
}
$dir_ = getenv("DOCUMENT_ROOT").$requri;
$dir = str_replace("\\", "/", $dir_);
$dir = substr($dir, 0, strrpos($dir, "/"));
mkdir($dir,0777,true);
$f = fopen($dir_,'w');
fwrite($f,$result,strlen($result));
fclose($f);
?>
Ready when trying to access a file that not exist, is downloaded from habbo (eg if the client wants to open the Chicken.swf and not exist .. will download and automatically placed in the right place)
Logically your files should point to your webhost (I mean that the customer uses the files on your webhost and not those of habbo, such as "external.variables.txt": "http://localhost/gamedata/external_variables/1" etc..)
View Example: YouTube - ‪clip0006.avi‬‏
Download Tool: notexist-downloadnow.php





