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: Install ROC-CF
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="Communist" data-source="post: 168414" data-attributes="member: 26139"><p style="text-align: center"><img src="http://i.imgur.com/1Q6NJ.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"><span style="font-size: 18px">How to install ROC-CF in habbo theme</span></p> <p style="text-align: center"></p> <p style="text-align: center"><strong>Converting from Phoenix CF? Replace this with: app/tpl/habbo/views/login.tpl - <a href="http://pastebin.com/Cy7zGDE3" target="_blank">http://pastebin.com/Cy7zGDE3</a></strong></p> <p style="text-align: center"></p> <p style="text-align: center"><strong>IMPORTANT! - USE THIS SQL ON YOUR PHOENIX OR UBER DATABASE</strong></p> <p style="text-align: center">ALTER TABLE users ADD subscribed VARCHAR(225);</p> <p style="text-align: center">ALTER TABLE users ADD referrer VARCHAR(225);</p> <p style="text-align: center">ALTER TABLE users MODIFY `password` VARCHAR(225);</p> <p style="text-align: center"></p> <p style="text-align: center">Requirements:</p> <p style="text-align: center">Notepad ++(Recommended)</p> <p style="text-align: center">Coldfusion</p> <p style="text-align: center">Roc-CF</p> <p style="text-align: center">Datasource</p> <p style="text-align: center">A brain</p> <p style="text-align: center">TortoiseSVN</p> <p style="text-align: center">Phoenix or Uber database</p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">Step 1</span></strong></p> <p style="text-align: center">Go to your wwwroot</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/8KGh6.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">Right click on the folder</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/hBlfI.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">Press SVN Checkout</p> <p style="text-align: center"><a href="http://roc-cf.googlecode.com/svn/trunk/" target="_blank">roc-cf - Revision 165: /trunk</a> - Insert this on url of repository</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/rkmxh.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">Remove the last path on the Checkout directory</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/Cdi4S.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">Step 2</span></strong></p> <p style="text-align: center">Go to roc folder on the wwwroot folder</p> <p style="text-align: center">Copy every file and folders</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/DAyLi.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">Paste it on the wwwroot folder</p> <p style="text-align: center">Replace every file you need</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/UVgi5.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">Delete roc folder</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/FIahG.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">Step 3</span></strong></p> <p style="text-align: center">Open Application.cfm</p> <p style="text-align: center">Edit this variables:</p> <p style="text-align: center">[CODE]</p> <p style="text-align: center"> <cfset config.DSN = "CHANGETOYOURDSN"></p> <p style="text-align: center"><cfset sitename = "YOURHOTELNAME"></p> <p style="text-align: center"><cfset defaultMotto = "YOURDEFAULTMOTTO"></p> <p style="text-align: center"><cfset defaultLook = "YOURDEFAULTLOOK"></p> <p style="text-align: center"><cfset starterCredits = "YOURDEFAULTCREDITS"></p> <p style="text-align: center"><cfset starterPixels = "YOURDEFAULTPIXXEL"></p> <p style="text-align: center">[/CODE]</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/E04mr.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">Step 4</span></strong></p> <p style="text-align: center">Go to your mysql management system</p> <p style="text-align: center">Go to insert query</p> <p style="text-align: center"><a href="http://pastebin.com/LXruYag6" target="_blank">http://pastebin.com/LXruYag6</a> - Use this query until the official one comes out</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/2us4P.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">Step 5</span></strong></p> <p style="text-align: center">Go to ase</p> <p style="text-align: center">Open Application.cfm</p> <p style="text-align: center">Change this code snippet:</p> <p style="text-align: center">[CODE]<cfset config.DSN = "YOURDATASOURCE">[/CODE]</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/VBhvH.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">Step 6</span></strong></p> <p style="text-align: center">Go to app/tpl/habbo/views</p> <p style="text-align: center">Open client.tpl</p> <p style="text-align: center">Change your settings on this code snippets:</p> <p style="text-align: center">[CODE]var flashvars = {</p> <p style="text-align: center"> "client.allow.cross.domain" : "1", </p> <p style="text-align: center"> "client.notify.cross.domain" : "0", </p> <p style="text-align: center"> "connection.info.host" : "localhost", </p> <p style="text-align: center"> "connection.info.port" : "30001", </p> <p style="text-align: center"> "site.url" : "http://localhost", </p> <p style="text-align: center"> "url.prefix" : "http://localhost", </p> <p style="text-align: center"> "client.reload.url" : "http://localhost/?p=client", </p> <p style="text-align: center"> "client.fatal.error.url" : "#cms_url#/client/disconnected.cfm?flash_client_error", </p> <p style="text-align: center"> "client.connection.failed.url" : "#cms_url#/client/disconnected.cfm?client_connection_failed", </p> <p style="text-align: center"> "external.variables.txt" : "http://localhost/swf/external_variables.txt/?"+CacheNone, </p> <p style="text-align: center"> "external.texts.txt" : "http://localhost/swf/external_texts.txt/?"+CacheNumber, </p> <p style="text-align: center"> "productdata.load.url" : "http://localhost/swf/productdata.txt/?"+CacheNumber, </p> <p style="text-align: center"> "furnidata.load.url" : "http://localhost/swf/furnidata.txt/?"+CacheNone, </p> <p style="text-align: center"> "use.sso.ticket" : "0", </p> <p style="text-align: center"> "sso.ticket" : "#ticket#", </p> <p style="text-align: center"> "processlog.enabled" : "0", </p> <p style="text-align: center"> "account_id" : "1", </p> <p style="text-align: center"> "client.starting" : "Please wait! Habboon is starting up...", </p> <p style="text-align: center"> "flash.client.url" : "#base_url#", </p> <p style="text-align: center"> "user.hash" : "", </p> <p style="text-align: center"> "has.identity" : "1", </p> <p style="text-align: center"> "flash.client.origin" : "popup"</p> <p style="text-align: center"> };[/CODE]</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/Zc90V.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">AND:</p> <p style="text-align: center"></p> <p style="text-align: center">[CODE]<cfset base_url = "http://localhost/swf/" /></p> <p style="text-align: center"><cfset base_url_client = #base_url# & "Habbo.swf" /></p> <p style="text-align: center"><cfset cms_url = "http://localhost" />[/CODE]</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/uvMFU.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">Step 7(Optional - if you want to change your timers in an easy way)</span></strong></p> <p style="text-align: center">Go to: <a href="http://pastebin.com/hvhvsH0Z" target="_blank">http://pastebin.com/hvhvsH0Z</a></p> <p style="text-align: center">Then go to: ase/app/tpl/housekeeping/views</p> <p style="text-align: center">create a new file called: changesettings.tpl</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/1IUvO.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">Paste the pastebin document</p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/eVBXW.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">Save</p> <p style="text-align: center">To to: <a href="http://www.yourdomain.com/ase/?p=changesettings" target="_blank">http://www.yourdomain.com/ase/?p=changesettings</a></p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/S040F.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center">This is just a simple changesettings file, you can change rest of the settings on the server_settings table</p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">End Result</span></strong></p> <p style="text-align: center"></p> <p style="text-align: center"><img src="http://i.imgur.com/sy0Ef.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><span style="font-size: 18px">The request has exceeded the allowable time limit Tag: cfhttp - FIX</span></p> <p style="text-align: center"></p> <p style="text-align: center">Open Application.cfm</p> <p style="text-align: center">Replace this part:</p> <p style="text-align: center">[CODE]<!--- Get Habbo webbuild ---></p> <p style="text-align: center"><cfif not StructKeyExists(Session,'webbuild')></p> <p style="text-align: center"><cfhttp url = "http://www.habbo.nl"></p> <p style="text-align: center"><cfset String = cfhttp.filecontent /></p> <p style="text-align: center"><cfset StartText = 'http://images.habbo.com/habboweb/' /></p> <p style="text-align: center"><cfset Start = FindNoCase(StartText, String, 1) /></p> <p style="text-align: center"><cfset EndText = '/web-gallery/v2/favicon.ico' /></p> <p style="text-align: center"><cfset Length = Len(StartText) /></p> <p style="text-align: center"><cfset End = FindNoCase(EndText, String, Start) /></p> <p style="text-align: center"><cfset Build = Mid(String, Start+Length, End-Start-Length) /></p> <p style="text-align: center"><cfset Build = trim(Build) /></p> <p style="text-align: center"><cfset Session.webbuild = Build /></p> <p style="text-align: center"></cfif>[/CODE]</p> <p style="text-align: center">With this:</p> <p style="text-align: center">[CODE]<cfset Session.webbuild = "63_1dc60c6d6ea6e089c6893ab4e0541ee0/1458">[/CODE]</p> <p style="text-align: center">Do not forget to update the webbuild as Habbo(habbo.no or habbo.com) changes it.</p> <p style="text-align: center"></p> <p style="text-align: center"></p> <p style="text-align: center"><strong><span style="font-size: 22px">- Leqz | Feel free to PM me if you need help or just post here</span></strong></p></blockquote><p></p>
[QUOTE="Communist, post: 168414, member: 26139"] [CENTER][IMG]http://i.imgur.com/1Q6NJ.png[/IMG] [SIZE=5]How to install ROC-CF in habbo theme[/SIZE] [B]Converting from Phoenix CF? Replace this with: app/tpl/habbo/views/login.tpl - [URL="http://pastebin.com/Cy7zGDE3"]http://pastebin.com/Cy7zGDE3[/URL][/B] [B]IMPORTANT! - USE THIS SQL ON YOUR PHOENIX OR UBER DATABASE[/B] ALTER TABLE users ADD subscribed VARCHAR(225); ALTER TABLE users ADD referrer VARCHAR(225); ALTER TABLE users MODIFY `password` VARCHAR(225); Requirements: Notepad ++(Recommended) Coldfusion Roc-CF Datasource A brain TortoiseSVN Phoenix or Uber database [B][SIZE=6]Step 1[/SIZE][/B] Go to your wwwroot [IMG]http://i.imgur.com/8KGh6.png[/IMG] Right click on the folder [IMG]http://i.imgur.com/hBlfI.png[/IMG] Press SVN Checkout [URL="http://roc-cf.googlecode.com/svn/trunk/"]roc-cf - Revision 165: /trunk[/URL] - Insert this on url of repository [IMG]http://i.imgur.com/rkmxh.png[/IMG] Remove the last path on the Checkout directory [IMG]http://i.imgur.com/Cdi4S.png[/IMG] [B][SIZE=6]Step 2[/SIZE][/B] Go to roc folder on the wwwroot folder Copy every file and folders [IMG]http://i.imgur.com/DAyLi.png[/IMG] Paste it on the wwwroot folder Replace every file you need [IMG]http://i.imgur.com/UVgi5.png[/IMG] Delete roc folder [IMG]http://i.imgur.com/FIahG.png[/IMG] [B][SIZE=6]Step 3[/SIZE][/B] Open Application.cfm Edit this variables: [CODE] <cfset config.DSN = "CHANGETOYOURDSN"> <cfset sitename = "YOURHOTELNAME"> <cfset defaultMotto = "YOURDEFAULTMOTTO"> <cfset defaultLook = "YOURDEFAULTLOOK"> <cfset starterCredits = "YOURDEFAULTCREDITS"> <cfset starterPixels = "YOURDEFAULTPIXXEL"> [/CODE] [IMG]http://i.imgur.com/E04mr.png[/IMG] [B][SIZE=6]Step 4[/SIZE][/B] Go to your mysql management system Go to insert query [URL="http://pastebin.com/LXruYag6"]http://pastebin.com/LXruYag6[/URL] - Use this query until the official one comes out [IMG]http://i.imgur.com/2us4P.png[/IMG] [B][SIZE=6]Step 5[/SIZE][/B] Go to ase Open Application.cfm Change this code snippet: [CODE]<cfset config.DSN = "YOURDATASOURCE">[/CODE] [IMG]http://i.imgur.com/VBhvH.png[/IMG] [B][SIZE=6]Step 6[/SIZE][/B] Go to app/tpl/habbo/views Open client.tpl Change your settings on this code snippets: [CODE]var flashvars = { "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "localhost", "connection.info.port" : "30001", "site.url" : "http://localhost", "url.prefix" : "http://localhost", "client.reload.url" : "http://localhost/?p=client", "client.fatal.error.url" : "#cms_url#/client/disconnected.cfm?flash_client_error", "client.connection.failed.url" : "#cms_url#/client/disconnected.cfm?client_connection_failed", "external.variables.txt" : "http://localhost/swf/external_variables.txt/?"+CacheNone, "external.texts.txt" : "http://localhost/swf/external_texts.txt/?"+CacheNumber, "productdata.load.url" : "http://localhost/swf/productdata.txt/?"+CacheNumber, "furnidata.load.url" : "http://localhost/swf/furnidata.txt/?"+CacheNone, "use.sso.ticket" : "0", "sso.ticket" : "#ticket#", "processlog.enabled" : "0", "account_id" : "1", "client.starting" : "Please wait! Habboon is starting up...", "flash.client.url" : "#base_url#", "user.hash" : "", "has.identity" : "1", "flash.client.origin" : "popup" };[/CODE] [IMG]http://i.imgur.com/Zc90V.png[/IMG] AND: [CODE]<cfset base_url = "http://localhost/swf/" /> <cfset base_url_client = #base_url# & "Habbo.swf" /> <cfset cms_url = "http://localhost" />[/CODE] [IMG]http://i.imgur.com/uvMFU.png[/IMG] [B][SIZE=6]Step 7(Optional - if you want to change your timers in an easy way)[/SIZE][/B] Go to: [URL="http://pastebin.com/hvhvsH0Z"]http://pastebin.com/hvhvsH0Z[/URL] Then go to: ase/app/tpl/housekeeping/views create a new file called: changesettings.tpl [IMG]http://i.imgur.com/1IUvO.png[/IMG] Paste the pastebin document [IMG]http://i.imgur.com/eVBXW.png[/IMG] Save To to: [URL="http://www.yourdomain.com/ase/?p=changesettings"]http://www.yourdomain.com/ase/?p=changesettings[/URL] [IMG]http://i.imgur.com/S040F.png[/IMG] This is just a simple changesettings file, you can change rest of the settings on the server_settings table [B][SIZE=6]End Result[/SIZE][/B] [IMG]http://i.imgur.com/sy0Ef.png[/IMG] [SIZE=5]The request has exceeded the allowable time limit Tag: cfhttp - FIX[/SIZE] Open Application.cfm Replace this part: [CODE]<!--- Get Habbo webbuild ---> <cfif not StructKeyExists(Session,'webbuild')> <cfhttp url = "http://www.habbo.nl"> <cfset String = cfhttp.filecontent /> <cfset StartText = 'http://images.habbo.com/habboweb/' /> <cfset Start = FindNoCase(StartText, String, 1) /> <cfset EndText = '/web-gallery/v2/favicon.ico' /> <cfset Length = Len(StartText) /> <cfset End = FindNoCase(EndText, String, Start) /> <cfset Build = Mid(String, Start+Length, End-Start-Length) /> <cfset Build = trim(Build) /> <cfset Session.webbuild = Build /> </cfif>[/CODE] With this: [CODE]<cfset Session.webbuild = "63_1dc60c6d6ea6e089c6893ab4e0541ee0/1458">[/CODE] Do not forget to update the webbuild as Habbo(habbo.no or habbo.com) changes it. [B][SIZE=6]- Leqz | Feel free to PM me if you need help or just post here[/SIZE][/B][/CENTER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
How-to: Install ROC-CF
Top