Initiate Mage
- Joined
- Aug 3, 2012
- Messages
- 1
- Reaction score
- 0
Housekeeping tab isnt showing up D:
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Find a portforwarding tutorial as i cannot write one and forward ports 80 and 30000. Okay, now go into your housekeeping and change whatever you like, like the hotel name and stuff. And change the Server IP to your ip, And change the swf's like this:
SWF Path =You must be registered to see links
SWF =You must be registered to see links
External variables =You must be registered to see links
External texts =You must be registered to see links
Sorry for my bad english :S
Hey, first super great tutorial ) Thumbs up (Y)
I have a problem, the client of the hotel holds at 33%.
Also, If i open the Phoenix Emulator comes a alert with: "Please check your configuration file - some values appear to be missing."
Could you please help me?
Thank you very much, u german friend
My client is white
help please
hey can i get a tutorial on the rev
Hi everybody, I'm new here and I'd like to make a tutorial on creating a r63 Phoenix Habbo Retro. Let's get started
Downloads
PhoenixPHP -You must be registered to see links
Phoenix Emulator 3.7.1 -You must be registered to see links(With Phoenix Emulator 3.7.1 SQL)
XAMPP -You must be registered to see links
SWF Pack -You must be registered to see links
Database -You must be registered to see links
Okay, so first Install XAMPP. Then run XAMPP control panel, and next to apache and mysql there are start buttons. So start up apache and mysql then go toYou must be registered to see linksand set up a password (something easy to remember).
Now download PhoenixPHP and Phoenix Emulator 3.7.1. Go to where XAMPP is located and go inside htdocs and delete every file in there. Open up PhoenixPHP and extract all of the files inside into the htdocs folder. Now go toYou must be registered to see linksand log in with the username root and the password you set up before. Go to databases, and create a new one. call it: "phoenixdb" (Without the quotes.) Download the Database in the downloads section and put it on your desktop. In phpmyadmin, go into your database and select the tab "Import". Then select "Choose file" Or "Browse" and a window will pop up, in the window, go to your desktop and double click (select) the Database (sql) then go down to the bottom of the page, and click go. After you did this, click the import tab once again, press "Browse" and select the "3.7.1 SQL" inside the Phoenix Emulator 3.7.1 folder. (Extract the folder from the archive to your desktop if you must first), then press go at the bottom of the page once again.
To setup the emulator, create a new folder on your desktop and name it whatever you like. Then, extract the folder inside the Emulator winrar file to your desktop (If you haven't already.) Open the emulator folder, Double click into "config.conf" (Open with wordpad or notepad) and edit it like this:
Code:## Phoenix 3.0 System Configuration File ## Licence Information **************.username=JayPwnsAll **************.password=Rulez ## MySQL Configuration db.hostname=localhost db.port=3306 db.username=root db.password=(The password you setup) db.name=phoenixdb ## 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
So put in your password, and the name of your database (This should be phoenixdb) but DON'T start the emulator yet.
Go into your database again and select the SQL tab. Then put in this:
Code:ALTER TABLE `permissions_ranks` ADD `cmd_masspixels` enum('1','0') NOT NULL DEFAULT '0'; ALTER TABLE `permissions_ranks` ADD `cmd_globalpixels` enum('1','0') NOT NULL DEFAULT '0'; ALTER TABLE `permissions_users` ADD `cmd_masspixels` enum('1','0') NOT NULL DEFAULT '0'; ALTER TABLE `permissions_users` ADD `cmd_globalpixels` enum('1','0') NOT NULL DEFAULT '0'; DROP TABLE IF EXISTS `permissions_vip`; CREATE TABLE `permissions_vip` ( `cmdPush` enum('0','1') NOT NULL DEFAULT '1', `cmdPull` enum('0','1') NOT NULL DEFAULT '1', `cmdFlagme` enum('0','1') NOT NULL DEFAULT '1', `cmdMimic` enum('0','1') NOT NULL DEFAULT '1', `cmdMoonwalk` enum('0','1') NOT NULL DEFAULT '1' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; INSERT INTO permissions_vip VALUES ('1', '1', '1', '1', '1'); ALTER TABLE `rooms` ADD `achievement` int(11) NOT NULL DEFAULT '0'; ALTER TABLE `bots` ADD `effect` int(2) NOT NULL DEFAULT '0';
Then press go, if that doesn't work then it probably means you already have the right things in your database, so don't worry about it. Now, go into your htdocs and open up the config file. Edit it like this:
Code:<?php $host = "localhost"; ////Most of the time this is Localhost//// $username = "root"; ////I think this is root..//// $password = "password"; ////You're mysql password//// $dbname = "phoenixdb"; ////You're mysql database//// $sitename = 'Habbza'; ////This is you're hotel name!//// $gameport = '30000'; $musport = '30001'; $twitter = 'Amir_Zz'; ////Do you have twitter?//// $radio = 'idk'; ////Fill in a .m3u radio//// $footer = 'Enjoy the hotel!'; ////You can put anything here for in the footer//// ?>
Put in your password, and again the name of your database (phoenixdb). Then go toYou must be registered to see links. Now register and then go toYou must be registered to see links- Go into your database and go to the left and scroll down and find the table "users", click into it and then find your user and edit your rank to 7. Now refresh the hotel page and you should have housekeeping. Download the SWF pack i have in the downloads, Put that folder into your htdocs folder. Open up external_variables and press ctrl+h Then put in the "Find what" box "bobba.in" and In the replace box put in your ip from whatismyip.org. Also replace "yohabbohotel.com" and "%predefined%" with your IP.
Find a portforwarding tutorial as i cannot write one and forward ports 80 and 30000. Okay, now go into your housekeeping and change whatever you like, like the hotel name and stuff. And change the Server IP to your ip, And change the swf's like this:
SWF Path =You must be registered to see links
SWF =You must be registered to see links
External variables =You must be registered to see links
External texts =You must be registered to see links
Go back into phpmyadmin, select your database, look to the left again and scroll down until you find the table "cms_settings" click into it, once there, you have to edit everything that is there to your details. If you don't know how to do this post a comment, I will reply back teaching you how to configure this part. However if you do know, change all the links/settings to yours and then continue.
Once you have set all that up, You need to change just 1 more thing before you can get into your hotel. Go into htdocs/content and open up the "client.php" file. Replace the whole code with this:
Code:<?php define('USERNAME_REQUIRED', TRUE); define('ACCOUNT_REQUIRED', TRUE); include('../global.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php function rndchar() { $rnd = rand(65, 122); if(96 >= $rnd && $rnd >= 91) { $rnd = 95; } return chr($rnd); } $str = "";//rndchar().rndchar().rndchar().rndchar().rndchar().rndchar().rndchar().rndchar().rndchar().rndchar().rndchar(); $ticket = "ST-".$str.rand(10000, 99999).$str."-".rand(100000, 999999).rand(100000, 999999); $username = $_SESSION['username']; if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username'])) { $username = $_GET['username']; $ticket = $_GET['ticket']; } $query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'"); $query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'"); ?> <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><?php echo $sitename." - Client"; ?></title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); var ad_keywords = ""; document.habboLoggedIn = true; var habboName = "<?php echo $_SESSION['username']; ?>"; var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>"; var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client"; window.name = "ClientWndw"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; } </script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/styles/common.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/js/visual.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/js/libs.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/js/common.js" type="text/javascript"></script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/styles/habboflashclient.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/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 $core->CmsSetting('client_ip'); ?>", "connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>", "site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>", "url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>", "client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client", "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?flash_client_error", "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?client_connection_failed", "external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>", "use.sso.ticket" : "1", "sso.ticket" : "<?php echo $ticket ?>", "processlog.enabled" : "0", "account_id" : "1", "client.starting" : "Please wait while Habbza Hotel is loading", "flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/", "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", "has.identity" : "0", "flash.client.origin" : "popup", "token" : "<?php echo $ticket ?>", "logout.disconnect.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?logout&origin=%origin%", "logout.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?logout&reason=%reason%&origin=%origin%" }; var params = { "base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } //no cach!! var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/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="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/styles/ie6.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/js/pngfix.js" type="text/javascript"></script> <script type="text/javascript"> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} </script> <![endif]--> </head> <body id="client" class="flashclient"> <div id="overlay"></div> <img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/images/page_loader.gif" style="position:absolute; margin: -1500px;" /> <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">Por favor, actualiza tu Flash Player a la ?ltima versi?n</h2> <div class="box-content"> <p>Puedes instalar y descargar Adobe Flash Player aqu?: <a href="http://get.adobe.com/flashplayer/">Instala Flash player</a>. M?s instrucciones para su instalaci?n aqu?: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">M?s informaci?n</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/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> </div> </div> <div id="content" class="client-content"></div> </div> <script type="text/javascript"> HabboView.run(); </script> </body> </html>
Once you have done that, start the Phoenix emulator and if it starts up fine, you can now enter your hotel! If you need any help please post a comment .
Please don't post hateful comments as this is just my first tutorial and I am still learning. Thank you. And please remember that PhoenixPHP is not very secure. So I suggest you move on to RevCMS, which can be downloaded here:You must be registered to see links
If you need a tutorial on setting it up, please post a comment
Thank you all! Enjoy your hotel!
Could you accept my msn please i need help my problem is this:Fatal error: Call to undefined function curl_init() in C:\Users\Damien Garton\Documents\xampp\htdocs\thehabbos_api\class.validate.php on line 33
If you could teamview me or skype me would be helpful, I really want this up and running this weekend. Im from Australia and i dont know what time you are on. So send me a message when a good time is this weekend and i will be there. Please reply. This a a great tut but sitll i get confused Thankyou.
Once you have set all that up, You need to change just 1 more thing before you can get into your hotel. Go into htdocs/content and open up the "client.php" file. Replace the whole code with this:
Code: [...]