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

Raymund

what it is
Sep 30, 2011
6
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:



My external_variables.php:


My config.inc.php:



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!
 

Ghost

Legacy, it's all anyone leaves behind.
Jun 8, 2012
1,640
503
on client you need to config it to your own swfs like
or what swfs do you use?
 

HonkyWam

Tickle me Elmo!
Dec 8, 2011
289
4
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>
 

Raymund

what it is
Sep 30, 2011
6
0
on client you need to config it to your own swfs like
or what swfs do you use?

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.

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>

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

Thanks for trying to help! :)
 

Users who are viewing this thread

Top