IPMB1
Member
- Jan 1, 2013
- 249
- 20
I keep getting black screen then after a few seconds it redirects to /404 page. Thanks in advance for those who can help me And here's a Picture:
Client.php :
Config.php (CMS)
Config.conf (Emu)
THANKS IN ADVANCE!
--------EDIT--------
Fixed it! I just changed the CMS to the CMS that is recommended in the Tut.
Request to close thread.
You must be registered for see links
and under this are the php's.Client.php :
PHP:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/game";
var flashvars =
{
"client.starting" : "Please wait, {hotelname} loading",
"hoteview.banner.url" : "{url}/game/rs4.php",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "IP WAS HERE",
"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" : "{url}/game/external_variables.txt",
"external.texts.txt" : "{url}/game/external_flash_texts.txt",
"productdata.load.url" : "{url}/game/productdata.txt",
"furnidata.load.url" : "{url}/game/furnidata_xml.xml",
"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", "{url}/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>
PHP:
<?php
error_reporting(0);
?>
<?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'] = 'PASSWORD WAS HERE'; //MySQL password
$_CONFIG['mysql']['database'] = 'DATABASE NAME WAS HERE'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = 'IP WAS HERE'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = '{url}'; //Does not end with a "/"
$_CONFIG['hotel']['name'] = 'Fire'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Build your own rooms, make your own virtual character, meet new friends!'; //Hotel's description
$_CONFIG['hotel']['email'] = 'EMAIL WAS HERE'; //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 am a new to Fire Hotel!'; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 50000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 25000; //Default number of pixels users will register with.
$_CONFIG['hotel']['figure'] = 'ch-215-96.lg-275-110.hd-180-8.hr-831-61.he-1601-67'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1869'; //Web_Build
$_CONFIG['hotel']['external_vars'] = '{url}/game/external_variables.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = '{url}/game/external_flash_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = '{url}/game/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = '{url}/game/furnidata_xml.xml'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = '{url}/game'; //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'] = 'HabboExtreme';
/*
*
* Other topsites.. thing
*
*/
$_CONFIG['thehabbos']['username'] = 'CoreHotel';
$_CONFIG['retro_top']['user'] = 'Corehotel';
/*
*
* 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
?>
PHP:
## 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=PASSWORD WAS HERE
db.name=DATABASE NAME WAS HERE
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=500
## Game TCP/IP Configuration
game.tcp.bindip=IP WAS HERE
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=true
## MUS TCP/IP Configuration
mus.tcp.bindip=IP WAS HERE
mus.tcp.port=30001
mus.tcp.allowedaddr=IP WAS HERE
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
--------EDIT--------
Fixed it! I just changed the CMS to the CMS that is recommended in the Tut.
Request to close thread.
Last edited: