Marlboro20
Member
- Dec 17, 2013
- 37
- 6
How to create a Habbo retro with IIS7 that does not suck
ALL Credits goto @Vanish
This tutorial was created for @fofobot This is my first Tutorial and is not finished i just spent 2 hours ill fix and clean it later/tomorrow. Also if i you want i can make a video tutorial to put on this thread on how to make a habbo hotel.
To create a Habbo retro there is a few things we need
go to
ALL Credits goto @Vanish
This tutorial was created for @fofobot This is my first Tutorial and is not finished i just spent 2 hours ill fix and clean it later/tomorrow. Also if i you want i can make a video tutorial to put on this thread on how to make a habbo hotel.
To create a Habbo retro there is a few things we need
- A Web Server,
we will be using iis7 that comes with windows 7 and windows server to serve are website over the web.
- A Database server,
we will be using MySQL Community server and MySQL Workbench to work with are database, MySQL Community server will be used for are database connections. - A Habbo CMS,
we will be using RevCMS 1.9.9.9 with my custom engine class to simulate/clone Habbo.com - A Emulator and SWF's,
for emulation we will be using phoenix emulator ( if there is another emulator you want to use leave a comment and i will try to add the HOW-TO to this thread ) this makes the hotel tick. The SWFS are the client its self ( i believe never learned what they actually do but its safe to guess that they are the client, the look, the feel, ect )
-
You must be registered for see links
-
You must be registered for see links( This allows us to edit the database kinda like phpmyadmin but no web interface )
-
You must be registered for see links( Non-Threaded for IIS7 )
-
You must be registered for see links( RevolutionCMS 1.9.9.9 )
-
You must be registered for see links( Needed Install after setting up IIS7 )
-
You must be registered for see links( This is not the original phoenix emulator but it runs well )
-
You must be registered for see links( credits to @Nippy )
-
You must be registered for see links( credits to @Nippy again )
-
You must be registered for see links( not required but will benefit you a lot )
-
You must be registered for see links( not required but will benefit you a lot also i don't condone piracy but i wont stop you [thepiratebay] )
- Are first step is to enable iis7 feature in windows 7 and windows server, run the following code below in a command prompt
Code:start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;
- Know that we have enabled iis7 on are targeted machine we must enable some features required to run a habbo retro
Code:START /WAIT DISM /Online /Enable-Feature /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASP /FeatureName:IIS-ASPNET /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-CGI /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-CustomLogging /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HostableWebCore /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpLogging /FeatureName:IIS-HttpRedirect /FeatureName:IIS-HttpTracing /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-IISCertificateMappingAuthentication /FeatureName:IIS-IPSecurity /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-LegacyScripts /FeatureName:IIS-LegacySnapIn /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-ODBCLogging /FeatureName:IIS-Performance /FeatureName:IIS-RequestFiltering /FeatureName:IIS-RequestMonitor /FeatureName:IIS-Security /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-StaticContent /FeatureName:IIS-URLAuthorization /FeatureName:IIS-WebDAV /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-WebServerRole /FeatureName:IIS-WindowsAuthentication /FeatureName:IIS-WMICompatibility /FeatureName:WAS-ConfigurationAPI /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ProcessModel /FeatureName:WAS-WindowsActivationService
- Before continuing please goto the php setup section then proceed
- Sorry for making you jump around but know we can setup php to run on iis7!
Code:%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers ^ /+[name='PHP_via_FastCGI', path='*.php',verb='*',modules='FastCgiModule',^ scriptProcessor='c:\inetpub\php\php-cgi.exe',resourceType='Either']
- Run the next code to set index.php as the default document.
Code:%windir%\system32\inetsrv\appcmd.exe set config ^ -section:system.webServer/defaultDocument /+"files.[value='index.php']" ^ /commit:apphost
- To make sure everything was setup correctly goto
You must be registered for see linksorYou must be registered for see linksif you see the iis7 splash screen then everything was setup correctly!
Head over to How to setup the MySQL Community Server section!
- You can install php anywhere you decide to, i choose C:\inetpub\php\ for the sake of this tutorial but anywhere is fine. some choose to install php at the root of their hard drive C:\php\
- unzip 'php-5.5.15-nts-Win32-VC11-x86.zip' to either C:\inetpub\php\ or your desired location.
Note: if you choose a different location to unzip your php files please change 'C:\inetpub\php' to the location you installed php in the iis7 setup query's
- after unzipping the archive to your desired location either change 'php.ini-production' or 'php.ini-development' to 'php.ini' i choose 'php.ini-development'
- open 'php.ini' in notepad++ or your favorite text editor and change the fallowing values to match the code below
Code:fastcgi.impersonate = 1 fastcgi.logging = 0 cgi.fix_pathinfo = 1 cgi.force_redirect = 0
- save the file and go back to setting up the web server!
- This part of the tutorial uses the msi installer
- Open 'mysql-5.6.20-winx64.msi' and allow it to run.
- when you arrive at the Choose setup type choose either typical or complete.
- if after the installation mysql does not wan't to run or gives you the error 'Can't connect to localhost (10061)' run the following code as administrator
Code:"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld" --install
Code:net start mysql
- know that we have mysql setup lets set our password! open a new command prompt ( CTRL+R and type "cmd" )
- know to login to mysql server. enter the following in the command prompt
Code:
mysql -u root
Code:UPDATE mysql.user SET Password = PASSWORD('newpwd') WHERE User = 'root'; exit;
- We have setup are database server but we are not done yet! before we are finished we need to edit the php.ini file again
uncomment the following code below by removing the semicolon
Code:extension=php_mysqli.dll extension=php_mbstring.dll extension=php_mcrypt.dll
- Run 'mysql-workbench-community-6.1.7-win32.msi'
- Follow the damn instructions.
- delete every file in the folder 'C:\inetpub\wwwroot'
- unzip the archive 'RevCMS 1.9.9.9.zip' to 'C:\inetpub\wwwroot'
- add a new file called 'web.config' and add the following code below in the 'wwwroot' folder.
Code:<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers> <add name="PHP_via_FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\inetpub\php\php-cgi.exe" resourceType="File" /> </handlers> <defaultDocument> <files> <add value="index.php" /> </files> </defaultDocument> <rewrite> <rules> <rule name="Imported Rule 1"> <match url="ase/([a-zA-Z0-9_-]+)" ignoreCase="true" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_URI}" pattern="\.png|\.css|\.jpg" negate="true" /> </conditions> <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 2" enabled="true"> <match url="ase" ignoreCase="false" /> <action type="Rewrite" url="dash.php?url={R:0}" appendQueryString="false" /> </rule> <rule name="Imported Rule 3"> <match url="^(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 4"> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 5"> <match url="^(.*)\.htm$" /> <action type="Rewrite" url="{R:1}.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
- Next thing we will do is change the class.engine.php with my version released
You must be registered for see links
- Know we are almost done all is left to do is edit the configuration file located in "app/management/config.php" with notepad++
- Unpack the archive 'Gold-Tree-Emulator-3-master.rar' to any desired location and edit the file '/Gold Tree Emulator 3.0/bin/debug/config.conf'
- Open MySQL Workbench 6.1 CE and connect to localhost
Note: The next steps can be weird to people that are new to mysql. - Run the following code in the the query1 window and click the thunder bolt.
Code:create database if not exists HabboRetro; use HabboRetro; -- copy and paste the content from GTE 3.0.sql --
- run the exe file 'Gold Tree Emulator 3.0.exe' and know your done!
go to
You must be registered for see links
created by @Nippy no reason to recreate the wheel.
Last edited: