How to build a UberCMS Hotel (R63) (Phoenix EMU)

Status
Not open for further replies.

TomCollins

New Member
May 5, 2012
8
2
Buy a Phoenix license i have self a Phoenix License 3.7.2 that is the best emu


(Sorry for bad english im dutch.)

I can think of much better emulators than that.

Good tutorial, just seems some people can't follow it :)


Sent from my iPad using Tapatalk HD
 

DinosawsGoMoo

Member
Apr 21, 2012
41
0
i just have a problem where when import the database.sql it comes up with a error and no one is helping me or replying to me to try and help me

Please Someone Help with Him And Me
if you have a heart please give it to me im hungry :))
Lol

I suggest to both of you to make a support thread instead of saying some non-sense
words. facepalm.jpg
do you think you can help me when the error says
Error

SQL query:
--
-- Database: `phx`
--
-- --------------------------------------------------------
--
-- Table structure for table `achievements`
--
CREATE TABLE IF NOT EXISTS `achievements` (

`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`levels` INT( 11 ) NOT NULL DEFAULT '1',
`dynamic_badgelevel` ENUM( '0', '1' ) NOT NULL DEFAULT '1',
`badge` VARCHAR( 100 ) NOT NULL ,
`pixels_base` INT( 5 ) NOT NULL DEFAULT '50',
`score_base` INT( 5 ) NOT NULL DEFAULT '10',
`pixels_multiplier` DOUBLE NOT NULL DEFAULT '1.25',
PRIMARY KEY ( `id` )

) ENGINE = MYISAM DEFAULT CHARSET = cp1251 AUTO_INCREMENT =39;


MySQL said:
#1046 - No database selected
 

EpicBanana

New Member
Apr 29, 2012
8
0
The MySQL cant running.It says
Busy...
ERROR:MySQL Service not started [-1]
Ok Ik How to fix this just Start The MySQL Then Press Scv Quickly There Should Be A Pop-up press ok then tadah!

Please Help Me When I Press Log In On Php My Admin It Says

Cannot log in to the MySQL server
 

mcjefix

Member
May 4, 2012
56
0
I followed the tutorial correctly.. Only I'm stuck now at my client, it opens but I only see a white screen.

Does anyone know what to do to get my client loaded?

Thanks:)
 

IAmBlake_Newton

New Member
Apr 28, 2012
10
0
Hello DevBest, I've had alot of requests to build/write an UberCMS with my CMS (Not chink, my old edit). So here it is, this is wrote by me. Credits for downloads at the bottom of the thread. Thanks.

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'
| 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 - 60% (For the UberCMS + Writing tutorial + Database)
Jamie Turner - 20% (The SWF's)
Aaron/Meth0d - 20% (For the EMU).
Very Helpful To Those Who Don't Know How To Make Them Nice, But i Know how to make an r63.
 

zMagenta

Posting Freak
Jul 15, 2011
1,414
682
Please can a Moderator close this thread to stop stupid replys for help.
 

DinosawsGoMoo

Member
Apr 21, 2012
41
0
Error

SQL query:
--
-- Database: `phx`
--
-- --------------------------------------------------------
--
-- Table structure for table `achievements`
--
CREATE TABLE IF NOT EXISTS `achievements` (

`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`levels` INT( 11 ) NOT NULL DEFAULT '1',
`dynamic_badgelevel` ENUM( '0', '1' ) NOT NULL DEFAULT '1',
`badge` VARCHAR( 100 ) NOT NULL ,
`pixels_base` INT( 5 ) NOT NULL DEFAULT '50',
`score_base` INT( 5 ) NOT NULL DEFAULT '10',
`pixels_multiplier` DOUBLE NOT NULL DEFAULT '1.25',
PRIMARY KEY ( `id` )

) ENGINE = MYISAM DEFAULT CHARSET = cp1251 AUTO_INCREMENT =39;


MySQL said:
#1046 - No database selected
 

Mathematics

Show Off. Be Honest :) I'll face the rest.
Jan 14, 2012
163
21
Set your password mate :) on xampp security
 
Status
Not open for further replies.

Users who are viewing this thread

Top