SharmElSheikh
New Member
- Apr 23, 2013
- 14
- 1
Client is black screen, here is what I have. Please check if these are correct. Followed by KyleVonnies TUT
config
client
Configuration in settings
config
PHP:
<?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'] = 'localhost'; //MySQL host
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
$_CONFIG['mysql']['password'] = '****'; //MySQL password
$_CONFIG['mysql']['database'] = 'r63b'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = '25.165.197.31'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = '[URL]http://localhost';[/URL] //Does not end with a "/"
$_CONFIG['hotel']['name'] = 'Caribbean'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Chill, have some OJ'; //Hotel's description
$_CONFIG['hotel']['email'] = '[EMAIL][email protected][/EMAIL]'; //Where the help queries from users are emailed to.@Priv skin
$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 10000; //Default number of pixels users will register with.
$_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1681'; //Web_Build
$_CONFIG['hotel']['external_vars'] = '[URL]http://localhost/swfs/external_variables.txt';[/URL] //URL to your external vars
$_CONFIG['hotel']['external_texts'] = '[URL]http://localhost/swfs/external_flash_texts.txt';[/URL] //URL to your external texts
$_CONFIG['hotel']['product_data'] = '[URL]http://localhost/swfs/productdata.txt';[/URL] //URL to your productdata
$_CONFIG['hotel']['furni_data'] = '[URL]http://localhost/swfs/furnidata.txt';[/URL] //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = '[URL]http://localhost/swfs';[/URL] //URL to your SWF folder(does not end with a '/')
/*
*
* 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'] = 'Habbo';
/*
*
* 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
Code:
<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", "[URL]http://images.habbo.com/habboweb/{web_build}/web-gallery/flash/expressInstall.swf[/URL]", 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="[URL]http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/page_loader.gif[/URL]" 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="[URL]http://get.adobe.com/flashplayer/[/URL]">Install flash player</a>. More instructions for installation can be found here: <a href="[URL]http://www.adobe.com/products/flashplayer/productinfo/instructions/[/URL]">More information</a></p>
<p><a href="[URL]http://www.adobe.com/go/getflashplayer[/URL]"><img src="[URL]http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/client/get_flash_player.gif[/URL]" 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 ? '[URL]https://ssl[/URL]' : '[URL]http://www[/URL]') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Configuration in settings
Code:
## uberEmulator System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=****
db.name=r63b
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=50
## Game TCP/IP Configuration
game.tcp.bindip=localhost
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=False
## MUS TCP/IP Configuration
mus.tcp.bindip=localhost
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost;127.0.0.1
## Stream Message; Si lo dejas sin texto no aparecerá
hotel.stream.message=Welcome on Habtime
## License
internal.license=
## Hotel Link; To StreamImages
guilds.link=[URL]http://localhost/habbo-imaging/badge/[/URL]
stream.link=[URL]http://localhost/habbo-imaging/head?look=[/URL]
## Client configuration
client.ping.enabled=1
client.ping.interval=200000
client.maxrequests=500
client.maxpossiblefriends=700
client.maxitemsininventary=3400
#IRC
irc.enabled=false
irc.server=127.0.0.1
irc.port=6667
irc.user=USER CSharpBot 8 * :I'm a C# irc bot
irc.nick=[VG]Mordi
irc.channel=#habbovg_servermod
irc.password=#
#Groep instellingen
group.enabled=true
auth.ssodisabled=false
#pixel instellingen
game.pixel.enabled=true
game.pixel.amount=100
game.pixel.time=600
#credits instellingen
game.credits.enabled=true
game.credits.amount=1000
game.credits.time=600
game.login.credits.receiveamount=100
game.login.pixel.receiveamount=100
#Threading Main Loops.
SeparatedTasksInMainLoops.enabled=true
SeparatedTasksInGameClientManager.enabled=true
# Ban flood protection
spambans.enabled=false
spambans.limit=5