Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to create a Habbo Retro with IIS7 ( That doesn't suck )
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Marlboro20" data-source="post: 297108" data-attributes="member: 40837"><p><span style="font-size: 22px">How to create a Habbo retro with IIS7 that does not suck</span></p><p><em>ALL Credits goto [USER=40487]@Vanish[/USER]</em></p><p><em></em></p><p><em>This tutorial was created for [USER=51002]@fofobot[/USER] <span style="color: #b30000">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.</span></em></p><p></p><p><strong>To create a Habbo retro there is a few things we need</strong></p><p></p><ol> <li data-xf-list-type="ol">A Web Server,<br /> we will be using iis7 that comes with windows 7 and windows server to serve are website over the web.<br /> </li> <li data-xf-list-type="ol">A Database server,<br /> 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.</li> <li data-xf-list-type="ol">A Habbo CMS,<br /> we will be using RevCMS 1.9.9.9 with my custom engine class to simulate/clone Habbo.com</li> <li data-xf-list-type="ol">A Emulator and SWF's,<br /> 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 )</li> </ol><p><strong>know that we have covered what we need and why we need them lets download the resources!</strong></p><ol> <li data-xf-list-type="ol"><a href="http://dev.mysql.com/downloads/mysql/" target="_blank">Database Server</a><br /> </li> <li data-xf-list-type="ol"><a href="http://dev.mysql.com/downloads/workbench/" target="_blank">Database Tools</a> ( This allows us to edit the database kinda like phpmyadmin but no web interface )</li> <li data-xf-list-type="ol"><a href="http://windows.php.net/downloads/releases/php-5.5.15-nts-Win32-VC11-x86.zip" target="_blank">PHP 5.6</a> ( Non-Threaded for IIS7 )<br /> </li> <li data-xf-list-type="ol"><a href="http://devbest.com/threads/1-x-x-revcms-php-mysql.8898/" target="_blank">HabboCMS</a> ( RevolutionCMS 1.9.9.9 )</li> <li data-xf-list-type="ol"><a href="http://www.iis.net/downloads/microsoft/url-rewrite" target="_blank">URL Rewrite</a> ( Needed Install after setting up IIS7 )</li> <li data-xf-list-type="ol"><a href="http://www.mediafire.com/download/g0r35my9h1d1gx6/Gold-Tree-Emulator-3-master.rar" target="_blank">Emulator</a> ( This is not the original phoenix emulator but it runs well )<br /> </li> <li data-xf-list-type="ol"><a href="https://mega.co.nz/#!xR8gFQLR!LborzIzYKLf4dXHn52J81mGaeTFEJ7UUJSXmGHRPk1U" target="_blank">SWFS</a> ( credits to [USER=43824]@Nippy[/USER] )</li> <li data-xf-list-type="ol"><a href="https://mega.co.nz/#!hVVnRLLR!XOL4O5q2kCKpT-dKZ2Iw2GpcX_TLjgp6W0ShDuSPC88" target="_blank">Latest Habbo.swf</a> ( credits to [USER=43824]@Nippy[/USER] again )</li> <li data-xf-list-type="ol"><a href="http://notepad-plus-plus.org/download/v6.6.8.html" target="_blank">Notepad++</a> ( not required but will benefit you a lot )</li> <li data-xf-list-type="ol"><a href="http://www.rarlab.com/" target="_blank">winrar</a> ( not required but will benefit you a lot also i don't condone piracy but i wont stop you [thepiratebay] )</li> </ol><p><strong>Setting up our web server IIS7 on windows OS</strong></p><ol> <li data-xf-list-type="ol">Are first step is to enable iis7 feature in windows 7 and windows server, run the following code below in a command prompt<br /> [SPOILER][CODE]start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;[/CODE][/SPOILER]<br /> </li> <li data-xf-list-type="ol">Know that we have enabled iis7 on are targeted machine we must enable some features required to run a habbo retro<br /> [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]<br /> </li> <li data-xf-list-type="ol">Before continuing please goto the <strong>php setup section</strong> then proceed</li> <li data-xf-list-type="ol">Sorry for making you jump around but know we can setup php to run on iis7!<br /> [SPOILER][CODE]%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers ^<br /> /+[name='PHP_via_FastCGI', path='*.php',verb='*',modules='FastCgiModule',^<br /> scriptProcessor='c:\inetpub\php\php-cgi.exe',resourceType='Either'][/CODE]<br /> [/SPOILER]</li> </ol> <ul> <li data-xf-list-type="ul">Run the next code to set index.php as the default document.<br /> [SPOILER][CODE]<br /> %windir%\system32\inetsrv\appcmd.exe set config ^ <br /> -section:system.webServer/defaultDocument /+"files.[value='index.php']" ^<br /> /commit:apphost<br /> [/CODE][/SPOILER]</li> </ul> <ul> <li data-xf-list-type="ul">To make sure everything was setup correctly goto <a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a> or <a href="http://localhost" target="_blank">http://localhost</a> if you see the iis7 splash screen then everything was setup correctly!<br /> Head over to How to setup the MySQL Community Server section! <img src="/styles/default/xenforo/smilies/emojione/tongue.png" class="smilie" loading="lazy" alt=":p" title="Stick Out Tongue :p" data-shortname=":p" /></li> </ul><p><strong>Setting up php for our web server</strong></p><ol> <li data-xf-list-type="ol">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\</li> <li data-xf-list-type="ol">unzip 'php-5.5.15-nts-Win32-VC11-x86.zip' to either C:\inetpub\php\ or your desired location.<br /> 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<br /> </li> <li data-xf-list-type="ol">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'</li> <li data-xf-list-type="ol">open 'php.ini' in notepad++ or your favorite text editor and change the fallowing values to match the code below<br /> [SPOILER][CODE]<br /> fastcgi.impersonate = 1<br /> fastcgi.logging = 0<br /> cgi.fix_pathinfo = 1<br /> cgi.force_redirect = 0<br /> [/CODE][/SPOILER]</li> <li data-xf-list-type="ol">save the file and go back to setting up the web server!</li> </ol><p><strong>MySQL Community Server and MySQL Workbench</strong></p><ol> <li data-xf-list-type="ol">This part of the tutorial uses the msi installer</li> <li data-xf-list-type="ol">Open 'mysql-5.6.20-winx64.msi' and allow it to run.</li> <li data-xf-list-type="ol">when you arrive at the <strong>Choose setup type choose either </strong>typical or complete.</li> <li data-xf-list-type="ol">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<br /> [SPOILER][CODE]"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld" --install[/CODE][/SPOILER]<br /> Another reason for this error is the service MySQL is not running.<br /> [SPOILER][CODE]net start mysql[/CODE][/SPOILER]</li> <li data-xf-list-type="ol">know that we have mysql setup lets set our password! open a new command prompt ( CTRL+R and type "cmd" )</li> <li data-xf-list-type="ol">know to login to mysql server. enter the following in the command prompt [CODE]mysql -u root[/CODE]<br /> know we have to set a password for the root user! change 'newpwd' below and run the command in the command prompt<br /> [SPOILER][CODE]UPDATE mysql.user SET Password = PASSWORD('newpwd') WHERE User = 'root'; exit;[/CODE][/SPOILER]</li> <li data-xf-list-type="ol">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<br /> uncomment the following code below by removing the semicolon<br /> [SPOILER][CODE] <br /> extension=php_mysqli.dll<br /> extension=php_mbstring.dll<br /> extension=php_mcrypt.dll<br /> [/CODE][/SPOILER]</li> </ol><p><strong>Setting up MySQL Workbench</strong></p><ol> <li data-xf-list-type="ol">Run 'mysql-workbench-community-6.1.7-win32.msi'</li> <li data-xf-list-type="ol">Follow the damn instructions.</li> </ol><p><strong>Setting up RevolutionCMS on IIS7</strong></p><ol> <li data-xf-list-type="ol">delete every file in the folder 'C:\inetpub\wwwroot'</li> <li data-xf-list-type="ol">unzip the archive 'RevCMS 1.9.9.9.zip' to 'C:\inetpub\wwwroot'</li> <li data-xf-list-type="ol">add a new file called 'web.config' and add the following code below in the 'wwwroot' folder.<br /> [SPOILER][CODE]<br /> <?xml version="1.0" encoding="UTF-8"?><br /> <configuration><br /> <system.webServer><br /> <handlers><br /> <add name="PHP_via_FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\inetpub\php\php-cgi.exe" resourceType="File" /><br /> </handlers><br /> <defaultDocument><br /> <files><br /> <add value="index.php" /><br /> </files><br /> </defaultDocument><br /> <rewrite><br /> <rules><br /> <rule name="Imported Rule 1"><br /> <match url="ase/([a-zA-Z0-9_-]+)" ignoreCase="true" /><br /> <conditions><br /> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><br /> <add input="{REQUEST_URI}" pattern="\.png|\.css|\.jpg" negate="true" /><br /> </conditions><br /> <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" /><br /> </rule><br /> <rule name="Imported Rule 2" enabled="true"><br /> <match url="ase" ignoreCase="false" /><br /> <action type="Rewrite" url="dash.php?url={R:0}" appendQueryString="false" /><br /> </rule><br /> <rule name="Imported Rule 3"><br /> <match url="^(|/)$" ignoreCase="false" /><br /> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /><br /> </rule><br /> <rule name="Imported Rule 4"><br /> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /><br /> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /><br /> </rule><br /> <rule name="Imported Rule 5"><br /> <match url="^(.*)\.htm$" /><br /> <action type="Rewrite" url="{R:1}.php" /><br /> </rule><br /> </rules><br /> </rewrite><br /> </system.webServer><br /> </configuration><br /> [/CODE][/SPOILER]<br /> </li> <li data-xf-list-type="ol">Next thing we will do is change the class.engine.php with my version released <a href="http://devbest.com/threads/revcms-1-9-9-9-class-engine-php.54042/" target="_blank">here</a></li> <li data-xf-list-type="ol">Know we are almost done all is left to do is edit the configuration file located in "app/management/config.php" with notepad++</li> </ol><p><strong>Emulator Configuration</strong></p><ol> <li data-xf-list-type="ol">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'</li> <li data-xf-list-type="ol">Open MySQL Workbench 6.1 CE and connect to localhost<br /> Note: The next steps can be weird to people that are new to mysql.</li> <li data-xf-list-type="ol">Run the following code in the the query1 window and click the thunder bolt.<br /> [SPOILER][CODE]<br /> create database if not exists HabboRetro;<br /> use HabboRetro;<br /> <br /> -- copy and paste the content from GTE 3.0.sql --<br /> [/CODE]<br /> [/SPOILER]</li> </ol> <ul> <li data-xf-list-type="ul">run the exe file 'Gold Tree Emulator 3.0.exe' and know your done!</li> </ul><p><strong>SWF Configuration</strong></p><p>go to <a href="http://devbest.com/threads/how-to-make-a-r63b-habbo-retro-with-latest-ui.47643/" target="_blank">this thread</a> created by [USER=43824]@Nippy[/USER] no reason to recreate the wheel.</p></blockquote><p></p>
[QUOTE="Marlboro20, post: 297108, member: 40837"] [SIZE=6]How to create a Habbo retro with IIS7 that does not suck[/SIZE] [I]ALL Credits goto [USER=40487]@Vanish[/USER] This tutorial was created for [USER=51002]@fofobot[/USER] [COLOR=#b30000]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.[/COLOR][/I] [B]To create a Habbo retro there is a few things we need[/B] [LIST=1] [*]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 ) [/LIST] [B]know that we have covered what we need and why we need them lets download the resources![/B] [LIST=1] [*][URL='http://dev.mysql.com/downloads/mysql/']Database Server[/URL] [*][URL='http://dev.mysql.com/downloads/workbench/']Database Tools[/URL] ( This allows us to edit the database kinda like phpmyadmin but no web interface ) [*][URL='http://windows.php.net/downloads/releases/php-5.5.15-nts-Win32-VC11-x86.zip']PHP 5.6[/URL] ( Non-Threaded for IIS7 ) [*][URL='http://devbest.com/threads/1-x-x-revcms-php-mysql.8898/']HabboCMS[/URL] ( RevolutionCMS 1.9.9.9 ) [*][URL='http://www.iis.net/downloads/microsoft/url-rewrite']URL Rewrite[/URL] ( Needed Install after setting up IIS7 ) [*][URL='http://www.mediafire.com/download/g0r35my9h1d1gx6/Gold-Tree-Emulator-3-master.rar']Emulator[/URL] ( This is not the original phoenix emulator but it runs well ) [*][URL='https://mega.co.nz/#!xR8gFQLR!LborzIzYKLf4dXHn52J81mGaeTFEJ7UUJSXmGHRPk1U']SWFS[/URL] ( credits to [USER=43824]@Nippy[/USER] ) [*][URL='https://mega.co.nz/#!hVVnRLLR!XOL4O5q2kCKpT-dKZ2Iw2GpcX_TLjgp6W0ShDuSPC88']Latest Habbo.swf[/URL] ( credits to [USER=43824]@Nippy[/USER] again ) [*][URL='http://notepad-plus-plus.org/download/v6.6.8.html']Notepad++[/URL] ( not required but will benefit you a lot ) [*][URL='http://www.rarlab.com/']winrar[/URL] ( not required but will benefit you a lot also i don't condone piracy but i wont stop you [thepiratebay] ) [/LIST] [B]Setting up our web server IIS7 on windows OS[/B] [LIST=1] [*]Are 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 [B]php setup section[/B] then proceed [*]Sorry 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] [/LIST] [LIST] [*]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] [/LIST] [LIST] [*]To make sure everything was setup correctly goto [URL]http://127.0.0.1[/URL] or [URL]http://localhost[/URL] if you see the iis7 splash screen then everything was setup correctly! Head over to How to setup the MySQL Community Server section! :p [/LIST] [B]Setting up php for our web server[/B] [LIST=1] [*]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 [SPOILER][CODE] fastcgi.impersonate = 1 fastcgi.logging = 0 cgi.fix_pathinfo = 1 cgi.force_redirect = 0 [/CODE][/SPOILER] [*]save the file and go back to setting up the web server! [/LIST] [B]MySQL Community Server and MySQL Workbench[/B] [LIST=1] [*]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 [B]Choose setup type choose either [/B]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 again uncomment the following code below by removing the semicolon [SPOILER][CODE] extension=php_mysqli.dll extension=php_mbstring.dll extension=php_mcrypt.dll [/CODE][/SPOILER] [/LIST] [B]Setting up MySQL Workbench[/B] [LIST=1] [*]Run 'mysql-workbench-community-6.1.7-win32.msi' [*]Follow the damn instructions. [/LIST] [B]Setting up RevolutionCMS on IIS7[/B] [LIST=1] [*]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. [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 [URL='http://devbest.com/threads/revcms-1-9-9-9-class-engine-php.54042/']here[/URL] [*]Know we are almost done all is left to do is edit the configuration file located in "app/management/config.php" with notepad++ [/LIST] [B]Emulator Configuration[/B] [LIST=1] [*]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. [SPOILER][CODE] create database if not exists HabboRetro; use HabboRetro; -- copy and paste the content from GTE 3.0.sql -- [/CODE] [/SPOILER] [/LIST] [LIST] [*]run the exe file 'Gold Tree Emulator 3.0.exe' and know your done! [/LIST] [B]SWF Configuration[/B] go to [URL='http://devbest.com/threads/how-to-make-a-r63b-habbo-retro-with-latest-ui.47643/']this thread[/URL] created by [USER=43824]@Nippy[/USER] no reason to recreate the wheel. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to create a Habbo Retro with IIS7 ( That doesn't suck )
Top