Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
R63B Client Black Client
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="minthotel" data-source="post: 424257" data-attributes="member: 17284"><p>Hello, I have been recently working on making a habbo retro once again after a long time of not creating one and I have</p><p>Noticed there is an issue I followed this tutorial here on this forum posted on devebest <a href="https://devbest.com/threads/video-how-to-make-a-r63b-habbo-retro-for-free.63229/" target="_blank">https://devbest.com/threads/video-how-to-make-a-r63b-habbo-retro-for-free.63229/</a> </p><p></p><p>And Im trying to make it public using VPS and Well I followed all the steps and I will provide you with screenshots and source code </p><p>There will be placeholders for example </p><p>[MYPUBLICIP] Will be my servers public IP example "Whats My IP" On the machine would display the public ip</p><p>[LOCALHOST/IP] Will be 127.0.0.1 ect..</p><p>[MYURL] Which would be "my no ip url" example hotelname.com</p><p>Hope you can help me out here.</p><p></p><p>First lets start with my Client.php </p><p>Here is the script </p><p></p><p>[CODE]<!DOCTYPE html></p><p><html lang="en"></p><p> <head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8"></p><p> <title>{hotelName} - Client</title></p><p> </p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css"></p><p> </p><p> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script></p><p> <script type="text/javascript"></p><p> var BaseUrl = "http://[MYPUBLICIP]/game";</p><p> var flashvars =</p><p> {</p><p> "client.starting" : "Please wait, {hotelname} loading",</p><p> "hotelview.banner.url" : "http://[MYPUBLICIP]/game/rs4.php",</p><p> "client.allow.cross.domain" : "1",</p><p> "client.notify.cross.domain" : "0",</p><p> "connection.info.host" : "[MYPUBLICIP]",</p><p> "connection.info.port" : "30000",</p><p> "site.url" : "http://[MYPUBLICIP]",</p><p> "url.prefix" : "http://[MYPUBLICIP]",</p><p> "client.reload.url" : "http://[MYPUBLICIP]/client",</p><p> "client.fatal.error.url" : "http://[MYPUBLICIP]/me",</p><p> "client.connection.failed.url" : "http://[MYPUBLICIP]/me",</p><p> "external.variables.txt" : "http://[MYPUBLICIP]/game/external_variables.txt",</p><p> "external.texts.txt" : "http://[MYPUBLICIP]/game/external_flash_texts.txt",</p><p> "productdata.load.url" : "http://[MYPUBLICIP]/game/productdata.txt",</p><p> "furnidata.load.url" : "http://[MYPUBLICIP]/game/furnidata_xml.xml",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "{sso}",</p><p> "processlog.enabled" : "0",</p><p> "flash.client.url" : BaseUrl,</p><p> "flash.client.origin" : "popup"</p><p> };</p><p> var params =</p><p> {</p><p> "base" : BaseUrl + "/",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://[MYPUBLICIP]/game/expressInstall.swf", flashvars, params, null);</p><p> </script></p><p> </head></p><p> </p><p> <body></p><p> </p><p> <div id="client"></div></p><p> </p><p> </body></p><p></html>[/CODE]</p><p></p><p>Here is my management config.</p><p></p><p>[CODE]<?php</p><p>if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }</p><p>#Please fill this all out.</p><p></p><p>#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.</p><p></p><p>/*</p><p>*</p><p>* MySQL management</p><p>*</p><p>*/</p><p></p><p>$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.</p><p></p><p>$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host</p><p></p><p>$_CONFIG['mysql']['username'] = 'root'; //MySQL username</p><p></p><p>$_CONFIG['mysql']['password'] = '[PASSWORD]'; //MySQL password</p><p></p><p>$_CONFIG['mysql']['database'] = 'database'; //MySQL database</p><p></p><p>$_CONFIG['mysql']['port'] = '3306'; //MySQL's port</p><p></p><p>/*</p><p>*</p><p>* Hotel management - All URLs do not end with an "/"</p><p>*</p><p>*/</p><p></p><p>$_CONFIG['hotel']['server_ip'] = '[MYPUBLICIP]'; //IP of VPS/DEDI/etc</p><p></p><p>$_CONFIG['hotel']['url'] = 'http://[MYPUBLICIP]'; //Does not end with a "/"</p><p></p><p>$_CONFIG['hotel']['name'] = 'Hotel Name'; // Hotel's name</p><p></p><p>$_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //Hotel's description</p><p></p><p>$_CONFIG['hotel']['email'] = 'Support@hotmail.com'; //Where the help queries from users are emailed to.@Priv skin</p><p></p><p>$_CONFIG['hotel']['in_maint'] = False; //False if hotel is NOT in maintenance. True if hotel IS in maintenance</p><p></p><p>$_CONFIG['hotel']['motto'] = 'I Stay Frosty!.'; //Default motto users will register with.</p><p></p><p>$_CONFIG['hotel']['credits'] = 30000; //Default number of credits users will register with.</p><p></p><p>$_CONFIG['hotel']['pixels'] = 15000; //Default number of pixels users will register with.</p><p></p><p>$_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with.</p><p></p><p>$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build</p><p></p><p>$_CONFIG['hotel']['external_vars'] = 'http://[MYPUBLICIP]/game/external_variables.txt'; //URL to your external</p><p></p><p>$_CONFIG['hotel']['external_texts'] = 'http://[MYPUBLICIP]/game/external_flash_texts.txt'; //URL to your external texts</p><p></p><p>$_CONFIG['hotel']['product_data'] = 'http://[MYPUBLICIP]/game/productdata.txt'; //URL to your productdata</p><p></p><p>$_CONFIG['hotel']['furni_data'] = 'http://[MYPUBLICIP]/game/furnidata_xml.xml'; //URL to your furnidata</p><p></p><p>$_CONFIG['hotel']['swf_folder'] = 'http://[MYPUBLICIP]/game'; //URL to your SWF folder(does not end with a '/')</p><p>/*</p><p>*</p><p>* Templating management - Pick one of our default styles or make yours by following our examples!</p><p>*</p><p>*/</p><p></p><p>#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.</p><p></p><p>$_CONFIG['template']['style'] = 'Custom-Habbo';</p><p></p><p>/*</p><p>*</p><p>* Other topsites.. thing</p><p>*</p><p>*/</p><p></p><p>$_CONFIG['thehabbos']['username'] = 'SnipeCamp';</p><p>$_CONFIG['retro_top']['user'] = 'SnipeCamp';</p><p></p><p>/*</p><p>*</p><p>* Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.</p><p>*</p><p>*/</p><p></p><p>$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';</p><p>$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';</p><p></p><p></p><p>/*</p><p>*</p><p>* Social Networking stuff</p><p>*</p><p>*/</p><p></p><p>$_CONFIG['social']['twitter'] = 'paddziuk'; //Hotel's Twitter account</p><p></p><p>$_CONFIG['social']['facebook'] = 'paddziuk'; //Hotel's Facebook account</p><p></p><p>error_reporting(0)</p><p>?>[/CODE]</p><p></p><p>Alright Now lets move on to the main folder (htdocs) to display where the SWFS are located so we know they are in the right place.</p><p><img src="https://image.prntscr.com/image/bExp73QaTlCnBYIe-8EGhg.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p>Alright now lets move to the Emulators Config btw im using Silverwave Emulator</p><p>[CODE]## uberEmulator System Configuration File</p><p>## Must be edited for the server to work</p><p></p><p>## MySQL Configuration</p><p>db.hostname=localhost</p><p>db.port=3306</p><p>db.username=root</p><p>db.password=[PASSWORD]</p><p>db.name=database</p><p></p><p>## MySQL pooling setup (controls amount of connections)</p><p>db.pool.minsize=10</p><p>db.pool.maxsize=500</p><p></p><p>## Game TCP/IP Configuration</p><p>game.tcp.bindip=[MYPUBLICIP]</p><p>game.tcp.port=30000</p><p>game.tcp.conlimit=11000</p><p>game.tcp.conperip=100</p><p>game.tcp.enablenagles=true</p><p></p><p>## MUS TCP/IP Configuration</p><p>mus.tcp.bindip=[MYPUBLICIP]</p><p>mus.tcp.port=3001</p><p>mus.tcp.allowedaddr=[MYPUBLICIP]</p><p></p><p>## Client configuration</p><p>client.ping.enabled=1</p><p>client.ping.interval=20000</p><p>client.maxrequests=300[/CODE]</p><p></p><p>Now keep in mind I have portforwarded all recommended ports as well as done it threw my firewall and also to make sure it wasn't the firewall I even disabled it so.. lets hope you guys can assist me here and if you need anymore information let me know but this is the jist of it <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="minthotel, post: 424257, member: 17284"] Hello, I have been recently working on making a habbo retro once again after a long time of not creating one and I have Noticed there is an issue I followed this tutorial here on this forum posted on devebest [URL]https://devbest.com/threads/video-how-to-make-a-r63b-habbo-retro-for-free.63229/[/URL] And Im trying to make it public using VPS and Well I followed all the steps and I will provide you with screenshots and source code There will be placeholders for example [MYPUBLICIP] Will be my servers public IP example "Whats My IP" On the machine would display the public ip [LOCALHOST/IP] Will be 127.0.0.1 ect.. [MYURL] Which would be "my no ip url" example hotelname.com Hope you can help me out here. First lets start with my Client.php Here is the script [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/{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 = "http://[MYPUBLICIP]/game"; var flashvars = { "client.starting" : "Please wait, {hotelname} loading", "hotelview.banner.url" : "http://[MYPUBLICIP]/game/rs4.php", "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "[MYPUBLICIP]", "connection.info.port" : "30000", "site.url" : "http://[MYPUBLICIP]", "url.prefix" : "http://[MYPUBLICIP]", "client.reload.url" : "http://[MYPUBLICIP]/client", "client.fatal.error.url" : "http://[MYPUBLICIP]/me", "client.connection.failed.url" : "http://[MYPUBLICIP]/me", "external.variables.txt" : "http://[MYPUBLICIP]/game/external_variables.txt", "external.texts.txt" : "http://[MYPUBLICIP]/game/external_flash_texts.txt", "productdata.load.url" : "http://[MYPUBLICIP]/game/productdata.txt", "furnidata.load.url" : "http://[MYPUBLICIP]/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", "http://[MYPUBLICIP]/game/expressInstall.swf", flashvars, params, null); </script> </head> <body> <div id="client"></div> </body> </html>[/CODE] Here is my management config. [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'] = '[PASSWORD]'; //MySQL password $_CONFIG['mysql']['database'] = 'database'; //MySQL database $_CONFIG['mysql']['port'] = '3306'; //MySQL's port /* * * Hotel management - All URLs do not end with an "/" * */ $_CONFIG['hotel']['server_ip'] = '[MYPUBLICIP]'; //IP of VPS/DEDI/etc $_CONFIG['hotel']['url'] = 'http://[MYPUBLICIP]'; //Does not end with a "/" $_CONFIG['hotel']['name'] = 'Hotel Name'; // 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 Stay Frosty!.'; //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://[MYPUBLICIP]/game/external_variables.txt'; //URL to your external $_CONFIG['hotel']['external_texts'] = 'http://[MYPUBLICIP]/game/external_flash_texts.txt'; //URL to your external texts $_CONFIG['hotel']['product_data'] = 'http://[MYPUBLICIP]/game/productdata.txt'; //URL to your productdata $_CONFIG['hotel']['furni_data'] = 'http://[MYPUBLICIP]/game/furnidata_xml.xml'; //URL to your furnidata $_CONFIG['hotel']['swf_folder'] = 'http://[MYPUBLICIP]/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'] = 'SnipeCamp'; $_CONFIG['retro_top']['user'] = 'SnipeCamp'; /* * * 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 account error_reporting(0) ?>[/CODE] Alright Now lets move on to the main folder (htdocs) to display where the SWFS are located so we know they are in the right place. [IMG]https://image.prntscr.com/image/bExp73QaTlCnBYIe-8EGhg.png[/IMG] Alright now lets move to the Emulators Config btw im using Silverwave Emulator [CODE]## 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] db.name=database ## MySQL pooling setup (controls amount of connections) db.pool.minsize=10 db.pool.maxsize=500 ## Game TCP/IP Configuration game.tcp.bindip=[MYPUBLICIP] game.tcp.port=30000 game.tcp.conlimit=11000 game.tcp.conperip=100 game.tcp.enablenagles=true ## MUS TCP/IP Configuration mus.tcp.bindip=[MYPUBLICIP] mus.tcp.port=3001 mus.tcp.allowedaddr=[MYPUBLICIP] ## Client configuration client.ping.enabled=1 client.ping.interval=20000 client.maxrequests=300[/CODE] Now keep in mind I have portforwarded all recommended ports as well as done it threw my firewall and also to make sure it wasn't the firewall I even disabled it so.. lets hope you guys can assist me here and if you need anymore information let me know but this is the jist of it :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
R63B Client Black Client
Top