1. Tired of not being able to see links? Want to chat with other members? Need help?

[HELP] Client loads 80-90-100% and then 404 error.

Discussion in 'Habbo Help & Support' started by Kedi Ripa, Nov 10, 2012.

  1. Kedi Ripa

    Kedi Ripa New Member

    Joined:
    Sep 30, 2011
    Messages:
    5
    Likes Received:
    1
    Best Answers:
    0
    Well.. I just tried doing my own hotel, but I clearly failed.

    The issue is.. I have everything set up in the client but it loads and then it disconnects (404 error)

    I'm not going to post a screen of that because it's just a normal 404 IIS page..

    My client.php:

    [ Want to see this link? Register ! ]

    My external_variables.php:
    [ Want to see this link? Register ! ]

    My config.inc.php:

    [ Want to see this link? Register ! ]

    Hope someone can help me. If I have to change SWFs can someone provide me with a link to SWFs compatible with Habbolatino.. I think that the problem is something related to the client.php. But I don't know what it is!!

    I only have to fix that and then I will open my hotel! :)) (It is 24/7, but no domain :l)

    Thank you all, hope you have a nice day!
     
  2. Leviathan

    Leviathan We don't like to do too much explaining.

    Joined:
    Jun 8, 2012
    Messages:
    869
    Likes Received:
    207
    Best Answers:
    0
    on client you need to config it to your own swfs like [ Want to see this link? Register ! ]
    or [ Want to see this link? Register ! ] what swfs do you use?
     
  3. HonkyWam

    HonkyWam Tickle me Elmo!

    Joined:
    Dec 8, 2011
    Messages:
    269
    Likes Received:
    20
    Best Answers:
    0
    Replace this to your client.php and try it now, and just replace IP And Port And thats all
    PHP:
    <?php include_once('checktheban.php'); ?>
    <!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" : "IPHERE!",
                    "connection.info.port" : "30000 OR YOUR PORT",
                    "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>
     
  4. Kedi Ripa

    Kedi Ripa New Member

    Joined:
    Sep 30, 2011
    Messages:
    5
    Likes Received:
    1
    Best Answers:
    0
    Well I'm using some SWFs that are compatible with Habbolatino emulator, which is the Emulator I'm using (an edit).
    All my swfs are in /swfs/ (external_texts.txt, variables etc..) so I don't think there should be a problem with the link to my SWFS.

    Obviously didin't work as I'm not using RevCMS :(

    Thanks for trying to help! :)
     

Share This Page