go in to client.php and where it says 63_1dc60c6d6ea6e089c6893ab4e0541ee0/numbershere replace it with 63_1dc60c6d6ea6e089c6893ab4e0541ee0/1150Everything looks great and fine! Thanks ;D
One problem, when I 'ENTER HOTEL' its giving me a white page. Any suggestions to fix this?
So? It's your Internet provider you changing plus you don't really change anything more adding thingsSh!t. Its working.
However, 5 minutes into playing it starts blinking and then freezes. How do I fix that?
Also, how do I make the site public to others and make it Hamachi?( I do not want to do port-forwarding because I am currently in a rented house and I do not want to mess with the router settings)
Sh!t. Its working.
However, 5 minutes into playing it starts blinking and then freezes and goes to a black screen. How do I fix that?
Also, how do I make the site public to others and make it Hamachi?( I do not want to do port-forwarding because I am currently in a rented house and I do not want to mess with the router settings)
> I know how to make it public now, I wasnt thinking straightI'm not going to tell you how to make it public, make a thread for that in the help section. I will only help with the making of the hotel itself.
Use better SWFS> I know how to make it public now, I wasnt thinking straight
Could you tell me how to fix the black screen 1-2 minutes after playing?
Nice. But I support tutorials that include IIS.
Keep up the good work. FrostCMS has some exploits though. Use RevCMS or a secured CMS. still a nice tutorial though. -Hypomethic
Thank you for the tutorial it helped
Hello there I have done everything in the tutorial and I'm stuck at the part of frostCMS because there is no config.php for this part #7 - Now go to client.php delete it all and replace it with the following: And on this part it's not there or i don't know where it would be:NOTE: Also, don't forget to edit the following in your PHP.ini, and delete the webdav folder; Please help me.
Hey,
Today we are going to create a Habbo Retro using FrostCMS
Downloads
FrostCMS Beta 1.0:You must be registered for see links
XAMPP:You must be registered for see links
MYSQL:You must be registered for see links
Winrar:You must be registered for see links
#1 - Buy a phoenix license or use a cracked version (recommend buying, if you are going to use a cracked version I will not supply links/sites to download one, so please do not ask)
#2 - We will start of by setting up XAMPP, download and install it then open up the Control Panel. Make sure you have Apache and MYSQL running, with both of the SVC boxes ticked. Nothing else apart from those two.
#3 - Go to
C:\xampp\htdocsand deleting everything in that folder. Once you have done that, either searchYou must be registered for see linksor click the link. Select your language, then find a tab named "Security" set up a password that you will easily remember, but not to easy that it could get hacked.
#4 - Go to your desktop and make a folder named 'Phoenix' or something along those lines, and extract your Phoenix files using Winrar. Now go toYou must be registered for see linksand put the username as "root" without the quotes and the password as the one you seat earlier.
#5 - Once you are on click onand then[/code]
Once the database is created, go on it and click on "Import", find your .sql file which should be located in the "Phoenix" folder on your desktop.
Now you will want to configure your server so go to the config file in the phoenix folder and edit it like so
Code:**************.username=Your ***** Username **************.password=your ***** password ## MySQL Configuration db.hostname=localhost db.port=3306 db.username=root db.password=your xampp password db.name=your database name ## MySQL pooling setup (controls amount of connections) db.pool.minsize=5 db.pool.maxsize=100 ## Game TCP/IP Configuration game.tcp.bindip=127.0.0.1 game.tcp.port=30000 game.tcp.conlimit=5000 ## Client configuration client.ping.enabled=1 client.ping.interval=30000 ## MUS TCP/IP Configuration mus.tcp.bindip=127.0.0.1 mus.tcp.port=30001 mus.tcp.allowedaddr=127.0.0.1 ## Console Configuration emu.messages.connections=1 emu.messages.roommgr=1
Now test your server to make sure it works, if not re-look over the steps.
#6 -
Ok so now we can move on to the CMS. So download FrostCMS and extract it to C:\xampp\htdocs.
Now go to your htdocs and go to frost_global and then open config and edit it like so
Code:<?php ## FrostCMS 1.0 ## ## Made by AmirZ ## ## Thanks for using! ## #error_reporting(0); //Remove the "#" for use in public $dbhost = "localhost"; $dbuser = "root"; $dbpass = "your xampp password"; $database = "Name of your database"; $sitename = "Hablow"; $regmotto = "Whats up?"; $gameport = "30000"; $musport = "30001"; $swf_base = "http://para-hotel.com/client/r63/"; $swf_vars = "http://para-hotel.com/client/r63/external_variables.txt"; ?>
#7 - Now go to client.php delete it all and replace it with the following:
Code:<?php if(!isset($_SESSION['username'])){ header("Location: ../"); exit; } setcookie("last_online", $user->me('last_online'), time() + 604800, "/"); //To make sure you can still logout because the emulator updated the last_online ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>{sitename} Hotel: Client</title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); </script> <link rel="stylesheet" href="{site}/web-gallery/static/styles/common.css" type="text/css" /> <script src="{site}/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="{site}/web-gallery/static/js/visual.js" type="text/javascript"></script> <script src="{site}/web-gallery/static/js/libs.js" type="text/javascript"></script> <script src="{site}/web-gallery/static/js/common.js" type="text/javascript"></script> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "{username}"; var habboReqPath = "{site}"; var habboStaticFilePath = "{site}/web-gallery"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{site}/client"; window.name = "ClientWndw"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; } </script> <link rel="stylesheet" href="{site}/web-gallery/static/styles/habboflashclient.css" type="text/css" /> <script src="{site}/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script> <script type="text/javascript"> FlashExternalInterface.loginLogEnabled = false; FlashExternalInterface.logLoginStep("web.view.start"); if (top == self) { FlashHabboClient.cacheCheck(); } var flashvars = { "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "1", "connection.info.host" : "<?php echo $_SERVER['SERVER_NAME']; ?>", "connection.info.port" : "{gameport}", "site.url" : "{swfsite}", "url.prefix" : "{swfsite}", "client.reload.url" : "{site}/client", "client.fatal.error.url" : "{site}/client", "client.connection.failed.url" : "{site}/client", "external.variables.txt" : "{swfvars}", "use.sso.ticket" : "1", "sso.ticket" : "<?php echo $user->sso(); ?><?php #echo md5($ticket); ?>", "processlog.enabled" : "0", "account_id" : "{id}", "client.starting" : "{sitename} is loading, please wait.", "flash.client.url" : "{swfbase}/", "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", "has.identity" : "0", "flash.client.origin" : "popup", "logout.disconnect.url" : "{site}/client", "logout.url" : "{site}/account/logout?token={token}" }; var params = { "base" : "{swfbase}/", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } FlashExternalInterface.signoutUrl = "{site}/account/logout?token={token}"; var clientUrl = "{swfbase}/habbo.swf"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "{site}/web-gallery/flash/expressInstall.swf", flashvars, params); window.onbeforeunload = unloading; function unloading() { var clientObject; if (navigator.appName.indexOf("Microsoft") != -1) { clientObject = window["flash-container"]; } else { clientObject = document["flash-container"]; } try { clientObject.unloading(); } catch (e) {} } </script> <!--[if IE 8]> <link rel="stylesheet" href="{site}/web-gallery/static/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="{site}/web-gallery/static/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="{site}/web-gallery/static/styles/ie6.css" type="text/css" /> <script src="{site}/web-gallery/static/js/pngfix.js" type="text/javascript"></script> <script type="text/javascript"> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} </script> <style type="text/css"> body { behavior: url(/js/csshover.htc); } </style> <![endif]--> </head> <body id="client" class="flashclient"> <div id="overlay"></div> <div id="overlay"></div> <div id="client-ui" > <div id="flash-wrapper"> <div id="flash-container"> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"> <div class="cbb clearfix"> <h2 class="title">Please install Adobe Flash Player.</h2> <div class="box-content"> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/"> Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/"> More information</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="{site}/web-gallery/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> </div> </div> <script type="text/javascript"> $('content').show(); </script> <noscript> <div style="width: 400px; margin: 20px auto 0 auto; text-align: center"> <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p> </div> </noscript> </div> </div> <div id="content" class="client-content"></div> </div> </body> </html>
NOTE: Also, don't forget to edit the following in your PHP.ini, and delete the webdav folder;
Code:PHP Safe Mode = On
You have now made a R63 retro! I am aware the SWFS are from paradise hotel, but in my last thread people had problems with making there own SWFS, so go on google for a tutorial.
I WILL OFFER FULL SUPPORT VIA JOIN.ME IF YOU GET STUCK - PM YOUR DETAILSDownload Join.me atYou must be registered for see linksat download "Basic" then pm the URL to me, to find out why we are using join.me look at the update log below.Update log;
PHP:#01/07/2012 - Created Tutorial #04/07/2012 - Giving free help via teamviewer #07/07/2012 - Changed FrostCMS download; was FrostCMS Beta 0.1 - now FrostCMS Beta 1.0 #07/07/2012 - Changed downloading site; was Mediafire - now Rapidshare #07/07/2012 - Added README.txt file, delete it after you have read it #08/07/2012 - Updated the support section just above, Teamviewer uses port 80, so we now need to use join.me #10/07/2012 - Removed the cracked phoenix in the 'Information' folder, I never realised this was implanted when I downloaded it #10/07/2012 - Changed FrostCMS download; DevBest does not support cracked versions, so I removed and re-uploaded #18/07/2012 - Now supporting hotels that would like to use IIS instead of XAMPP, must have it pre-installed though #21/07/2012 - Changed update log to PHP version as it looked cooler