Strange client resolution error

Status
Not open for further replies.

TomasLegend

New Member
Apr 20, 2017
15
1
I've tried looking for fixes for my problem however, I haven't managed to find a fix.
---Screenshots---


--Client.php--
<script type="text/javascript">
var habboName = "{username}";
var habboReqPath = "{url}";
var habboStaticFilePath = " {web_build}/web-gallery";
var habboImagerUrl = " ";
var habboPartner = "";
var habboDefaultClientPopupUrl = "{url}/client";
window.name = "ClientWndw";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
</script>

<link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href=" " />
<script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script>

<link rel="stylesheet" href=" {web_build}/web-gallery/static/styles/common.css" type="text/css" />

<link rel="stylesheet" href=" {web_build}/web-gallery/static/styles/habboflashclient.css" type="text/css" />


<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>

<link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" />
<script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script>

<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = false;
FlashExternalInterface.logLoginStep("web.view.start");

if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "{server_ip}",
"connection.info.port" : "30000",
"site.url" : "{url}/",
"url.prefix" : "{url}/",
"client.reload.url" : "{url}/client",
"client.fatal.error.url" : "{url}/disconnected",
"client.connection.failed.url" : "{url}/disconnected",
"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",
"account_id" : "1",
"client.starting" : "Please wait! {hotelName} is starting up",
"flash.client.url" : "{swf_folder}/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "{sso}"
};
var params = {
"base" : "{swf_folder}/",
"allowScriptAccess" : "always",
"menu" : "false"
};

if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}

var clientUrl = "{swf_folder}/Habbo.swf";

swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", " {web_build}/web-gallery/flash/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>

<body id="client" class="flashclient">
<div id="overlay"></div>
<img src=" {web_build}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">

<div class="cbb clearfix">
<h2 class="title">Please update your Flash Player to the latest version.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href=" ">Install flash player</a>. More instructions for installation can be found here: <a href=" ">More information</a></p>
<p><a href=" "><img src=" {web_build}/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>

</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>

</div>
<div style="display: none">

<div id="habboCountUpdateTarget">
{status}
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
window.opener.location.replace(window.opener.location.href);
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>

<script type="text/javascript">
HabboView.run();
</script>

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-15697942-2']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? ' ' : ' ') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

--client.css--

html, body.flashclient {
height: 100%;
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
margin: 0;
}

#BottomBar {
position: absolute;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
background-color:#444444;
height:30px;
}

#player {
margin:5px 5px 5px 5px;
}

#flash-wrapper {
position: absolute;
left: 0;
right: 0;
top: 0;
overflow: hidden;
}

#flash-container #content, #minimail-report {
color: #333;
}

.contains-minimail { width: 460px }
.contains-news { width: 400px }
.contains-avatars { width: 342px; }

.contains-roomenterad { width: 740px }

.client-habblet-container.contains-roomenterad {
width: 740px;
}

.client-habblet-container {
position: absolute;
top: 10px;
right: 10px;
}
.loading-element {
padding-top: 15px;
height: 70px;
width: 145px;
background-color: #FFFFFF;
text-align: center;
}

.loading-element p {
padding-top: 2px;
font-weight: bold;
font-size: 16px;
}

.draggable .title { cursor: move }

.x-workaround .client-habblet-container {
position: static;
top: auto;
right: auto;
}
.x-workaround .client-habblet-container .title { cursor: default; }

#client-ui {
height:100%;
width:100%;
position: relative;
}

#client-ui.x-workaround { background-color: #e3e3db; background-image: url(../images/bg.png); }
#client-ui.x-workaround #flash-wrapper { right: 465px }
#client-ui.x-workaround-wide #flash-wrapper { right: 765px }

#client-ui.x-workaround-feed { background-color: #000 }
#client-ui.x-workaround-feed #flash-wrapper { right: auto; width: 57px }

#client-ui.embed #flash-wrapper { top: 35px; }
.client-content { position: absolute; top:0; right: 0px; z-index: 1000; color: #000 }
.embed .client-content { top: 37px }

#applifier-container { position: absolute; top: 0px; height: 76px }
.applifier #embed-topbar { top: 76px }
.applifier #client-ui.embed #flash-wrapper { top: 35px }
.applifier #client-ui { height: 657px; margin-top: 76px }

/* external links */
#external-link-container { right: 0; margin: 0 auto; width: 410px; border: 3px solid #FFAA5F; padding: 15px 15px 5px 15px; background-color: #fff }
#external-link-container h2 { margin: 0 0 20px 0; border-bottom: 1px solid #aaa; padding-bottom: 5px }
.contains-externalLink { width: 450px }

#fb-like-container { right: 0; margin: 0 auto; padding: 10px 10px 5px 10px; background-color: #fff; }
.contains-fbLike { width: 410px; height: 187px }



 

Attachments

  • upload_2018-8-15_18-0-18.png
    upload_2018-8-15_18-0-18.png
    166.9 KB · Views: 1

TomasLegend

New Member
Apr 20, 2017
15
1
Looks like the CSS, try the client and files from a different CMS.
Any suggestions? Atm I'm using RevCMS 1.9.9.9 and PlusEMU R2
 
I got it to work by changing the .css and .php client files, and now the client loads fully then redirects to /me, is there any chance you know how to solve this issue?
 

TomasLegend

New Member
Apr 20, 2017
15
1
Any errors in the emulator logs?
Was halfway making a new thread but yea there is


most the links are missing a slash after the production number, but I cant find the link
 

TomasLegend

New Member
Apr 20, 2017
15
1
Use the replace all function and replace all links to add an /?
Didn't help sadly
I just don't get where those links are located if replacing all doesn't help :/

Update: Managed to sort it, Didn't have all the files open lol, only got a few errors that I'm sure I can fix by myself! Cheers JMG.
 
Last edited:
  • Like
Reactions: Joe

Joe

Well-Known Member
Jun 10, 2012
4,170
1,954
What SWF pack have you downloaded and have you tried changing anything? Can I recommend the ORIGINAL release by Sledmore if you're not sure what you're doing.
 
Status
Not open for further replies.

Users who are viewing this thread

Top