Central
Imagination is more important than knowledge.
- Feb 22, 2015
- 709
- 107
Well, I downloaded the emulator and SWF pack from Sledmore's github or some sort the project link, and well I backed up everything from my previous build so I can upgrade and if anything went wrong I'd revert it back, and something went wrong and I did revert back.
Everything I reverted back to had worked before, but when I went back, it stopped working, first it just said 1 user was online when in fact no one was online and it was just due to myself loading the client, and I had checked the developer console and nothing had popped up apart from the bootstrap error but that isn't the problem why the client doesn't work due to I had the error when the client even worked.
My external_variables is all fine, I've double checked it all and there has nothing come wrong from it but i'll provide if you need.
Everything I reverted back to had worked before, but when I went back, it stopped working, first it just said 1 user was online when in fact no one was online and it was just due to myself loading the client, and I had checked the developer console and nothing had popped up apart from the bootstrap error but that isn't the problem why the client doesn't work due to I had the error when the client even worked.
PHP:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Bliss - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="/app/tpl/skins/habbo/js/bootstrap.js"></script>
<script type="text/javascript" src="//code.jquery.com/jquery-2.0.2.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min.js"></script>
<link href="https://bootswatch.com/paper/bootstrap.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/gordon/";
var flashvars =
{
"client.starting" : "Please wait, {hotelname} is loading",
"hotelview.banner.url" : "{url}/gordon/rs4.php",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "proxy ip",
"connection.info.port" : "proxy port",
"site.url" : "{url}",
"url.prefix" : "{url}/me",
"client.reload.url" : "{url}/client",
"client.fatal.error.url" : "{url}/me",
"client.connection.failed.url" : "{url}/me",
"external.variables.txt" : "{url}/gamedata/external_variables.txt",
"external.texts.txt" : "{url}/gamedata/external_flash_texts.txt",
"productdata.load.url" : "{url}playbliss.co.uk/gamedata/productdata.txt",
"furnidata.load.url" : "{url}/gamedata/furnidata.xml",
"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", "{url}/game/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
<div style="margin-bottom: 0px; position: fixed; z-index: 10;" class="alert alert-dismissible alert-primary">
<a target="_blank" max-height: 5px; width: 88px; margin-top: 4px;" class="navbar-brand" href="/me"></a>
<a onclick="toggleFullScreen()" style="margin-top: 7px; margin-left: 15px;" class="btn btn-success">FullScreen</a>
</div>
<script>
function toggleFullScreen() {
if ((document.fullScreenElement && document.fullScreenElement !== null) ||
(!document.mozFullScreen && !document.webkitIsFullScreen)) {
if (document.documentElement.requestFullScreen) {
document.documentElement.requestFullScreen();
} else if (document.documentElement.mozRequestFullScreen) {
document.documentElement.mozRequestFullScreen();
} else if (document.documentElement.webkitRequestFullScreen) {
document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
}
} else {
if (document.cancelFullScreen) {
document.cancelFullScreen();
} else if (document.mozCancelFullScreen) {
document.mozCancelFullScreen();
} else if (document.webkitCancelFullScreen) {
document.webkitCancelFullScreen();
}
}
}
</script>
</body>
</html>
My external_variables is all fine, I've double checked it all and there has nothing come wrong from it but i'll provide if you need.