1. Tired of not being able to see links? Want to chat with other members? Need help?

[TUT] How to make a Phoenix Habbo Retro [TUT]

Discussion in 'Habbo Tutorials' started by Caraghhh, Oct 18, 2012.

  1. Caraghhh

    Caraghhh Member

    Aug 11, 2012
    Likes Received:
    If you dont know ANYTHING about Habbo Retros, this is not for you.


    PhoenixPHP - Please buy Phoenix or find your own as I dont support cracked versions
    Phoenix Emulator 3.7.1 - Please buy Phoenix or find your own as I dont support cracked versions
    XAMPP - [ Want to see this link? Register ! ]
    SWF Pack - [ Want to see this link? Register ! ]
    Database - [ Want to see this link? Register ! ]

    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 to [ Want to see this link? Register ! ] and 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 to [ Want to see this link? Register ! ] and 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:
    ## Phoenix 3.0 System Configuration File
    ## Licence Information
    ## MySQL Configuration
    db.password=(The password you setup)
    ## MySQL pooling setup (controls amount of connections)
    ## Game TCP/IP Configuration
    ## Client configuration
    ## MUS TCP/IP Configuration
    ## Console Configuration
    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:
    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'
    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:
    $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). Tthen go to [ Want to see this link? Register ! ] - 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 = [ Want to see this link? Register ! ]
    SWF = [ Want to see this link? Register ! ]
    External variables = [ Want to see this link? Register ! ]
    External texts = [ Want to see this link? Register ! ]

    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:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    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">
        <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"; }
        <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;
            if (top == self) {
            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 {
                } catch (e) {}
        <!--[if IE 8]>
        <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/957/web-gallery/static/styles/ie8.css" type="text/css" />
        <!--[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" />
        <!--[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) {}
    <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>
                    <script type="text/javascript">
            <div id="content" class="client-content"></div>           
        <script type="text/javascript">
    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 :).
  2. GangnamStyle

    GangnamStyle HTML Advanced Coder

    Jan 8, 2012
    Likes Received:
    Maihly people do struggle making thier retro on a vps maybe you can do a TUT On that. Plus are you usibg cracked licence┬┐
  3. Caraghhh

    Caraghhh Member

    Aug 11, 2012
    Likes Received:
    I don't support cracked :) I don't think Devbest does either
  4. DrPepper

    DrPepper I drink myself on a regular basis get over it

    Jul 14, 2012
    Likes Received:
    Thanks for making a tut bunches of noobs out there
  5. Caraghhh

    Caraghhh Member

    Aug 11, 2012
    Likes Received:
  6. Phasfeldt

    Phasfeldt Akward moment :3

    Dec 3, 2011
    Likes Received:
    Cool enough :)

Share This Page