Client rejecting my connection?

Cronus

Cerberus Founder/Developer
Jul 19, 2013
449
25
Hello my hotel loads to the hotel view then Dissconnects but I know it is not the swfs.

Edit: using ubercms 2.0.1
 

Cronus

Cerberus Founder/Developer
Jul 19, 2013
449
25
I know they are not the externals cause I was using em before I switched to uber heres my config with user and passes hashed out


PHP:
<?php
    /*
              |
        .  .|---.,---.,---.
        |  ||  ||---'|        UberCMS 2.0
        `---'`---'`---'`
            UberCMS
            Coded originally by Meth0d (2010-2011)
            Continued by Jonty (2011-now)
         
            Build 2.0.0 SS, Public
    */
 
    // UberCMS Configuration for regular system use
    // Part 2/2
 
    // Reverse Proxy & Cloudflare Settings
    //        - Reverse Proxy (do you have nginx mirroring or forwarding the content from an apache backend?)
    //        - Cloudflare (do you have cloudflare enabled on your domain or subdomain the cms is on?)
    $reverseproxy['enabled'] = true;
    $cloudflare['enabled'] = false;
 
    // Blocking VPN services
    //        - Block VPNs
    $vpn['block'] = true;
    $vpn['block_message'] = "You can't come on here Mr. VPN";
 
    // VPN Block list
    //    - Blocked hosts (How this works is you enter part of the hostname eg hotspotshield that you dont want accessing the site, i've included examples)
    $vpn['blocked_hosts'] = array(
    'hotspotshield',
    'anchorfree'
    );
 
    // Basic Site Settings
    //        - Site Name (Your Hotel name)
    //        - Short name (Hotels short name)
    //        - Master ID (The ID of the person who owns the server, there can be only 1.)
    //        - Enable ID Flagging (If someone disputes a VIP purchase or fails a pin code, terminate the account)
    //        - Enable Pincodes (Enable a PIN code on entry to the client for ranks minrank+)
    //        - Pincode (The 4 digit combination key.)
    //        - Pincode minrank (The minimum rank to hit the combination lock upon client entry)
    $site['name'] = "****** Hotel";
    $site['short_name'] = "******";
    $site['master_id'] = "1";
    $site['enable_id_flagging'] = false;
    $site['enable_pincodes'] = false;
    $site['pincode'] = '1111';
    $site['pincode_minrank'] = '5';
    $site['contact_email'] = "kyle@******";
    $site['twitter_account'] = "zaphotelnet";
    $site['facebook_account'] = "******";
 
    // Voting settings
    //        - TheHabbos (Do you want to enable TheHabbos voting?)
    //        - TheHabbos username (What is your hotels username on TheHabbos?)
    //        - TheHabbos return url (Where do you want your users to return to? Replace / with !)
    //        - TheHabbos disable index voting (Do you want to disable index voting?)
    $voting['thehabbos_enabled'] = true;
    $voting['thehabbos_username'] = '******';
    $voting['thehabbos_returnurl'] = 'http:!!******!?novote';
    $voting['disable_index_vote'] = false;
 
    // Server settings
    //        - Butterfly SSO system enabled (Do you use the Butterfly server by Martinmine?)
    //        - Phoenix SSO system enabled (Do you want to enable Phoenix's secure sessions?)
    //        - Default Motto (What is the default motto you want users to have?)
    //        - Default Credits (What is the default credits you want to have?)
    //        - Default Look (What is the default look you want to have?)
    //        - Default room (What is the room you want users to go to on their first visit)
    //        - Default rank (What is the default rank of new users)
    $server['butterfly_sso'] = false;
    $server['phoenix_secure_sessions'] = false;
    $server['default_motto'] = "I love " . $site['short_name'] . " more than anything!";
    $server['default_credits'] = 15000;
    $server['default_pixels'] = 15000;
    $server['default_look'] = "";
    $server['default_room'] = "8";
    $server['default_rank'] = "2";
 
    // Client settings
    //        - Server IP (The ip your emulator is listening on)
    //        - Server Port (The port your emulator is listening on)
    //        - Productdata (Where your productdata is located)
    //        - Furnidata (Where your furnidata is located)
    //        - External Texts (Where your external texts are located)
    //        - External Variables (Where your external variables are located)
    //        - SWF Base Directory (The directory your Habbo.swf is in)
    //        - Habbo.swf (The location of Habbo.swf)
    //        - Client Starting (The text you want to display when the client loads.)
    $client['connection_info_host'] = "***********";
    $client['connection_info_port'] = "30000";
    $client['productdata_load_url'] = "http://******/r63/productdata.txt";
    $client['furnidata_load_url'] = "http://******/r63/furnidata.txt";
    $client['external_texts_txt'] = "http://******/r63/external_flash_texts.txt";
    $client['external_variables_txt'] = "http://******/r63/external_variables.txt";
    $client['swf_base_dir'] = "http://******/r63/";
    $client['habbo_swf'] = "http://******/r63/Habbo.swf";
    $client['client_starting'] = "Please wait. ****** is starting.";
 
    // Website front-end settings
    //        - Footer Links (What you want to display in the links area of the footer.)
    //        - Footer text (What text you want under the links area of the footer. I would appreciate the credits be kept there :D)
    //        - Online users text (What the frontpage says in the speech bubble for users online)
    //        - Online users text (What the rest of the site says for users online)
    $frontend['footer_links'] = "<a href='%www%'>UberCMS</a> | <a href='%www%/refund_policy'>Refund Policy</a> | <a href='%www%/forum'>Forum</a>";
    $frontend['footer_text'] = "Powered by UberCMS 2.0, Copyright &copy; 2012 - 2014 Forgotten ";
    $frontend['online_text_fp'] = "players online now!";
    $frontend['online_text_reg'] = "user(s) online";
 
    // Vemba Ads Settings - I needed this personally so I added it for you. www.Vemba.com to sign up.
    //        - Enable Vemba ads (Do you want to enable Vemba ads?)
    //        - Vemba ID (User id/site number for vemba.com)
    $vemba['enable'] = false;
    $vemba['id'] = "33";
 
    // Misc Settings
    //        - Housekeeping Login Footer (The footer you want on HK login page)
    //        - Housekeeping login phrase (The text you want on the HK login page)
    //        - Maintenance text (What you want to show on the orange area on the maintenance page)
    $misc['hk_login_footer'] = "Powered by UberHK. Copyright &copy; 2010-2012 Meth0d & Jonty";
    $misc['hk_login_phrase'] = "Welcome to the UberCMS Housekeeping";
    $misc['maintenance_text'] = "Uber is currently under an expected maintenance break. Please stay calm and keep your hair on, we'll be back soon.";
    $misc['staff_about'] = "The Uber staff are here to enhance your experience on our hotel. They host events, and keep the environment safe. You can recognise a staff member by their badge.";
 
    // Imaging settings
    //        - Web Gallery location (Where your images are hosted, no ending slash)
    //        - C Images location (Where your c_images are hosted, no ending slash)
    $imaging['web_gallery'] = "http://******/web-gallery";
    $imaging['c_images'] = "http://******/r63/c_images";
 
?>
 

Cronus

Cerberus Founder/Developer
Jul 19, 2013
449
25
My TPL

Code:
<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
 
<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
 
    FlashExternalInterface.logLoginStep("web.view.start");
 
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
 
    var habboReqPath = "%www%";
 
    var flashvars = {
            "client.allow.cross.domain" : "1",
            "client.notify.cross.domain" : "0",
            "connection.info.host" : "%connection_info_host%",
                "connection.info.port" : "%connection_info_port%",
            "site.url" : "%site_url%",
            "url.prefix" : "%site_url%",
            "client.reload.url" : "%client_reload_url%",
            "client.fatal.error.url" : "%client_fatal_error_url%",
            "client.connection.failed.url" : "%client_fatal_error_url%",
            "external.variables.txt" : "%external_variables_txt%",
            "external.texts.txt" : "%external_texts_txt%",
            "productdata.load.url" : "%productdata_load_url%",
            "furnidata.load.url" : "%furnidata_load_url%",
            "use.sso.ticket" : "1",
            "sso.ticket" : "%sso_ticket%",
            "processlog.enabled" : "1",
            "account_id" : "19927505",
            "client.starting" : "%client_starting%",
            "flash.client.url" : "%www%/client",
            "user.hash" : "<?php echo sha1(USER_ID); ?>",
            "flash.client.origin" : "popup",
                                                                                                                                                                           
    };
 
    var params = {
        "base" : "%swf_base_dir%",
        "allowScriptAccess" : "always",
        "menu" : "false"           
    };
 
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
 
    var clientUrl = "%habbo_swf%";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "%web_gallery%/flash/expressInstall.swf", flashvars, params);
 
    window.onbeforeunload = unloading;
    function unloading() {
        var clientObject;
        if (navigator.appName.indexOf("Microsoft") != -1) {
            clientObject = window["flash-container"];
        } else {
            clientObject = document["flash-container"];
        }
        try {
            clientObject.unloading();
        } catch (e) {}
    }
</script>
 
<meta name="description" content="Check into the world’s largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and more…" />
<meta name="keywords" content="habbo hotel, virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets, room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" />
 
 
 
<!--[if IE 8]>
<link rel="stylesheet" href="%web_gallery%/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="%web_gallery%/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="%web_gallery%/v2/styles/ie6.css" type="text/css" />
<script src="%web_gallery%/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
 
<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="63-BUILD36 - 16.11.2010 11:51 - com" />
</head>
 
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="%web_gallery%/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
 
<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 update your Flash Player to the latest version.</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="%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");
        if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
            window.opener.location.replace(window.opener.location.href);
        }
        $(document.body).addClassName("js");
          HabboClient.startPingListener();
    </script>
 
<script type="text/javascript">
    HabboView.run();
</script>
 
<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15697942-2']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>
 
</body>
</html>
 

Users who are viewing this thread

Top