AaronZabba
New Member
- Apr 21, 2012
- 12
- 1
Hey Guys.
Thanks, That fixed the flash error. Turned out I had to get new swfs. All I have now is the client not loading up. I have put all my correct things in.
Here are my config and client set up:
(Note I put MYIP to tell you that my IP is there)
Config
Client:
If anyone can help over teamviewer - Send me a PM - Thanks Aaron
Thanks, That fixed the flash error. Turned out I had to get new swfs. All I have now is the client not loading up. I have put all my correct things in.
Here are my config and client set up:
(Note I put MYIP to tell you that my IP is there)
Config
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.
#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.
/*
*
*MySQL management
*
*/
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
$_CONFIG['mysql']['hostname'] = 'MYIP'; //MySQL host - Localhost, Hamachi IP, VPS or Dedi's IP
$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username
$_CONFIG['mysql']['password'] = 'MY PHPADMIN PASS'; //Phpmyadmin password
$_CONFIG['mysql']['database'] = 'del_revcms'; //Phpmyadmin database name
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
*Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = 'MY IP'; //Localhost, Hamachi IP, VPS or Dedi's IP
$_CONFIG['hotel']['url'] = 'You must be registered for see links//URL to your hotel, does not end with a "/"
$_CONFIG['hotel']['name'] = 'Zabba'; // Your Hotel's Name
$_CONFIG['hotel']['desc'] = 'Bringing Back The Retro World'; //Hotel's description
$_CONFIG['hotel']['email'] = 'MYEMAIL'; //Email for users to submit help requests to
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Starting motto for new users
$_CONFIG['hotel']['credits'] = 5000; //How many coins new users get
$_CONFIG['hotel']['pixels'] = 0; //How many pixels new users get
$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1001'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'You must be registered for see links//External Vars [Don't edit]
$_CONFIG['hotel']['external_texts'] = 'You must be registered for see links//External Flash Texts [Don't edit]
$_CONFIG['hotel']['product_data'] = 'You must be registered for see links//Product Data [Don't edit]
$_CONFIG['hotel']['furni_data'] = 'You must be registered for see links//Furni Data [Don't edit]
$_CONFIG['hotel']['swf_folder'] = 'You must be registered for see links//SWF Folder [Don't edit]
/*
*
*Templating management - Pick one of our default styles or make yours by following our examples!
*
*/
#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
$_CONFIG['template']['style'] = 'Mango';
/*
*
*Other topsites.. thing
*
*/
$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';
/*
*
*Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/
$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';
/*
*
*Social Networking stuff
*
*/
$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account
$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account
Client:
<script type="text/javascript">
var habboName = "{username}";
var habboReqPath = "{url}";
var habboStaticFilePath = "You must be registered for see links";
var habboImagerUrl = "You must be registered for see links";
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="You must be registered for see links" />
<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="You must be registered for see links" type="text/css" />
<link rel="stylesheet" href="You must be registered for see links" 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" : "37.122.210.108"
"connection.info.port" : "30000",
"site.url" : "You must be registered for see links",
"url.prefix" : "You must be registered for see linksYou must be registered for see links",
"client.reload.url" : "You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"client.fatal.error.url" : "You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"client.connection.failed.url" : "You must be registered for see linksYou must be registered for see links",
"external.variables.txt" : "You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"external.texts.txt" : "You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"productdata.load.url" : "You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"furnidata.load.url" : "You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Please wait! {hotelName} is starting up",
"flash.client.url" : "{You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "{sso}"
};
var params = {
"base" : "You must be registered for see linksYou must be registered for see linksYou must be registered for see links",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "You must be registered for see linksYou must be registered for see linksYou must be registered for see links";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "You must be registered for see links", 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="You must be registered for see links" 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="You must be registered for see links">Install flash player</a>. More instructions for installation can be found here: <a href="You must be registered for see links">More information</a></p>
<p><a href="You must be registered for see links"><img src="You must be registered for see links" 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 ? 'You must be registered for see links' : 'You must be registered for see links') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
If anyone can help over teamviewer - Send me a PM - Thanks Aaron