[HELP] White client fix

Mutexx

New Member
Feb 4, 2012
8
0
Hello DevBest

I just installed my habbo retro hotel on a VPS, and I used this REVCMS EDIT:


And then I used this as tutorial:


I edited all the configs and Variables, (below)
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Klient</title>

<link rel="stylesheet" href="{url}/app/tpl/skins/New/styles/client.css" type="text/css">

<script type="text/javascript" src="{url}/app/tpl/skins/New/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{swf_folder}/";
var flashvars =
{
"client.starting" : "Please wait, {hotelName} is loading",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "0.0.0.0",
"connection.info.port" : "30000",
"site.url" : "{url}",
"url.prefix" : "{url}",
"client.reload.url" : "{url}/client",
"client.fatal.error.url" : "{url}/me",
"client.connection.failed.url" : "{url}/me",
"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",
"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", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>

<body>

<div id="client"></div>

</body>
</html>

<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }

$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.

$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host - Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['mysql']['username'] = 'root'; //Phpmyadmin username

$_CONFIG['mysql']['password'] = 'XXXXXX'; //Phpmyadmin password

$_CONFIG['mysql']['database'] = 'hibbu'; //Phpmyadmin database name

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
* Hotel management - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = '0.0.0.0'; //Localhost, Hamachi IP, VPS or Dedi's IP

$_CONFIG['hotel']['server_port'] = '30000'; //Port that EMU uses!

$_CONFIG['hotel']['url'] = ' //URL to your hotel, does not end with a "/"

$_CONFIG['hotel']['name'] = 'Hibbu'; // Your Hotel's Name

$_CONFIG['hotel']['desc'] = ''; //Hotel's description

$_CONFIG['hotel']['email'] = '[email protected]'; //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'] = 'Ny her ' . $_CONFIG['hotel']['name']; //Starting motto for new users

$_CONFIG['hotel']['credits'] = 100000; //How many coins new users get

$_CONFIG['hotel']['pixels'] = 50000; //How many pixels new users get

$_CONFIG['hotel']['figure'] = 'lg-3023-88.hd-180-8.ea-1406-63.sh-305-1408.ch-255-76.cp-3120-76.hr-170-34'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build

$_CONFIG['hotel']['external_vars'] = ' //External Vars [Don't edit]

$_CONFIG['hotel']['external_texts'] = ' //External Flash Texts [Don't edit]

$_CONFIG['hotel']['product_data'] = ' //Product Data [Don't edit]

$_CONFIG['hotel']['furni_data'] = ' //Furni Data [Don't edit]

$_CONFIG['hotel']['swf_folder'] = ' //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'] = 'New';

/*
*
* 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

?>
 

Users who are viewing this thread

Top