MadMonsterMan
Member
- Mar 25, 2016
- 202
- 13
Plus emu Config:
Client.php:
app/management/config.php:
yes I've opened all the ports you see. im honestly thinking im either putting the ip adress int he wrong place or ports are wrong can anyone help?
Code:
## uberEmulator System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=
db.name=
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250
## Game TCP/IP Configuration
game.tcp.bindip=proxy-node1.*****.com
game.tcp.port=30703
game.tcp.conlimit=100000
game.tcp.conperip=200
game.tcp.enablenagles=true
## MUS TCP/IP Configuration
mus.tcp.bindip=0.0.0.0
mus.tct.port=30105
mus.tcp.allowedaddr=0.0.0.0
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
Code:
<html>
<head>
<style>
body {
margin:0px;
padding:0px;
font:12px 'Lucida Grande',Arial,sans-serif;
background-color:#edecec;
}
.box {
width:300px;
margin:30px auto;
background-color:#fff;
border:1px solid #dcdada;
padding:5px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.error {
background-color:#ffbcbb;
border:1px solid #ff7777;
padding:8px;
margin-bottom:4px;
}
input {
padding:4px;
}
input[type=password] {
border:1px solid #dcdada;
width:230px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
input[type=submit] {
width:65px;
}
</style>
</head>
<body>
<div class="box">
<?php
if($error) { ?>
<div class="error">Invalid Pin</div>
<?php }
?>
<b>Please enter your pin:</b>
<form method="post">
<input type="password" name="pin">
<input type="submit">
</form>
<center>Don't have a pin, contact administration immediately!</center>
</div>
</body>
</html>
<?php
exit;
}
}
?>
<!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/Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/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" : "{server_ip}",
"connection.info.port" : "{server_port}",
"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" : "http://habsocial.com/swf/gamedata/external_variables.php?username=<?php echo"".$_SESSION['user']['username']."" ?>",
"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 id="client" class="flashclient">
</head>
<body>
<div id="client"></div>
</body>
</html>
Code:
<?php
error_reporting(0);
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'] = ''; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = 'proxy-node1.*****.com'; //IP of DDos protected server.
$_CONFIG['hotel']['server_port'] = '8906'; //Port that EMU uses! See I think this is wrong somehow
$_CONFIG['hotel']['url'] = 'http://habsocial.com'; //Does not end with a "/"
$_CONFIG['hotel']['name'] = 'HabSocial'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'The Social World Of Habbo!'; //Hotel's description
$_CONFIG['hotel']['online_text'] = 'Members Online!'; // Its the text that is near 15 Bla's online.
$_CONFIG['hotel']['email'] = '[email protected]'; //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'] = 'HabSocial' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['maint_rank'] = 6; // This currently only works for the one rank, in the next build it will allow for the rank +.
$_CONFIG['hotel']['max_reg'] = 3; // The maximum amount of users
$_CONFIG['hotel']['credits'] = 25000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 25000; //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/527'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://habsocial.com/swf/gamedata/external_variables.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'http://habsocial.com/swf/gamedata/external_flash_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://habsocial.com/swf/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://habsocial.com/swf/gamedata/furnidata.xml'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://habsocial.com/swf/gordon/PRODUCTION-201601012205-226667486'; //URL to your SWF folder
//Facts if you enter the fact here it will randomly show at the top of your page!
$_CONFIG['hotel']['fact_1'] = 'Buying VIP helps keep Habbo alive!';
$_CONFIG['hotel']['fact_2'] = 'Habbo peaked at 0 users online!';
$_CONFIG['hotel']['fact_3'] = 'You can get credits by winning rotw\'s, etc!';
$_CONFIG['hotel']['fact_4'] = 'Habbo is owned by ' . $_CONFIG['hotel']['owner1'] . $_CONFIG['hotel']['owner2'];
/*
*
* 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';
?>