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

[TUT] Setup a R63 Hotel | RevCMS | IIS | PhoenixEMU

Discussion in 'Habbo Tutorials' started by Vineen, Apr 6, 2012.

Thread Status:
Not open for further replies.
  1. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    This tutorial is already outdated due to dramatical changes with Phoenix. Please keep in mind that if it doesn't work then probably you have to try out another tutorial. Thanks for your time!

    NOTES:
    1. This tutorial can be done exactly through Windows 2008 Standard Edition R2.
    2. I will not cover support for personal computer setups, Hamachi, or portforwards.
    3. Emulator equipped is Phoenix, and I will only support hotels which needs help which has a registered Phoenix license. Anywhore, once RevEMU is released I'll be adding tweaks to this tutorial for the emulator + RevCMS.
    4. I do accept setups, free or paid depending on request, time availability etc. If paid setups, I only do upfront payments. Thank you!
    MySQL: Install MySQL on your Windows VPS
    [ Want to see this link? Register ! ]
    1. Select 'Server Only' when asked
    2. Remember that you should not forget your MySQL password, default username is root
    3. You can name your database aside from 'rev_phoenix'.
    _______________________________________________________________________________
    Download WinRar: We will need WinRar to extract any zipped folders (.rar format)
    If you have WinRar already installed, skip this step.
    1. Go to Start > Computer > System Properties. Check what is your system type (32-bit or 64-bit).
    • If 64-bit, download WinRar using this link: [ Want to see this link? Register ! ]
    • If 32-bit, download WinRar using this link: [ Want to see this link? Register ! ]
    Make sure you check all the boxes on the left pane after installing and click Done. Now you can extract later the files I will need you to download.
    _______________________________________________________________________________
    1. On your virtual server, click Server Manager, then on the 'Roles' section, select 'Add Roles'. Tick the box next to IIS, to make it checked, click next.

    2. Check Application Development (all the children of this node shall be checked aswell automatically), underPerformance select Static Content Compression and under Management Tools select IIS Management Console, IIS Management Scripts and Tools and Management Service.

    3. Click the Install button, and wait for IIS to install - restart if the installer requires YOU to restart, IF ONLY YOU ARE ASKED TO DO SO.

    Now download Microsoft Web Platform Installer here: [ Want to see this link? Register ! ]

    4. Now search the following in the search box of MWPI*:
    PHP 5 (Select any version as long as it is PHP 5.X)
    [​IMG]
    IIS 7 (Select IIS 7 Recommended Configuration)
    [​IMG]

    (The Installed will appear if that tool is already installed, if not it is Add button that will appear. Then click the install button below:
    [​IMG]

    Remember the password you have entered on the installation of MySQL as we will need it on the other steps later.

    URL Rewrite 2.0
    Screenshot from 2012-07-29 02:17:54.png
    This will help the web.config work properly.


    5. On your virtual server's browser, type on your web address [ Want to see this link? Register ! ], a webpage shall appear like this:
    [​IMG]

    6. Now go to your C:\inetpub\wwwroot and delete everything found in that Window.
    [​IMG]

    7. Now download RevCMS 1.9.9.9 by [ Want to see this link? Register ! ]Kryptos which [ Want to see this link? Register ! ] integrated TheHabbos API better.
    Official download: [ Want to see this link? Register ! ]

    8. Extract all the files inside RevCMS 1.9.9.9 folder on the zip file to C:\inetpub\wwwroot
    [​IMG]

    Let's now download Notepad++ before continuing to Step 9. Notepad puts everything in a blob while Notepad++ organizes everything, you can avail Notepad++ at [ Want to see this link? Register ! ].

    9. Now we will need to edit the config.php, go to C:\inetpub\wwwroot\app\management, right clickconfig.php and select 'Edit with Notepad++'.

    On the host username, leave it as root and for host password change it with the MySQL password you have just created during the installation of MySQL.

    For database name, leave it rev_phoenix. And the host should be left localhost. Now on the lower part (which asks for virtual server IP and URL of the hotel), change localhost/RevCMSold to (Your virtual server's IP) and localhost/RevCMSto (Your virtual server's IP).

    If ever you do not want to make your hotel public and only make it accessible to the local virtual machine, put localhost instead of your virtual server's IP.

    10. Now download Navicat, you can get a trial at [ Want to see this link? Register ! ] or get a cracked one, either of those two works the same. Applicable to Navicat Premium and Navicat MySQL.


    Now, click 'Connections' and select 'MySQL', the connection name could be everything you want, just change the password to the MySQL password you created on the earlier steps.

    Now connect with the database. Right click on the left pane and select New Database and name it rev_phoenix.

    11. Download the phx.zip from the v13 downloads available in the Project Phoenix forum exclusive for licence holders.

    Now go back to Navicat, click 'Query' then on lower bit click 'New Query', select 'New Load' and go to the phx folder, then go to the SQL subfolder, select Phoenix 3.9.1.sql and everything shall be fine now.

    BEFORE GOING TO #12, delete the .htaccess file found in the wwwroot folder, then open Notepad++ then hold Ctrl + N, then paste this pastie to that new file:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="Imported Rule 1">
                        <match url="^(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 2">
                        <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 3">
                        <match url="^(.*)\.htm$" />
                        <action type="Rewrite" url="{R:1}.php" />
                    </rule>
                    <rule name="Imported Rule 4">
                        <match url="^(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                    </rule>
                    <rule name="Imported Rule 5">
                        <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                        <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
    Save it as web.config, on the type field find CONFIG and select it, however if you cannot do that we will do another method.

    BEFORE GOING TO #12, go to Start -> Computer -> Click Organize ▼ then select Folder and Search Options, then go to 'View' tab, uncheck 'Hide extensions for known file types'.

    Now go back to wwwroot, rename your .htaccess file to web.config then hold Ctrl + A and paste the pastie provided above. Now the STEP #12 shall work.

    12. Go to [ Want to see this link? Register ! ] and you shall see a simple site, a simple theme for RevCMS named Priv.

    It's so small for an actual hotel right? Now we will change that into a wider theme, go back to your config.php (if you do not close Notepad++ yet, you can choose the config.php tab again) and on the lower part, there is a templating system and that it will say 'Priv', change it to 'Mango' and bam... the site is now alot better.

    BEFORE REGISTERING, run this query on Navicat too:
    Code:
    ALTER TABLE `users` ADD `seckey` VARCHAR(999) NOT NULL
    Now you will be able to register.

    13. Now we assume you are now registered, go to Navicat then under the database rev_phoenix, select Tables then on the right pane select users.

    You should see a 1 field with your username, etc..., now to make yourself admin, rank yourself to rank 7. You can modify the ranks yourself if you plan to add newer ranks (like Super VIP and Events Staffs etc..).

    SWF part: Installing your hotel's SWF for the client..
    Note: If this doesn't work, then find another SWF pack. However, steps here might be differ depending on the directory structure!
    1. Download the recommended SWF pack for this tutorial here: [ Want to see this link? Register ! ]

    2. Extract the c_images, hof_furni and r63 folder on C:\inetpub\wwwroot folder.

    3. Go to your r63 folder then find your external_variables.txt, right-click it and select 'Edit with Notepad++'. Now hold Ctrl + H, on the first box type YOURIPHERE and on the second box type your virtual server's IP (if the hotel is going public) or localhost for access to the local virtual machine only.

    4. Now in the config file (config.php) there shall be some structures alike to this one:

    PHP:
    $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/957'//Web_Build
     
    $_CONFIG['hotel']['external_vars'] = 'http://YOURIPHERE/r63/external_variables.txt'//URL to your external vars
     
    $_CONFIG['hotel']['external_texts'] = 'http://YOURIPHERE/r63/external_flash_texts.txt'//URL to your external texts
     
    $_CONFIG['hotel']['product_data'] = 'http://YOURIPHERE/r63/productdata.txt'//URL to your productdata
     
    $_CONFIG['hotel']['furni_data'] = 'http://YOURIPHERE/r63/furnidata.txt'//URL to your furnidata
     
    $_CONFIG['hotel']['swf_folder'] = 'http://YOURIPHERE/r63'//URL to your SWF folder(does not end with a '/')
    Replace the codes alike to that one with that one, now hold Ctrl + H, on the first box type YOURIPHERE and on the second box type your hotel's URL (if ever available, if not yet, type your virtual server's IP until domain is available) or if for private use, type localhost on the second box.

    Phoenix Emulator part: Setting up your Phoenix to emulate Habbo...
    The phx folder (the one you downloaded in earlier steps) is the one we will only access in this part.

    1. On the phx folder, you will see a config.conf file below the SQL folder, right-click that and open Notepad++, now enter your Otaku (licenced account for Phoenix) username and password on the field, label your MySQL password and database name (which is rev_phoenix) then after that run the emulator. Everything shall be okay like this one:
    [​IMG]

    Fixing 404 ASE error: Part where we will fix your housekeeping...
    We will only need to install Helicon APE for this part.

    1. Download Helicon APE here: [ Want to see this link? Register ! ]

    2. In the middle of the installation, it will ask to set it up for the whole IIS server, leave it checked and let it finish. Your housekeeping should work now.

    Portforwarding part: We will make your hotel available to public now...

    1. Go to Server Manager, expand Configuration then expand Windows Firewall with Advanced Security and click 'Inbound Rules'

    2. On the right pane, click 'Add new rule...', select Port, then enter port 80 on the box, select Next 2 times then name the rule in anything (e.g. port80)*

    Repeat this for port 30001, 30000. Now the hotel shall be available public!

    Credits: Who contributed in this tutorial...
    [ Want to see this link? Register ! ] - For the whole tutorial...
    [ Want to see this link? Register ! ] - For developing RevCMS
    [ Want to see this link? Register ! ] - For integrating TheHabbos better to RevCMS

    DevBest does not support cracked Phoenix emulator and so do I, if you need any help please PM me with a proof you own a licence before I continue my help. Click Like if this tutorial helped! :) So much effort I put into it.
    Wassim, 404, gcv1998 and 23 others like this.
  2. Quackster
    Offline

    Quackster Like a sir.

    Joined:
    Aug 22, 2010
    Messages:
    1,317
    Likes Received:
    718
    Best Answers:
    1
    Excellent tutorial Vineen. There is ALOT of quality I see, alot of effort. :)
    RenielGangst likes this.
  3. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    Thank you for the feedback. I put in a lot of effort to help newbies from getting in trouble, although at some point there are no screenshots I assure they understand what I mean as there are little hints on each steps.
    Delshad likes this.
  4. supportblink
    Offline

    supportblink New Member

    Joined:
    Mar 11, 2012
    Messages:
    6
    Likes Received:
    1
    Best Answers:
    0
  5. Lepos
    Offline

    Lepos tickle my anus and call me samantha Staff Member

    Joined:
    Dec 11, 2011
    Messages:
    1,752
    Likes Received:
    680
    Best Answers:
    2
    A lot of threads have been made for tuts.

    But this seems to be good and helpful! Noob friendly also.

    Hope this helps!
  6. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    Thank you for the feedback. :D

    I can setup the hotel for you, for FREE as long as you provide a proof you own a Phoenix licence. We DevBest does not support cracked PhoenixEMU. :)

    @All -- never noticed I forgot the web.config part? :oops: Now it is added and everything shall work.
    404 likes this.
  7. Sledmore
    Offline

    Sledmore Chaturbate Livestreamer Staff Member FindRetros Moderator

    Joined:
    Jul 24, 2010
    Messages:
    3,803
    Likes Received:
    1,964
    Best Answers:
    8
    Looks like a nice tutorial, but you didn't mention URL Rewrite? Which is needed for the web.config. :p But looks great. Good job.
  8. Stuart
    Offline

    Stuart New Member

    Joined:
    Apr 11, 2012
    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Can you please inform me on what exactly a Pheonix Licence is, what it looks like and where I can acccess one?
  9. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    It can be found on another rival forum. A Phoenix Licence allows you to gain the legitimate PhoenixEmulator, you get access to better support and the secret forum for Phoenix Licence Holders -- unlike if you use cracked ones, you'll only get support from those who wants to help you, in which, including DevBest - does not support those who uses cracked ones.

    I am not sure about that, but this is a total rewrite from the tutorial of Mitchell with additional screenshots. URL Rewrite was not mentioned there as far as I know.
  10. Grapefruit
    Offline

    Grapefruit New Member

    Joined:
    Apr 12, 2012
    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Vineen, next time, not Tag me at this, im a fine Retro Techniker im not need for this.

    Only for you know it :)
  11. Mitchell
    Offline

    Mitchell New Member

    Joined:
    Oct 26, 2011
    Messages:
    3
    Likes Received:
    2
    Best Answers:
    0
    You are trying to impersonate me? That's sad dude. Stealing my name too? Wow.
  12. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    So hai there Grapefruit. So who is [ Want to see this link? Register ! ] ? I made all mistakes now. This is my re-write of your tutorial btw, you rock.
  13. Grapefruit
    Offline

    Grapefruit New Member

    Joined:
    Apr 12, 2012
    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Vineen, thanks, You too rocking helping people thats enought Nice :)
  14. Mitchell
    Offline

    Mitchell New Member

    Joined:
    Oct 26, 2011
    Messages:
    3
    Likes Received:
    2
    Best Answers:
    0
    Are you serious? He was saying that to me. Stop trying to be me you twat.

    [​IMG]

    Enough proof? Go away.

    [​IMG]

    Enough proof? Go away.
    xAceR and Vineen like this.
  15. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    You have a point.. but she is pointing out that you are a poser and that she has the rights to claim the originality of this tutorial and stuff. It was my first mistake tagging you after having a thought you were the real Grapefruit from Otaku.

    MOD REQUEST: Please clean up my tutorial. Thank you. :)
  16. Kryptos
    Offline

    Kryptos prjRev.com

    Joined:
    Jul 21, 2010
    Messages:
    2,134
    Likes Received:
    1,340
    Best Answers:
    0
    Rasta never had to patch any exploits... There were never exploits.

    You can remove that.
    Vinnie620 likes this.
  17. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    Sorry with that. CREDITS altered. Then what's up with [ Want to see this link? Register ! ] saying it has SQL injection patches?
    [​IMG]

    This tutorial is a total rewrite, sorry for any errors or mistakes that could be made.
  18. Crup
    Offline

    Crup weeeeee

    Joined:
    Jul 25, 2010
    Messages:
    533
    Likes Received:
    327
    Best Answers:
    3
    Re-name the title to (noob friendly)
    Trollz likes this.
  19. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    I would ask one of the Habbo Hotel section moderators. Thanks for suggestions. :)
  20. Vineen
    Offline

    Vineen Posting Freak

    Joined:
    Oct 4, 2011
    Messages:
    2,308
    Likes Received:
    464
    Best Answers:
    0
    I do, before... I left the management on my co-owner with the licence (except him logging on it).
Thread Status:
Not open for further replies.

Share This Page