Re: [TUT]How to create a RevCMS Retro 2012[TUT] Kalao!!!!!!!
Guys All of you that opens client loads bar and disconnects theres 1 mistake your making.
when you configure your management config scroll to where it says externals and stuff where u wrote http://yourip/r63/ make the the end 'External_variables.txt' is like that and for flash texts it is 'external_flash_texts.txt i have made a tutorial if u need more clearer tutorial feel free to visit mine but this tutorial is correct and is fully working.
Re: [TUT]How to create a RevCMS Retro 2012[TUT] Kalao!!!!!!!
I keep getting this:
Quote:
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/u526610318/public_html/global.php on line 22
My global.php (I haven't touched anything in this file since I downloaded it):
Code:
<?php
// Special Functions
function filter($var)
{
return mysql_real_escape_string(stripslashes(htmlspecialchars($var)));
}
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
error_reporting(E_ALL ^ E_NOTICE);
define('A', 'app/');
define('I', 'interfaces/');
define('M', 'management/');
define('T', 'tpl/');
//REVOLUTION
use Revolution as Rev;
//INTERFACES
require_once A . I . 'interface.core.php';
require_once A . I . 'interface.engine.php';
require_once A . I . 'interface.users.php';
require_once A . I . 'interface.template.php';
//TPL
require_once A . T . I . 'interface.forms.php';
//HTML
require_once A . T . I . 'interface.html.php';
//CSS
require_once A . T . I . 'interface.css.php';
//JS
require_once A . T . I . 'interface.js.php';
//CLASSES
//app
require_once A . 'class.core.php';
require_once A . 'class.engine.php';
require_once A . 'class.users.php';
require_once A . 'class.template.php';
//MANAGEMENT
require_once A . M . 'config.php';
require_once A . M . 'recaptchalib.php';
//TPL
require_once A . T . 'class.forms.php';
//HTML
require_once A . T . 'class.html.php';
//CSS
require_once A . T . 'class.css.php';
//JS
require_once A . T . 'class.js.php';
//OBJ
$core = new Rev\core();
$engine = new Rev\engine();
$users = new Rev\users();
$template = new Rev\template();
$template->form = new Rev\forms();
$template->html = new Rev\html();
$template->css = new Rev\css();
$template->js = new Rev\js();
//START
session_start();
$engine->Initiate();
$template->Initiate();
?>
Re: [TUT]How to create a RevCMS Retro 2012[TUT] Kalao!!!!!!!
Xampp = Old Version of XAMPP 1.7.7 Download - OldApps.com
RevCMS = RevCMS 1.9.9.9.zip
Notepad++ = Notepad++ v6.0
PhoenixEMU = Buy a emulator or use a cracked. [Buyed is better]
Winrar = WinRAR (32-bit) - CNET Download.com
Kidrambodubsteps R63 SWFS = R63 Pack By KidRamboDubstep.rar
Now let's start to make the retro
1.Install Xampp, and open it up.
2.Start apache & MySQL ( Close down spotify & skype if u have it up and log out )
3.Go to http://localhost/security/xamppsecurity.php
4.Set up a password and save it.
5.Once you have save the password go to localhost/phpmyadmin
6.Log in with the password you create earlier at 4. ( Root will be the name so dont change it)
7.Click database > Then create a database called revdb ( You dont need have that you can change it if u want) Then create it.
8.Click on the db u created, Then click Import.
9.Click Choose file, Go to the emulator and choose the SQL File, And upload it.
10.Go to RevCMS winrar file, Create a map on deskop called Revcms, Extrace it from winrar file to the map u called '' revcms '' on deskop
11.Go to xampp>htdocs, Delete all things who are in it delete exactly all.
12.Extrace the revcms things u extracted earlier to htdocs.
13.Extrace the R63 swf map to htdocs, Then go to htdocs.
14. and click App>Managment>Config and open it up.
Change this
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
$_CONFIG['mysql']['password'] = 'root'; //MySQL password
$_CONFIG['mysql']['database'] = 'rev_phoenix'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
TO this
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
$_CONFIG['mysql']['password'] = 'Phpmyadmin psw u created earlier'; //MySQL password
$_CONFIG['mysql']['database'] = 'DBNAME u created earlier'; //MySQL database
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
And this
$_CONFIG['hotel']['server_ip'] = '124.234.68.43'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = 'http://localhost/RevCMSold'; //Does not end with a "/"
$_CONFIG['hotel']['name'] = 'Habbo'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Best hotel around!'; //Hotel's description
$_CONFIG['hotel']['email'] = 'help@myhotel.net'; //Where the help queries from users are emailed to.@Priv skin
$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 10000; //Default number of pixels users will register with
TO this
$_CONFIG['hotel']['server_ip'] = 'hamachi ip,ip,vps,dedi,etc'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = 'http://YOURHOTELLINK/'; //Does not end with a "/"
$_CONFIG['hotel']['name'] = 'Your hotel name'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Best hotel around!'; //Hotel's description
$_CONFIG['hotel']['email'] = 'help@myhotel.net'; //Where the help queries from users are emailed to.@Priv skin
$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 10000; //Default number of pixels users will register with
And this
$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://localhost/RevCMS/r63/external_vars.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'http://localhost/RevCMS/r63//external_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://localhost/RevCMS/r63/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://localhost/RevCMS/r63/furnidata.txt'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://localhost/RevCMS/r63/'; //URL to your SWF folder(does not end with a '/')
To this
$_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1227'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://YOURIP/r63/external_vars.txt'; //URL to your external vars
$_CONFIG['hotel']['external_texts'] = 'http://YOURIP/r63//external_texts.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://YOURIP/r63/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://YOURIP/r63/furnidata.txt'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://YOURIP/r63/'; //URL to your SWF folder(does not end with a '/')
AND SAVE IT!
now we gonna configure the emulator
The emulator Configure
1.Extrace the emulator file from winrar to deskop.
2. Open it up
3. Open config in it.
Then this should come up
## Phoenix 3.0 System Configuration File
## Licence Information
*****.username=kalao
*****.password=*****
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=DB PASSWORD
db.name=Db name
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=30
## Game TCP/IP Configuration
game.tcp.bindip=>-> /Hamachi ip,Your,ip Or VPS
game.tcp.port=30000
game.tcp.conlimit=5000
## Client configuration
client.ping.enabled=1
client.ping.interval=30000
## MUS TCP/IP Configuration
mus.tcp.bindip=>-> /Hamachi ip,Your,ip Or VPS
mus.tcp.port=30001
mus.tcp.allowedaddr=>-> /Hamachi ip,Your,ip Or VPS
## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1
## Doesn't Get rid of all startup messages, there's like 4 remaining!
emu.messages.startup=0
4. Then save it.
5.Start the emulator and see if its works fine, Once when u test it and its works fine Close it down.
now time for the swfs configuration..
1.Open up htdocs,
2.Click on r63 map in htdocs
3.Look for external_variables
4.Open it up.
5.Replace yourhotelIP to the ip u have to hotel
Like
Hamachi ip,Ip,Vps
6.Save it and close.
Now the last thing
1.Go to localhost/phpmyadmin
2.Log in with the pw u created earlier
3.Click on the db u created earlier
4.Look for the table called '' users'' or user
5.Click on your own name
6.Change rank 1 to 7 then s vae.
7. Then start emulator
8. Then PLAY AND HAVEEEEEEEEEEEEEEEEEEEEEEEE FUUUUUUUUUUUUUUUUN
Well,Now when u have finish u could have some errors so i fix them.
Can't register?
Run this code in your db =
ALTER TABLE `users` ADD `seckey` VARCHAR(999)
Sry for english im swedish - K4L400000 KALAO
---------------------------------------------------
Your Swedish im norwegian and ur good :D Thx for the tutorial kalao
:Habnerd
Re: [TUT]How to create a RevCMS Retro 2012[TUT] Kalao!!!!!!!
HELP! When i created it and went to the site ( rainhotel.no-ip.org) it says authentication required, what do i do?????????????????????