Failed to load resource | 404 Error

MarcusDev

Just trying to get it working
Nov 10, 2015
22
2
Anyone know how to fix this??
I dont understand why I am getting is wired URL.

Error:

external_variables:
 

MarcusDev

Just trying to get it working
Nov 10, 2015
22
2
the url in the first screenshot does not match your externals so you might want to go over your config.php, externals_variables, external_override_variables and client.php and make sure all links are 51.174.205.164 or whatever your server ip is and not localhost

I've done it, but it still does not work
 

Zenuyasha

</Dev>
Dec 5, 2016
170
48
I've done it, but it still does not work
What about your folders?
------------------------------EDIT----------------------------------
Fix your base url in external_variables and external_variables_override( or what ever it is ) your swf base is wrong it must have that's why // got added by http:// by replacing the links
 

Xuxu

Member
Nov 21, 2016
295
59
you must have screwed up editing your externals. use a new copy and just replace all the habbo and plus links with yours. dont change anything but the plus/habbo part and add your swfs folder after it on every line. dont forget to edit the external_override_variables file too
 
HTML:
HTML:
<!DOCTYPE html>
<html lang="en">
    <head>
        <link rel="shortcut icon" href="{url}/app/tpl/skins/{skin}/images/favicon.ico" type="image/vnd.microsoft.icon"/>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} Hotel</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 = "{url}/swfs/gordon/PRODUCTION-201701242205-837386173/";
            var flashvars =
            {
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",        
                "connection.info.host" : "VPS_IP_OR_127.0.0.1",
                "connection.info.port" : "30000",
                "site.url" : "{url}",
                "url.prefix" : "{url}",
                "client.reload.url" : "{url}/disconnected",
                "client.fatal.error.url" : "{url}/disconnected",
                "client.connection.failed.url" : "{url}/disconnected",
                "external.variables.txt" : "{url}/swfs/gamedata/external_variables.txt",
                "external.texts.txt" : "{url}/swfs/gamedata/external_flash_texts.txt",
                "external.override.texts.txt" : "{url}/swfs/gamedata/override/external_flash_override_texts.txt",
                "external.override.variables.txt" : "{url}/swfs/gamedata/override/external_override_variables.txt",
                "external.figurepartlist.txt" : "{url}/swfs/gamedata/figuredata.xml",
                "productdata.load.url" : "{url}/swfs/gamedata/productdata.txt",
                "furnidata.load.url" : "{url}/swfs/gamedata/furnidata.xml",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "client.starting" : "Please wait! {hotelName} is starting up.",        
                "processlog.enabled" : "0",
                "flash.client.url" : BaseUrl,
                "client.starting.revolving" : "Whololo/Tijd is maar een illusie./Gotta go fast!/Your computer might blow up./Don't panic!/You might die./Get yourself a drink while waiting./Whats that noise?/",
                "flash.client.origin" : "popup"    
            };
            var params =
            {
                "base" : BaseUrl + "/",
                "allowScriptAccess" : "always",
                "menu" : "false"        
            };
            swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{url}/swfs/gordon/PRODUCTION-201701242205-837386173/expressInstall.swf", flashvars, params, null);
        </script>
    </head>
 
    <body>
 
        <div id="client"></div>

    </body>
</html>
hard to say exactly what you messed up on without seeing your files. idk what cms youre using but try this client.php
 

MarcusDev

Just trying to get it working
Nov 10, 2015
22
2
What about your folders?
------------------------------EDIT----------------------------------
Fix your base url in external_variables and external_variables_override( or what ever it is ) your swf base is wrong it must have that's why // got added by http:// by replacing the links
I'm not sure I understood what I should do, could you explained a little more specifically what to do?
 

MarcusDev

Just trying to get it working
Nov 10, 2015
22
2
Make sure every links you put in client and external vars (both) are correct and it's most likely the swf base
Can you see any mistakes?

external_override_variables:

external_variables:


Client:

Config:
 

Zenuyasha

</Dev>
Dec 5, 2016
170
48
Can you see any mistakes?

external_override_variables:

external_variables:


Client:

Config:
Want me to fix it?
 

Users who are viewing this thread

Top