Habbo Error Logs

Results 1 to 12 of 12
  1. #1
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Habbo Error Logs

    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.
    Last edited by Emily; 23-05-13 at 08:15 PM.


  2. #2
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,078Posts

    Re: Habbo Error Logs

    Yeah! Good release! But just an Observation users, is to replace 'http://127.0.0.1:1234/' in [JavaScript] JS code Flash Client modified by Tha - Pastebin.com for your link :P
    Btw, Happy Birthday, Tha :)

  3. #3
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Habbo Error Logs

    Quote Originally Posted by Droppy View Post
    Yeah! Good release! But just an Observation users, is to replace 'http://127.0.0.1:1234/' in [JavaScript] JS code Flash Client modified by Tha - Pastebin.com for your link :P
    Btw, Happy Birthday, Tha :)
    I forgot, thanks for noticing it, edited post.

  4. #4
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: Habbo Error Logs

    On dc page, print_r($_POST)

  5. #5
    j’aime ma famille dominic is offline
    MemberRank
    Aug 2012 Join Date
    ~/Location
    611Posts

    Re: Habbo Error Logs

    You don't even have to. F12 on Chrome -> Network, and look into the headers.

  6. #6
    Valued Member Huginho98 is offline
    MemberRank
    Jan 2011 Join Date
    SwitzerlandLocation
    128Posts

    Re: Habbo Error Logs

    Quote Originally Posted by Aquel View Post
    You don't even have to. F12 on Chrome -> Network, and look into the headers.
    Some people use Firefox or IE or something else.

  7. #7
    Account Upgraded | Title Enabled! LucasReis is offline
    MemberRank
    Jun 2009 Join Date
    Sorocaba, BraziLocation
    206Posts

    Re: Habbo Error Logs

    Warning: If you're using iis, you need to grant permission for the user in the fold for the php file write the error log.

    I've improved the code. Cleaning the $_GET data and posting the error in file with line break.

    http://pastebin.com/qPz7h77p

    ;p
    Last edited by LucasReis; 23-05-13 at 10:19 PM. Reason: Improved the code.

  8. #8
    ☮TAKU???? seanrom is offline
    MemberRank
    Nov 2009 Join Date
    1,004Posts

    Re: Habbo Error Logs

    This is allready coded in the SWF's, print_r($_POST); should do it.

  9. #9
    Account Upgraded | Title Enabled! LucasReis is offline
    MemberRank
    Jun 2009 Join Date
    Sorocaba, BraziLocation
    206Posts

    Re: Habbo Error Logs

    The title of thread is: "Habbo Error Log"

    Its to log the error in some file for the owner of the hotel, check whats happening with the hotel. Right?

  10. #10
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,610Posts

    Re: Habbo Error Logs

    Quote Originally Posted by Aquel View Post
    You don't even have to. F12 on Chrome -> Network, and look into the headers.
    If you disconnect you'll get redirected so it will reload.

    Quote Originally Posted by Zensai View Post
    This is allready coded in the SWF's, print_r($_POST); should do it.
    Yes but you dont want all people seeing the error dont you? Makes your hotel bit less professional.

  11. #11
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: Habbo Error Logs

    Quote Originally Posted by tdid View Post
    If you disconnect you'll get redirected so it will reload.



    Yes but you dont want all people seeing the error dont you? Makes your hotel bit less professional.
    You can use the post value instead of all this crap. Just log the post error, don't need to show the user.

  12. #12
    Alpha Member Emily is offline
    MemberRank
    Oct 2012 Join Date
    The NetherlandsLocation
    2,408Posts

    Re: Habbo Error Logs

    Quote Originally Posted by Makarov View Post
    You can use the post value instead of all this crap. Just log the post error, don't need to show the user.
    Well I made it because I have no disconnection page and I'm cba to actually copy Habbo's and edit shit.



Advertisement