-
Help with emulator
Client.php:
Emulator(silverwave) config.ini:
Code:
## uberEmulator System Configuration File## Must be edited for the server to work## MySQL Configurationdb.hostname=localhostdb.port=3306db.username=rootdb.password=db.name=juice## MySQL pooling setup (controls amount of connections)db.pool.minsize=10db.pool.maxsize=500## Game TCP/IP Configurationgame.tcp.bindip=myip[not ipv4]game.tcp.port=30000game.tcp.conlimit=11000game.tcp.conperip=100game.tcp.enablenagles=true## MUS TCP/IP Configurationmus.tcp.bindip=myip[not ipv4]mus.tcp.port=30001mus.tcp.allowedaddr=myip[not ipv4]## Client configurationclient.ping.enabled=1client.ping.interval=20000client.maxrequests=300
config.php in management
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'] = 'connect'; //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'] = 'juice'; //MySQL database$_CONFIG['mysql']['port'] = '3306'; //MySQL's port/*** Hotel management - All URLs do not end with an "/"**/$_CONFIG['hotel']['server_ip'] = 'my ip[not ipv4]'; //IP of VPS/DEDI/etc$_CONFIG['hotel']['url'] = 'http://mywebsite'; //Does not end with a "/"$_CONFIG['hotel']['name'] = 'Juice'; // Hotel's name$_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //Hotel's description $_CONFIG['hotel']['email'] = 'Support@hotmail.com'; //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 Juice Hotel User!.'; //Default motto users will register with.$_CONFIG['hotel']['credits'] = 30000; //Default number of credits users will register with.$_CONFIG['hotel']['pixels'] = 15000; //Default number of pixels users will register with.$_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with.$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build$_CONFIG['hotel']['external_vars'] = 'http://mywebsite/game/external_variables.txt'; //URL to your external $_CONFIG['hotel']['external_texts'] = 'http://mywebsite/game/external_flash_texts.txt'; //URL to your external texts$_CONFIG['hotel']['product_data'] = 'http://mywebsite/game/productdata.txt'; //URL to your productdata$_CONFIG['hotel']['furni_data'] = 'http://mywebsite/game/furnidata_xml.xml'; //URL to your furnidata$_CONFIG['hotel']['swf_folder'] = 'http://mywebsite/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'] = 'Custom-Habbo'; /*** Other topsites.. thing**/$_CONFIG['thehabbos']['username'] = 'JBF';$_CONFIG['retro_top']['user'] = 'JBF'; /*** 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'] = 'paddziuk'; //Hotel's Twitter account$_CONFIG['social']['facebook'] = 'paddziuk'; //Hotel's Facebook accounterror_reporting(0)?>
I'm pretty sure my external vars are fine, because the client doesn't post any updates so it must be some connection issue. My client works fine when connected to local host.