404 Error

Gumzy

New Member
Jan 24, 2018
27
7
I must of gone through all the code at the point with my .htaccess to try find the client error.

Only happens after a few login attempts but the client still works whereas other people get this error:


Any fixes?

All out of ideas on what it could be, I'm sometimes able to log in and then when I log out sometimes and attempt to log back in, this is what appears.

More screenshots:
(Loading)


Client:
Code:
"client.allow.cross.domain" : "1",
            "client.notify.cross.domain" : "0",
            "connection.info.host" : "",
            "connection.info.port" : "",
            "site.url" : "<?php echo $configBaseUrL; ?>",
            "url.prefix" : "<?php echo $configBaseUrL; ?>",
            "client.reload.url" : "<?php echo $configBaseUrL; ?>/client",
            "client.fatal.error.url" : "<?php echo $configBaseUrL; ?>/client",
            "client.connection.failed.url" : "<?php echo $configBaseUrL; ?>/client",
            "external.variables.txt" : "<?php echo $configSwfUrL; ?>/gamedata/external_variables.txt",
            "external.texts.txt" : "<?php echo $configSwfUrL; ?>/gamedata/external_flash_texts.txt",
            "external.override.variables.txt" : "<?php echo $configSwfUrL; ?>/gamedata/override/external_flash_override_texts.txt",
            "productdata.load.url" : "<?php echo $configSwfUrL; ?>/gamedata/productdata.txt",
            "furnidata.load.url" : "<?php echo $configSwfUrL; ?>/gamedata/furnidata9.xml",
            "hotelview.banner.url" : "",
            "use.sso.ticket" : "1",
            "sso.ticket" : "<?php if(isset($ssoTicket)) { echo $ssoTicket; } ?>",
            "processlog.enabled" : "0",
            "account_id" : "<?php echo $userInfo[0]["id"]; ?>",
            "client.starting" : "Loading...",
            "flash.client.url" : "<?php echo $configSwfUrL; ?>/gordon/PRODUCTION-201602082203-712976078/",
            "user.hash" : "",
            "has.identity" : "0",
            "flash.client.origin" : "popup"
             };
            var params = {
                "base" : "<?php echo $configSwfUrL; ?>/gordon/PRODUCTION-201602082203-712976078/",
                "allowScriptAccess" : "always",
                "menu" : "false"              
            };
       
                if (!(HabbletLoader.needsFlashKbWorkaround())) {
                    params["wmode"] = "opaque";
                }
       
            FlashExternalInterface.signoutUrl = "<?php echo $configBaseUrL; ?>/account/logout";
       
            var clientUrl = "<?php echo $configSwfUrL; ?>/gordon/PRODUCTION-201602082203-712976078/Habbo11.swf";
            swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://flarerp.net/SWF/expressInstall.swf", flashvars, params);
       
            window.onbeforeunload = unloading;
            function unloading() {
                var clientObject;
                if (navigator.appName.indexOf("Microsoft") != -1) {
                    clientObject = window["flash-container"];
                } else {
                    clientObject = document["flash-container"];
                }
                try {
                    clientObject.unloading();
                } catch (e) {}
            }
        </script>


.htaccess:

Code:
    RewriteEngine On
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteCond %{SCRIPT_FILENAME} !-f

    RewriteRule ^swf/habbo-imaging/head/([^/]+) /swf/habbo-imaging/head.php?figure=$1
    RewriteRule ^account/logout$ logout.php
    RewriteRule ^([^\.]+)$ $1.php [NC,L]
 
Last edited:

Daltron

Web Developer
Aug 6, 2015
283
154
It is trying to redirect you because your client is not loading correctly, Meaning you are getting a 76 error because something is not linked properly.
Make sure this has a correct path:
Code:
"client.reload.url" : "http://HOTELURL/client",
"client.fatal.error.url" : "http://HOTELURL/404",
 

Users who are viewing this thread

Top