[TUT] How to make r63b Habbo Retro | IIS | BcStorm |

Status
Not open for further replies.

KyleVonnie

Come @ me Bro!
Oct 26, 2011
993
176
Hey Devbest,
I recently posted a tutorial on how to make a r63b retro using Xampp, and I was blown away by the feedback by y'all.

I got loads of requests to make another tutorial, but this time using IIS, so here it is!

Before we start, I wanted to say thanks to ,
When it comes to IIS, I'm NOT the best, so I used Vineens tutorial on IIS - RevCMS to guide me through some sticky parts!

------------------------------------------------------------------------------------------
This tutorial was made while using a Windows 2008 Standard Edition R2 VPS.
------------------------------------------------------------------------------------------
Download Links:
You can find all the links here;

ALL PASSWORDS ARE : KyleVonnie
BcStorm Emulator (Credits to Leon) : EMOVED
DB SQL : REMOVED
RevCMS : EMOVED
SWFS : EMOVED
WinRAR :

If the current SWF Pack is not properly downloading,
here is a backup mirror I have uploaded:

------------------------------------------------------------------------------------------

Step One :
Install MySQL on your VPS


- You should see a similar screen.

8RfNuGH.png


- Click on "Install MySQL Products". Follow the steps until you reach this screen:

ZD7rHX1.png


- Choose "Server Only" and Click "Next >"
- Then click "Execute" and wait for it to execute.

EeQ4nQ0.png


-Eventually you will reach this page, enter a Root Account Password and click "Next >"
(REMEMBER THIS PASSWORD)

pq9AbG0.png


- Next, go to "Server Manager" on your VPS.

bDnEmop.png


- On the window, select "Add Roles" as demonstrated below.

xZGilRn.png


- Check the box next to "IIS" and click Next:

uJE1mLj.png


- On the following screen, make sure the following are checked/ticked:
  • Application Development (All children nodes under this too)
  • Static Content Compression (Under Performance)
  • IIS Management Console, IIS Management Scripts and Tools and Management Service (All under Management Tools)
- Click "Install" and wait for it to install. If it asks to restart the VPS, do so.
Step Two:
Download Microsoft Web Platform Installer:

- Search for "PHP 5" in the search box. Choose any PHP 5.x
glz3Svv.png

- Search for "IIS Recommended Configuration"
mAUZxkb.png

- Next download "URL Rewrite 2.0" . This will be already installed for a lot of you.
QFp495o.png

Step Three:
Go to , you should see a screen similar to below.
soYoFGz.png

- Next, go to C:\inetpub\wwwroot and delete all files that are there.
96CS3lV.png




- Next, Download Winrar from the link above.
- Then Download/Extract the CMS also from the link above.
Gy8ni3i.png

Step Four:
- Next, go to C:\inetpub\wwwroot\app\management and open config.php. I suggest using Notepad ++ or Sublime Text.
Fill out the config accordingly:
Code:
*    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'] = '[B]YOUR ROOT PASSWORD HERE[/B]'; //MySQL password

$_CONFIG['mysql']['database'] = 'r63b'; //MySQL database

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*

*/

Step Five:
Download Navicat Premium :
- On the Top Left, Click Connection. Name it whatever you choose.
- Make sure the username says "Root" and enter your Root Password below that.
qgN6iUI.png

- Right Click on the connection and choose " New Database":
5iXW0d3.png

- Click on "Query" then choose "New Query", select "Load".
- Choose the Sql file from the link above.
SbrR6V7.png

Step Six:
Credits to Vineen for this part, I copied it directly from his thread!
100% Credits to him for this step!
- 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 below.
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>

Step Seven:
- Go back to , you should see this now:
wA85iZu.png


Step Eight: [SWFS]
- Download the SWF Pack from either the original link or the mirror above.
- Extract the whole folder to /wwwroot.
(THIS WILL TAKE A WHILE)

AYqw6oG.png


Step Nine:
-Download the BcStorm Emulator from the link above.
- Extract the folder to your desktop.
- Go to bin> debug> settings > and open configuration.ini
- Edit it likewise:
Code:
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=PASSWORD HERE
db.name=r63b

Go back to bin>debug> and open "Butterfly Emulator.exe".
- Once loaded, should look like this:
dQythrw.png



Step Ten:
- Register on and enter the client,
- Congratulations you now own a r63b retro! (That is if you did everything right :p)

PxQtypD.png

------------------------------------------------------------------------------------------
Making Retro Public:

To make the r63b public, follow these steps:


1. Go to /wwwroot/app/managment/config.php
Change these lines:


Code:
$_CONFIG['hotel']['server_ip'] = '127.0.0.1'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://localhost'; //Does not end with a "/"

TO:

Code:
$_CONFIG['hotel']['server_ip'] = 'SERVER IP HERE'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://DOMAIN OR IP HERE'; //Does not end with a "/"

2. Then change these lines:
Code:
$_CONFIG['hotel']['external_vars'] = 'http://localhost/swfs/external_variables.txt'; //URL to your external vars

$_CONFIG['hotel']['external_texts'] = 'http://localhost/swfs/external_flash_texts.txt'; //URL to your external texts

$_CONFIG['hotel']['product_data'] = 'http://localhost/swfs/productdata.txt'; //URL to your productdata

$_CONFIG['hotel']['furni_data'] = 'http://localhost/swfs/furnidata.txt'; //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = 'http://localhost/swfs'; //URL to your SWF folder(does not end with a '/')
Replace all "localhost"'s with your domain and/or IP.

3. Next go to /wwwroot/swfs/external_variables.txt
- Press "Ctrl + H"
- In "Find What" Box, type "localhost"
- In "Replace With" Box, type your domain or IP.

4. Save both files.

Should be public now!

------------------------------------------------------------------------------------------

CREDITS:
Credits:
Leon - BcStorm Emu
Kryptos - RevCMS
Vineen - His Tutorial Helped me alot :p
Kyle - Tut
Sadly, I have no clue on who I should give the credits to for the Swfs or SQL, so please tell me if you know!

------------------------------------------------------------------------------------------

Please message me if I missed something, had an error, and anything else!

Thanks,
Kyle
 

DroZone

Member
Sep 2, 2011
95
0
Hey Kyle I keep getting d/ced after getting to the hotel view im just running it on xampp can you help me
 

KyleVonnie

Come @ me Bro!
Oct 26, 2011
993
176
Hey Kyle I keep getting d/ced after getting to the hotel view im just running it on xampp can you help me

You probably with get errors if you try to do this tutorial with Xampp instead of IIS, use this tutorial:
 

Payten

New Member
Jul 31, 2013
1
0
Great Tutorial mate. But I got a question, I'm a first time retro owner and i made my hotel from r63 by your tut and I want to know I have my Emu has Uber and the file in debug doesn thave configuration.ini
 

morfeo1996

New Member
Aug 14, 2013
1
0
Hi Kyle.
Congratulations for this tutorial, it has been the best I've found. But I have a question. Where is the admin panel? (I am a newbie).
Thank you.
Morfeo.
 

KyleVonnie

Come @ me Bro!
Oct 26, 2011
993
176
Hi Kyle.
Congratulations for this tutorial, it has been the best I've found. But I have a question. Where is the admin panel? (I am a newbie).
Thank you.
Morfeo.

Try the URL above posted by Redbull. Tbh, I'm not exactly sure where the HK is either.
If that doesn't work, just PM me and I will find you the link.
 

Spintax

New Member
Aug 22, 2013
1
0
Hello, I am a 'nub' and this is the tutorial I decided to follow when it came to my first Retro.
I've set this up on a VPS and after following these carefully placed steps I've done well in my opinion. I've managed to get the database up and also the CMS. Meaning I managed to register and checking 'users' in my database I found my name so Its working together. I've hit 2 problems and don't understand what I've messed up on.
Problem 1) The image of my Avatar isn't showing up on the website interface ( I assume none are showing up )
Problem 2) The client is showing a white background when I try to enter it. (When I check the BcStorm program it shows I connected and it realizes I attempted to connect , This could also be why my avatar isn't showing but I'm not quite sure.)

Any help on my way would be greatly appriciated, also if I find a fix before a reply I will post my fix to help others if they fail at this too.
 
Status
Not open for further replies.

Users who are viewing this thread

Top