R63B worked on localhost not on IP

sim0n

Member
Feb 16, 2013
227
15
Hi. I have recently runned and created a r63b retro that was running on localhost. I have edited all the config files and blablabla. But I can't access the website, although the EMU is working fine.

Here is the config files of the EMU and the CMS

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'] = 'bump'; //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'] = 'IP'; //IP of VPS/DEDI/etc
 
$_CONFIG['hotel']['url'] = 'http://IP'; //Does not end with a "/"
 
$_CONFIG['hotel']['name'] = 'Rocky'; // Hotel's name
 
$_CONFIG['hotel']['desc'] = 'Best on the Net!'; //Hotel's description
 
$_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'] = '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/1532'; //Web_Build
 
$_CONFIG['hotel']['external_vars'] = 'http://IP/swfs/external_variables.txt'; //URL to your external vars
 
$_CONFIG['hotel']['external_texts'] = 'http://IP/swfs/external_flash_texts.txt'; //URL to your external texts
 
$_CONFIG['hotel']['product_data'] = 'http://IP/swfs/productdata.txt'; //URL to your productdata
 
$_CONFIG['hotel']['furni_data'] = 'http://IP/swfs/furnidata.txt'; //URL to your furnidata
 
$_CONFIG['hotel']['swf_folder'] = 'http://IP/swfs'; //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
 
?>

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=rocky
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=IP
game.tcp.port=300
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=False
 
## MUS TCP/IP Configuration
mus.tcp.bindip=IP
mus.tcp.port=301
mus.tcp.allowedaddr=IP
 
## Stream Message; Si lo dejas sin texto no aparecerá
hotel.stream.message=Welcome on Habtime
 
## License
internal.license=
 
## Hotel Link; To StreamImages
guilds.link=http://localhost/habbo-imaging/badge/
stream.link=http://localhost/habbo-imaging/head?look=
 
## 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=IP
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
 

ButtLord420

Please delete my devbest account.
Dec 11, 2010
463
32
change the first one to this:

Code:
<?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'] = 'bump'; //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'] = 'localhost'; //IP of VPS/DEDI/etc
 
$_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/"
 
$_CONFIG['hotel']['name'] = 'Rocky'; // Hotel's name
 
$_CONFIG['hotel']['desc'] = 'Best on the Net!'; //Hotel's description
 
$_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'] = '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/1532'; //Web_Build
 
$_CONFIG['hotel']['external_vars'] = 'http://IP/swfs/external_variables.txt'; //URL to your external vars
 
$_CONFIG['hotel']['external_texts'] = 'http://IP/swfs/external_flash_texts.txt'; //URL to your external texts
 
$_CONFIG['hotel']['product_data'] = 'http://IP/swfs/productdata.txt'; //URL to your productdata
 
$_CONFIG['hotel']['furni_data'] = 'http://IP/swfs/furnidata.txt'; //URL to your furnidata
 
$_CONFIG['hotel']['swf_folder'] = 'http://IP/swfs'; //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
 
?>

then just change the links to the swfs and stuff and link up your mysql.
 

sim0n

Member
Feb 16, 2013
227
15
You are welcome. Not trying to be mean or anything but it is true. If you can't even connect a cms and emulator to a database, then I don't see how you can even run a hotel at all.
I know man.. but I find it really interesting and well yeah i'd love to make it work.
 

ButtLord420

Please delete my devbest account.
Dec 11, 2010
463
32
ummm the one at whatsmyip.com LOL
Just buy a vps and host it of that (if you can)
or, if you can't you can just make a crappy hotel (which you already have :p ) and port-forward. Make sure your IP is static and then buy a domain and link it to your IP. Then change your config's (the files above) to match the IP's and set mysql's remote access to allow things. Don't use xampp if you are btw. - that will set you up.

I am going to bed now to get some rest, cya.
 

Users who are viewing this thread

Top