Communist
C# Developer
- Dec 29, 2012
- 6
- 0
![1Q6NJ.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2F1Q6NJ.png&hash=b4759d49a61511e5638177eea8be8cc4)
How to install ROC-CF in habbo theme
Converting from Phoenix CF? Replace this with: app/tpl/habbo/views/login.tpl -
You must be registered for see links
IMPORTANT! - USE THIS SQL ON YOUR PHOENIX OR UBER DATABASE
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
Step 1
Go to your wwwroot
![8KGh6.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2F8KGh6.png&hash=96c1704b9a1b1a2486bd1e7d7fffa1e7)
Right click on the folder
![hBlfI.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FhBlfI.png&hash=bf0506b1503610201b688e6ea67b9c22)
Press SVN Checkout
You must be registered for see links
- Insert this on url of repository![rkmxh.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2Frkmxh.png&hash=5b670498c6cb85811ca0304243f7f4df)
Remove the last path on the Checkout directory
![Cdi4S.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FCdi4S.png&hash=dc951e1e2c3129debe6402d5a95d53d8)
Step 2
Go to roc folder on the wwwroot folder
Copy every file and folders
![DAyLi.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FDAyLi.png&hash=4eb3563e46286b449bf74a633f789e6a)
Paste it on the wwwroot folder
Replace every file you need
![UVgi5.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FUVgi5.png&hash=a5dc31e7cb05ef3ea414c726c6c9303d)
Delete roc folder
![FIahG.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FFIahG.png&hash=224cf0d8dcc76c714cae4828ffb2914c)
Step 3
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">
![E04mr.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FE04mr.png&hash=1e0441e9b1853dd8ae8a41dfaa984777)
Step 4
Go to your mysql management system
Go to insert query
You must be registered for see links
- Use this query until the official one comes out![2us4P.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2F2us4P.png&hash=9de7900dcfbfe884f85b113f5d2cf34c)
Step 5
Go to ase
Open Application.cfm
Change this code snippet:
Code:
<cfset config.DSN = "YOURDATASOURCE">
![VBhvH.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FVBhvH.png&hash=435416d86b4d29343b8ca030c0fbf2ed)
Step 6
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"
};
![Zc90V.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FZc90V.png&hash=964cab7eaf2bd1a94d202ff242497f6f)
AND:
Code:
<cfset base_url = "http://localhost/swf/" />
<cfset base_url_client = #base_url# & "Habbo.swf" />
<cfset cms_url = "http://localhost" />
![uvMFU.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FuvMFU.png&hash=a914e6714948d8e66927e29a30256696)
Step 7(Optional - if you want to change your timers in an easy way)
Go to:
You must be registered for see links
Then go to: ase/app/tpl/housekeeping/views
create a new file called: changesettings.tpl
![1IUvO.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2F1IUvO.png&hash=b6e9a39f8ff0a98554244d13eb8be8e1)
Paste the pastebin document
![eVBXW.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FeVBXW.png&hash=8c21772606d8224f21664e74377ebcf6)
Save
To to:
You must be registered for see links
![S040F.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FS040F.png&hash=cee12bdde98a3b9e4212ecf3514d5a75)
This is just a simple changesettings file, you can change rest of the settings on the server_settings table
End Result
![sy0Ef.png](/proxy.php?image=http%3A%2F%2Fi.imgur.com%2Fsy0Ef.png&hash=9e80fc12416f10c4cd807b932f6a07be)
The request has exceeded the allowable time limit Tag: cfhttp - FIX
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:
<cfset Session.webbuild = "63_1dc60c6d6ea6e089c6893ab4e0541ee0/1458">
- Leqz | Feel free to PM me if you need help or just post here