Hello, today I made a new tool to write errors like packet errors when you disconnect to a .txt file so you don't have to make quick screens of JS console.
First, remove the link href to HabboFlashClient.js and add to your Client.php
PHP Code:
http://pastebin.com/QRiVZ6dY
Replace http://127.0.0.1:1234/ with your link.
Then, make a new file called eventlog.php and add:
PHP Code:
<?php
if (isset($_GET['data']))
{
file_put_contents('error.txt', $_GET['data'], FILE_APPEND | LOCK_EX);
echo $_GET['data'];
}
?>
(If somebody can make this better please do, I don't feel to as it's my birthday and I spent much time on this so please appreciate it)
Make a new file then called error.txt and everytime somebody d/c it will write to error.txt so you can easily see what kind of error the disconnection caused.