How-to: Install ROC-CF

Communist

C# Developer
Dec 29, 2012
6
0
1Q6NJ.png

How to install ROC-CF in habbo theme

Converting from Phoenix CF? Replace this with: app/tpl/habbo/views/login.tpl -

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


Right click on the folder

hBlfI.png


Press SVN Checkout
- Insert this on url of repository

rkmxh.png


Remove the last path on the Checkout directory

Cdi4S.png


Step 2
Go to roc folder on the wwwroot folder
Copy every file and folders

DAyLi.png


Paste it on the wwwroot folder
Replace every file you need

UVgi5.png


Delete roc folder

FIahG.png


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


Step 4
Go to your mysql management system
Go to insert query
- Use this query until the official one comes out

2us4P.png


Step 5
Go to ase
Open Application.cfm
Change this code snippet:
Code:
<cfset config.DSN = "YOURDATASOURCE">

VBhvH.png


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


AND:

Code:
<cfset base_url = "http://localhost/swf/" />
<cfset base_url_client = #base_url# & "Habbo.swf" />
<cfset cms_url = "http://localhost" />

uvMFU.png


Step 7(Optional - if you want to change your timers in an easy way)
Go to:
Then go to: ase/app/tpl/housekeeping/views
create a new file called: changesettings.tpl

1IUvO.png


Paste the pastebin document

eVBXW.png


Save
To to:

S040F.png


This is just a simple changesettings file, you can change rest of the settings on the server_settings table

End Result

sy0Ef.png


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>
With this:
Code:
<cfset Session.webbuild = "63_1dc60c6d6ea6e089c6893ab4e0541ee0/1458">
Do not forget to update the webbuild as Habbo(habbo.no or habbo.com) changes it.


- Leqz | Feel free to PM me if you need help or just post here
 

Fancypants

New Member
Dec 28, 2012
2
0
I am doing something wrong, can you please add me on skype and watch what I'm doing wrong? Please? Skype: FancypantsyNL (write it good!)
 

Users who are viewing this thread

Top