Communist
C# Developer
- Dec 29, 2012
- 6
- 0
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
Right click on the folder
Press SVN Checkout
You must be registered for see links
- Insert this on url of repositoryRemove the last path on the Checkout directory
Step 2
Go to roc folder on the wwwroot folder
Copy every file and folders
Paste it on the wwwroot folder
Replace every file you need
Delete roc folder
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">
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 outStep 5
Go to ase
Open Application.cfm
Change this code snippet:
Code:
<cfset config.DSN = "YOURDATASOURCE">
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"
};
AND:
Code:
<cfset base_url = "http://localhost/swf/" />
<cfset base_url_client = #base_url# & "Habbo.swf" />
<cfset cms_url = "http://localhost" />
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
Paste the pastebin document
Save
To to:
You must be registered for see links
This is just a simple changesettings file, you can change rest of the settings on the server_settings table
End Result
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