Trying to setup a simple localhost retro

Results 1 to 7 of 7
  1. #1
    Novice Laggings is offline
    MemberRank
    Apr 2014 Join Date
    4Posts

    Trying to setup a simple localhost retro

    I've followed many tutorials, this one helped me get the furthest:

    https://forum.ragezone.com/f335/setu...-habbo-846982/

    My problem is that I can never get past a white screen on my client. I used to be able to setup retros for localhost with Debbo (But that was years ago), however nowadays I can't figure out what is what. All the tutorials seem to be out-of-date and all of the active users on here already have so much knowledge that the "asking for help" threads are way beyond my comprehension. Could someone point me in the right direction so I can possibly setup a somewhat up-to-date retro on localhost?

    Thanks.


  2. #2
    Valued Member Pastie is offline
    MemberRank
    May 2014 Join Date
    FranceLocation
    133Posts

    Re: Trying to setup a simple localhost retro

    Do you see any of the swf loading?
    If not, you could have a look at your swf paths and see if you have connected the Habbo.swf correctly and all the other swf configuration.
    You could also use the Chrome Developer Tool and check the Console for missing files (404), create a screenshot and post it here.

    Thanks,
    Pastie.

  3. #3
    Novice Laggings is offline
    MemberRank
    Apr 2014 Join Date
    4Posts

    Re: Trying to setup a simple localhost retro

    Alright, here's what I've found. The SWF paths from that tutorial link to a dead website, so Chrome Dev Tools comes up with these errors (with the bolded item being the dead link):

    Code:
    404 Not Found Failed to load resource: the server responded with a status of 404 (Not Found)
    
    404 Not Found Failed to load resource: the server responded with a status of 404 (Not Found)
    
    404 Not Found Failed to load resource: the server responded with a status of 404 (Not Found)
    
    404 Not Found Failed to load resource: the server responded with a status of 404 (Not Found)
    
    dubhotel.net | 521: Web server is down Failed to load resource: the server responded with a status of 521 (Origin Down)
    
    404 Not Found Failed to load resource: the server responded with a status of 404 (Not Found)
    
    404 Not Found Failed to load resource: the server responded with a status of 404 (Not Found)
    Changing the SWF paths back to locally hosted will load the hotel up about 95%, but it redirects to a disconnect page saying:

    Oops! Something has gone wrong and you have been disconnected from RevCMS 1.9.9.9, if you would like to reload...
    Looking through the dev log, it seems that the line

    Code:
    $_CONFIG['hotel']['external_texts'] = 'http://localhost/r63/external_flash_texts'; //External Flash Texts [Don't edit]
    in config.php is missing the '.txt' at the end. Editing that line and reloading the hotel (only on Chrome, as Firefox is always a complete endless white screen for me) will load up the hotel, however I can only see roughly the top 15% of the screen:



    I also get this list of errors in the Dev console:

    Code:
    GET http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/527/web-gallery/static/styles/common.css 
    client:21 GET http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/527/web-gallery/static/styles/habboflashclient.css 
    client:93 GET http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/527/web-gallery/v2/images/page_loader.gif 404 (Not Found)
    client:105 GET http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/527/web-gallery/v2/images/client/get_flash_player.gif 404 (Not Found)
    ad_warning_L.png:1 GET http://localhost//gordon/c_images/AdWarningsUK/ad_warning_L.png 404 (Not Found)
    figuredata.xml:1 GET http://localhost//gordon/gamedata/figuredata.xml 404 (Not Found)
    ad_warning_R.png:1 GET http://localhost//gordon/c_images/AdWarningsUK/ad_warning_R.png 404 (Not Found)
    habboflashclient.js:54 action = [libraryLoaded], label = [hh_human_body.swf], value = [1812]
    habboflashclient.js:54 action = [libraryLoaded], label = [hh_human_fx.swf], value = [1852]
    ad_warning_L.png:1 GET http://localhost//gordon/c_images/AdWarningsUK/ad_warning_L.png?retry=1 404 (Not Found)
    figuredata.xml:1 GET http://localhost//gordon/gamedata/figuredata.xml?retry=1 404 (Not Found)
    ad_warning_R.png:1 GET http://localhost//gordon/c_images/AdWarningsUK/ad_warning_R.png?retry=1 404 (Not Found)
    hotelview_default.png:1 GET http://localhost//gordon/c_images/hotel_view_images_hq/hotelview_default.png 404 (Not Found)
    habboflashclient.js:54 errorCode = Could not load avatar structure. Failed to get data from URL http://localhost//gordon/gamedata/figuredata.xml
    hotelview_default.png:1 GET http://localhost//gordon/c_images/hotel_view_images_hq/hotelview_default.png?retry=1 404 (Not Found)
    habboflashclient.js:53 action = [authentication], label = [authok], data = []
    habboflashclient.js:53 action = [navigator], label = [official_rooms], data = []
    icon_1.png:1 GET http://localhost//gordon/c_images/catalogue/icon_1.png 404 (Not Found)
    icon_25.png:1 GET http://localhost//gordon/c_images/catalogue/icon_25.png 404 (Not Found)
    /gordon/c_images/catalogue/icon_26.png:1 GET http://localhost//gordon/c_images/catalogue/icon_26.png 404 (Not Found)
    /gordon/c_images/catalogue/icon_75.png:1 GET http://localhost//gordon/c_images/catalogue/icon_75.png 404 (Not Found)
    /gordon/c_images/catalogue/icon_69.png:1 GET http://localhost//gordon/c_images/catalogue/icon_69.png 404 (Not Found)
    /gordon/c_images/catalogue/icon_60.png:1 GET http://localhost//gordon/c_images/catalogue/icon_60.png 404 (Not Found)
    icon_2.png:1 GET http://localhost//gordon/c_images/catalogue/icon_2.png 404 (Not Found)
    icon_5.png:1 GET http://localhost//gordon/c_images/catalogue/icon_5.png 404 (Not Found)
    icon_80.png:1 GET http://localhost//gordon/c_images/catalogue/icon_80.png 404 (Not Found)
    icon_8.png:1 GET http://localhost//gordon/c_images/catalogue/icon_8.png 404 (Not Found)
    icon_6.png:1 GET http://localhost//gordon/c_images/catalogue/icon_6.png 404 (Not Found)
    icon_7.png:1 GET http://localhost//gordon/c_images/catalogue/icon_7.png 404 (Not Found)
    icon_1.png:1 GET http://localhost//gordon/c_images/catalogue/icon_1.png?retry=1 404 (Not Found)
    /gordon/c_images/catalogue/icon_69.png?retry=1:1 GET http://localhost//gordon/c_images/catalogue/icon_69.png?retry=1 404 (Not Found)
    /gordon/c_images/catalogue/icon_26.png?retry=1:1 GET http://localhost//gordon/c_images/catalogue/icon_26.png?retry=1 404 (Not Found)
    /gordon/c_images/catalogue/icon_75.png?retry=1:1 GET http://localhost//gordon/c_images/catalogue/icon_75.png?retry=1 404 (Not Found)
    icon_25.png:1 GET http://localhost//gordon/c_images/catalogue/icon_25.png?retry=1 404 (Not Found)
    icon_60.png:1 GET http://localhost//gordon/c_images/catalogue/icon_60.png?retry=1 404 (Not Found)
    icon_2.png:1 GET http://localhost//gordon/c_images/catalogue/icon_2.png?retry=1 404 (Not Found)
    icon_5.png:1 GET http://localhost//gordon/c_images/catalogue/icon_5.png?retry=1 404 (Not Found)
    icon_80.png:1 GET http://localhost//gordon/c_images/catalogue/icon_80.png?retry=1 404 (Not Found)
    icon_7.png:1 GET http://localhost//gordon/c_images/catalogue/icon_7.png?retry=1 404 (Not Found)
    icon_8.png:1 GET http://localhost//gordon/c_images/catalogue/icon_8.png?retry=1 404 (Not Found)
    icon_6.png:1 GET http://localhost//gordon/c_images/catalogue/icon_6.png?retry=1 404 (Not Found)
    catalog_frontpage_headline2_en.gif:1 GET http://localhost//gordon/c_images/catalogue/catalog_frontpage_headline2_en.gif 404 (Not Found)
    ts_mythbunnies_v1.gif:1 GET http://localhost//gordon/c_images/Top_Story_Images/ts_mythbunnies_v1.gif 404 (Not Found)
    front_page_border.gif:1 GET http://localhost//gordon/c_images/catalogue/front_page_border.gif 404 (Not Found)
    /gordon/c_images/Top_Story_Images/ts_mythbunnies_v1.gif?retry=1:1 GET http://localhost//gordon/c_images/Top_Story_Images/ts_mythbunnies_v1.gif?retry=1 404 (Not Found)
    /gordon/c_images/officialrooms_defaults/hh_room_cinema.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_cinema.png 404 (Not Found)
    hh_room_theater.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_theater.png 404 (Not Found)
    catalog_frontpage_headline2_en.gif:1 GET http://localhost//gordon/c_images/catalogue/catalog_frontpage_headline2_en.gif?retry=1 404 (Not Found)
    hh_room_nlobby.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_nlobby.png 404 (Not Found)
    front_page_border.gif:1 GET http://localhost//gordon/c_images/catalogue/front_page_border.gif?retry=1 404 (Not Found)
    hh_room_tearoom.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_tearoom.png 404 (Not Found)
    hh_room_picnic.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_picnic.png 404 (Not Found)
    hh_room_orient.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_orient.png 404 (Not Found)
    hh_room_dustylounge.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_dustylounge.png 404 (Not Found)
    hh_room_cinema.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_cinema.png?retry=1 404 (Not Found)
    hh_room_theater.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_theater.png?retry=1 404 (Not Found)
    hh_room_tearoom.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_tearoom.png?retry=1 404 (Not Found)
    hh_room_nlobby.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_nlobby.png?retry=1 404 (Not Found)
    hh_room_picnic.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_picnic.png?retry=1 404 (Not Found)
    hh_room_orient.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_orient.png?retry=1 404 (Not Found)
    hh_room_dustylounge.png:1 GET http://localhost//gordon/c_images/officialrooms_defaults/hh_room_dustylounge.png?retry=1 404 (Not Found)
    So while I've made progress, I'm lost at this point.

  4. #4
    Valued Member Pastie is offline
    MemberRank
    May 2014 Join Date
    FranceLocation
    133Posts

    Re: Trying to setup a simple localhost retro

    Try to replace your client.php in "app > tpl > skins > SKIN > client.php" with this one:

    <!DOCTYPE html>

    <
    html lang="en">

    <
    head>

    <
    meta http-equiv="content-type" content="text/html; charset=utf-8">

    <
    title>{hotelName} - Client</title>



    <
    link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">



    <
    script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>

    <script type="text/javascript">

    var BaseUrl = "{swf_folder}";

    var flashvars =

    {

    "client.starting" : "Please wait, the hotel is loading",

    "client.allow.cross.domain" : "1",

    "client.notify.cross.domain" : "0",

    "connection.info.host" : "{server_ip}",

    "connection.info.port" : "1232",

    "site.url" : "{url}",

    "url.prefix" : "{url}",

    "client.reload.url" : "{url}/client",

    "client.fatal.error.url" : "{url}/me",

    "client.connection.failed.url" : "{url}/me",

    "external.variables.txt" : "{external_vars}",

    "external.texts.txt" : "{external_texts}",

    "productdata.load.url" : "{product_data}",

    "furnidata.load.url" : "{furni_data}",

    "use.sso.ticket" : "1",

    "sso.ticket" : "{sso}",

    "processlog.enabled" : "0",

    "flash.client.url" : BaseUrl,

    "flash.client.origin" : "popup"

    };

    var params =

    {

    "base" : BaseUrl + "/",

    "allowScriptAccess" : "always",

    "menu" : "false"

    };

    swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);

    </script>

    </head>



    <body>



    <div id="client"></div>



    </body>

    </html>


    Change the
    connection.info.port and maybe the Habbo.swf.

    Thanks,
    Pastie.

  5. #5
    Novice Laggings is offline
    MemberRank
    Apr 2014 Join Date
    4Posts

    Re: Trying to setup a simple localhost retro

    After editing the line

    Code:
    /app/tpl/skins/Habbo/
    to

    Code:
    /app/tpl/skins/Mango/
    and the port to the correct port, I get the errors:

    Code:
    GET http://localhost/app/tpl/skins/Mango/js/swfobject.js client:80 
    Uncaught ReferenceError: swfobject is not defined(anonymous function) @ client:80
    In my /js/ folder, the files I have are:

    jq.js
    jquery.js
    mango.js

    And of course, the client doesn't load now.

    -- EDIT --

    I went on github quickly and grabbed an updated swfobject and put it in the folder, also had to change the {url}/client/ path to {url}/app/ to get the hotel to load. It now loads again, but still only shows 15-20% of the client. List of errors:

    Code:
    figuredata.xml:1 GET http://localhost/gordon/gamedata/figuredata.xml 404 (Not Found)
    ad_warning_L.png:1 GET http://localhost/gordon/c_images/AdWarningsUK/ad_warning_L.png 404 (Not Found)
    ad_warning_R.png:1 GET http://localhost/gordon/c_images/AdWarningsUK/ad_warning_R.png 404 (Not Found)
    figuredata.xml:1 GET http://localhost/gordon/gamedata/figuredata.xml?retry=1 404 (Not Found)
    ad_warning_L.png:1 GET http://localhost/gordon/c_images/AdWarningsUK/ad_warning_L.png?retry=1 404 (Not Found)
    ad_warning_R.png:1 GET http://localhost/gordon/c_images/AdWarningsUK/ad_warning_R.png?retry=1 404 (Not Found)
    hotelview_default.png:1 GET http://localhost/gordon/c_images/hotel_view_images_hq/hotelview_default.png 404 (Not Found)
    hotelview_default.png:1 GET http://localhost/gordon/c_images/hotel_view_images_hq/hotelview_default.png?retry=1 404 (Not Found)
    icon_75.png:1 GET http://localhost/gordon/c_images/catalogue/icon_75.png 404 (Not Found)
    icon_1.png:1 GET http://localhost/gordon/c_images/catalogue/icon_1.png 404 (Not Found)
    icon_25.png:1 GET http://localhost/gordon/c_images/catalogue/icon_25.png 404 (Not Found)
    icon_26.png:1 GET http://localhost/gordon/c_images/catalogue/icon_26.png 404 (Not Found)
    icon_69.png:1 GET http://localhost/gordon/c_images/catalogue/icon_69.png 404 (Not Found)
    icon_2.png:1 GET http://localhost/gordon/c_images/catalogue/icon_2.png 404 (Not Found)
    icon_60.png:1 GET http://localhost/gordon/c_images/catalogue/icon_60.png 404 (Not Found)
    icon_5.png:1 GET http://localhost/gordon/c_images/catalogue/icon_5.png 404 (Not Found)
    icon_80.png:1 GET http://localhost/gordon/c_images/catalogue/icon_80.png 404 (Not Found)
    icon_6.png:1 GET http://localhost/gordon/c_images/catalogue/icon_6.png 404 (Not Found)
    icon_8.png:1 GET http://localhost/gordon/c_images/catalogue/icon_8.png 404 (Not Found)
    icon_7.png:1 GET http://localhost/gordon/c_images/catalogue/icon_7.png 404 (Not Found)
    icon_75.png:1 GET http://localhost/gordon/c_images/catalogue/icon_75.png?retry=1 404 (Not Found)
    icon_1.png:1 GET http://localhost/gordon/c_images/catalogue/icon_1.png?retry=1 404 (Not Found)
    icon_69.png:1 GET http://localhost/gordon/c_images/catalogue/icon_69.png?retry=1 404 (Not Found)
    icon_25.png:1 GET http://localhost/gordon/c_images/catalogue/icon_25.png?retry=1 404 (Not Found)
    icon_26.png:1 GET http://localhost/gordon/c_images/catalogue/icon_26.png?retry=1 404 (Not Found)
    icon_2.png:1 GET http://localhost/gordon/c_images/catalogue/icon_2.png?retry=1 404 (Not Found)
    icon_60.png:1 GET http://localhost/gordon/c_images/catalogue/icon_60.png?retry=1 404 (Not Found)
    icon_6.png:1 GET http://localhost/gordon/c_images/catalogue/icon_6.png?retry=1 404 (Not Found)
    icon_5.png:1 GET http://localhost/gordon/c_images/catalogue/icon_5.png?retry=1 404 (Not Found)
    icon_8.png:1 GET http://localhost/gordon/c_images/catalogue/icon_8.png?retry=1 404 (Not Found)
    icon_80.png:1 GET http://localhost/gordon/c_images/catalogue/icon_80.png?retry=1 404 (Not Found)
    icon_7.png:1 GET http://localhost/gordon/c_images/catalogue/icon_7.png?retry=1 404 (Not Found)
    gordon/c_images/Top_Story_Images/ts_mythbunnies_v1.gif:1 GET http://localhost/gordon/c_images/Top_Story_Images/ts_mythbunnies_v1.gif 
    catalog_frontpage_headline2_en.gif:1 GET http://localhost/gordon/c_images/catalogue/catalog_frontpage_headline2_en.gif 404 (Not Found)
    front_page_border.gif:1 GET http://localhost/gordon/c_images/catalogue/front_page_border.gif 404 (Not Found)
    ts_mythbunnies_v1.gif:1 GET http://localhost/gordon/c_images/Top_Story_Images/ts_mythbunnies_v1.gif?retry=1 404 (Not Found)
    catalog_frontpage_headline2_en.gif:1 GET http://localhost/gordon/c_images/catalogue/catalog_frontpage_headline2_en.gif?retry=1 404 (Not Found)
    front_page_border.gif:1 GET http://localhost/gordon/c_images/catalogue/front_page_border.gif?retry=1 404 (Not Found)
    hh_room_nlobby.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_nlobby.png 404 (Not Found)
    hh_room_tearoom.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_tearoom.png 404 (Not Found)
    hh_room_theater.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_theater.png 404 (Not Found)
    hh_room_cinema.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_cinema.png 404 (Not Found)
    hh_room_orient.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_orient.png 404 (Not Found)
    hh_room_dustylounge.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_dustylounge.png 404 (Not Found)
    hh_room_picnic.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_picnic.png 404 (Not Found)
    hh_room_nlobby.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_nlobby.png?retry=1 404 (Not Found)
    hh_room_tearoom.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_tearoom.png?retry=1 404 (Not Found)
    hh_room_orient.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_orient.png?retry=1 404 (Not Found)
    hh_room_dustylounge.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_dustylounge.png?retry=1 404 (Not Found)
    hh_room_theater.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_theater.png?retry=1 404 (Not Found)
    hh_room_cinema.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_cinema.png?retry=1 404 (Not Found)
    hh_room_picnic.png:1 GET http://localhost/gordon/c_images/officialrooms_defaults/hh_room_picnic.png?retry=1 404 (Not Found)
    I've looked and can't find where it's called for /gordon/ and not /r63/.
    Last edited by Laggings; 28-09-15 at 09:49 PM.

  6. #6
    Valued Member Pastie is offline
    MemberRank
    May 2014 Join Date
    FranceLocation
    133Posts

    Re: Trying to setup a simple localhost retro

    PM me your Skype and I can help you from there :)

    Thanks,
    Pastie.

  7. #7
    Novice Laggings is offline
    MemberRank
    Apr 2014 Join Date
    4Posts

    Re: Trying to setup a simple localhost retro

    I'll have to make one, give me a few minutes.

    (I posted a vistor message for you, your PM box is full :P)

    - - - Updated - - -

    Fixed it myself. Something is wrong with both the Priv and the Mango theme in my tutorial. The easiest way to fix it is to download:

    http://www.mediafire.com/download/qcb3zo7u9n1go4k/RevCMS+with+Habbo+Theme.zip

    And use the 'habbo' theme as your default theme. I'm not 100% sure what was actually wrong though.
    Last edited by Laggings; 28-09-15 at 10:34 PM.



Advertisement