[Tut] How to make a UberCms Retro! [Tut]

Jan 2, 2012
35
5
1 - Xampp

Right, first of all. Let's get Xampp. Xampp is where you will store your CMS and your database. Without this, you won't even have a hotel! Right, I would say use this link to download;

Once that has downloaded, make sure you run the installer. Just let in run and install. The install process you should be able to do by yourself. But my inbox is always there is you need any help.

Once it's all installed, run the xampp-control panel. It should say "Run the control Panel?" Make sure you click "yes/y". Then start MySQL and Apache. Once that's all on, go to this link;

Once you've gone there, make sure you setup a password for your "root" account. So choose a safe, reliable password. Now you've done Xampp.

2 - CMS

So download the CMS from here; . And extract that to your htdocs. "C:/ -> xampp -> htdocs -> Extract here."

Once extracted, go to; . And login with the password you just setup in security. Your username will be "root". Once logged in, make a new database. It can be called anything. But call it something like "Uber" or something. Once done that, go to the "Import" tab. Click "Choose File" and go to "c:/ -> xampp -> htdocs -> database.sql"
Let that import. Once that has imported, go to htdocs again. And open up the file "Run this into the database first" and select all that and copy. Then go to the "SQL" tab in PHPMyAdmin, and paste and then click "Run". Wait for that to insert. Once that's done now to edit the main CMS.

First thing you need to do, is go to htdocs, then go the folder called "inc". And open the file called "inc.config", And edit this, this is what it should look like;
Code:
Code:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
 
$config['Site']['www'] = "http://sitelink.com";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";
 
$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "Your pass";
$config['MySQL']['database'] = "Your Db";
 
$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "IP";
$config['MUS']['port'] = 30001;
 
?>

Then click "Save". Next part in go into "../inc/tpl" and find the file "page-client". And edit it to something along the lines of this;



Code:
<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
 
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-*****-".$rand6;
$username = $_SESSION['UBER_USER_N'];
 
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
 
?>
 
<body id="client" class="flashclient">
 
<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>
 
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
 
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
 
FlashExternalInterface.logLoginStep("web.view.start");
 
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://link.com/client1/r63/external_variables.txt",
"external.texts.txt" : "http://link.com/client1/r63/external_flash_texts.txt",
"use.sso.ticket" : "1",
<?php
 
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
 
?>
"sso.ticket" : "<?php echo $ticket; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Loading hotel name Hotel...",
"flash.client.url" : "http://link.com/client1/r63/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://link.com/client1/r63/",
"allowScriptAccess" : "always",
"menu" : "false"
};
 
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
 
var clientUrl = "http://212.38.176.149/r63/gordon/RELEASE63-34096-33779-201105271559/Habbo.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://212.38.176.149/r63/gordon/RELEASE63-34096-33779-201105271559/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
 
<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Please install Adobe Flash Player.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
%hotel_status%
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
</script>
 
</body>
</html>

Now you've done the client, click "Save". And you've done the CMS.

3 - SWF's

Right, the SWF are the files for your habbo client to work. So download it here; . Once got these, go into your htdocs, and create a folder called "client1". Then extract all the files to the client1 folder.

Once extracted, go to "..../r63/external_variables.txt". Open in notepad, and click replace.
(CTRL + H)
Replace "Client"
Replace with "Client1".
Click save, and you've done the SWF's.

4 - EMU

You can use PhoenixEMU or UberEMU it don't matter. I recommend PhoenixEMU but I don't support cracks neither do DevBest. So if you need help, just PM me.

Well done! You now own your own hotel!

Credits;

Myself - 40% (For the Downloads and writing the tutorial)
Jamie Turner - 20% (The SWF's)
Aaron/Meth0d - 20% (For the EMU).
 

Gajeel

Well-Known Member
Oct 4, 2011
2,411
413
1 - Xampp

Right, first of all. Let's get Xampp. Xampp is where you will store your CMS and your database. Without this, you won't even have a hotel! Right, I would say use this link to download;

Once that has downloaded, make sure you run the installer. Just let in run and install. The install process you should be able to do by yourself. But my inbox is always there is you need any help.

Once it's all installed, run the xampp-control panel. It should say "Run the control Panel?" Make sure you click "yes/y". Then start MySQL and Apache. Once that's all on, go to this link;

Once you've gone there, make sure you setup a password for your "root" account. So choose a safe, reliable password. Now you've done Xampp.

2 - CMS

So download the CMS from here; . And extract that to your htdocs. "C:/ -> xampp -> htdocs -> Extract here."

Once extracted, go to; . And login with the password you just setup in security. Your username will be "root". Once logged in, make a new database. It can be called anything. But call it something like "Uber" or something. Once done that, go to the "Import" tab. Click "Choose File" and go to "c:/ -> xampp -> htdocs -> database.sql"
Let that import. Once that has imported, go to htdocs again. And open up the file "Run this into the database first" and select all that and copy. Then go to the "SQL" tab in PHPMyAdmin, and paste and then click "Run". Wait for that to insert. Once that's done now to edit the main CMS.

First thing you need to do, is go to htdocs, then go the folder called "inc". And open the file called "inc.config", And edit this, this is what it should look like;

Code:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
|
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/

$config['Site']['www'] = " ";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";

$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "Your pass";
$config['MySQL']['database'] = "Your Db";

$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "IP";
$config['MUS']['port'] = 30001;

?>
Then click "Save". Next part in go into "../inc/tpl" and find the file "page-client". And edit it to something along the lines of this;

Code:
<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);

$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-*****-".$rand6;
$username = $_SESSION['UBER_USER_N'];

$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");

?>

<body id="client" class="flashclient">

<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>

<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>

<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;

FlashExternalInterface.logLoginStep("web.view.start");

if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : " ",
"external.texts.txt" : " ",
"use.sso.ticket" : "1",
<?php

if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}

?>
"sso.ticket" : "<?php echo $ticket; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Loading hotel name Hotel...",
"flash.client.url" : " ",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : " ",
"allowScriptAccess" : "always",
"menu" : "false"
};

if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}

var clientUrl = " ";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = " ";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", " ", flashvars, params);
</script>

<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Please install Adobe Flash Player.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href=" ">Install flash player</a>. More instructions for installation can be found here: <a href=" ">More information</a></p>
<p><a href=" "><img src=" " alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
%hotel_status%
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
</script>

</body>
</html>
Now you've done the client, click "Save". And you've done the CMS.

3 - SWF's

Right, the SWF are the files for your habbo client to work. So download it here; . Once got these, go into your htdocs, and create a folder called "client1". Then extract all the files to the client1 folder.

Once extracted, go to "..../r63/external_variables.txt". Open in notepad, and click replace.
(CTRL + H)
Replace "Client"
Replace with "Client1".
Click save, and you've done the SWF's.

4 - EMU

You can use PhoenixEMU or UberEMU it don't matter. I recommend PhoenixEMU but I don't support cracks neither do DevBest. So if you need help, just PM me.

Well done! You now own your own hotel!

Credits;

Myself - 40% (For the Downloads and writing the tutorial)
Jamie Turner - 20% (The SWF's)
Aaron/Meth0d - 20% (For the EMU).
There are hundreds of tutorials for other CMS and emulator but good to see someone pushing efforts to actually help other via tutorials, and for Uber. :up: Nice job and I would recommend wrapping those long codes to CODE.
 
Jan 2, 2012
35
5
There are hundreds of tutorials for other CMS and emulator but good to see someone pushing efforts to actually help other via tutorials, and for Uber. :up: Nice job and I would recommend wrapping those long codes to CODE.
Ye i have just changed that into CODE i was still working on writing tutorial ;D
 

ChocolateChips

New Member
Apr 27, 2012
6
0
I am stuck at Number 4, where do I download the EMU to? And THEN what do I do?! I am using localhost, but, where like IS my website... LOLOLOLOLOL, I sound like such a noob :p
 

Benden

maging ang maganda mamatay
Jun 4, 2010
2,280
1,480
I am stuck at Number 4, where do I download the EMU to? And THEN what do I do?! I am using localhost, but, where like IS my website... LOLOLOLOLOL, I sound like such a noob :p
Please don't double post. You can just download the EMU to your desktop. Then you edit the config and open it, click the run button.
 

AaronBurrt

New Member
Dec 27, 2011
14
1
Most UberCMS tutorials are a fucking flop and a pain in the back... THANK YOU!!! This is the only good post out there... I love your tutorials. Keep up da good work! :up:
 

RandomPerson

New Member
Apr 27, 2012
4
0
I get a White screen!, Please help!
im kinda the same, when i click the link and it comes up with 'internet explorer cannot display the web page' my internet is fine, it must be the website
DOES ANYONE HAVE ANOTHER OPTION?!
 

Users who are viewing this thread

Top