Normal
How to create a Habbo retro with IIS7 that does not suckALL Credits goto [USER=40487]@Vanish[/USER]This tutorial was created for [USER=51002]@fofobot[/USER] 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 needA 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.comA 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 )know that we have covered what we need and why we need them lets download the resources!Database ServerDatabase Tools ( This allows us to edit the database kinda like phpmyadmin but no web interface )PHP 5.6 ( Non-Threaded for IIS7 )HabboCMS ( RevolutionCMS 1.9.9.9 )URL Rewrite ( Needed Install after setting up IIS7 )Emulator ( This is not the original phoenix emulator but it runs well )SWFS ( credits to [USER=43824]@Nippy[/USER] )Latest Habbo.swf ( credits to [USER=43824]@Nippy[/USER] again )Notepad++ ( not required but will benefit you a lot )winrar ( not required but will benefit you a lot also i don't condone piracy but i wont stop you [thepiratebay] )Setting up our web server IIS7 on windows OSAre first step is to enable iis7 feature in windows 7 and windows server, run the following code below in a command prompt[SPOILER][CODE]start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;[/CODE][/SPOILER]Know that we have enabled iis7 on are targeted machine we must enable some features required to run a habbo retro[SPOILER][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[/CODE][/SPOILER]Before continuing please goto the php setup section then proceedSorry for making you jump around but know we can setup php to run on iis7![SPOILER][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'][/CODE][/SPOILER]Run the next code to set index.php as the default document.[SPOILER][CODE]%windir%\system32\inetsrv\appcmd.exe set config ^-section:system.webServer/defaultDocument /+"files.[value='index.php']" ^/commit:apphost[/CODE][/SPOILER]To make sure everything was setup correctly goto http://127.0.0.1 or http://localhost if you see the iis7 splash screen then everything was setup correctly!Head over to How to setup the MySQL Community Server section! Setting up php for our web serverYou 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'safter 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[SPOILER][CODE]fastcgi.impersonate = 1fastcgi.logging = 0cgi.fix_pathinfo = 1cgi.force_redirect = 0[/CODE][/SPOILER]save the file and go back to setting up the web server!MySQL Community Server and MySQL WorkbenchThis part of the tutorial uses the msi installerOpen '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[SPOILER][CODE]"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld" --install[/CODE][/SPOILER]Another reason for this error is the service MySQL is not running.[SPOILER][CODE]net start mysql[/CODE][/SPOILER]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]know we have to set a password for the root user! change 'newpwd' below and run the command in the command prompt[SPOILER][CODE]UPDATE mysql.user SET Password = PASSWORD('newpwd') WHERE User = 'root'; exit;[/CODE][/SPOILER]We have setup are database server but we are not done yet! before we are finished we need to edit the php.ini file againuncomment the following code below by removing the semicolon[SPOILER][CODE]extension=php_mysqli.dllextension=php_mbstring.dllextension=php_mcrypt.dll[/CODE][/SPOILER]Setting up MySQL WorkbenchRun 'mysql-workbench-community-6.1.7-win32.msi'Follow the damn instructions.Setting up RevolutionCMS on IIS7delete 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.[SPOILER][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>[/CODE][/SPOILER]Next thing we will do is change the class.engine.php with my version released hereKnow we are almost done all is left to do is edit the configuration file located in "app/management/config.php" with notepad++Emulator ConfigurationUnpack 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 localhostNote: 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.[SPOILER][CODE]create database if not exists HabboRetro;use HabboRetro;-- copy and paste the content from GTE 3.0.sql --[/CODE][/SPOILER]run the exe file 'Gold Tree Emulator 3.0.exe' and know your done!SWF Configurationgo to this thread created by [USER=43824]@Nippy[/USER] no reason to recreate the wheel.
How to create a Habbo retro with IIS7 that does not suck
ALL Credits goto [USER=40487]@Vanish[/USER]
This tutorial was created for [USER=51002]@fofobot[/USER] 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
know that we have covered what we need and why we need them lets download the resources!
Setting up our web server IIS7 on windows OS
Setting up php for our web server
MySQL Community Server and MySQL Workbench
Setting up MySQL Workbench
Setting up RevolutionCMS on IIS7
Emulator Configuration
SWF Configuration
go to this thread created by [USER=43824]@Nippy[/USER] no reason to recreate the wheel.