TUTORIAL : Making a R63B Habbo Retro With Azure Emu and RevCMS
Hello!
If you're reading this thread , then chances are you are probably looking on how to setup Azure Emulator with Revcms on IIS. Well you've come to the right thread. Let's start shall we ?
First what you will be needing is a basic understanding on how a habbo retro works. Habbo Retros (also known as a Private Server or just shortened to Retros) is the name given to a website that mimics the style of an official Habbo Hotel site and is not operated by Sulake.
Next you need to know , what is Azure emulator?
Azure is a nonprofitible project that tries to create the same content as Habbo but Azure has been improving and creating our own Emulation software that emulates the Habbo Client. We also along side of Azure Emulator operate many other sub-projects of various purposes like: AzureCMS, AzurePacketScouter, AzurePacketUpdater and many other project that are "Yet to be named."
This emulator is being developed by the azure team who are : -
Next , what is RevCMS?
RevCMS is a secure habbo retro content management system. It's easy to setup and doesn't cause a heck of problems for newbies. It was created by a user named Kryptos. It's most famous for it's mango habbo skin and it's habbo theme that was made by @
Hejula and @
ησвяαιη
Okay , enough of explanations. Let's start with the retro setup. What you will need :
Is to install IIS 7. I will be explaining on how to install IIS on a windows computer. If you are using a VPS , you will be needing to add role. You can google out on how to setup IIS on a windows VPS. Anyway, open up "Turn windows feature on or off" ( You search for it in your start search bar)
Then you will be needing to click on these guys :

Now it may ask you to restart your computer. Do it.
Also , chances are , you will be needing CGI for IIS. To enable it ,do as so :
1. Click Start, and then click Control Panel.
2 .In Control Panel, click Programs, and then click Turn Windows features on or off.
3. In the Windows Features dialog box, click Internet Information Services to install the default features, and then select the following additional feature in the Application Development Features section:
and tick on CGI
It will look like this :

Click OK to close the Windows Features dialog box.
Next , is for you to download Microsoft Web Platform. The download link : https://www.microsoft.com/web/downloads/platform.aspx
After installation , it will open up and you should see this :

In the search bar ,search for MYSQL . Download and install.

During the installation it will ask you to type in a password. Make sure it's something you remember. You will be needing it later. After that's installed , search for PHP. Download and install.

Next , search for IIS Recommended configuration. Download and install.

Lastly , install .Net extensibility 4.5 (If you're on windows 8 that is. Since helicon ape asked me to)

Now if you open up your browser, go to your url bar , and type in http://localhost . You should see your IIS frontpage.

Don't be surprised if your IIS front page is different from mine!
It's still the same. Congratulations you have just set up IIS successfully. Now it's time to setup your very own habbo retro!
Just to inform you , I have not set up the habbo retro on my laptop yet. So as I'm writing this , I'm setting up the retro. If you follow my steps carefully , you will have no problems in the end. Now navigate to (C:/) drive

Open the folder called "inetpub"

Now you will see a folder called wwwroot in there. That's where you will put your RevCMS files.

Open that folder and delete everything.

Now , download RevCMS. Download link : RevCMS 1.9.9.9.zip
Once downloaded , you will see this in your winrar.

Open up the folder Revcms 1.9.9.9 and extract everything into wwwroot.

Now , install Helicon Ape. Download link : https://www.dropbox.com/s/bfaulli9nn..._Free.msi?dl=0
Then , install helicon ape. Once after you install it , go back to your wwwroot folder and look at your .htacess

You should notice that htaccess is now under helicon ape. Now that you have helicon ape registered to IIS , you won't be needing the file called web.config. So just delete it.

Now , open up your browser and go to http://localhost. If you did everything correctly , you will be getting this :
Good job! You're half way there! Me too!
So what's next? Well , let's set up our database. Download Navicat lite : http://www.computerbild.de/download/...e-1298757.html
Install it

Open it.

Now let's make a database for the retro. Click on connection and then choose MySQL

You should be seeing this :

Now this is where you will be needing the password you used to install MySQL earlier on. Setup the new connection.

After you've setup the new connection , you will be seeing your connection in the connection list.
Make a new database

After that , you will be able to see your database in your mysql connection. Like this

Now , download Azure Emulator : https://azureweb.org/download/downlo...lator+0190.rar
Open up the rar file and extract the folder to your desktop

Open the folder and you should see "Azure Database" Folder. Open that up and you will see database.sql file.
What is a sql file?
SQL is a file extension for a Structured Query Language file format written in ASCII. SQL files are used by database products. A SQL file typically contains queries to modify the structure of a relational database -- to insert, delete, update or extract data
Now , go back to navicat and open your database. Then right click on your database and click on execute sql file

Now you should be having all tables in your database after refreshing it

That's it , your database is done. Now to connect your CMS to your database. Go to wwwroot.
navigate to app/management/config.php . Open up config.php using notepad ++ , download link : https://notepad-plus-plus.org/download/v6.7.9.2.html
Now replace your config.php with this
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'] = 'yourpasswordhere'; //MySQL password
$_CONFIG['mysql']['database'] = 'yourdbnamehere'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = 'youriphere'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = 'http://yoururlhere'; //Does not end with a "/"
$_CONFIG['hotel']['name'] = 'Lemon'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Best hotel around!'; //Hotel's description
$_CONFIG['hotel']['email'] = 'help@myhotel.net'; //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 <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 10000; //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/3132'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://yourhotelurl/game/gamedata/external_variables.txt'; //URL to your external
$_CONFIG['hotel']['external_texts'] = 'http://yourhotelurl/game/gamedata/external_flash_texts.xml'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://yourhotelurl/game/gamedata/productdata.xml'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://yourhotelurl/game/gamedata/furnidata.xml'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://yourhotelurl/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'] = 'Priv';
/*
*
* Other topsites.. thing
*
*/
$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';
/*
*
* 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'] = 'TwitterAccount'; //Hotel's Twitter account
$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account
?>
Add in your database name and password in there.
Your SWF paths are already setup in the config.php. All you need to do is to edit "yoururlhere" and "youriphere" , "yourpasswordhere"and 'yourdbnamehere"
Note : if you are on localhost , your ip will be 127.0.0.1
One that is done , go to http://localhost and walah!

Now , let change to @Hejula and @ησвяαιη's Habbo skin. Download here : http://www.mediafire.com/download/ta...abbo+Theme.zip
First extract the index.php to your wwwroot folder.
After that , go to the habbo theme in app/tpl/skins and
extract it to your skin folder.

Now go back to your app/management/config.php and change your skin to "Habbo"

Save. Go back to localhost and walah!

Did you try to register? Getting a seckey problem? Well do this.
Go to navicat , open your database and select query and "open new query"

Run this sql
Code:
ALTER table users ADD column seckey VARCHAR(999);
Though you don't need to since for me , the database provided already has seckey in it.
Okay , so register and make an account first.
You will see this page.

Now , don't open client just yet. We need to setup your client swfs. Download the swfs from here :
https://azureweb.org/download/downlo...Azure+SWFs.rar
after a long ... looongg .. loooong wait , extract the game folder in the rar into your wwwroot.
Next download the habbo.swf from here :https://azureweb.org/download/downlo...ld+0190%29.rar
extract it into the game folder
[img] http://i.imgur.com/FMdRTyu.png [/img]
Delete the existing habbo.swf and rename the new habbo.swf to habbo.


Now that's done with , we can finally edit out swf paths. Don't worry I have done it for you. Just go into your habbo skin folder and open up client.php. Replace everything in client.php with this
Code:
<!DOCTYPE html>
<html>
<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">
<link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" />
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "http://localhost/game/";
var flashvars =
{
"client.starting" : "Please wait, {hotelName} is loading...",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "http://localhost",
"url.prefix" : "http://localhost",
"client.reload.url" : "http://localhost/client",
"client.fatal.error.url" : "http://localhost/disconnect",
"client.connection.failed.url" : "http://localhost/disconnect",
"external.variables.txt" : "http://localhost/game/gamedata/external_variables.txt",
"external.texts.txt" : "http://localhost/game/gamedata/external_flash_texts.xml",
"external.figurepartlist.txt" : "http://localhost/game/gamedata/figuredata.xml",
"external.override.texts.txt" : "http://localhost/game/gamedata/external_flash_override_texts.xml",
"external.override.variables.txt" : "http://localhost/game/gamedata/external_override_variables.xml",
"productdata.load.url" : "http://localhost/game/gamedata/productdata.xml",
"furnidata.load.url" : "http://localhost/game/gamedata/furnidata.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"flash.client.url" : "//localhost/game/",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/game/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>
change localhost to your hotel url. Change the connection host to your vps ip.
Next , download this : http://www.mediafire.com/download/kc...b/gamedata.zip
Extract the gamedata folder into your game folder in your wwwroot and replace everything.

Open gamedata folder. Open external_variables.txt. Replace localhost with your hotel url (press ctrl + H for easy replace)

Now that's settled with , it's time to configure your emulator.
Go to your desktop and open the azure project folder.

Open up Azure Emulator folder and open settings folder.

You should see other.conf file there.

Open it and replace #interactive stuff# with this
Code:
# Interactive stuff #
everyone.use.floor=true
admin.can.useHTML=true
commands.new.page=true
figuredata.url=http://127.0.0.1/game/gamedata/figuredata.xml
furnidata.url=http://127.0.0.1/game/gamedata/furnidata.xml
youtube.thumbnail.suburl=youtubethumbnail.php?Video
and save.
It should look like this :
Now , go back to settings folder and open main.conf

Edit your details , such as your ip , your port , your database name and then save it.
it will look like this once you've edited it

Save it. Now open up your emulator and it will load. You may see a MySql error . If you check the logs , it's because there's no order num in your catalogue_items table.
Go to navicat and open your database. Search for the table "Catalog_items"

Right click and click on design table. Then press "insert field"

And follow the image below and save.

Now open your emu , you won't have a mysql error and the emu will load fine.

wait for about 2 minutes as the emulator is loading. Once it's loaded it will look like this

Now go to your browser , and type in http://localhost/client (change localhost to your hotel url)
The client will load.
And you will be in the hotel view , go ahead and make a room and enjoy your new retro :)
There you have it!
Do you have any questions regarding azure emulator?
Visit this thread : https://forum.ragezone.com/f333/offi...p-1069561-new/
Do you have problems regarding Revcms?
Visit the help section , make a thread or browse for a solution! link : https://forum.ragezone.com/f333/
Just to remind you , This is NOT a help thread. Do not ask silly questions here and avoid getting a warning or an infraction , thank you :)
Credits : @Sir Jamal and the Azure Team
Kryptos for RevCMS
@ησвяαιη and @Hejula for the habbo skin
@Thatboysab for providing me the solution for furnidata.xml problem in others.conf
I take none. Hope you were able to follow my tutorial :D
with regards ,
~Vaulient.
A like or a rep maybe? :3