Queef
Some people...
- Jul 27, 2012
- 645
- 289
So, i'm pretty new to the retro making scene but i know quite a lot now and the only thing i've never really done on my localhost is set up a client, on my old retro the owner before me had it done already. I get the client to load partially but stops after just loading the first of 2 bars, i've tried many different SWF packs, updated my web build, edited my external vars but it doesn't seem to work. Heres my part of my external vars and client.php
As far as i'm aware that's all you need to see
Also heres part of my config
Code:
productdata.load.url=http://127.0.0.1/r63/productdata.txt
image.library.questing.url=http://127.0.0.1/r63/c_images/Quests/
purse.widget.enabled=1
avatar.widget.enabled=1
figure.partsets.xml=http://127.0.0.1/r63/figurepartconfig/partsets.xml
struct.font.grey=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#666666"),#ilk:#struct,#fontStyle:[#italic]]
viral.furni.post_type=appRequest
billboard.adwarning.left.url=AdWarningsUK/ad_warning_L.png
security.cast.load.url=http://127.0.0.1/r63/sec.cct?t=%token%
navigator.default.view=public
latencytest.interval=20000
external.figurepartlist.txt=http://127.0.0.1/r63/figuredata.xml
image.library.url=http://127.0.0.1/r63/c_images/
navigator.visible.public.root=3
permitted.name.chars=1234567890qwertyuiopasdfghjklzxcvbnm-=?!@:.,
external.texts.txt=http://127.0.0.1/r63/external_flash_texts.txt
latencytest.report.delta=100
struct.font.bold=[#font:"vb",#fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#plain]]
figure.draworder.xml=http://127.0.0.1/r63/figurepartconfig/draworder.xml
client.hotel_view.image=hotel_view_images_hq/grass_view.png
billboard.adwarning.right.url=AdWarningsUK/ad_warning_R.png
image.library.catalogue.url=http://127.0.0.1/r63/c_images/catalogue/
flash.dynamic.download.url=http://127.0.0.1/r63/hof_furni/
room.default.wall=201
new.chat.bubbles.enabled=1
navigator.always_open_after_login=0
menu.avatar.enabled=true
infostand.use.button.enabled=1
purse.widget.currency.shells.enabled=0
feed.badge_decorations.decoration_id=001
purse.transactions.active=1
new.chat.widget.enabled=1
client.use.invites=1
struct.font.plain=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#plain]]
hotelview.banner.url=http://127.0.0.1/r63/banner/
client.textdata.utf8=1
logout.concurrent.url=http://127.0.0.1/reload.php
figure.animation.xml=http://127.0.0.1/r63/figurepartconfig/animation.xml
dynamic.download.url=http://127.0.0.1/r63/hof_furni/
language=en
struct.font.italic=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#italic]]
feed.badge_decorations.album=Feed_Badges
external.figurepartlist.txt.secure=https://127.0.0.1/r63/figuredata.xml
logout.url=http://127.0.0.1/reload.php
As far as i'm aware that's all you need to see
PHP:
<script type="text/javascript">
var habboName = "{username}";
var habboReqPath = "{url}";
var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
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="http://www.habbo.com/articles/rss.xml" />
<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="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/{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", "http://images.habbo.com/habboweb/{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="http://images.habbo.com/habboweb/{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="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{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 ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Also heres part of my config
PHP:
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1295'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://localhost/r63/external_vars.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'http://localhost/r63/external_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://localhost/r63/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://localhost/r63/furnidata.txt'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://localhost/r63/'; //URL to your SWF folder(does not end with a '/')