
Originally Posted by
MorganTorcher
Can we have more information? (client.php) Code.
Client.php :
PHP Code:
<!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/images/css/generic.css" type="text/css" /> <link rel="stylesheet" href="{url}/app/tpl/skins/Rage/styles/client.css" type="text/css"> <script type="text/javascript" src="{url}/app/tpl/skins/Rage/js/swfobject.js"></script> <?php echo' <script type="text/javascript"> var BaseUrl = "{url}/r63"; var flashvars = { "client.starting" : "Creating the city..", "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}/client_error.php", "client.connection.failed.url" : "{url}/client_error.php", "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>
Config.php (CMS)
PHP Code:
<?phpif(!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/DOMAIN WAS HERE'; //IP of VPS/DEDI/etc$_CONFIG['hotel']['url'] = 'http://IP WAS HERE/DOMAIN WAS HERE'; //Does not end with a "/"$_CONFIG['hotel']['name'] = 'FireRP'; // Hotel's name$_CONFIG['hotel']['desc'] = 'Best RP around!'; //Hotel's description $_CONFIG['hotel']['email'] = 'help@myhotel.net'; //Where the help queries from users are emailed to [MENTION=1333384151]pri[/MENTION]v skin$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance$_CONFIG['hotel']['motto'] = 'Civilian'; //Default motto users will register with.$_CONFIG['hotel']['credits'] = 300; //Default number of credits users will register with.$_CONFIG['hotel']['pixels'] = 100; //Default number of pixels users will register with.$_CONFIG['hotel']['figure'] = 'lg-275-63.ch-215-63.hr-893-41.hd-180-1'; //Default figure users will register with.$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1962'; //Web_Build$_CONFIG['hotel']['external_vars'] = 'http://IP WAS HERE/DOMAIN WAS HERE/r63/external_variables.txt'; //URL to your external vars$_CONFIG['hotel']['external_texts'] = 'http://IP WAS HERE/DOMAIN WAS HERE/r63/external_flash_texts.txt'; //URL to your external texts$_CONFIG['hotel']['product_data'] = 'http://IP WAS HERE/DOMAIN WAS HERE/r63/productdata.txt'; //URL to your productdata$_CONFIG['hotel']['furni_data'] = 'http://IP WAS HERE/DOMAIN WAS HERE/r63/furnidata.txt'; //URL to your furnidata$_CONFIG['hotel']['swf_folder'] = 'http://IP WAS HERE/DOMAIN WAS HERE'; //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'] = 'Rage';
/*** 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
?>
Config.cong (EMU)
PHP Code:
## uberEmulator System Configuration File## Must be edited for the server to work
## MySQL Configuration asASd1684ASdasdtbykyuadC_db.hostname=localhostdb.port=3306db.username=rootdb.password=PASSWORD WAS HEREdb.name=DATABASE NAME WAS HEREdb.mssql=false
## MySQL pooling setup (controls amount of connections)db.pool.minsize=5db.pool.maxsize=100
## Game TCP/IP Configurationgame.tcp.bindip=IP WAS HEREgame.tcp.port=30000game.tcp.conlimit=11000game.tcp.conperip=10000game.tcp.enablenagles=False
## MUS TCP/IP Configurationmus.tcp.bindip=IP WAS HEREmus.tcp.port=30001mus.tcp.allowedaddr=IP WAS HERE
## Client configurationclient.ping.enabled=1client.ping.interval=30000
#IRCirc.enabled=falseirc.server=irc.website-service.orgirc.port=6667irc.user=USER CSharpBot 8 * :I'm a C# irc botirc.nick=[VG]Mordiirc.channel=#habbovg_servermodirc.password=rofl123
group.enabled=trueauth.ssodisabled=false
#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)game.pixel.enabled=falsegame.pixel.amount=0game.pixel.time=900
#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)game.credits.enabled=falsegame.credits.amount=0game.credits.time=900
game.login.credits.receiveamount=0game.login.pixel.receiveamount=0
GC.LatencyMode=default
## connectiond detailscon.socket=9001con.max_servers=10000con.con_per_ip=10000
## connection intervalping.interval=2000request.interval.active=2000request.interval.idle=60000version.id=1
game.gift.ids=161,162,163,164,165,166,167groups.enabled=true
## RoomIDsjail.id=9hospital.id=2clothes.id=10
## Hit Settingshit.min=1hit.max=10
## Rank Settings (Ranks allowed to use navi, change mottos etc)navi.rank=5motto.rank=5
## Job ID's (Used for command permissions)police.id=3medic.id=2
## Staff Rank Id's (Used for mod and admin commands)mod.rank=5admin.rank=6